[poky] udev/modutils issues with the system bringup
Holger Freyther
holger at freyther.de
Mon Jun 6 02:15:52 PDT 2011
Hi all,
I have experienced two issues that should exist for others as well.
1.) udevd not starting on second boot. The /etc/init.d/udev script attempts
to detect the first/second boot by checking for /etc/dev.tar and then is
executing the following:
#!/bin/sh -e
...
if [ -e /etc/dev.tar ]; then
(cd /; tar xf /etc/dev.tar 2>&1 | grep -v 'time stamp')
not_first_boot=1
fi
and somehow the "grep -v 'time stamp'" makes this whole expression
evaluate to 1 which makes the script exit at this part. So I am not sure
when/where/how this problem got introduced, if this is a change in the
return value of grep.. (I am just lazy here right now)
2.) Chicken egg problem with firmware
I have some kernel modules that require firmware but they should be
loaded on start. So right now the modutils.sh script is executed before
udev which means that firmware loading will be loaded before
a) sysfs is mounted...
b) udev will handle it..
my local workaround is to move the modutils.sh script after both sysfs
and udev.
holger
More information about the poky
mailing list