On Sat, 28 Feb 2004, Tyler wrote:

> Hi, I'm new to the list, obviously i joined because I have a problem with
> linux usb ;)  Anyways, hopefully i'm not off topic for this list, or
> breaking any rules (as I didn't see any rules while signing up, or a page to
> view any).
> 
> I'm running SuSE 9.0 x86_64 (AMD Athlon64 3000, MSI K8TNEO-FIS2R
> motherboard), and have a problem trying to use an external USB 2.0 hard
> drive.  The enclosure itself, is made by Bytec, and is just USB 2.0, not
> firewire capable.  The hard drive is a Seagate 200gb.  Below, are the steps
> i've taken with this setup.

> Something I noticed odd to begin with, was the speed of the drive, it was
> only managing about 6 megabytes per second, where-as on windows systems, I
> usually see 17 to 30 megabytes per second with USB 2.0 drives.  None the
> less, this was fast enough, and just figured it was either the drivers
> aren't optimized yet, or the chipset used in this particular external case
> wasn't very fast.  As I said, oh well.. I could live with the speed.
> 
> This is where the problems begin.  I had a slow download transfer being
> saved on the drive during the 2nd night I had the drive hooked up.  The next
> morning, I awake to see that on the console, and in the message log, the
> device shows as being disconnected:
> 
> 23:11:46 linux kernel: usb.c: USB disconnect on device 00:10.4-3 address 2

> So, please tell me what information you may need from me, to help me
> trouble-shoot the usb drivers, and give any suggestions you might have to
> get this up and running.  I don't understand at this point a) why the drive
> randomly does a disconnect (when nothings been moved, or even touched near
> the computer) b) why when there *IS* a usb disconnect, that it hangs the
> sub-system that it was connected to, and requires more or less a hard reboot
> without syncing drives, etc.  c) where my data went (why the journal lost at
> least a few hours worth of transactions? and didn't notice that anything
> needed to be replayed)
> 
> If anyone's actually read this far, I appreciate it, and would love to get
> some help with this.
> 
> Thanks,
> Tyler.

Actually, it would help if you were somewhat less verbose. :-)

>From the symptoms you mentioned, it sounds like you may be using a Genesys
Logic USB-IDE bridge.  If you post the contents of your
/proc/bus/usb/devices file with the drive plugged in, we can see if that's
the case.  If it is, there's a fairly simple fix you can apply that ought
to get the drive working right.

If it's not, you'll have to do more digging.  In particular, you'll have
to turn on USB debugging and usb-storage debugging in your kernel's
configuration and rebuild the USB parts of the kernel.  The debugging logs
will contain information we need in order to see what's going on.

In answer to your questions, _assuming_ that you do have a Genesys device:

        a) The drive randomly disconnects because the Genesys chips 
contain a bug in their firmware.  It only shows up in high-speed (USB 2.0) 
environments.

        b) The failure of the Genesys device causes the usb-storage driver
to issue a port reset, to try and recover from the error.  Unfortunately
the port-reset code in the USB subsystem is still immature and doesn't
work reliably.  It can easily cause many processes and drivers to hang.

        c) I don't know.  It must depend on the internal workings of the 
reiserfs driver, about which I'm completely ignorant.

Alan Stern



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to