Hallo,

looking at the disk line of xosview with dd if=/dev/sdX, with x for some
plugeed some USB Stick, I often saw dropouts. Changing cable to the hub in
between mades things better. But even with two sticks connected direct to
the root hub at the PC enclosure, one sequence lead to repeatable dropout:
Start "dd" on a PNY 2GB stick ( 154b:0005).Disk throughput is about 11
MByte/sec. Start "dd" on a USB Stick with MMC/SDC  connector
(058f:6331). Throughput drops to about 4 MByte/s, as observed with that
stick alone. Type "^C" on the controlling terminal of the second dd
process. Displayed throughput drops to Zero and recovers after about 60
secondsto about 11 MByte/s, as seen on the PNY Stick

With usbmon active (on Suse-10.2, 2.6.18.2-34-default, Epox KRA8+ Athlon
Board with Via chipset), PNY is at endpoint 30 and the other stick at 31.
Everything goes fine with interleaved setup and callback on 030 and 031
Here the last Setup stages on 030 before the error:
dd46c740 3105613436 S Bi:030:01 -115 4096 <
cacbe4e0 3105613437 S Bi:030:01 -115 4096 <
dbb6b1e0 3105613439 S Bi:030:01 -115 4096 <
...
dd46c740 3105623650 C Bi:030:01 0 4096 = 36907096 fbb1fd78 0dda11c9 4a...
cacbe4e0 3105623652 C Bi:030:01 0 4096 = d0af550c a56cb605 f61522ba 7f1...
dbb6b1e0 3105623653 C Bi:030:01 -121 3085 = 14b1b205 fe41cbec 995961bb ...
d8ca3e60 3105623665 S Bi:030:01 -115 13 <
dd416120 3105628831 C Bi:031:02 0 4096 = 3b46fde0 f76b0073 85828edd a...

endpoint 030 reports EREMOTEIO. The next thing on endpoint 030 is
 
d8ca3e60 3165612107 C Bi:030:01 -104 0

It takes about 60 seconds until ECONNRESET happens, as I understand
initiated from the stick. Isn't there anything the USB layer may do about
that error to recover earlier? Shouldn't the USB layer react somehow on the
short read?

Thanks
-- 
Uwe Bonnes                [EMAIL PROTECTED]

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to