Bug#554364: udev creates broken initrd

2009-11-04 Thread Christopher Schramm
Package: udev
Version: 146-6
Severity: critical
Justification: breaks the whole system

Using update-initramfs on my system running on a Lenovo 3000 N100 notebook with
udev-146 breaks the initrd.

When booting, all seems normal until sd and sr attached the devices. After that
point nothing happens. The system is running since e. g. plugging in an USB
device produces some more output, but the boot process does not go on.

Normally the next lines would be done. followed by Begin: Mounting root
filesystem.

Additionally when booting an initrd generated with an older version of udev I
encounter bug #551798 - maybe that's somehow related.

-- Package-specific info:
-- /etc/udev/rules.d/:
/etc/udev/rules.d/:
total 120
lrwxrwxrwx 1 root root23 Jan  7  2008 010-no-legacy-ptys.rules - 
../no-legacy-ptys.rules
lrwxrwxrwx 1 root root19 Jan  3  2008 025_libgphoto2.rules - 
../libgphoto2.rules
lrwxrwxrwx 1 root root22 Jan 20  2008 025_logitechmouse.rules - 
../logitechmouse.rules
-rw-r--r-- 1 root root   208 Oct 29 19:47 10-vboxdrv.rules
-rw-r--r-- 1 root root   210 Dec  2  2007 45-hplip.rules
-rw-r--r-- 1 root root 11592 Jul 22 19:31 51-hso-udev.rules
-rw-r--r-- 1 root root   980 Apr 24  2008 55-hpmud.rules
-rw-r--r-- 1 root root  1543 Aug  7  2008 
60-persistent-input.rules.dpkg-obsolete
-rw-r--r-- 1 root root  1582 Aug  7  2008 
60-persistent-storage-tape.rules.dpkg-obsolete
-rw-r--r-- 1 root root  4554 Aug  7  2008 
60-persistent-storage.rules.dpkg-obsolete
-rw-r--r-- 1 root root  1542 Sep 11 09:12 70-persistent-cd.rules
-rw-r--r-- 1 root root   959 Nov  3 07:13 70-persistent-net.rules
-rw-r--r-- 1 root root   452 Aug  7  2008 
75-cd-aliases-generator.rules.dpkg-obsolete
-rw-r--r-- 1 root root  3083 Sep 19  2008 
75-persistent-net-generator.rules.dpkg-obsolete
lrwxrwxrwx 1 root root15 Jan  3  2008 85-pcmcia.rules - ../pcmcia.rules
-rw-r--r-- 1 root root  1398 Feb 27  2009 README.dpkg-new
-rw-r--r-- 1 root root 25245 Jun 24 11:26 usb_modeswitch.rules
-rw-r--r-- 1 root root  2079 Jun 18 02:08 z60_gpsd.rules
-rw-r--r-- 1 root root   144 Aug 13  2007 z60_hdapsd.rules
lrwxrwxrwx 1 root root15 Jan  3  2008 z60_hdparm.rules - ../hdparm.rules
-rw-r--r-- 1 root root  1240 Apr  6  2009 z60_kpartx.rules
-rw-r--r-- 1 root root  1914 Jan  3  2008 z60_libccid.rules
-rw-r--r-- 1 root root  2656 Jun 15  2008 z60_libpisock9.rules
lrwxrwxrwx 1 root root17 Jan  5  2008 z60_usbmount.rules - 
../usbmount.rules
-rw-r--r-- 1 root root80 Nov  7  2008 z60_virtualbox-ose.rules
-rw-r--r-- 1 root root  7117 Apr 12  2009 z60_xserver-xorg-input-wacom.rules

