Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 333227

Summary: "devfs: waiting for udev" timeout
Product: Gentoo Linux Reporter: skolima
Component: [OLD] baselayoutAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description skolima 2010-08-17 20:20:25 UTC
I am booting my system fro mdadm raid setup. I use kernel command line of:

kernel /boot/vmlinuz root=/dev/md6 init=/sbin/bootchartd raid=noautodetect md=6,/dev/sda6,/dev/sdb6 rootfstype=ext4

which works fine, apart from the fact that when devfs script starts, it spews out:

devfs: waiting for udev

counting down from 60 to 0 in increments of 9. Finally, after a minute, it times out, with udev announcing "queue contains /sys/devices/virtual/block/md6". It seems to me that udev is trying to auto-assemble a raid array that is already active and fails, causing a time out.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-08-18 16:00:03 UTC
Please attach the output of 

  emerge --info

to this bug.
Comment 2 skolima 2010-08-18 17:38:24 UTC
Created attachment 243467 [details]
emerge --info
Comment 3 skolima 2010-09-05 11:57:00 UTC
This turned out to be my fault: my swap partitions had the partition type set to 0xfd (RAID autoassemble) instead of 0x82 (Linux swap). Fixing this solved the problem.

What made this hard to diagnose, however, was the fact that with 'raid=noautodetect' parameter kernel did not report the missing superblock on the swap partitions, and udev script complained about the already assembled matrices instead of the actual problem.