Re: usbmon problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Sonntag, 7. März 2010 21:45:50 schrieb Alan Stern:

> len and sg_page(sg) aren't particularly useful, as far as I can see.
> 
> sg and src need to be compared with the original values when the
> scatterlist was created.  In invoke_transport() print out the values of
> scsi_sglist(srb), srb->sense_buffer, &ses->sense_sgl, and
> sg_virt(&ses->sense_sgl).  Do this after the call to
> scsi_eh_prep_cmnd().
Mar  8 19:06:10 vanamonde kernel: usb-storage: Issuing auto-REQUEST_SENSE                                                                                                                                          
Mar  8 19:06:10 vanamonde kernel: usb_stor_invoke_transport - sglist ffff880135b37dc8 sense buffer ffff8801363db940 sense sgl ffff8801363db940 sg_virt ffffea00043dd7ea page link 0000000087654321 dmaaddr ffffea0 0043dd7ea                                                                                                                                                                                                          
Mar  8 19:06:10 vanamonde kernel: usb-storage: Bulk Command S 0x43425355 T 0x118 L 18 F 128 Trg 0 LUN 0 CL 6                                                                                                       
Mar  8 19:06:10 vanamonde kernel: usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes                                                                                                                           
Mar  8 19:06:10 vanamonde kernel: mon_text_get_data: num_sgs == 0: src ffff880037807000                                                                                                                            
Mar  8 19:06:10 vanamonde kernel: usb-storage: Status code 0; transferred 31/31                                                                                                                                    
Mar  8 19:06:10 vanamonde kernel: usb-storage: -- transfer complete                                                                                                                                                
Mar  8 19:06:10 vanamonde kernel: usb-storage: Bulk command transfer result=0                                                                                                                                      
Mar  8 19:06:10 vanamonde kernel: usb-storage: usb_stor_bulk_transfer_sglist: xfer 18 bytes, 1 entries                                                                                                             
Mar  8 19:06:10 vanamonde kernel: mon_text_get_data: num_sgs == 1: src ffff8801363db940, length 18, scatterlist at ffff880135b37dc8, page ffffea00043dd7e8                                                         
Mar  8 19:06:10 vanamonde kernel: usb-storage: Status code 0; transferred 18/18                                                                                                                                    
Mar  8 19:06:10 vanamonde kernel: usb-storage: -- transfer complete


Here you are.

	Regards
		Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux