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 _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "[email protected]"
