PDA

Bekijk de volledige versie : Can't mount usb hdd



jjpujante
01-07-2007, 11:42
hi all,

i have been looking for an answer for my trouble but i have not found any thread or information about how to solve it.

Last night i installed this x-wrt upgrade
Firmware - With X-Wrt Extensions
Kernel Linux 2.6.19.2 #3 Tue Jun 5 08:40:30 CDT 2007


my problem now is that USB HDD is not mounted.
I reinstalled all the required packages for usb support, all modules are loaded when the hdd is plugged but /etc/fstab does not exist and i am not able of mounting it manually.

I have these usb packages:
-> usb-storage, usb2, usb-core, usb-ohci, usb-uhci, vfat

the modules are loaded:
Module Size Used by Tainted: P
ohci_hcd 15056 0
usb_storage 27152 0
sd_mod 12208 0
scsi_mod 67712 2 usb_storage,sd_mod
ehci_hcd 27216 0
uhci_hcd 19280 0
vfat 8512 0
fat 43568 1 vfat
usbcore 103584 5 ohci_hcd,usb_storage,ehci_hcd,uhci_hcd

and the usb hdd is plugged and detected by the router:
(dmesg information)

usb 3-2: new high speed USB device using ehci_hcd and address 4
usb 3-2: configuration #1 chosen from 1 choice
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
scsi 2:0:0:0: Direct-Access TOSHIBA MK5004MA JB21 PQ: 0 ANSI: 0 CCS
SCSI device sda: 9780750 512-byte hdwr sectors (5008 MB)
sda: test WP failed, assume Write Enabled
sda: assuming drive cache: write through
SCSI device sda: 9780750 512-byte hdwr sectors (5008 MB)
sda: test WP failed, assume Write Enabled
sda: assuming drive cache: write through
sda: sda1
sd 2:0:0:0: Attached scsi disk sda
usb-storage: device scan complete


but when i try to mount /dev/sda1 manually it fails:

root@OpenWrt:~# mount /dev/sda1
mount: cannot read /etc/fstab: No such file or directory

or if i try

root@OpenWrt:~# mount /dev/sda1 /tmp/usb
mount: mounting /dev/sda1 on /tmp/usb failed

and dmesg says: FAT: codepage cp437 not found


what am i doing wrong? ideas??


thanks in advanced!!!
regards