[Bug 802626] Re: vgchange may deadlock in initramfs when VG present that's not used for rootfs
Seth Jennings
802626 at bugs.launchpad.net
Tue Jan 17 03:25:44 UTC 2012
I also am experiencing the 60 second delay on startup with -14 and not
with -13. According to the Ubuntu to Mainline map, 3.0.0-13.22 maps to
3.0.6 and 3.0.0-14.23 maps to 3.0.9. I bisected the commits over that
range and determined that reverting the following commit corrects this
issue:
7b59e3e29e1a28ad40892dd2115175e2702f1153 kobj_uevent: Ignore if some listeners c
diff --git a/lib/kobject_uevent.c b/lib/kobject_uevent.c
index 70af0a7..ad72a03 100644
--- a/lib/kobject_uevent.c
+++ b/lib/kobject_uevent.c
@@ -282,7 +282,7 @@ int kobject_uevent_env(struct kobject *kobj, enum kobject_ac
kobj_bcast_filter,
kobj);
/* ENOBUFS should be handled in userspace */
- if (retval == -ENOBUFS)
+ if (retval == -ENOBUFS || retval == -ESRCH)
retval = 0;
} else
retval = -ENOMEM;
This comment on related defect 818177 references the lkml.org post where
the patch was submitted.
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/818177/comments/67
It seems like there might be a history of this bug before -13, but this
commit definitely exposed it more.
The fix for 818177 is already released for Precise but is still just
committed for Oneiric.
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
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:
Triaged
Status in “udev” package in Ubuntu:
Confirmed
Status in “lvm2” source package in Oneiric:
Triaged
Status in “udev” source package in Oneiric:
Confirmed
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 Ubuntu-sponsors
mailing list