lfs-support Digest, Vol 1046, Issue 1
jeremy at chaos.org.uk
Tue Aug 15 12:14:43 PDT 2006
On Sun, Aug 13, 2006 at 04:27:26PM -0700, Dan Nicholson wrote:
> On 8/13/06, Jeremy Henty <jeremy at chaos.org.uk> wrote:
> > * I needed to run "make uninstall" in the udev-071 build tree
> > before installing udev-096. If you don't do that then something
> > in the old udev-071 installation gets triggered during the boot.
> Not sure if this is related, but the LFS install passes `DESTDIR=/' to
> make since the default install target tries to restart udevd if you
> install to the root directory.
The "bad magic" messages persisted over several reboots, so I don't
think a rogue udevd from the install could have been the problem.
Making sure that all remnants of udev-071 had been removed was the
fix. (As an aside it's worth noting that the udev-071 "make
uninstall" kills udevd, so it's probably wise to install the new
version and reboot ASAP.)
> > * I needed to disable hotplug. (I inserted "exit 0" at the top of
> > the bootscript.)
> You shouldn't need to do that. I'm not sure where you put the exit 0,
> but the proper way to handle this now is with:
> echo > /proc/sys/kernel/hotplug
> Then udev will handle hotplugging.
That works OK when booting, the wierd thing was that when shutting
down I was also getting "bad magic" messages which turned out to be
coming from the hotplug init script. No idea why, but those messages
disappeared as soon as I disabled the script.
More information about the lfs-support