linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: DJ Lucas <dj@lucasit.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: udevadm settle persistently failing
Date: Mon, 16 May 2011 05:05:56 +0000	[thread overview]
Message-ID: <4DD0B0B4.2010508@lucasit.com> (raw)
In-Reply-To: <8739kfzv1j.fsf@spindle.srvr.nix>

On 05/15/2011 01:32 PM, Tom Gundersen wrote:
> On Sun, May 15, 2011 at 8:19 PM, Nix<nix@esperi.org.uk>  wrote:
>> I know that you're not supposed to rely on 'udevadm settle' anymore, but
>> I rely on it across the board for systems with root filesystems that
>> aren't expected to move around (i.e. all of them), because massively
>> reengineering working systems' boot processes is generally considered a
>> bad thing. And it's stopped working. Given how many things expect /dev
>> to be populated, this has fairly serious effects.
>>
>> I can be certain that as of somewhere between udev 164 and 167, 'udevadm
>> settle' has stopped waiting for block devices to appear (though I
>> suspect others have vanished too). I'm booting udev as recommended in
>> the release notes, via
>>
>>   udevd --daemon
>>   udevadm trigger --action­d --type=subsystems
>>   udevadm trigger --action­d --typeÞvices
>>   udevadm settle
>
> We are doing the same on Arch and today I started seeing bug reports
> (after the upgrade to udev 168). So here are my two cents:
>
> Most of the time the problem seems to be related to LVM, but I have
> also seen regular block devices having problems. As would be expected
> using devtmpfs greatly reduces (if not eliminates) the problem. My
> guess was (like Nix said) that "udevadm settle" is somehow broken.
>
> Some related bug reports:
>
> Arch:<https://bugs.archlinux.org/task/24288>,
> Debian:<http://bugs.debian.org/cgi-bin/bugreport.cgi?bugb4010>.
>
> Cheers,
>
> Tom
> --
> To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
Just to add a "me too" regarding regular block devices. First noticed 
with 168, coming from 165. /dev was tmpfs and swap is /dev/sda3 and 
mounted immediately after udevadm --settle. Kernel is 2.6.36.2. In 
addition to the udev change, I added the /run mount point to the mix 
(started very early, directly in rc before any scripts are run). Moving 
to devtmpfs 'fixed' it for me, but that was because devtmpfs has the raw 
sd* nodes, as explained to me by another dev. If I flip to use by-id, it 
breaks again. I plan to go back and see exactly where stuff broke, but 
haven't had the time just yet, more pressing issues. Probably a 
Wednesday evening project (CDT).

-- DJ Lucas


-- 
This message has been scanned for viruses and
dangerous content, and is believed to be clean.


  parent reply	other threads:[~2011-05-16  5:05 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-15 18:19 udevadm settle persistently failing Nix
2011-05-15 18:32 ` Tom Gundersen
2011-05-15 23:25 ` Kay Sievers
2011-05-15 23:33 ` Kay Sievers
2011-05-15 23:38 ` Nix
2011-05-15 23:47 ` Nix
2011-05-15 23:51 ` Kay Sievers
2011-05-15 23:57 ` Kay Sievers
2011-05-16  5:05 ` DJ Lucas [this message]
2011-05-16  6:23 ` DJ Lucas
2011-05-16 10:01 ` Nix
2011-05-16 10:22 ` Marco d'Itri
2011-05-16 10:36 ` Nix
2011-05-16 10:51 ` Kay Sievers
2011-05-16 11:28 ` Kay Sievers
2011-05-16 12:47 ` Nix

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=4DD0B0B4.2010508@lucasit.com \
    --to=dj@lucasit.com \
    --cc=linux-hotplug@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).