-- /sys/:
/sys/dev
/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2/dev
/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:06/input/input1/event1/dev
/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input4/event4/dev
/sys/devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input3/event3/dev
/sys/devices/pci:00/:00:02.0/drm/card0/dev
/sys/devices/pci:00/:00:1b.0/input/input7/event7/dev
/sys/devices/pci:00/:00:1b.0/sound/card0/audio/dev
/sys/devices/pci:00/:00:1b.0/sound/card0/controlC0/dev
/sys/devices/pci:00/:00:1b.0/sound/card0/dsp/dev
/sys/devices/pci:00/:00:1b.0/sound/card0/hwC0D0/dev
/sys/devices/pci:00/:00:1b.0/sound/card0/mixer/dev
/sys/devices/pci:00/:00:1b.0/sound/card0/pcmC0D0c/dev
/sys/devices/pci:00/:00:1b.0/sound/card0/pcmC0D0p/dev
/sys/devices/pci:00/:00:1d.0/usb2/2-0:1.0/usb_endpoint/usbdev2.1_ep81/dev
/sys/devices/pci:00/:00:1d.0/usb2/2-2/2-2:1.0/usb_endpoint/usbdev2.2_ep02/dev
/sys/devices/pci:00/:00:1d.0/usb2/2-2/2-2:1.0/usb_endpoint/usbdev2.2_ep81/dev
/sys/devices/pci:00/:00:1d.0/usb2/2-2/2-2:1.0/usb_endpoint/usbdev2.2_ep82/dev
/sys/devices/pci:00/:00:1d.0/usb2/2-2/2-2:1.1/usb_endpoint/usbdev2.2_ep03/dev
/sys/devices/pci:00/:00:1d.0/usb2/2-2/2-2:1.1/usb_endpoint/usbdev2.2_ep83/dev
/sys/devices/pci:00/:00:1d.0/usb2/2-2/2-2:1.2/usb_endpoint/usbdev2.2_ep04/dev
/sys/devices/pci:00/:00:1d.0/usb2/2-2/2-2:1.2/usb_endpoint/usbdev2.2_ep84/dev
/sys/devices/pci:00/:00:1d.0/usb2/2-2/dev
/sys/devices/pci:00/:00:1d.0/usb2/2-2/usb_device/usbdev2.2/dev
/sys/devices/pci:00/:00:1d.0/usb2/2-2/usb_endpoint/usbdev2.2_ep00/dev
/sys/devices/pci:00/:00:1d.0/usb2/dev
/sys/devices/pci:00/:00:1d.0/usb2/usb_device/usbdev2.1/dev
/sys/devices/pci:00/:00:1d.0/usb2/usb_endpoint/usbdev2.1_ep00/dev
/sys/devices/pci:00/:00:1d.1/usb3/3-0:1.0/usb_endpoint/usbdev3.1_ep81/dev
/sys/devices/pci:00/:00:1d.1/usb3/dev
/sys/devices/pci:00/:00:1d.1/usb3/usb_device/usbdev3.1/dev
/sys/devices/pci:00/:00:1d.1/usb3/usb_endpoint/usbdev3.1_ep00/dev
/sys/devices/pci:00/:00:1d.2/usb4/4-0:1.0/usb_endpoint/usbdev4.1_ep81/dev
/sys/devices/pci:00/:00:1d.2/usb4/dev
/sys/devices/pci:00/:00:1d.2/usb4/usb_device/usbdev4.1/dev

Bug#554364: udev creates broken initrd

2009-11-04 Thread Marco d'Itri
On Nov 04, Christopher Schramm deb...@shakaweb.org wrote:

 When booting, all seems normal until sd and sr attached the devices. After 
 that
 point nothing happens. The system is running since e. g. plugging in an USB
 device produces some more output, but the boot process does not go on.
 
 Normally the next lines would be done. followed by Begin: Mounting root
 filesystem.
Please debug this using the facilities provided by initramfs-tools.
Did you try waiting 3 minutes?

-- 
ciao,
Marco


signature.asc
Description: Digital signature


Bug#554364: udev creates broken initrd

2009-11-04 Thread Christopher Schramm
Marco d'Itri wrote:
 Please debug this using the facilities provided by initramfs-tools.
 Did you try waiting 3 minutes?
 

I already waited for much longer.

I got into it and found out the problem is located in
/scripts/init-premount/udev.

I can manually reproduce it with these steps:
- boot with break=premount
- start udevd --daemon
- call udevadm trigger

udevadm never terminates.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#554364: udev creates broken initrd

2009-11-04 Thread Marco d'Itri
On Nov 04, Christopher Schramm deb...@shakaweb.org wrote:

 - call udevadm trigger
 
 udevadm never terminates.
And what about you find out why?
Start it in the background and then check with ps axf what is happening.

-- 
ciao,
Marco


signature.asc
Description: Digital signature