Re: udevadm --settle

2011-05-18 Thread DJ Lucas
# already been discovered -/sbin/udevadm trigger --action=add +/sbin/udevadm trigger --action=add --type=subsystems +/sbin/udevadm trigger --action=add --type=devices # Now wait for udevd to process the uevents we triggered /sbin/udevadm settle Seems

Re: udevadm --settle

2011-05-18 Thread Bryan Kadzban
/sbin/udevadm settle Seems logical, any reason not to? From the manpage, --type=devices is the default, so this is a superset of what we're triggering today. So yes, and oops. (Looks like we should have been doing this for a while now.) :-) signature.asc Description: OpenPGP digital

Re: udevadm --settle

2011-05-16 Thread Bryan Kadzban
DJ Lucas wrote: stuff about settle being broken I see some traffic on linux-hotplug about this as well, so it looks like it's not LFS-specific, at least. (Arch and Debian have both had bugs reported about this.) The messages from Kay so far seem encouraging, as well. ...Oh, and I see the

Re: udevadm --settle

2011-05-16 Thread DJ Lucas
On 05/16/2011 12:59 AM, Bryan Kadzban wrote: DJ Lucas wrote: stuff about settle being broken I see some traffic on linux-hotplug about this as well, so it looks like it's not LFS-specific, at least. (Arch and Debian have both had bugs reported about this.) The messages from Kay so far seem

Re: udevadm --settle

2011-05-12 Thread DJ Lucas
happens if you boot with init=/bin/bash, then manually run scripts one at a time, until you get to udev, then both (a) run it, and (b) list out /dev/sd*, in the same shell command? What happens if you do (a) and (b), then (c) rerun udevadm settle, then list again? (All in the same command again

Re: udevadm --settle

2011-05-12 Thread DJ Lucas
On 05/11/2011 11:25 PM, Bruce Dubbs wrote: DJ Lucas wrote: After updating from udev-165 to udev-168, I ran into a timing issue with settle using tmpfs for /dev. My swap partition failed to mount because the device node was not present. No other changes than those made to the bootscripts and

Re: udevadm --settle

2011-05-12 Thread Jeremy Huntwork
On 5/12/11 3:09 AM, DJ Lucas wrote: Sure there is...a fully event driven init as Bryan described earlier. I just don't find that to be transparent enough for my taste, nor udev quite mature enough just yet (as evidenced by this very issue), though it is getting there slowly but surely.

Re: udevadm --settle

2011-05-12 Thread Bryan Kadzban
DJ Lucas wrote: On 05/11/2011 11:14 PM, Bryan Kadzban wrote: Where is your swap? /dev/sda3...which gives a much better explanation as to why it works with devtmpfs. I did not buy the faster bit. Yeah, that sounds about right. (I'm thinking the kernel isn't sending the event to udev in

udevadm --settle

2011-05-11 Thread DJ Lucas
After updating from udev-165 to udev-168, I ran into a timing issue with settle using tmpfs for /dev. My swap partition failed to mount because the device node was not present. No other changes than those made to the bootscripts and FS layout to account for /run. I rebooted a few more times to

Re: udevadm --settle

2011-05-11 Thread Bryan Kadzban
to swap them out for the standard scripts? What happens if you boot with init=/bin/bash, then manually run scripts one at a time, until you get to udev, then both (a) run it, and (b) list out /dev/sd*, in the same shell command? What happens if you do (a) and (b), then (c) rerun udevadm settle

Re: udevadm --settle

2011-05-11 Thread Bruce Dubbs
DJ Lucas wrote: After updating from udev-165 to udev-168, I ran into a timing issue with settle using tmpfs for /dev. My swap partition failed to mount because the device node was not present. No other changes than those made to the bootscripts and FS layout to account for /run. I rebooted a