public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* USB HD: No Sense / Info fld=0x0 and read corruption
@ 2008-12-24 13:39 Ludovico Cavedon
  2008-12-24 18:02 ` Alan Stern
  0 siblings, 1 reply; 6+ messages in thread
From: Ludovico Cavedon @ 2008-12-24 13:39 UTC (permalink / raw)
  To: linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-scsi-u79uwXL29TY76Z2rM5mHXA

Hi,
I have a problem with a USB hard drive.

The problem starts to happen after some random time of operation; the
time may range from 1 minute up to one hour...

The first symptom are these messages in the kernel log.
---------------
sd 5:0:0:0: [sdb] Sense Key : No Sense [current]
Info fld=0x0
5:0:0:0: [sdb] Add. Sense: No additional sense information
---------------
The may appear only once or multiple times.

Sometime they are not associated with other errors, sometimes I start to
see filesystem corrpution:
---------------
attempt to access beyond end of device
sdb8: rw=0, want=15514452856, limit=207045657
---------------

If I unmount the device and replug it, I am able to read the same data
without any problem.
I suspect that some read corruption is happening. However I have *never*
seen I/O error reported!

Here is the usbmon log:
http://pastebin.com/f4e1afeb1

There are some successful read operation, than the read operation
31 = 55534243 8f150000 00100100 80000a28 0022ebd0 a8000088 00000000 000000

whose command completion status ends with "01". The subsequent REQUEST
SENSE, however is empty.

What may be happening here?
My situation looks different from
http://thread.gmane.org/gmane.linux.kernel/747753
-there is an additional "Info fld=0x0" line in the log
-there log messages are not always looping
-it is happening also with 2.6.28-rc8 (which should have the patch, right?)

I am not able to understand if this is HD problem or a kernel problem. I
am able to replicate it:
-2.6.28-rc8 vanilla kernel
-2.6.27 ubuntu (intrepid) kernel
-2.6.25 ubuntu (hardy) kernel
-on two different computers
-with different USB cables (so it not a cable problem)

However, I have never got errors reported by Windows (dual boot on the
same machine).

The HD driver is a Wester Didital 320GB (WD3200):
T:  Bus=07 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  5 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1058 ProdID=0704 Rev= 1.05
S:  Manufacturer=Western Digital
S:  Product=External HDD
S:  SerialNumber=5758453730384E5036333734
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

The USB controller is
00:1a.7 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family)
USB2 EHCI Controller #2 [8086:283a] (rev 03)


Please tell me if I can provide other useful information.

Thank you,
Ludovico Cavedon
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-12-26 16:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-24 13:39 USB HD: No Sense / Info fld=0x0 and read corruption Ludovico Cavedon
2008-12-24 18:02 ` Alan Stern
     [not found]   ` <Pine.LNX.4.44L0.0812241253300.27059-100000-pYrvlCTfrz9XsRXLowluHWD2FQJk+8+b@public.gmane.org>
2008-12-24 20:09     ` Ludovico Cavedon
     [not found]       ` <495296DF.4090900-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-12-24 23:02         ` Alan Stern
     [not found]           ` <Pine.LNX.4.44L0.0812241756020.917-100000-pYrvlCTfrz9XsRXLowluHWD2FQJk+8+b@public.gmane.org>
2008-12-26 10:38             ` Ludovico Cavedon
     [not found]               ` <4954B40E.80403-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-12-26 16:37                 ` Alan Stern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox