[oe-issues] [Bug 2474] New: linux-hotplug: mmc.agent shoud be block.agent
bugzilla-daemon at tinman.treke.net
bugzilla-daemon at tinman.treke.net
Tue Jun 12 12:43:52 UTC 2007
http://bugs.openembedded.org/show_bug.cgi?id=2474
Summary: linux-hotplug: mmc.agent shoud be block.agent
Product: Openembedded
Version: unspecified
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Distributions
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: u.luckas at road.de
QAContact: tinderbox-oe at gmx.net
linux-hotplug comes with a mmc.agent which tries to mount MMC/SD card
partitions whenever a new card is inserted.
The script is racy and non deterministic.
The mmc agent is called as soon, as a new card is detected. At that point, no
partitions are scanned and no devices created yet. The code already includes a
"sleep 4" as a workaround (which has been increased from "sleep 1" before).
Solutions:
If we did the mounting in block.agent instead of mmc.agent, we knew, that the
actual kernel device were already created - no waiting for it.
We might still race with udev's device file creation, but this can be fixed in
udev by haveing /sbin/hotplug called from a udev rule and not directly through
the kernel interface.
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-issues
mailing list