From: covici@ccs.covici.com
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] problems getting systemd to work
Date: Wed, 14 May 2014 11:05:37 -0400 [thread overview]
Message-ID: <26238.1400079937@ccs.covici.com> (raw)
In-Reply-To: <CADPrc80w+bEHOeRUOto_qoyhRiR56_zYPCdrt12WcH9sdBZxZQ@mail.gmail.com>
Canek Peláez Valdés <caneko@gmail.com> wrote:
> On Wed, May 14, 2014 at 4:43 AM, <covici@ccs.covici.com> wrote:
> > Canek Peláez Valdés <caneko@gmail.com> wrote:
> >
> >> On Mon, May 12, 2014 at 11:52 AM, <covici@ccs.covici.com> wrote:
> >> > Canek Peláez Valdés <caneko@gmail.com> wrote:
> >> >
> >> >> On Mon, May 12, 2014 at 11:31 AM, <covici@ccs.covici.com> 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="init=/usr/lib/systemd/systemd quiet nosplash"
> >> >> GRUB_PRELOAD_MODULES="lvm mdraid1x"
> >> >>
> >> >> And this is my dracut.conf (minus comments):
> >> >>
> >> >> add_dracutmodules+="crypt lvm mdraid systemd"
> >> >> add_drivers+="autofs4 ipv6 dm-crypt aes sha256"
> >> >> fscks="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áez Valdés
> >> >> 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.
> >>
> >> Try adding this to your kernel command line:
> >> systemd.log_target=console systemd.log_level=debug. It will add a lot
> >> of output, including what is being executed.
> >
> > I also in my kernel command line said rd.lvm=1 just to make sure.
>
> John, which version of dracut are you using? Also, what was the
> command line you used to generate it?
I am using version 037 and the command line was very simple
dracut --force -M
and here is its output:
Script started on Wed 14 May 2014 04:52:19 AM EDT
Executing: /usr/bin/dracut --force -M
00bootchart: Could not find command '/sbin/bootchartd'!
00dash: Could not find command '/bin/dash'!
50plymouth: Could not find command 'plymouthd'!
50plymouth: Could not find command 'plymouth'!
90btrfs: Could not find command 'btrfs'!
90dmraid: Could not find command 'dmraid'!
90mdraid: Could not find command 'mdadm'!
90multipath: Could not find command 'multipath'!
95fcoe-uefi: Could not find command 'dcbtool'!
95fcoe-uefi: Could not find command 'fipvlan'!
95fcoe-uefi: Could not find command 'lldpad'!
95iscsi: Could not find command 'iscsistart'!
95iscsi: Could not find command 'iscsi-iname'!
95nbd: Could not find command 'nbd-client'!
97biosdevname: Could not find command 'biosdevname'!
bash
caps
caps: does not work with systemd in the initramfs
modsign
dracut-install: ERROR: installing '/usr/bin/keyctl'
/usr/libexec/dracut-install -D /var/tmp/initramfs.dpEwDV /usr/bin/keyctl
i18n
network
crypt
dm
Skipping udev rule: 64-device-mapper.rules
Skipping udev rule: 60-persistent-storage-dm.rules
Skipping udev rule: 55-dm.rules
kernel-modules
Omitting driver i2o_scsi
lvm
Skipping udev rule: 64-device-mapper.rules
Skipping udev rule: 56-lvm.rules
Skipping udev rule: 60-persistent-storage-lvm.rules
cifs
nfs
resume
rootfs-block
terminfo
udev-rules
Skipping udev rule: 91-permissions.rules
Skipping udev rule: 80-drivers-modprobe.rules
systemd
usrmount
base
fs-lib
shutdown
*** Including modules done ***
*** Installing kernel module dependencies and firmware ***
*** Installing kernel module dependencies and firmware done ***
*** Resolving executable dependencies ***
*** Resolving executable dependencies done***
*** Stripping files ***
*** Stripping files done ***
*** Store current command line parameters ***
*** Creating image file ***
*** Creating image file done ***
Script done on Wed 14 May 2014 04:52:50 AM EDT
--
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
next prev parent reply other threads:[~2014-05-14 15:05 UTC|newest]
Thread overview: 72+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-12 7:22 [gentoo-user] problems getting systemd to work covici
2014-05-12 7:53 ` Canek Peláez Valdés
2014-05-12 10:15 ` covici
2014-05-12 14:50 ` Jc García
2014-05-12 16:22 ` covici
2014-05-12 20:10 ` Jc García
2014-05-12 22:45 ` covici
2014-05-13 3:46 ` covici
2014-05-13 12:17 ` Stefan G. Weichinger
2014-05-13 12:29 ` covici
2014-05-13 12:35 ` Stefan G. Weichinger
2014-05-13 13:18 ` covici
2014-05-13 13:35 ` Jc García
2014-05-13 13:53 ` covici
2014-05-13 13:02 ` Jc García
2014-05-13 13:16 ` Jc García
2014-05-13 13:43 ` covici
2014-05-13 14:15 ` Jc García
2014-05-12 15:29 ` Canek Peláez Valdés
2014-05-12 16:31 ` covici
2014-05-12 16:37 ` Canek Peláez Valdés
2014-05-12 16:52 ` covici
2014-05-12 17:01 ` Canek Peláez Valdés
2014-05-14 9:40 ` covici
2014-05-14 14:41 ` Jc García
2014-05-14 23:18 ` wraeth
2014-05-14 9:43 ` covici
2014-05-14 12:38 ` Jc García
2014-05-14 14:44 ` Canek Peláez Valdés
2014-05-14 15:05 ` covici [this message]
2014-05-14 15:33 ` Canek Peláez Valdés
2014-05-14 15:42 ` covici
2014-05-14 15:46 ` Jc García
2014-05-14 15:51 ` Canek Peláez Valdés
2014-05-14 15:55 ` Jc García
2014-05-14 16:18 ` Canek Peláez Valdés
2014-05-14 16:38 ` covici
2014-05-14 17:01 ` Stefan G. Weichinger
2014-05-14 16:40 ` Jc García
2014-05-14 22:26 ` covici
2014-05-15 6:18 ` Canek Peláez Valdés
2014-05-15 6:47 ` Canek Peláez Valdés
2014-05-15 9:48 ` covici
2014-05-15 18:13 ` Canek Peláez Valdés
2014-05-15 11:50 ` covici
2014-05-15 12:16 ` Stefan G. Weichinger
2014-05-15 12:38 ` covici
2014-05-15 12:44 ` Stefan G. Weichinger
2014-05-15 13:27 ` Jc García
2014-05-15 13:14 ` Jc García
2014-05-15 9:39 ` covici
2014-05-15 9:59 ` Stefan G. Weichinger
2014-05-15 10:19 ` covici
2014-05-15 12:02 ` Stefan G. Weichinger
2014-05-15 12:27 ` covici
2014-05-15 18:23 ` Canek Peláez Valdés
2014-05-15 18:25 ` Stefan G. Weichinger
2014-05-15 20:38 ` covici
2014-05-15 22:01 ` Stefan G. Weichinger
2014-05-16 0:43 ` covici
2014-05-16 9:42 ` Canek Peláez Valdés
2014-05-16 10:53 ` covici
2014-05-16 12:42 ` Stefan G. Weichinger
2014-05-16 17:01 ` Canek Peláez Valdés
2014-05-16 17:17 ` covici
2014-05-16 17:41 ` Canek Peláez Valdés
2014-05-16 18:11 ` covici
2014-05-16 18:28 ` Canek Peláez Valdés
2014-05-16 18:33 ` covici
2014-05-16 12:46 ` covici
2014-05-16 17:02 ` Canek Peláez Valdés
2014-05-15 14:14 ` Tom H
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=26238.1400079937@ccs.covici.com \
--to=covici@ccs.covici.com \
--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