# modprobe davinci.ko
[ 170.367384] musb-hdrc musb-hdrc: dma type: dma-cppi3
[ 170.412098] DaVinci OTG revision 00140901 phy 21f0 control 00
[ 170.422745] musb-hdrc: ConfigData=0x06 (UTMI-8, dyn FIFOs, SoftConn)
[ 170.445525] musb-hdrc: MHDRC RTL version 1.500
[ 170.453795] musb-hdrc: setup fifo_mode 2
[ 170.473847] musb-hdrc: 9/9 max ep, 4032/4096 memory
[ 170.482401] musb-hdrc musb-hdrc: MUSB HDRC host driver
[ 170.513496] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 1
[ 170.560620] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 170.571234] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 170.595018] usb usb1: Product: MUSB HDRC host driver
[ 170.603568] usb usb1: Manufacturer: Linux 2.6.37_IPNC_DM368_5.1.0+ musb-hcd
[ 170.631888] usb usb1: SerialNumber: musb-hdrc
[ 170.661929] hub 1-0:1.0: USB hub found
[ 170.682070] hub 1-0:1.0: 1 port detected
[ 170.693172] musb-hdrc musb-hdrc: USB Host mode controller at fec64000 using DMA, IRQ 12
[ 170.720144] Registered /proc/driver/musb_hdrc
[ 171.151733] usb 1-1: new high speed USB device using musb-hdrc and address 2
[ 171.329569] usb 1-1: New USB device found, idVendor=0930, idProduct=6545
[ 171.340041] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 171.370974] usb 1-1: Product: DT 101 G2
[ 171.390661] usb 1-1: Manufacturer: Kingston
[ 171.397437] usb 1-1: SerialNumber: 1301091703A3
Sam:
U盘设备不能挂载..如下问题
# modprobe usb-storage.ko[ 72.858969] SCSI subsystem initialized[ 73.106201] Initializing USB Mass Storage driver…[ 73.113761] usb-storage: USB Mass Storage device detected[ 73.119986] usb-storage: — associate_dev[ 73.126207] usb-storage: Vendor: 0x0951, Product: 0x1624, Revision: 0x0100[ 73.134734] usb-storage: Interface Subclass: 0x06, Protocol: 0x50[ 73.142476] usb-storage: Transport: Bulk[ 73.146482] usb-storage: Protocol: Transparent SCSI[ 73.154023] scsi0 : usb-storage 1-1:1.0[ 73.159777] usb-storage: *** thread sleeping.[ 73.170474] usb-storage 1-1:1.0: device found[ 73.174928] usb-storage 1-1:1.0: waiting for device to settle before scanning[ 73.184778] usbcore: registered new interface driver usb-storage[ 73.192606] USB Mass Storage support registered.# [ 74.200183] usb-storage: usb_stor_control_msg: rq=fe rqtype=a1 value=0000 index=00 len=1[ 74.209469] usb-storage: GetMaxLUN command result is 1, data is 0[ 74.218441] usb-storage 1-1:1.0: scan complete[ 74.225037] usb-storage: queuecommand_lck called[ 74.229822] usb-storage: *** thread awakened.[ 74.236497] usb-storage: Command INQUIRY (6 bytes)[ 74.242837] usb-storage: 12 00 00 00 24 00[ 74.247252] usb-storage: Bulk Command S 0x43425355 T 0x1 L 36 F 128 Trg 0 LUN 0 CL 6[ 74.257193] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes[ 74.265267] usb-storage: Status code 0; transferred 31/31[ 74.272139] usb-storage: — transfer complete[ 74.276661] usb-storage: Bulk command transfer result=0[ 74.283995] usb-storage: usb_stor_bulk_transfer_sglist: xfer 36 bytes, 1 entries[ 74.293385] usb-storage: Status code 0; transferred 36/36[ 74.298855] usb-storage: — transfer complete[ 74.305309] usb-storage: Bulk data transfer result 0x0[ 74.311931] usb-storage: Attempting to get CSW…[ 74.316741] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes[ 74.325381] usb-storage: Status code 0; transferred 13/13[ 74.332257] usb-storage: — transfer complete[ 74.336708] usb-storage: Bulk status result = 0[ 74.343406] usb-storage: Bulk Status S 0x53425355 T 0x1 R 0 Stat 0x0[ 74.349862] usb-storage: scsi cmd done, result=0x0[ 74.356563] scsi 0:0:0:0: Direct-Access Kingston DT 101 G2 1.00 PQ: 0 ANSI: 4[ 74.366965] usb-storage: *** thread sleeping.[ 74.373299] usb-storage: queuecommand_lck called[ 74.378141] usb-storage: *** thread awakened.[ 74.384636] usb-storage: Bad LUN (0:1)[ 74.388462] usb-storage: scsi cmd done, result=0x40000[ 74.395778] usb-storage: queuecommand_lck called[ 74.402649] usb-storage: *** thread sleeping.[ 74.407092] usb-storage: *** thread awakened.[ 74.413627] usb-storage: Bad target number (1:0)[ 74.418320] usb-storage: scsi cmd done, result=0x40000[ 74.425622] usb-storage: queuecommand_lck called[ 74.432524] usb-storage: *** thread sleeping.[ 74.436969] usb-storage: *** thread awakened.[ 74.443533] usb-storage: Bad target number (2:0)[ 74.448226] usb-storage: scsi cmd done, result=0x40000[ 74.455522] usb-storage: queuecommand_lck called[ 74.462423] usb-storage: *** thread sleeping.[ 74.466867] usb-storage: *** thread awakened.[ 74.473368] usb-storage: Bad target number (3:0)[ 74.478132] usb-storage: scsi cmd done, result=0x40000[ 74.485436] usb-storage: queuecommand_lck called[ 74.492383] usb-storage: *** thread sleeping.[ 74.496891] usb-storage: *** thread awakened.[ 74.503380] usb-storage: Bad target number (4:0)[ 74.508077] usb-storage: scsi cmd done, result=0x40000[ 74.515429] usb-storage: queuecommand_lck called[ 74.522299] usb-storage: *** thread sleeping.[ 74.526742] usb-storage: *** thread awakened.[ 74.533283] usb-storage: Bad target number (5:0)[ 74.537975] usb-storage: scsi cmd done, result=0x40000[ 74.545367] usb-storage: queuecommand_lck called[ 74.552224] usb-storage: *** thread sleeping.[ 74.556668] usb-storage: *** thread awakened.[ 74.563202] usb-storage: Bad target number (6:0)[ 74.567898] usb-storage: scsi cmd done, result=0x40000[ 74.575196] usb-storage: queuecommand_lck called[ 74.582097] usb-storage: *** thread sleeping.[ 74.586543] usb-storage: *** thread awakened.[ 74.592991] usb-storage: Bad target number (7:0)[ 74.597755] usb-storage: scsi cmd done, result=0x40000[ 74.606444] usb-storage: *** thread sleeping.
Sam:
回复 Sam:
无论怎么配置Kernel 也会弹出错误。。
[ 148.247441] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes[ 148.259750] usb-storage: Status code 0; transferred 31/31[ 148.288395] usb-storage: — transfer complete[ 148.294721] usb-storage: Bulk command transfer result=0[ 148.312425] usb-storage: usb_stor_bulk_transfer_sglist: xfer 18 bytes, 1 entries[ 148.337915] usb-storage: Status code 0; transferred 18/18[ 148.348577] usb-storage: — transfer complete[ 148.371207] usb-storage: Bulk data transfer result 0x0[ 148.379802] usb-storage: Attempting to get CSW…[ 148.407807] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes[ 148.432778] usb-storage: Status code 0; transferred 13/13[ 148.441757] usb-storage: — transfer complete[ 148.462286] usb-storage: Bulk status result = 0[ 148.470380] usb-storage: Bulk Status S 0x53425355 T 0x9 R 0 Stat 0x0[ 148.493195] usb-storage: — Result from auto-sense is 0[ 148.502001] usb-storage: — code: 0x70, key: 0x5, ASC: 0x24, ASCQ: 0x0[ 148.530217] usb-storage: (Unknown Key): (unknown ASC/ASCQ)[ 148.547986] usb-storage: scsi cmd done, result=0x2[ 148.553110] usb-storage: queuecommand_lck called[ 148.580942] usb-storage: *** thread sleeping.[ 148.589985] usb-storage: *** thread awakened.[ 148.611068] usb-storage: Bad target number (6:0)[ 148.619095] usb-storage: scsi cmd done, result=0x40000[ 148.624697] usb-storage: queuecommand_lck called[ 148.668720] usb-storage: *** thread sleeping.[ 148.677765] usb-storage: *** thread awakened.[ 148.684638] usb-storage: Command TEST_UNIT_READY (6 bytes)[ 148.703809] usb-storage: 00 00 00 00 00 00[ 148.720553] usb-storage: Bulk Command S 0x43425355 T 0xa L 0 F 0 Trg 0 LUN 0 CL 6[ 148.734052] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes[ 148.764546] usb-storage: Status code 0; transferred 31/31[ 148.788802] usb-storage: — transfer complete[ 148.796838] usb-storage: Bulk command transfer result=0[ 148.804539] usb-storage: Attempting to get CSW…[ 148.823256] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes[ 148.850053] usb-storage: Status code 0; transferred 13/13[ 148.874024] usb-storage: — transfer complete[ 148.887064] usb-storage: Bulk status result = 0[ 148.894097] usb-storage: Bulk Status S 0x53425355 T 0xa R 0 Stat 0x0[ 148.914341] usb-storage: scsi cmd done, result=0x0[ 148.919720] usb-storage: queuecommand_lck called[ 148.954289] usb-storage: *** thread sleeping.[ 148.964165] usb-storage: *** thread awakened.[ 148.971965] usb-storage: Bad target number (7:0)[ 148.992691] usb-storage: scsi cmd done, result=0x40000[ 148.998443] usb-storage: queuecommand_lck called[ 149.018506] usb-storage 1-1:1.0: scan complete[ 149.032927] usb-storage: *** thread sleeping.[ 149.048959] usb-storage: *** thread awakened.[ 149.058728] usb-storage: Command READ_CAPACITY (10 bytes)[ 149.082392] usb-storage: 25 00 00 00 00 00 00 00 00 00[ 149.090159] usb-storage: Bulk Command S 0x43425355 T 0xb L 8 F 128 Trg 0 LUN 0 CL 10[ 149.115763] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes[ 149.145915] usb-storage: Status code 0; transferred 31/31[ 149.153389] usb-storage: — transfer complete[ 149.176880] usb-storage: Bulk command transfer result=0[ 149.200328] usb-storage: usb_stor_bulk_transfer_sglist: xfer 8 bytes, 1 entries[ 149.211305] usb-storage: Status code 0; transferred 8/8[ 149.232969] usb-storage: — transfer complete[ 149.240635] usb-storage: Bulk data transfer result 0x0[ 149.267366] usb-storage: Attempting to get CSW…[ 149.285750] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes[ 149.298212] usb-storage: Status code 0; transferred 13/13[ 149.321508] usb-storage: — transfer complete[ 149.329222] usb-storage: Bulk status result = 0[ 149.350345] usb-storage: Bulk Status S 0x53425355 T 0xb R 0 Stat 0x0[ 149.360015] usb-storage: scsi cmd done, result=0x0[ 149.387206] usb-storage: queuecommand_lck called[ 149.402242] usb-storage: *** thread sleeping.[ 149.412794] usb-storage: *** thread awakened.[ 149.429838] usb-storage: Command MODE_SENSE (6 bytes)[ 149.439938] usb-storage: 1a 00 3f 00 c0 00[ 149.446673] usb-storage: Bulk Command S 0x43425355 T 0xc L 192 F 128 Trg 0 LUN 0 CL 6[ 149.472053] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes[ 149.497531] usb-storage: Status code 0; transferred 31/31[ 149.526701] usb-storage: — transfer complete[ 149.534260] usb-storage: Bulk command transfer result=0[ 149.556080] usb-storage: usb_stor_bulk_transfer_sglist: xfer 192 bytes, 1 entries[ 149.567128] usb-storage: Status code -121; transferred 36/192[ 149.589509] usb-storage: — short read transfer[ 149.597355] usb-storage: Bulk data transfer result 0x1[ 149.605076] usb-storage: Attempting to get CSW…[ 149.624030] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes[ 149.655020] usb-storage: Status code 0; transferred 13/13[ 149.678724] usb-storage: — transfer complete[ 149.693894] usb-storage: Bulk status result = 0[ 149.703423] usb-storage: Bulk Status S 0x53425355 T 0xc R 0 Stat 0x0[ 149.713049] usb-storage: scsi cmd done, result=0x0[ 149.721296] sd 0:0:0:0: [sda] Assuming drive cache: write through[ 149.741926] usb-storage: *** thread sleeping.[ 149.770714] usb-storage: queuecommand_lck called[ 149.788573] usb-storage: *** thread awakened.[ 149.798365] usb-storage: Command READ_10 (10 bytes)[ 149.821670] usb-storage: 28 00 00 00 00 00 00 00 08 00[ 149.829450] usb-storage: Bulk Command S 0x43425355 T 0xd L 4096 F 128 Trg 0 LUN 0 CL 10[ 149.853848] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes[ 149.880410] usb-storage: Status code 0; transferred 31/31[ 149.890788] usb-storage: — transfer complete[ 149.913586] usb-storage: Bulk command transfer result=0[ 149.922144] usb-storage: usb_stor_bulk_transfer_sglist: xfer 4096 bytes, 1 entries[ 149.948244] usb-storage: Status code 0; transferred 4096/4096[ 149.972138] usb-storage: — transfer complete[ 149.979740] usb-storage: Bulk data transfer result 0x0[ 150.006948] usb-storage: Attempting to get CSW…[ 150.030595] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes[ 150.040422] usb-storage: Status code 0; transferred 13/13[ 150.062077] usb-storage: — transfer complete[ 150.069935] usb-storage: Bulk status result = 0[ 150.091229] usb-storage: Bulk Status S 0x53425355 T 0xd R 0 Stat 0x0[ 150.110227] usb-storage: scsi cmd done, result=0x0[ 150.121369] sda:[ 150.146797] usb-storage: *** thread sleeping.[ 150.157007] usb-storage: queuecommand_lck called[ 150.164499] usb-storage: *** thread awakened.[ 150.183804] usb-storage: Command TEST_UNIT_READY (6 bytes)[ 150.207785] usb-storage: 00 00 00 00 00 00[ 150.214043] usb-storage: Bulk Command S 0x43425355 T 0xe L 0 F 0 Trg 0 LUN 0 CL 6[ 150.239258] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes[ 150.269432] usb-storage: Status code 0; transferred 31/31[ 150.286346] usb-storage: — transfer complete[ 150.294286] usb-storage: Bulk command transfer result=0[ 150.303340] usb-storage: Attempting to get CSW…[ 150.324484] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes[ 150.334317] usb-storage: Status code 0; transferred 13/13[ 150.356679] usb-storage: — transfer complete[ 150.363162] usb-storage: Bulk status result = 0[ 150.390312] usb-storage: Bulk Status S 0x53425355 T 0xe R 0 Stat 0x0[ 150.415501] usb-storage: scsi cmd done, result=0x0[ 150.422635] usb-storage: queuecommand_lck called[ 150.443583] usb-storage: *** thread sleeping.[ 150.452431] usb-storage: *** thread awakened.[ 150.473288] usb-storage: Command READ_CAPACITY (10 bytes)[ 150.482112] usb-storage: 25 00 00 00 00 00 00 00 00 00[ 150.501613] usb-storage: Bulk Command S 0x43425355 T 0xf L 8 F 128 Trg 0 LUN 0 CL 10[ 150.526831] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes[ 150.539055] usb-storage: Status code 0; transferred 31/31[ 150.562680] usb-storage: — transfer complete[ 150.570406] usb-storage: Bulk command transfer result=0[ 150.591974] usb-storage: usb_stor_bulk_transfer_sglist: xfer 8 bytes, 1 entries[ 150.603121] usb-storage: Status code 0; transferred 8/8[ 150.629949] usb-storage: — transfer complete[ 150.652518] usb-storage: Bulk data transfer result 0x0[ 150.660990] usb-storage: Attempting to get CSW…[ 150.682110] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes[ 150.691938] usb-storage: Status code 0; transferred 13/13[ 150.714994] usb-storage: — transfer complete[ 150.734491] usb-storage: Bulk status result = 0[ 150.744334] usb-storage: Bulk Status S 0x53425355 T 0xf R 0 Stat 0x0[ 150.774085] usb-storage: scsi cmd done, result=0x0[ 150.790283] usb-storage: queuecommand_lck called[ 150.800500] usb-storage: *** thread sleeping.[ 150.808266] usb-storage: *** thread awakened.[ 150.815206] usb-storage: Command MODE_SENSE (6 bytes)[ 150.834098] usb-storage: 1a 00 3f 00 c0 00[ 150.851473] usb-storage: Bulk Command S 0x43425355 T 0x10 L 192 F 128 Trg 0 LUN 0 CL 6[ 150.865771] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes[ 150.895679] usb-storage: Status code 0; transferred 31/31[ 150.919335] usb-storage: — transfer complete[ 150.926996] usb-storage: Bulk command transfer result=0[ 150.934800] usb-storage: usb_stor_bulk_transfer_sglist: xfer 192 bytes, 1 entries[ 150.957732] usb-storage: Status code -121; transferred 36/192[ 150.981758] usb-storage: — short read transfer[ 151.010405] usb-storage: Bulk data transfer result 0x1[ 151.034077] usb-storage: Attempting to get CSW…[ 151.042306] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes[ 151.065540] usb-storage: Status code 0; transferred 13/13[ 151.072948] usb-storage: — transfer complete[ 151.093352] usb-storage: Bulk status result = 0[ 151.102504] usb-storage: Bulk Status S 0x53425355 T 0x10 R 0 Stat 0x0[ 151.130601] usb-storage: scsi cmd done, result=0x0[ 151.140582] sd 0:0:0:0: [sda] Assuming drive cache: write through[ 151.160198] usb-storage: *** thread sleeping.[ 151.183924] sd 0:0:0:0: [sda] Attached SCSI removable disk
Sam:
回复 Sam:
hi,
请问DM368 以上问题。。 请帮忙解决问题…
Sam:
回复 Sam:
Hi,
关于MD368 做HOST, u盘接入, 不能发现U盘设备..请帮组解决问题..
Sam:
回复 Sam:
问题解决,kernel 配置问题;
USB Controller and USB MSC HOST
ConfigurationDevice Drivers --->SCSI device support ---><*> SCSI device support[*] legacy /proc/scsi/support--- SCSI support type (disk, tape, CD-ROM)<*> SCSI disk supportUSB support ---><*> Support for Host-side USB*** Miscellaneous USB options ***[*] USB device filesystem[*] USB device class-devices (DEPRECATED)*** USB Host Controller Drivers ***<*> Inventra Highspeed Dual Role Controller (TI, ...)*** OMAP 343x high speed USB support ***Driver Mode (USB Host) --->[ ] Disable DMA (always use PIO)[*] Use System DMA for Rx endpoints[*] Enable debugging messages--- USB Device Class drivers<*> USB Mass Storage support
Ternence_Hsu:
回复 Sam:
谢谢分享