[usb] Kingston 8Gb is not usable
Hans Petter Selasky
hselasky at c2i.net
Wed Jun 27 16:15:40 UTC 2012
On Wednesday 27 June 2012 17:58:57 Boris Samorodov wrote:
> 27.06.2012 19:36, Hans Petter Selasky пишет:
> > Then you need to check using "usbdump -i usbusX -s 65536 -vvvv" what is
> > actually going on there.
>
> I'm using the unpatched kernel (i.e. stock r237572). There is no
> /dev/ad*. I use "usbconfig -d 7.5 reset" and here is the log for
> the quoted command (attached).
Hi,
A quick analysis.
Read CAPACITY (0x0a 0x25 ....):
19:44:42.626128 usbus7.5 SUBM-BULK-EP=00000002,SPD=HIGH,NFR=1,SLEN=32,IVAL=0
frame[0] WRITE 31 bytes
0000 55 53 42 43 04 00 00 00 08 00 00 00 80 00 0A 25 |USBC...........%|
0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 -- |............... |
Returns 8-bytes:
19:44:42.626359 usbus7.5 DONE-BULK-
EP=00000081,SPD=HIGH,NFR=1,SLEN=8,IVAL=0,ERR=0
frame[0] READ 8 bytes
0000 00 EE 97 4F 00 00 02 00 -- -- -- -- -- -- -- -- |...O.... |
Then suddenly read CAPACITY:
19:44:42.630014 usbus7.5 SUBM-BULK-EP=00000002,SPD=HIGH,NFR=1,SLEN=32,IVAL=0
frame[0] WRITE 31 bytes
0000 55 53 42 43 0E 00 00 00 08 00 00 00 80 00 0A 25 |USBC...........%|
0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 -- |............... |
Returns zero-bytes. That is a memstick bug! Probably CAM layer could retry one
more time in that case??
19:44:42.630231 usbus7.5 DONE-BULK-
EP=00000081,SPD=HIGH,NFR=1,SLEN=0,IVAL=0,ERR=STALLED
frame[0] READ 0 bytes
--HPS
More information about the freebsd-usb
mailing list