From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (unknown [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0CA951381FA for ; Wed, 14 May 2014 09:40:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 10EBBE0B35; Wed, 14 May 2014 09:40:12 +0000 (UTC) Received: from mail0200.smtp25.com (mail0200.smtp25.com [174.37.170.200]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EC8DFE0B26 for ; Wed, 14 May 2014 09:40:10 +0000 (UTC) Received: from ccs.covici.com (d-out-001.smtp25.com [67.228.158.174]) by s-out-001.smtp25.com (8.14.2/8.14.2) with ESMTP id s4E9e8iN014437 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Wed, 14 May 2014 05:40:09 -0400 Received: from ccs.covici.com (localhost [127.0.0.1]) by ccs.covici.com (8.14.8/8.14.8) with ESMTP id s4E9e72g008254 for ; Wed, 14 May 2014 05:40:07 -0400 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] problems getting systemd to work In-reply-to: References: <23736.1399879340@ccs.covici.com> <17435.1399889735@ccs.covici.com> <13680.1399912266@ccs.covici.com> <17066.1399913526@ccs.covici.com> Comments: In-reply-to =?us-ascii?Q?=3D=3FUTF-8=3FB=3FQ2FuZWsgUGVsw6FleiBWY?= =?us-ascii?Q?Wxkw6lz=3F=3D?= message dated "Mon, 12 May 2014 12:01:49 -0500." X-Mailer: MH-E 8.2; nmh 1.3; GNU Emacs 23.4.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Wed, 14 May 2014 05:40:07 -0400 Message-ID: <8253.1400060407@ccs.covici.com> From: covici@ccs.covici.com X-SpamH-OriginatingIP: 70.109.53.110 X-SpamH-Filter: s-out-001.smtp25.com-s4E9e8iN014437 X-Archives-Salt: 173ef3e9-fb60-4b1f-ba4b-0b1a350cc5a4 X-Archives-Hash: fccaede8cabacbeec9f1bf570a9c85fc Canek Pel=C3=A1ez Vald=C3=A9s wrote: > On Mon, May 12, 2014 at 11:52 AM, wrote: > > Canek Pel=C3=A1ez Vald=C3=A9s wrote: > > > >> On Mon, May 12, 2014 at 11:31 AM, wrote: > >> [snip] > >> > OK, I will try dracut, > >> > >> I hope it works with dracut. This is my kernel command line and > >> RAID/LVM related stuff from GRUB2: > >> > >> GRUB_CMDLINE_LINUX=3D"init=3D/usr/lib/systemd/systemd quiet nosplash" > >> GRUB_PRELOAD_MODULES=3D"lvm mdraid1x" > >> > >> And this is my dracut.conf (minus comments): > >> > >> add_dracutmodules+=3D"crypt lvm mdraid systemd" > >> add_drivers+=3D"autofs4 ipv6 dm-crypt aes sha256" > >> fscks=3D"umount mount /sbin/fsck* e2fsck" > >> > >> That's it. I didn't touched anything else to make dracut+systemd work > >> with LVM and RAID (and LUKS, but that doesn't matter). > >> > >> Also, dracut comes with extensive and very clear documentation; check > >> the man pages included. > >> > >> > but I still want to know what systemd is doing, > >> > what processes its spawning, etc. -- how can I find this out -- I > >> > thought to use the confirm_spawn, but it times out and keeps going, = what > >> > can I do instead? > >> > >> You can use bootchart: > >> > >> man 1 systemd-bootchart > >> > >> It will produce a chart with all the processes, and how long it takes > >> for every one of them. But remember, the order depends on which one > >> finishes before, and that can change from boot to boot. > >> > >> > Thanks people for all your responses, this is a great list. > >> > >> Regards. > >> -- > >> Canek Pel=C3=A1ez Vald=C3=A9s > >> Profesor de asignatura, Facultad de Ciencias > > > > Well, since I am unable to see, the graph would not do me any good, any > > way to get it in text form? What I want to see (and I know the order > > may change) is which starts first and so on, to make sure targets, > > etc. do what I want them to do. >=20 > Try adding this to your kernel command line: > systemd.log_target=3Dconsole systemd.log_level=3Ddebug. It will add a lot > of output, including what is being executed. >=20 > Everything is documented in the man page: man 1 systemd. Well, I rebooted under dracut, but it did not do the lvmscan and so the job trying to find the root file system timed out after 90 seconds. It took me to the emergency shell which I had specified, and I was able to do the lvm_scan and them magically root got mounted under sysroot, but I had no idea what to do next to maybe get things going. So how can I get dracut to do its lvm_scan -- I even added the line=20 add_dracutmodules+=3D"lvm" but no joy. I saved the rdsosreport.txt and if that is of any use, I can post it. --=20 Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com