Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1331713

Regression: ABI: /sys/module/mmcblk changed to /sys/module/mmc_block

From John Stultz <john.stultz@linaro.org>
Newsgroups linux.kernel
Subject Regression: ABI: /sys/module/mmcblk changed to /sys/module/mmc_block
Date 2016-02-11 08:30 +0100
Message-ID <r0TRn-5B3-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


I recently noticed with 4.4 based kernel's Android's userspace wasn't
able to properly detect micro-SD cards when they were inserted.

This is due to vold not being able to access
/sys/module/mmcblk/parameters/perdev_minors

See: http://androidxref.com/6.0.1_r10/xref/system/vold/Disk.cpp#49

Looking into it, it seems commit 829b6962f7e3cfc ("mmc: block: don't
use parameter prefix if built as module") changed the behavior,
resulting in the userspace path changing to:
"/sys/module/mmc_block/..."

This seems like an ABI regression, which is breaking existing userspace.

So... Probably something to revert?

thanks
-john

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Regression: ABI: /sys/module/mmcblk changed to /sys/module/mmc_block John Stultz <john.stultz@linaro.org> - 2016-02-11 08:30 +0100

csiph-web