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 3B6F81381FA for ; Wed, 14 May 2014 14:45:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32680E0A9A; Wed, 14 May 2014 14:44:56 +0000 (UTC) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com [209.85.215.53]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E5D45E0919 for ; Wed, 14 May 2014 14:44:54 +0000 (UTC) Received: by mail-la0-f53.google.com with SMTP id ec20so1504132lab.40 for ; Wed, 14 May 2014 07:44:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=7zd0r9It7+fPJmky07N5msJFdNBcatg77GWwInDHdZk=; b=tOVrpI3GNmUYe54qwqDKPOtnutRbezdJFkFyydCsfnmFcaQJtAZI5L6EXN6T67V3Ik CAx7PV7IDeUhAf9KGv/h+eyE/lmBxRCfya90hN6H6ucuqjz/Lzv9ZLJIujhmg8FQzROL 8iz7nNrOODiXvqhww6N0S/q6kZrQG/odsA+R46Fp01yoO/lT+1iK7uFxveF5y4rPL0ZB E3fkrXuZeAiLzkrga4zXeRs90rBDd671DmvUp3ChaJMRP5BKUGpEU81lQpJUzDqPOhg2 4QEofo777ydG6Q0whxdjUaTU8CHiH+8Ix4+9vi3cSRv9HVBZH4srewc+U/gP3IdkxIDI aW7w== X-Received: by 10.112.118.197 with SMTP id ko5mr2747059lbb.23.1400078693423; Wed, 14 May 2014 07:44:53 -0700 (PDT) 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 Received: by 10.114.170.166 with HTTP; Wed, 14 May 2014 07:44:33 -0700 (PDT) In-Reply-To: <8704.1400060591@ccs.covici.com> References: <23736.1399879340@ccs.covici.com> <17435.1399889735@ccs.covici.com> <13680.1399912266@ccs.covici.com> <17066.1399913526@ccs.covici.com> <8704.1400060591@ccs.covici.com> From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= Date: Wed, 14 May 2014 09:44:33 -0500 Message-ID: Subject: Re: [gentoo-user] problems getting systemd to work To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: da66f936-20d6-4572-bcec-370b8c23f29b X-Archives-Hash: 7f799bf160a06f0c1f3e97dc6559e7a2 On Wed, May 14, 2014 at 4:43 AM, wrote: > 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, an= y >> > 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. >> >> Try adding this to your kernel command line: >> systemd.log_target=3Dconsole systemd.log_level=3Ddebug. It will add a lo= t >> of output, including what is being executed. > > I also in my kernel command line said rd.lvm=3D1 just to make sure. John, which version of dracut are you using? Also, what was the command line you used to generate it? Regards. --=20 Canek Pel=C3=A1ez Vald=C3=A9s Profesor de asignatura, Facultad de Ciencias Universidad Nacional Aut=C3=B3noma de M=C3=A9xico