Hi,
I am trying to use usbmon to get a trace of low level sector read/writes being 
issued to a USB
flash drive. I followed instructions from Documents/usb/usbmon.txt with the 
following
configuration:
- USB mounted as vfat on /mnt/usb
- Linux 2.6.19 on ARM
- usbmon, debugfs built into the kernel
- cat /sys/kernel/debug/usbmon/1t > /tmp/log to log data. 

The problem is, I see the following in /tmp/log (no data words): 
c04087dc 666657025 C Bo:002:02 0 31 >                                  
c000ec14 666657209 S Bo:002:02 -115 512 D                              
c000ec14 666660023 C Bo:002:02 0 512 >                                
c04087dc 666660180 S Bi:002:01 -115 13 <                              
c04087dc 666662013 C Bi:002:01 0 13 D                                  
c04087dc 676639055 S Bo:002:02 -115 31 D                              
          
I have done this in the past on a PC and got more detailed messages that had 
the data words.
For example:
ca6a349c 3984599108 S Bo:004:02 -115 31 = 55534243 49000000 00400000
 80000a28 00000000 20000020
00000000 000000
from which I could interpret the SCSI code such as 0x28 for read etc.
Now I just get "S Bo:002:02 -115 512 D" instead for example. 

Is there some kernel configuration that needs to be set to get more detailed 
messages dumped by
usbmon ? I do not have my old PC to compare the kernel configuration files :( 
Any insights would
be appreciated. 

thanks in advance,
-siddharth



      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to