I've finally managed to catch the event storm in the act in a log.

First, I built udev 138-1 with "--enable-debug". I had to apply a fix to
the udev/Makefile.in and udev/lib/Makefile.in because both were failing
to pass $(DEBUG_CFLAGS) to the compiler and linker.

With the package installed on the lab PC I booted it with serial console
as before, but in addition I used the kernel command-line "break"
parameter which causes the /init script to stop at the start of the
init-premount stage (just before udev is started).

I manually started  udevd without --daemon mode and with debugging:

 /sbin/udev --debug --debug-trace &

I then enabled kernel hotplug:

 echo "" /proc/sys/kernel/hotplug

Then I triggered udev:

 /sbin/udevadm trigger

The attached gzipped log was captured via the serial console with
'screen'. The log starts at kernel boot and includes the busybox
commands. Search for "/sbin/udevd" to get to the start of the storm.

I left it running for about 5 minutes before doing Ctrl+Alt+Del on the
physical console keyboard.



** Attachment added: "Udev event storm during init-premount"
   http://launchpadlibrarian.net/22985514/boot-udev-storm.log.gz

-- 
udev repeatedly generates "change" events for the same block device(s)
https://bugs.launchpad.net/bugs/332270
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to