Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
The Problem
When loading the usb-storage.ko module and plugging in an usb harddisk or flash device, the following error might pop-up:
Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. usb 1-1: new high speed USB device using ehci_platform and address 2 usb 1-1: device not accepting address 2, error -71 usb 1-1: new high speed USB device using ehci_platform and address 3 usb 1-1: device descriptor read/all, error -71 usb 1-1: new high speed USB device using ehci_platform and address 4 usb 1-1: device descriptor read/8, error -71 usb 1-1: device descriptor read/8, error -71 usb 1-1: new high speed USB device using ehci_platform and address 5 usb 1-1: device descriptor read/all, error -71
Sometimes this is caused by the device requiring more power than is available (-> try to connect it via an active powered usb hub).
If this doesn't work, it might be that there's some incompatibility with the DNS-323 EHCI driver (or even hardware); in that case it might help to connect the non-working device via an USB1.0 switch which causes the device to be handled by the OHCI driver, and thus work (but as a low-speed device :-( )
What To Report
In order to try to hunt this problem down, it might help if there was a list of devices for which is known whether they work or not; so it would be helpful for those of you who have tried to attach external drives to your DNS-323 the following details:
* modell/brand of your usb device
* if possible the usb ids (if it doesn't work with the DNS323, this can be found out by attaching the device to another computer)
* whether it works (properly) as high-speed device (and if not, if you could workaround it via a low-speed hub)
Offline
The USB port on the DNS-323 is not meant for USB memory sticks. It is there for the main purpose of being a built in USB Print Server.
Offline
The DNS does not come with a driver. If you load the kernel module it works fine.
Here is my USB stick.
kernel: USB Mass Storage support registered.
kernel: Vendor: Kingston Model: DataTraveler 2.0 Rev: 1.00
kernel: Type: Direct-Access ANSI SCSI revision: 02
kernel: SCSI device sdc: 1952256 512-byte hdwr sectors (1000 MB)
# cat scsi/usb-storage/4
Host scsi4: usb-storage
Vendor: Kingston
Product: DataTraveler 2.00000000412
Protocol: Transparent SCSI
Transport: Bulk
Quirks:
Please no discussions whether this is a good or bad thing. It is a simple hack as fun_plug is.
Last edited by frodo (2007-12-11 20:17:27)
Offline
I think we should move this topic elsewhere. As I do have plenty of unix experience this is a minor hack as the fun_plug or even a thing you want to do because of fun_plug. It is safe as it is a perfect place for instance to put your log files if you want to spin down you disk drives.
UBS flash memory is dirt cheap. It is simple to setup as well.
I will delete my messages in a day and just leave the relevant messages. I.e usb disk data. Thats why this thread is a sticky thread....
Offline
I have a 2TB Lacie Bigger Disk connected to my DNS-323 running fun-plug 0.3.
cat scsi/usb-storage/4
Host scsi4: usb-storage
Vendor: LaCie Group.SA
Product: BiggerDisk Extreme
Serial Number: AAC50E113A2C
Protocol: Transparent SCSI
Transport: Bulk
Quirks:
/dev/sdc5 1.8T 605.2G 1.1T 36% /mnt/HD_a2/etch/brick
I put in in the etch directory so it can be used when i chroot.
havent been able to get that working from boot yet tho
but the disk works.
greets
Offline
Play.com 4GB disk works, no prob.
Offline
I'm getting exactly this problem with a Wester Digital "Elements" 512GB USB drive on my DNS-323 (FW V1.03). I have tried this with Fonz Funplug V0.3 and V0.4, both directly connected and through a powered USB hub - Nothing worked, I get the same error every time.
I will attempt to dig out an old USB1 hub and see if I get any joy with that, but so far really annoyed as I was really looking forward to getting all of my external storage devices hidden away with the networking kit!
Offline
Can you plug in USB external HDD's as well, or only flash devices?
Offline
Okay, I swapped out the USB2 Hub for an old USB1 Hub and now I can mount the drive without any issues, which is better than nothing, it's just painfully slow. If this is a hardware compatability issue then fair enough, but has there been any attempt by D-Link or others to modify or change the DNS-323 EHCI driver?
As for your question b8b, external USB hard drives will work with the DNS-323 (just watch out for this particular issue) the drive I am talking about is a 512GB Western Digital "Elements" USB HDD.
Offline
I have a 512MB USB key that I had some trouble with:
Vendor: CBM2080 Model: Flash Disk Rev: 2.00
Type: Direct-Access ANSI SCSI revision: 02
The device would work only some times with various results--either it would not show up at all as if it wasn't connected, or it would show up but the file system would not be recognized (/dev/sdc showed up in /proc/partitions, but sdc1 would not show up). This was with ext2 file system on the USB key.
Originally I didn't have as many problems when the USB key was formatted FAT32 (vfat), but I really wanted ext2 on the USB key...
The solution to my problem was to get any old USB hub (bus-powered or AC-powered, doesn't matter) and use the hub to connect the USB key. It's almost as if the flakey connection is stabilized by the USB hub. The speed of the hub doesn't matter either in my case.
I wrote up some instructions on how to make fonz' fun_plug package run entirely from the USB key (so you can make sure the disk drives don't spin up unnecessarily for just writing a log entry or other misc, and so you can unmount the disk drives if desired):
http://backupnetclone.sourceforge.net/i … on01a.html
Offline
# cat /proc/scsi/usb-storage/3
Host scsi3: usb-storage
Vendor: Iomega
Product: Iomega USB2/1394
Serial Number: 00D0B87B40000D410
Protocol: Transparent SCSI
Transport: Bulk
Quirks:
Iomega 2.5" 120Gb portable drive works correctly and being reported as high speed, however, an additional power source is needed, plugging the second usb cord to another usb port (pc or hub) is enough.
Last edited by jules (2008-02-16 12:15:38)
Offline
Found something out interesting. I have a Maxtor OneTouch III 320 GB USB hard drive. On my dns323 with HW A1 (1.04b84) it gets the following:
USB Mass Storage support registered. usb 1-1: new high speed USB device using ehci_platform and address 2 usb 1-1: device descriptor read/all, error -71 usb 1-1: new high speed USB device using ehci_platform and address 3 usb 1-1: device not accepting address 3, error -71 usb 1-1: new high speed USB device using ehci_platform and address 4 usb 1-1: device not accepting address 4, error -71 usb 1-1: new high speed USB device using ehci_platform and address 5 usb 1-1: device descriptor read/8, error -71 usb 1-1: device descriptor read/8, error -71
..but it works fine on my dns323 with HW B1 (1.04b84). I guess more was done in the new hardware besides the SATA controllers.
For compatibility on this page, please list your HW version and firmware.
Offline
Imation Whizz 4 GB usb flash drive, works!
cat /proc/scsi/usb-storage/2
Host scsi2: usb-storage
Vendor: USB 2.0
Product: Flash Disk
Serial Number: 00070308BD6BDAAC82CE
Protocol: Transparent SCSI
Transport: Bulk
Quirks:
Offline
cat /proc/scsi/usb-storage/2
Host scsi2: usb-storage
Vendor: Kingston
Product: DataTraveler 2.0
Serial Number: 05613B6071706998
Protocol: Transparent SCSI
Transport: Bulk
Quirks:
Kingston DataTraveler 2.0 512MB works perfect, even behind a bus powered usb hub.
Offline
Conceptronic CHD3FWU external enclosure with WD300 FAT32 works fine
root@CH3SNAS:/mnt/HD_a2/ffp/var/packages# cat /proc/scsi/usb-storage/3
Host scsi3: usb-storage
Vendor: Prolific Technology Inc.
Product: Mass Storage Device
Serial Number: 0
Protocol: Transparent SCSI
Transport: Bulk
Quirks:
Offline
Sony Micro Vault Tiny 1GB works
Vendor: Sony Model: Storage Media Rev: 0100
Type: Direct-Access ANSI SCSI revision: 00
# cat scsi/usb-storage/2
Host scsi2: usb-storage
Vendor: Sony
Product: Storage Media
Serial Number: XXXXXXXXXXXXX
Protocol: Transparent SCSI
Transport: Bulk
Quirks:
Offline
Kingston DataTraveler - 4 Gig model works fine for me. I have the ffp package running off of it with no issues.
Initializing USB Mass Storage driver...
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
Vendor: Kingston Model: DataTraveler 2.0 Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sdc: 7847936 512-byte hdwr sectors (4018 MB)
Offline
Supertalent Pico-C 8 GB USB stick works fine for me, but it wasn't possible to format the stick directly with the DNS-323, because there was a segmentation fault, when I called "fdisk /dev/sdc". So I used a Gparted Live CD to create the ext2 partition ...
/mnt/HD_a2 # cat /proc/scsi/usb-storage/4
Host scsi4: usb-storage
Vendor: USBest Technology
Product: USB Mass Storage Device
Serial Number: 000000000003DC
Protocol: Transparent SCSI
Transport: Bulk
Quirks:
Last edited by JackShepard (2008-10-28 17:19:46)
Offline
Just installed a 16 Gig Corsair Flash Voyager (part number CMFUSB2.0-16GB). Works fine.
FYI Newegg.com has them for $19.99 after rebate.
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
Vendor: Corsair Model: Flash Voyager Rev: 0.00
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sdc: 31588352 512-byte hdwr sectors (16173 MB)
sdc: Write Protect is off
sdc: Mode Sense: 00 00 00 00
sdc: assuming drive cache: write through
SCSI device sdc: 31588352 512-byte hdwr sectors (16173 MB)
sdc: Write Protect is off
sdc: Mode Sense: 00 00 00 00
sdc: assuming drive cache: write through
sdc: sdc1
Attached scsi removable disk sdc at scsi2, channel 0, id 0, lun 0
Attached scsi generic sg2 at scsi2, channel 0, id 0, lun 0, type 0
usb-storage: device scan complete
Offline
usb external enclosure with internal IDE 300 GB Seagate works, however the write rate sucks .. ~4MB/sec
usb 1-1: new high speed USB device using ehci_platform and address 2
Initializing USB Mass Storage driver...
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
Vendor: ST330083 Model: 1A Rev: 0811
Type: Direct-Access ANSI SCSI revision: 00
SCSI device sdc: 586072368 512-byte hdwr sectors (300069 MB)
sdc: assuming drive cache: write through
SCSI device sdc: 586072368 512-byte hdwr sectors (300069 MB)
sdc: assuming drive cache: write through
sdc: sdc1
Attached scsi disk sdc at scsi2, channel 0, id 0, lun 0
Attached scsi generic sg2 at scsi2, channel 0, id 0, lun 0, type 0
usb-storage: device scan complete
Offline
I think it's worth having a non-compat list too. I've found that a Kingston Data Traveler 8 GB does not work. It mounts, etc, but I'm unable to format it or copy lots of data to it. Seems to me it needs to sit behind a powered USB hub. I'm still looking for something that doesn't need a separate powered USB hub and it's unclear on this thread whether the stuff that works will work without external power.
DOES NOT WORK!
Host scsi2: usb-storage
Vendor: Kingston
Product: DataTraveler 2.0
Serial Number: 5B881000012B
Protocol: Transparent SCSI
Transport: Bulk
Quirks:
DOES NOT WORK!
Last edited by linglo (2009-03-20 09:15:22)
Offline
The 16 Gig Corsair Flash Voyager works fine in the DNS-323 USB port. Mine has been running 24x7 for several months without any issues.
Offline
Host scsi2: usb-storage
Vendor: OCZ Technology
Product: RALLY2
Serial Number: AA04012700359762
Protocol: Transparent SCSI
Transport: Bulk
Quirks:
Works fine with Dlink 4-port USB HUB.
Offline