Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 435794 - >sys-apps/systemd-188 with sys-fs/lvm2-2.02.97 hangs at LVM start
Summary: >sys-apps/systemd-188 with sys-fs/lvm2-2.02.97 hangs at LVM start
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on: 436098
Blocks:
  Show dependency tree
 
Reported: 2012-09-21 22:16 UTC by eu9gu4
Modified: 2012-09-27 05:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info.txt,16.06 KB, text/plain)
2012-09-21 22:29 UTC, eu9gu4
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eu9gu4 2012-09-21 22:16:59 UTC
I have lvm2-2.02.97 plus udev-189 plus systemd-188.
Everything works fine and it also worked fine with lower versions of lvm2 and udev. However, when I try to update systemd to any version higher than 188 (which is not in the tree anymore for quite a while) the boot process freezes when LVM is started. Fortunately I can recover from a previous backup which has systemd-188.
Comment 1 eu9gu4 2012-09-21 22:29:37 UTC
Created attachment 324562 [details]
emerge --info

emerge --info attached
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-09-22 16:46:58 UTC
What are the last dozen messages you see at boot time? Can you get to a recovery console of sorts? Can you provide a dump of the dmesg output up to that point?
Comment 3 eu9gu4 2012-09-22 19:51:47 UTC
(In reply to comment #2)
> What are the last dozen messages you see at boot time? Can you get to a
> recovery console of sorts? Can you provide a dump of the dmesg output up to
> that point?

Can't do anything that you asked: systemd-191 fails to build, while systemd-190 builds OK, but it segfaults (first line of message on boot).

For now I switched back to openrc. I will build any new systemd that gets into the tree and will try to do what you asked.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-09-24 12:47:14 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > What are the last dozen messages you see at boot time? Can you get to a
> > recovery console of sorts? Can you provide a dump of the dmesg output up to
> > that point?
> 
> Can't do anything that you asked: systemd-191 fails to build, while
> systemd-190 builds OK, but it segfaults (first line of message on boot).
> 
> For now I switched back to openrc. I will build any new systemd that gets
> into the tree and will try to do what you asked.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-09-24 12:53:20 UTC
Ar, stupid bugzie.

(In reply to comment #3)
> (In reply to comment #2)
> > What are the last dozen messages you see at boot time? Can you get to a
> > recovery console of sorts? Can you provide a dump of the dmesg output up to
> > that point?
> 
> Can't do anything that you asked: systemd-191 fails to build, while
> systemd-190 builds OK, but it segfaults (first line of message on boot).
> 
> For now I switched back to openrc. I will build any new systemd that gets
> into the tree and will try to do what you asked.

Please try -191 now that I fixed the build failure. Sorry for the inconvenience.
Comment 6 eu9gu4 2012-09-24 22:40:05 UTC
(In reply to comment #5)
> Ar, stupid bugzie.
> Please try -191 now that I fixed the build failure. Sorry for the
> inconvenience.

systemd 191 builds now, but segfaults like 190.
188 without any revs was the one worked.
The 2 lines on the boot screen look like this:

Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory. See system logs and 'systemctl status display-manager.service' for details.

segfault at 7d ip 45855717 sp bfe70518 error 4 in libc-2.15.so
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-09-25 08:03:10 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > Ar, stupid bugzie.
> > Please try -191 now that I fixed the build failure. Sorry for the
> > inconvenience.
> 
> systemd 191 builds now, but segfaults like 190.
> 188 without any revs was the one worked.
> The 2 lines on the boot screen look like this:
> 
> Cannot add dependency job for unit display-manager.service, ignoring: Unit
> display-manager.service failed to load: No such file or directory. See
> system logs and 'systemctl status display-manager.service' for details.
> 
> segfault at 7d ip 45855717 sp bfe70518 error 4 in libc-2.15.so

I'm afraid you'd have to go upstream with that segfault.

The display-manager lines are probably irrelevant but you can link your display manager unit to /etc/systemd/system/display-manager.service to check.

$ ls -l /etc/systemd/system/display-manager.service 
lrwxrwxrwx 1 root root 35 sie 20 23:19 /etc/systemd/system/display-manager.service -> /usr/lib/systemd/system/xdm.service
Comment 8 eu9gu4 2012-09-25 09:44:42 UTC
(In reply to comment #7)
> I'm afraid you'd have to go upstream with that segfault.

In so many years of using Gentoo I learned that if you have a little bit of patience, something that doesn't work today will work next week or next month.
So, for now, I'm back to openrc.
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-09-25 13:56:38 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > I'm afraid you'd have to go upstream with that segfault.
> 
> In so many years of using Gentoo I learned that if you have a little bit of
> patience, something that doesn't work today will work next week or next
> month.
> So, for now, I'm back to openrc.

Sadly, in systemd it usually works the other way ;). They first break something, then break more, and then say you're doing everything wrong :P.
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-09-26 05:23:04 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > I'm afraid you'd have to go upstream with that segfault.
> 
> In so many years of using Gentoo I learned that if you have a little bit of
> patience, something that doesn't work today will work next week or next
> month.
> So, for now, I'm back to openrc.

Please try -191-r1. That patch fixes some segfault, maybe it's yours as well.
Comment 11 eu9gu4 2012-09-27 03:40:08 UTC
(In reply to comment #10)
> (In reply to comment #8)
> > (In reply to comment #7)
> > > I'm afraid you'd have to go upstream with that segfault.
> > 
> > In so many years of using Gentoo I learned that if you have a little bit of
> > patience, something that doesn't work today will work next week or next
> > month.
> > So, for now, I'm back to openrc.
> 
> Please try -191-r1. That patch fixes some segfault, maybe it's yours as well.

Problem fixed, I've built systemd-192 and lvm now starts!
I think we can close this bug now!