I managed to obtain a logfile from the lvm command when it hangs:

libdm-deptree.c:941   Resuming phenom-data2 (253:0)
libdm-common.c:1153   Udev cookie 0xd4d0511 (semid 0) created
libdm-common.c:1166   Udev cookie 0xd4d0511 (semid 0) incremented
libdm-common.c:1054   Udev cookie 0xd4d0511 (semid 0) incremented
libdm-common.c:1226   Udev cookie 0xd4d0511 (semid 0) assigned to dm_task type 
5 with flags 0x0
ioctl/libdm-iface.c:1821   dm resume   (253:0) NF   [16384]
libdm-common.c:828   phenom-data2: Stacking NODE_READ_AHEAD 256 (flags=1)
libdm-common.c:1081   Udev cookie 0xd4d0511 (semid 0) decremented
libdm-common.c:1276   Udev cookie 0xd4d0511 (semid 0): Waiting for zero

Obviously, lvm waits for udev to decrement the device-mapper task
semaphore. A strange observation is that when looking at "ps ax" the
PID(s) of udevd (437,829,839) suggest that udevd was started after the
lvm tool (pid 355). Maybe there is a small time window when udevd is not
able to perform the semaphore decrementation.

** Attachment added: "output of "ps ax" when "lvm vgchange -a y" hangs"
   
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/802626/+attachment/2296618/+files/ps-ax.out

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/802626

Title:
  boot hangs at initrd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/802626/+subscriptions

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

Reply via email to