[Buildroot] [PATCH] linux: don't automatically set uevent_helper with mdev /dev management

Peter Korsgaard jacmet at uclibc.org
Fri Feb 7 20:50:54 UTC 2014


>>>>> "Thomas" == Thomas De Schampheleire <patrickdepinguin at gmail.com> writes:

 > When mdev /dev management is chosen in the buildroot configuration, the
 > Linux configuration is updated automatically to set option
 > CONFIG_UEVENT_HELPER_PATH to "/sbin/mdev". However, the help text of this
 > option explicitly recommends not setting this option due to large
 > performance impact during boot (experienced first hand by the reporter ánd
 > author).

 > The mdev startup script S10mdev already sets the helper during userspace
 > boot, which will make sure mdev is working correctly.

 > Fixes bug #6596: https://bugs.busybox.net/show_bug.cgi?id=6596

 > Reported-by: Andreas Koop <andreas.koop at zf.com>
 > Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>

Hmm, but the the coldplug handling with 'mdev -s' afaik doesn't handle
module or firmware loading, so those features will break from this.

I would be interested in knowing why hotplug is so much slower than
coldplug. Do you have any idea about how many times mdev gets executed
during bootup?

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list