Skip to contentSkip to conversation

usb storage traces

DISCUSSION Alan Stern 3 participants 4 messages Dec 19, 2003 – Dec 21, 2003 1 message not in the archive SCSI

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Alan Stern

author
#1 lore raw
Quoted 11 lines · Matthew Dharm
Quoted 6 lines · Pat LaVarre
Quoted 2 lines

Also, I'm open to requests for particular host/device option combinations.

My wish list is:

a) Device = x 08 (02|05|06) 50 = msft win generic usb-storage.

Did anyone ever get a chance to capture this data?

Matt

Andries Brouwer has just created a web page to hold USB Mass Storage traces, and I have submitted the ones I've had time to collect so far. They include Pat LaVarre's wish list, but only for Windows ME -- other versions of Windows will have to wait until the New Year or after.

The URL for my traces is:

http://www.win.tue.nl/~aeb/linux/usb/traces/winme/

Also present in that directory is a README.txt file, although it doesn't show up in the default directory listing. You can retrieve it through

http://www.win.tue.nl/~aeb/linux/usb/traces/winme/README.txt

Alan Stern

#2 lore raw
Quoted 2 lines

The URL for my traces is:
http://www.win.tue.nl/~aeb/linux/usb/traces/winme/

Thank you!

Quoted 2 lines

... doesn't show up in the default directory listing ...
http://www.win.tue.nl/~aeb/linux/usb/traces/winme/README.txt

To the wish list for RMB please add:

Traces of disk absent (not just traces of disk present).

Quoted 4 lines

One interesting thing about Windows ME
stands out from reading the files:
It seems to think the right way to recover
from a "device was reset" response is to reset the device twice!

On my second reading I guess we here mean to be speaking of sk asc x 6
29. I agree, silly to respond to a notification of reset received by sending another reset.

On my first reading I wrongly guessed we here were speaking of some other kind of trouble, to which I answered:

Why should this surprise us?

Reset, like any i/o operation, may fail. Hosts that live by "be liberal in what you accept" time out and retry resets, yes. In particular, by trying twice we more liberally tolerate those apparently generic devices that in fact occasionally choose to scramble the status phase data toggle at the end of a class-specific reset. Naive hosts see that as indefinite NAK.

Pat LaVarre
http://plavarre.blog-city.com/index.cfm?d=19&m=12&y=2003

#3 lore raw
In reply to Alan Stern

Looking at your traces, I don't see any MODE SENSE commands. I find that odd, especially since earlier traces show that data.

Looking at them, I'm starting to suspect that you need to have a valid filesystem there before Windows will issue that command. What an odd way to do things....

Anyway, could you add that to your test cases?

The data you've provided so far is excellent.

Matt

Quoted 29 lines · Alan Stern
Quoted 11 lines · Matthew Dharm
Quoted 6 lines · Pat LaVarre
Quoted 2 lines

Also, I'm open to requests for particular host/device option combinations.

My wish list is:

a) Device = x 08 (02|05|06) 50 = msft win generic usb-storage.

Did anyone ever get a chance to capture this data?

Matt

Andries Brouwer has just created a web page to hold USB Mass Storage traces, and I have submitted the ones I've had time to collect so far. They include Pat LaVarre's wish list, but only for Windows ME -- other versions of Windows will have to wait until the New Year or after.

The URL for my traces is:

http://www.win.tue.nl/~aeb/linux/usb/traces/winme/

Also present in that directory is a README.txt file, although it doesn't show up in the default directory listing. You can retrieve it through

http://www.win.tue.nl/~aeb/linux/usb/traces/winme/README.txt

Alan Stern

Signature · 7 lines
Matthew Dharm                              Home: [email protected] 
Maintainer, Linux USB Mass Storage Driver

Sir, for the hundreth time, we do NOT carry 600-round boxes of belt-fed 
suction darts!
					-- Salesperson to Greg
User Friendly, 12/30/1997
author
#4 lore raw
Quoted 6 lines · Matthew Dharm

Looking at your traces, I don't see any MODE SENSE commands. I find that odd, especially since earlier traces show that data.

Looking at them, I'm starting to suspect that you need to have a valid filesystem there before Windows will issue that command. What an odd way to do things....

Could be. Or it could be a difference between Windows ME and Windows 2000.

Quoted 1 line

Anyway, could you add that to your test cases?

I will.

Quoted 1 line

The data you've provided so far is excellent.

Thank you. More to come after the holidays.

Alan Stern