PDA

Bekijk de volledige versie : USB flash drives works, not HDDs on WL500g



kongsalomon
21-06-2010, 12:55
Hi

Thanks to this forum and firmware I bought my first WL500g ~2004 and it's still working perfectly (also a WL550gE present on the LAN).

Lately I have had the need for an inexpensive NAS-solution and Samba, so I tried to mount USB flash drives and HDDs.

USB flash drive (FAT formated) works perfectly and works with samba:


Jun 21 13:34:56 kernel: hub.c: new USB device 00:04.0-1, assigned address 4
Jun 21 13:34:56 kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Jun 21 13:34:56 kernel: Vendor: 128MB Model: HardDrive Rev: 1.88
Jun 21 13:34:56 kernel: Type: Direct-Access ANSI SCSI revision: 02
Jun 21 13:34:56 kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Jun 21 13:34:56 kernel: SCSI device sda: 256000 512-byte hdwr sectors (131 MB)
Jun 21 13:34:56 kernel: sda: Write Protect is off
Jun 21 13:34:56 kernel: Partition check:
Jun 21 13:34:56 kernel: p1
Jun 21 13:35:01 USB storage: vfat fs at /dev/discs/disc0/part1 mounted to /tmp/mnt/disc0_1

However, when mounting a WD My passport or WD Elements 2TB (formated in EXT3) it does not work:


Jun 21 13:43:53 kernel: hub.c: new USB device 00:04.0-1, assigned address 7
Jun 21 13:44:03 kernel: Device not ready. Make sure there is a disc in the drive.
Jun 21 13:44:03 kernel: sda : READ CAPACITY failed.
Jun 21 13:44:03 kernel: sda : status = 1, message = 00, host = 0, driver = 08
Jun 21 13:44:03 kernel: Info fld=0xa00 (nonstd), Current sd00:00: sns = 70 2
Jun 21 13:44:03 kernel: Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
Jun 21 13:44:03 kernel: sda : block size assumed to be 512 bytes, disk size 1GB.
Jun 21 13:44:03 kernel: /dev/scsi/host0/bus0/target0/lun0: I/O error: dev 08:00, sector 0
Jun 21 13:44:03 kernel: I/O error: dev 08:00, sector 0
Jun 21 13:44:03 kernel: Device not ready. Make sure there is a disc in the drive.
Jun 21 13:44:03 kernel: sda : READ CAPACITY failed.
Jun 21 13:44:03 kernel: sda : status = 1, message = 00, host = 0, driver = 08
Jun 21 13:44:03 kernel: Info fld=0xa00 (nonstd), Current sd00:00: sns = 70 2
Jun 21 13:44:03 kernel: Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
Jun 21 13:44:03 kernel: sda : block size assumed to be 512 bytes, disk size 1GB.
Jun 21 13:44:03 kernel: /dev/scsi/host0/bus0/target0/lun0: I/O error: dev 08:00, sector 0
Jun 21 13:44:03 kernel: I/O error: dev 08:00, sector 0
Jun 21 13:44:03 kernel: unable to read partition table


I can locate a 20MB NTFS partition there via samba which I can't write to.

Why doesn't it work?
Does it not support EXT3?

Is there any chance that another firmware (like dd-wrt) will accept this HDD?

Firmware= 1.9.2.7-9 (=latest)

Copter
21-06-2010, 15:53
The ext3-partition is probably not a primary partition. I guess you have to repartition / reformat the drive directly on your router.

http://wl500g.info/showpost.php?p=60931&postcount=2