On Mon, Mar 05, 2007 at 10:48:19PM +0000, Owen Barritt wrote:
>
> I've been following the book with the aim to build the temporary system and
> then build the rest on the target machine. This has now been copied across
> to
> the target machine, which dies during the bootup after failing to load udevd.
>
> It boots the kernel fine and then goes into init where it gives the following:
>
> INIT: version 2.86 booting
> Mounting kernel-based file systems: /proc /sys [ OK ]
> Creating /dev in tmpfs... [ OK ]
> Copying static entries... [ OK ]
> Setting Permissions on /dev/shm... [ OK ]
> /etc/rc.d/rcsysinit.d/S10udev: line 42: /sys/kernel/uevent_helper: Permission
> denied
> Starting udevd... [ FAIL ]
> I assuming the hard drive problem (running e2fsck on it from a LiveCD seems
> fine) is to do with udev failing, but I'm a bit lost as to how to fix udev.
> Can anyone give me some pointers?
>
I don't have a temporary system here, but in the final system line
42 of the udev script in init.d is
echo "" > /sys/kernel/uevent_helper
It says it mounted /sys, so I'm guessing that perhaps the
permissions or ownership are screwed somewhere. Please check that
you haven't missed something in chapter 7 from 'Creating the
/etc/fstab file' through to 'Changing Ownership'.
If it all seems to be there, what does the fstab say about /sys,
what are the permissions of ${CLFS}/sys, and of
${CLFS}/etc/rc.d/init.d/udev ? (And this week, I'd better make
clear that those questions are intended as pointers, I'm not going
to be around very much.)
As a long stop you could try instrumenting that bootscript to show
you the ouput of ls -l /sys/kernel and `whoami` (assuming that
whoami gets installed).
ĸen
--
das eine Mal als Tragödie, das andere Mal als Farce
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support