[Bug 802626] Re: vgchange may deadlock in initramfs when VG present that's not used for rootfs
Ivan Vučica
802626 at bugs.launchpad.net
Wed Jun 15 19:28:33 UTC 2016
I believe I may have this issue after upgrade to 16.04.
- root=/dev/mapper/MyLV-Linux locks up and halts after "Begin: Running /scripts/local-top". Debugging described below makes me think this is actually inside /scripts/local-top/lvm2.
- Removing root= drops me into (initramfs) and lets me do some debugging.
- "lvm lvchange -ay --sysinit MyLV/Linux" locks up. (For this reason, I send it into background with &.)
- "kill -9" on the lvchange process + "dmsetup mknodes" results in functional and mountable devices appearing in /dev/mapper.
- "lvm lvchange -ay --noudevsync MyLV/Linux &" helps avoid the lockup.
- "lvm lvchange -ay -v -v -v --sysinit MyLV/Linux &" ends with, approx:
Udev cookie 0xsomething (semid 65538) decremented to 6
Udev cookie 0xsomething (semid 65538) waiting for zero
- "dmsetup udevcomplete_all" results in lvchange process being unblocked. However, no /dev/mapper devices are created.
- "/lib/systemd/systemd-udevd" is not running (though this may be due to init-bottom scripts having run already). Starting it does not make a difference either; the relevant cookie is still stuck at value '6'.
Does this sound relevant? Should I file a new bug?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lvm2 in Ubuntu.
https://bugs.launchpad.net/bugs/802626
Title:
vgchange may deadlock in initramfs when VG present that's not used for
rootfs
Status in lvm2 package in Ubuntu:
Invalid
Status in udev package in Ubuntu:
Fix Released
Status in lvm2 source package in Oneiric:
Invalid
Status in udev source package in Oneiric:
Fix Released
Status in lvm2 source package in Precise:
Invalid
Status in udev source package in Precise:
Fix Released
Bug description:
The system is now unable to boot.
I had to boot on previous kernel 3.0.0.
Symptoms are boot freezes. When debugging, issuing a vgscan works ok.
doing the vgchange -a y just hangs. I need to reboot the system afterwards.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: lvm2 2.02.66-4ubuntu2
ProcVersionSignature: Ubuntu 3.0-0.1-generic 3.0.0-rc2
Uname: Linux 3.0-0-generic x86_64
Architecture: amd64
Date: Mon Jun 27 18:15:46 2011
ProcEnviron:
LANGUAGE=fr_FR:en
PATH=(custom, user)
LANG=fr_FR.utf8
LC_MESSAGES=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: lvm2
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/802626/+subscriptions
More information about the foundations-bugs
mailing list