All of lore.kernel.org
 help / color / mirror / Atom feed
* udev/modutils issues with the system bringup
@ 2011-06-06  9:15 Holger Freyther
  2011-06-06  9:21 ` Holger Freyther
  0 siblings, 1 reply; 4+ messages in thread
From: Holger Freyther @ 2011-06-06  9:15 UTC (permalink / raw)
  To: poky

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-06-25 20:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-06  9:15 udev/modutils issues with the system bringup Holger Freyther
2011-06-06  9:21 ` Holger Freyther
2011-06-06 15:18   ` Saul Wold
     [not found]     ` <4DFBAA25.9010409@freyther.de>
2011-06-25 20:31       ` Saul Wold

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.