I'm trying to follow the instructions at http://wiki.openwrt.org/UsbStorageHowto#head-48a82837822ffa8e49a817d3800f3f02c6bd7fb4 to have my ASUS WL-500g Premium boot from the usb storage device I have plugged in. I have usb storage working. I can mount the device on /mnt and all that is peachy.
The problem I am having is that ehci_hcd gives an error when getting loaded from the /etc/init.d/pivotroot script which is called from /etc/init.d/rcS as such: ----- rcS ----- #!/bin/sh # Copyright (C) 2006 OpenWrt.org if test $2 == "boot" ; then /etc/init.d/pivotroot fi { for i in /etc/rc.d/$1*; do [ -x $i ] && $i $2 2>&1 done } | logger -s -p 6 -t '' & ----- end rcS ----- The start of my /etc/init.d/pivotroot is: #!/bin/sh boot_dev="/dev/sda1" case "$(cat /proc/diag/model)" in "ASUS WL-500g Premium") usb=ehci_hcd;; *) usb=uhci;; esac /sbin/hotplug2 --override --persistent --max-children 1 --no-coldplug & for module in usbcore $usb scsi_mod sd_mod usb-storage jbd ext3; do echo "loading module: $module" >&2 insmod $module done killall hotplug2 All of the above listed modules load just fine except ehci_hcd. It gives an error: insmod: Loading module failed: No such file or directory It does appear to load at some later stage in the boot up process and the usb storage device then becomes available. It just does not seem to like to want to load as early in the boot as I have it. Any ideas? Thanx, b.
signature.asc
Description: This is a digitally signed message part
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel