Update of /cvsroot/devil-linux/build/config/etc/initrd
In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv2745/config/etc/initrd
Modified Files:
linuxrc
Log Message:
get the devices in order, so we'll be able to boot (at some point)
Index: linuxrc
===================================================================
RCS file: /cvsroot/devil-linux/build/config/etc/initrd/linuxrc,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- linuxrc 24 Sep 2006 15:08:46 -0000 1.89
+++ linuxrc 1 Apr 2007 20:20:29 -0000 1.90
@@ -187,15 +187,32 @@
echo "Mounting SHM FS on /shm"
mount -n -t shm shmfs /shm 2> /dev/null || mount -n -t tmpfs none /shm
-# get rid of modprobe warnings
+# make sure we can write to /
+mount -n -o remount,rw /
+
+# get rid of modprobe and udevd warnings
mkdir -p /shm/etc
+#cp /group /etc/group
echo -e "Unpacking udev configuration"
tar -xzf /udev-cfg.tar.gz -C /shm
echo -e "Creating devices in /dev"
-/sbin/udevstart
-echo "/sbin/udev" > /proc/sys/kernel/hotplug
+set -x
+/sbin/mdev
+echo "/sbin/mdev" > /proc/sys/kernel/hotplug
+# disable kernel hotplug, udev will handle this
+#echo > /proc/sys/kernel/hotplug
+#/sbin/udevd --daemon
+# make sure all events (even old ones) are handled
+#/sbin/udevtrigger
+# now let's wait until udev is done
+#/sbin/udevsettle
+#evaluate_retval
+#print_status success
+
+# and I'm sure we need to debug this first....
+/bin/sh
echo "waiting until usb-storage driver has initialized all devices ..."
sleep 10
|