PDA

View Full Version : can't insmod module usb-storage



mirco
16-09-2004, 09:24
Hey ho all together,

As I have successfully migrated to flashfs-boot, I have both samba and dropbear up und running. But I can't access the ext. USB-HDD, which worked on last original ASUS 1.7 and 1.8.1.7. didn't try the 1.8.1.9 'cause I need ssh and samba.;)

Is it possible that there was another version of the module usb-storage integrated in the ASUS FW's, and that the one in Oleg's 1.7.6.9-5 isn't working with the USB-IDE-Controller built-in in the USB-HDD Case.

If I try to load usb-storage it echo's with the following ERR msg. :eek:

# insmod usb-storage
Using /lib/modules/2.4.20/kernel/drivers/usb/storage/usb-storage.o
insmod: unresolved symbol scsi_unregister_module
insmod: unresolved symbol scsi_register
insmod: unresolved symbol scsi_register_module

lsmod before and after the insmod shows that usb-storage isn't loaded.

# lsmod
Module Size Used by
videodev 8176 0 (unused)
printer 12268 0 (unused)
usb-ohci 21732 0 (unused)
usbcore 77192 1 [printer usb-ohci]
lp 8628 0
parport_splink 2940 1
parport 25648 1 [lp parport_splink]
wl 349160 1
et 22432 2
splink_led 3520 0

mount tells that there's nothing mounted on /mnt/usbfs

# mount
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
none on /proc type proc (rw)
/ramfs on /mnt/ramfs type ramfs (rw)
/ramfs on /init type ramfs (rw)
none on /proc/bus/usb type usbfs (rw)

ls -al /dev/usb shows that this Directory is empty.

# ls -al /dev/usb
drwxr-xr-x 1 root root 0 Jan 1 1970 .
drwxr-xr-x 1 root root 0 Jan 1 1970 ..

# grep usb /etc/linuxigd/syslog.log
Jan 1 01:00:25 router user.warn klogd: usb.c: USB device 2 (vend/prod 0x5e3/0x702) is not claimed by any active driver.

Should I try to rip the old module out of the orig ASUS FW and try to scp it to the router?:confused:

Any Hint is very appreciated, I need to have Samba working. This is very important, if I can manage this, maybe my father convert's to linux on his Desktop too. :D >>> pls Help!!!

Greetz
Mirco

mirco
16-09-2004, 10:05
As I wrote in here http://wl500g.info/showthread.php?t=866 I can't mount. Oleg told me to mount via "mount -o rw,noatime /dev/scsi/host0/bus0/target0/lun0/part1 /mnt/usbfs"

But as long as there's no module usb-storage loaded the devfsd won't create "/dev/scsi/.."

And so I can't mount the damn USB-HDD

Hope we'll find a clue for that prob.


Greetz
Mirco

P.S.: Oleg:: I have the ASUS toolchain installed, what can I do to help migrating to 1.8.1.9??

Oleg
16-09-2004, 11:30
insmod scsi_mod
insmod sd_mod
insmod usb-storage



P.S.: Oleg:: I have the ASUS toolchain installed, what can I do to help migrating to 1.8.1.9??
Seems nothing. Stronger linux knowledge needed. Thanks.

mirco
16-09-2004, 12:57
Thnx Oleg,

forgot to mind the depend's.

After insmodding I could mount and write files, perfect. But the device didn't come back online after reboot. I'll have to look for it tomorow (25 km's away). Hope it's just a DSL prob.:confused: If so I'll place the insmod series in post-boot before the mount cmd. I'll post the result's tomorow.

:Oleg>> The migration:: If you'ld need help testing the build's or writing docu, just sent me a mail.;)

Greetz
Mirco