thanks for all the help so far. i followed the instructions in the page you sent me, and successfully set the drive up as extroot. after i rebooted, it showed up properly in both luci and in the router terminal via serial connection. i installed some packages, mostly wifi drivers, and then i rebooted again. this time, it wasn't so smooth. here's a snippet of the boot log:
root@OpenWrt:~# [ 4447.233975] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[ 4447.246040] usb 2-1: USB disconnect, device number 2
[ 4447.305942] device offline error, dev sda, sector 2052 op 0x1:(WRITE) flags 0x3000 phys_seg 1 prio class 2
[ 4447.315913] Buffer I/O error on dev sda1, logical block 2, lost async page write
[ 4447.323724] device offline error, dev sda, sector 2570 op 0x1:(WRITE) flags 0x3000 phys_seg 1 prio class 2
[ 4447.333730] Buffer I/O error on dev sda1, logical block 261, lost async page write
[ 4447.342968] device offline error, dev sda, sector 2598 op 0x1:(WRITE) flags 0x3000 phys_seg 1 prio class 2
[ 4447.352967] Buffer I/O error on dev sda1, logical block 275, lost async page write
[ 4447.361001] device offline error, dev sda, sector 2636 op 0x1:(WRITE) flags 0x3000 phys_seg 1 prio class 2
[ 4447.370971] Buffer I/O error on dev sda1, logical block 294, lost async page write
[ 4447.395329] device offline error, dev sda, sector 3112 op 0x1:(WRITE) flags 0x3000 phys_seg 2 prio class 2
[ 4447.405299] Buffer I/O error on dev sda1, logical block 532, lost async page write
[ 4447.413103] Buffer I/O error on dev sda1, logical block 533, lost async page write
[ 4447.421742] device offline error, dev sda, sector 18146 op 0x1:(WRITE) flags 0x3000 phys_seg 1 prio class 2
[ 4447.431807] Buffer I/O error on dev sda1, logical block 8049, lost async page write
[ 4447.439839] device offline error, dev sda, sector 18216 op 0x1:(WRITE) flags 0x3000 phys_seg 1 prio class 2
[ 4447.449906] Buffer I/O error on dev sda1, logical block 8084, lost async page write
[ 4447.472819] EXT4-fs (sda1): shut down requested (2)
[ 4447.477954] Aborting journal on device sda1-8.
[ 4447.482594] device offline error, dev sda, sector 100354 op 0x1:(WRITE) flags 0x9800 phys_seg 1 prio class 2
[ 4447.492744] Buffer I/O error on dev sda1, logical block 49153, lost sync page write
[ 4447.500652] JBD2: I/O error when updating journal superblock for sda1-8.
[ 4447.920977] br-lan: port 2(phy0-ap0) entered blocking state
[ 4447.926811] br-lan: port 2(phy0-ap0) entered disabled state
[ 4447.932584] b43 bcma0:1 phy0-ap0: entered allmulticast mode
[ 4447.939050] b43 bcma0:1 phy0-ap0: entered promiscuous mode
[ 4448.136605] br-lan: port 2(phy0-ap0) entered blocking state
[ 4448.142335] br-lan: port 2(phy0-ap0) entered forwarding state
@OpenWrt:~#
@OpenWrt:~#
it seems like on this second boot, something serious happened with the usb system. i did a bunch of troubleshooting, including reinstalling drivers, reformating the drive both on the router and on my linux box, tested with other drives, i even reinstalled the whole openwrt firmware again, but nothing changed. it doesn't seem to recognize usb devices at all anymore. it never says anything in dmesg, or cat /proc/partitions, tho dmesg does report it loads the drivers and sees the usb bus:
[ 15.404678] random: jshn: uninitialized urandom read (4 bytes read)
[ 15.437457] random: ubusd: uninitialized urandom read (4 bytes read)
[ 15.444604] random: ubus: uninitialized urandom read (4 bytes read)
[ 16.541297] random: jsonfilter: uninitialized urandom read (4 bytes read)
[ 18.047099] kmodloader: loading kernel modules from /etc/modules.d/*
[ 18.403191] usbcore: registered new interface driver usbfs
[ 18.409170] usbcore: registered new interface driver hub
[ 18.414949] usbcore: registered new device driver usb
[ 18.514128] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 18.725250] SCSI subsystem initialized
[ 18.810521] fsl-ehci: Freescale EHCI Host controller driver
[ 18.835637] ehci-platform: EHCI generic platform driver
[ 18.841137] ehci-platform ehci-platform.0: EHCI Host Controller
[ 18.847359] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[ 18.855887] ehci-platform ehci-platform.0: irq 5, io mem 0x18004000
[ 18.883764] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[ 18.907144] hub 1-0:1.0: USB hub found
[ 18.913162] hub 1-0:1.0: 2 ports detected
[ 18.968976] uhci_hcd: USB Universal Host Controller Interface driver
[ 19.174124] usbcore: registered new interface driver usb-storage
[ 19.475470] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 19.866214] urngd: v1.0.2 started.
[ 22.537326] random: crng init done
[ 22.540818] random: 18 urandom warning(s) missed
i dont know what's happening, but my best guess is somehow, the router can no longer read and write usb devices. it powers them fine, i know this cause a hard drive spins up, and my rockbox'd ipod charges, but the ipod doesn't show a usb connection, and the drive's data lights remain solid, whereas normally they blink when connected to a port.
i would really like to be able to use the extroot setup, i think that would really improve the usability of this router. (im mostly using it to learn and experiment with, so it's not critical)
do you have any idea what could be causing this behavior, and what i can do as a fix/workaround?
also, unrelated and much less important, i can't figure out how to control the leds as described here:
thanks for taking time to help a noob out!