public inbox for kernelci@lists.linux.dev
 help / color / mirror / Atom feed
From: "Kevin Hilman" <khilman@baylibre.com>
To: kernelci@groups.io
Subject: debian rootfs: failed networking (without initramfs)
Date: Wed, 06 Jun 2018 15:49:33 -0700	[thread overview]
Message-ID: <7hzi07h6o2.fsf@baylibre.com> (raw)

In testing the new debian rootfs images, the initrd + full.rootfs seem
to work just fine.

However, when trying the stripped down rootfs.cpio.gz as a ramdisk, it
fails to do any network init if the network drivers are built as
modules.

According to the logs[1], it looks like systemd tries to setup the
networking before all the modules are acutally loaded.  Even though the
logs indicate that both "Started" and "Starting" of kernel modules
happen earlier, I don't see kernel logs for the modules until well after
systemd has tried to init networking.

Even more fun, the rootfs doesn't have ifconfig or ip tools, so you
can't (re)configure networking manually.

Any ideas why systemd doesn't get the modules loaded in time to init
networking?

Also for reference, here's a full boot log with the initrd + pivot to
NFS[2] where you can see the modules and network init are done by the
initrd.

Kevin

[1] http://termbin.com/7ifl
[2] http://termbin.com/d960

                 reply	other threads:[~2018-06-06 22:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=7hzi07h6o2.fsf@baylibre.com \
    --to=khilman@baylibre.com \
    --cc=kernelci@groups.io \
    /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