[lkml]   [2002]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: Linux 2.4.20-pre4-ac2
On Monday 26 August 2002 13:35 pm, Alan Cox wrote:
> o Error handling clean ups for USB storage (Pete Zaitcev)

While USB-storage error handling is looked at...

--- linux-2.4.20-pre4-ac2-i2/drivers/usb/storage/transport.c.orig Mon Aug 26
23:24:09 2002
+++ linux-2.4.20-pre4-ac2-i2/drivers/usb/storage/transport.c Mon Aug 26
23:24:53 2002
@@ -1164,6 +1164,10 @@
goto out;
+ if (result == US_BULK_TRANSFER_FAILED) {
+ goto out;
+ }

There's a check for US_BULK_TRANSFER_FAILED after
a call to usb_stor_transfer everywhere except here... Is it for
a reason?
A long time ago (linux-2.4.19-pre4-ac2) I got a USB disk
related hang (all processes accessing it stuck in state D).
It happened while reading from a USB-storage device
(disk attached to a USB-IDE bridge).

The system log has just these two errors:
usb-uhci.c: interrupt, status 3, frame# 1660
usb_control/bulk_msg: timeout

That problem happened only once. I had to reboot in order
to continue use the device.

Is it possible that the missing check is the cause for that

-- Itai

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:28    [W:0.121 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site