From: "J. Roeleveld" <joost@antarean.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] boot problems
Date: Sat, 03 May 2014 13:14:50 +0200 [thread overview]
Message-ID: <1619382.K617jlEHYm@andromeda> (raw)
In-Reply-To: <5364CD9B.7070906@xunil.at>
On Saturday, May 03, 2014 01:06:03 PM Stefan G. Weichinger wrote:
> Am 03.05.2014 12:54, schrieb J. Roeleveld:
> > I don't use systemd, but as it's pushed by Redhat and redhat, by default,
> > uses LVM, I would expect that part to work correctly together.
>
> Yes ... but I still don't fully get what services to enable to get it
> set up correctly. lvmetad yes or no, various systemd-generators ... to
> me it looks a bit confusing. I had a local lvm.service ... and disabled
> it already.
>
> >> I am still trying to spot the reason. As mentioned in my other reply
> >> currently it seems to also timeout/hang with openrc for me.
> >>
> >> Right now I downgraded systemd, rebuilt dbus, dracut, procps ...
> >
> > lvm-utils?
>
> No such package in portage on my thinkpad ... (using this machine to reply).
My age shows, there used to be one.
Following LVM is installed on my laptop:
===
[I] sys-fs/lvm2
Available versions: 2.02.97-r1 2.02.103{tbz2} ~2.02.104 ~2.02.105
~2.02.105-r1 ~2.02.105-r2 {clvm cman device-mapper-only (+)lvm1
lvm2create_initrd readline selinux static static-libs +thin +udev}
Installed versions: 2.02.103{tbz2}(08:11:38 PM 03/05/2014)(lvm1 readline
thin udev -clvm -cman -lvm2create_initrd -selinux -static -static-libs)
===
Not sure why, but lvm1 use-flag is enabled. (This is a recent fresh
installation, must be a default somewhere)
Do you have that flag enabled?
> >> From a live-cd I am able to mount /, start the 2 raid-arrays, activate
> >> VGs and LVs ... everything useable.
> >
> > Ok, to get this straight.
> > You have x amount of disks
> > those are in 2 raid-arrays
> > on top of that, you have LVM...
>
> one ssd for / and /home ... 2 hdds building 2 mdadm-arrays as PVs, VGs
> on top ... LVs for data/music/VMs/etc
Sounds similar to my old server. Currently I use hardware raid on the server.
My desktops have 2 hdds in raid-0 (striping) with LVM ontop of that. With a
small /boot partition containing kernel and an initramfs (built with
genkernel)
> > Can you check that LVM is WAITING for the MDADM arrays to be build?
>
> I will try to. Disabling it from a non-booting system is a bit
> difficult. Commenting the fstab-lines containing LVs didn't help to skip
> this step so far (seems there is this LVM-systemd-generator called)
Check the sequence of the services starting during boot?
(might need to disable any boot-splash if present)
Does it boot correctly when you physically unplug the drives?
> >> Removing the "real_init" from the kernel line chooses openrc and also
> >> leads to a hanging boot.
> >>
> >> So a next step seems to comment the LVs from fstab and check if it boots
> >> then.
> >
> > Or enable interactive boot where you can press "I" to have every service
> > ask if it needs to be started. Then skip LVM.
> > Do you have parallel-boot enabled with OpenRC?
>
> No.
>
> > If yes, disable that just to make sure that isn't causing the issue with
> > OpenRC.
> > With systemd, I would recommend checking the dependencies between mdadm
> > and
> > lvm.
>
> Additional scratching: even editing the grub2-line doesn't reliably
> chose openrc for booting. Oh my ...
>
> It would help to somehow set a smaller timeout for this start job to at
> least get into emergency mode sooner. Right now it waits forever ("no
> limit").
If you don't need the LVM disks to check the boot-config, try physically
unplugging them. (either power or data cable should be sufficient)
--
Joost
next prev parent reply other threads:[~2014-05-03 11:15 UTC|newest]
Thread overview: 129+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-03 10:12 [gentoo-user] boot problems Stefan G. Weichinger
2014-05-03 10:27 ` J. Roeleveld
2014-05-03 10:33 ` Stefan G. Weichinger
2014-05-03 10:54 ` J. Roeleveld
2014-05-03 11:06 ` Stefan G. Weichinger
2014-05-03 11:14 ` J. Roeleveld [this message]
2014-05-03 10:28 ` Stefan G. Weichinger
2014-05-03 10:49 ` J. Roeleveld
2014-05-03 10:56 ` Stefan G. Weichinger
2014-05-03 11:05 ` J. Roeleveld
2014-05-03 11:12 ` Stefan G. Weichinger
2014-05-03 11:19 ` J. Roeleveld
2014-05-03 11:26 ` Stefan G. Weichinger
2014-05-03 11:37 ` J. Roeleveld
2014-05-03 13:46 ` Canek Peláez Valdés
2014-05-03 13:48 ` Stefan G. Weichinger
2014-05-03 13:59 ` Canek Peláez Valdés
2014-05-03 14:29 ` Stefan G. Weichinger
2014-05-03 15:08 ` J. Roeleveld
2014-05-03 15:10 ` Canek Peláez Valdés
2014-05-03 15:07 ` J. Roeleveld
2014-05-03 11:39 ` Stefan G. Weichinger
2014-05-03 12:03 ` J. Roeleveld
2014-05-03 12:09 ` Stefan G. Weichinger
2014-05-03 12:19 ` J. Roeleveld
2014-05-03 12:38 ` Stefan G. Weichinger
2014-05-03 18:43 ` J. Roeleveld
2014-05-03 12:08 ` Stefan G. Weichinger
2014-05-03 12:17 ` Todd Goodman
2014-05-03 12:23 ` J. Roeleveld
2014-05-03 13:08 ` Todd Goodman
2014-05-03 13:24 ` Stefan G. Weichinger
2014-05-03 12:27 ` Stefan G. Weichinger
2014-05-03 12:17 ` J. Roeleveld
2014-05-03 12:43 ` Stefan G. Weichinger
2014-05-03 12:52 ` J. Roeleveld
2014-05-03 12:55 ` Stefan G. Weichinger
2014-05-03 13:50 ` Canek Peláez Valdés
2014-05-03 13:57 ` Stefan G. Weichinger
2014-05-03 16:40 ` Stefan G. Weichinger
2014-05-03 16:51 ` Stefan G. Weichinger
2014-05-03 17:00 ` Stefan G. Weichinger
2014-05-03 17:25 ` Canek Peláez Valdés
2014-05-03 17:49 ` Stefan G. Weichinger
2014-05-03 18:30 ` Stefan G. Weichinger
2014-05-03 18:33 ` Canek Peláez Valdés
2014-05-03 18:37 ` Stefan G. Weichinger
2014-05-03 18:47 ` J. Roeleveld
2014-05-03 18:51 ` Stefan G. Weichinger
2014-05-03 18:56 ` J. Roeleveld
2014-05-03 19:00 ` Stefan G. Weichinger
2014-05-03 19:37 ` Canek Peláez Valdés
2014-05-03 18:30 ` Canek Peláez Valdés
2014-05-03 18:35 ` J. Roeleveld
2014-05-03 19:33 ` Canek Peláez Valdés
2014-05-03 19:38 ` Stefan G. Weichinger
2014-05-03 19:41 ` Canek Peláez Valdés
2014-05-03 19:53 ` Stefan G. Weichinger
2014-05-03 20:23 ` Stefan G. Weichinger
2014-05-03 20:46 ` Stefan G. Weichinger
2014-05-05 5:09 ` Canek Peláez Valdés
2014-05-05 6:18 ` Stefan G. Weichinger
2014-05-05 6:40 ` Canek Peláez Valdés
2014-05-15 6:21 ` Canek Peláez Valdés
2014-05-15 6:49 ` Canek Peláez Valdés
2014-05-15 7:08 ` Stefan G. Weichinger
2014-05-15 9:14 ` Stefan G. Weichinger
2014-05-15 9:58 ` covici
2014-05-15 10:00 ` Stefan G. Weichinger
2014-05-15 18:05 ` Canek Peláez Valdés
2014-05-15 18:27 ` Stefan G. Weichinger
2014-05-15 18:28 ` Stefan G. Weichinger
2014-05-15 18:33 ` Canek Peláez Valdés
2014-05-16 9:46 ` Stefan G. Weichinger
2014-05-16 10:04 ` Canek Peláez Valdés
2014-05-16 11:06 ` Alan McKinnon
2014-05-16 11:14 ` covici
2014-05-16 12:03 ` Neil Bothwick
2014-05-16 12:35 ` Stefan G. Weichinger
2014-05-16 12:43 ` Neil Bothwick
2014-05-16 13:03 ` Stefan G. Weichinger
2014-05-16 19:40 ` Neil Bothwick
2014-05-16 12:54 ` covici
2014-05-16 13:05 ` Stefan G. Weichinger
2014-05-16 14:01 ` covici
2014-05-16 12:13 ` Alan McKinnon
2014-05-16 20:01 ` Marc Joliet
2014-05-16 12:52 ` [gentoo-user] Re: LVM Stefan G. Weichinger
2014-05-16 19:50 ` [gentoo-user] boot problems Marc Joliet
2014-05-18 0:18 ` Walter Dnes
2014-05-19 10:54 ` Tanstaafl
2014-05-16 11:56 ` Bruce Schultz
2014-05-16 12:10 ` Stefan G. Weichinger
2014-05-16 17:09 ` Canek Peláez Valdés
2014-05-03 17:09 ` Peter Humphrey
2014-05-03 18:40 ` J. Roeleveld
2014-05-03 20:50 ` Peter Humphrey
2014-05-03 21:04 ` Stefan G. Weichinger
2014-05-04 8:53 ` Peter Humphrey
2014-05-04 9:15 ` Stefan G. Weichinger
2014-05-04 10:49 ` J. Roeleveld
2014-05-04 13:07 ` Stefan G. Weichinger
2014-05-04 18:40 ` J. Roeleveld
2014-05-04 19:03 ` Stefan G. Weichinger
2014-05-04 19:22 ` J. Roeleveld
2014-05-05 6:10 ` Stefan G. Weichinger
2014-05-05 6:52 ` J. Roeleveld
2014-05-05 7:09 ` J. Roeleveld
2014-05-05 7:48 ` Stefan G. Weichinger
2014-05-05 9:14 ` J. Roeleveld
2014-05-05 11:25 ` Stefan G. Weichinger
2014-05-05 12:27 ` J. Roeleveld
2014-05-05 14:12 ` [gentoo-user] Re: Qemu/KVM Stefan G. Weichinger
2014-05-05 19:20 ` J. Roeleveld
2014-05-05 7:50 ` [gentoo-user] boot problems Stefan G. Weichinger
2014-05-04 10:37 ` J. Roeleveld
2014-05-04 13:22 ` Peter Humphrey
2014-05-04 18:44 ` J. Roeleveld
2014-05-04 12:15 ` Neil Bothwick
2014-05-04 18:48 ` J. Roeleveld
2014-05-04 20:09 ` Neil Bothwick
2014-05-05 6:14 ` Stefan G. Weichinger
2014-05-05 6:54 ` J. Roeleveld
2014-05-05 9:02 ` Neil Bothwick
2014-05-05 8:54 ` Tom H
2014-05-03 12:52 ` Tom H
2014-05-03 13:26 ` Stefan G. Weichinger
2014-05-04 1:56 ` Mark Pariente
2014-05-04 9:01 ` Stefan G. Weichinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1619382.K617jlEHYm@andromeda \
--to=joost@antarean.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox