From: "Theodore Ts'o" <tytso@mit.edu>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: linux-kernel@vger.kernel.org, torvalds@linux-foundation.org
Subject: Re: [REGRESSION] 4.11-rc: systemd doesn't see most devices
Date: Tue, 11 Apr 2017 16:31:48 -0400 [thread overview]
Message-ID: <20170411203148.lrhf6ql76idmtlzv@thunk.org> (raw)
In-Reply-To: <20170411153835.GA12036@kroah.com>
[-- Attachment #1: Type: text/plain, Size: 1529 bytes --]
On Tue, Apr 11, 2017 at 05:38:35PM +0200, Greg KH wrote:
> I haven't seen this at all, nor heard of it. As systemctl only gets
> what udev reports to it, have you tried using 'udevadm' to monitor your
> devices when you plug them in, to ensure it is really seeing them?
The problem is that the problem happens at boot, so I can't really use
"udevadm monitor" --- so I'm not sure whats the best way to debug
this. I can seen some journalctl logs which do show that it's not
detecting the dm-crypt volume --- but that's insane, because my root
partition is also on the dm-crypt, and it was unlocked in the initrd.
So systemd and udev might not think it exists, but it most definitely
does --- or the boot wouldn't have been able to proceed at all.
In any case, here is the "udevadm info -e" output from a good and bad
boot, as well as a dmesg from a good and a bad boot. I'm not seeing
anything obvious, but it does seem interesting that "udevadm info -e"
shows a lot of devices which "systemctl | grep device" doesn't. Is
there any recent change in the kernel's interfaces that udev depends
on that might make a difference? For that matter, what does udev
depend on? Should I be looking at differences in sysfs? Or does udev
use something else?
I'd do more debugging, but there's a lot of magic these days in the
kernel to udev/systemd communications that I'm quite ignorant about.
Is this a good place I can learn more about how this all works, other
than diving into the udev and systemd sources? :-(
- Ted
[-- Attachment #2: udevadm.good.gz --]
[-- Type: application/gzip, Size: 21596 bytes --]
[-- Attachment #3: udevadm.bad.gz --]
[-- Type: application/gzip, Size: 15617 bytes --]
[-- Attachment #4: dmesg.good.gz --]
[-- Type: application/gzip, Size: 19888 bytes --]
[-- Attachment #5: dmesg.bad.gz --]
[-- Type: application/gzip, Size: 16012 bytes --]
next prev parent reply other threads:[~2017-04-11 20:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-11 15:00 Theodore Ts'o
2017-04-11 15:38 ` Greg KH
2017-04-11 20:31 ` Theodore Ts'o [this message]
2017-04-12 10:33 ` Greg KH
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=20170411203148.lrhf6ql76idmtlzv@thunk.org \
--to=tytso@mit.edu \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.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
all inboxes | Powered by JetHome®