Other Parts Discussed in Thread: TDA2, , TDA2HG
Hello expert
sdk: PROCESSOR_SDK_VISION_03_08_00_00 Linux version 4.4.84
We tested several new USB disk, and each USB disk can be stored in the window Read and write on the PC, but there is a type of U disk (3 USB flash disks) that can’t read and write, the read and write will report the log:
usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
The USB disk cannot be recognized even after re-plugging the USB disk. The linux system must be restarted before the USB flash drive can be recognized.
Here is the log:
[11:24:04:427]<6>[ 1.783743] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller [11:24:04:427]<6>[ 1.783773] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1 [11:24:04:427]<6>[ 1.784077] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00210010 [11:24:04:427]<6>[ 1.784128] xhci-hcd xhci-hcd.2.auto: irq 454, io mem 0x48890000 [11:24:04:427]<6>[ 1.784885] hub 1-0:1.0: USB hub found [11:24:04:428]<6>[ 1.784924] hub 1-0:1.0: 1 port detected [11:24:04:428]<6>[ 1.785311] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller [11:24:04:436]<6>[ 1.785330] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2 [11:24:04:436]<6>[ 1.785410] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [11:24:04:436]<6>[ 1.786064] hub 2-0:1.0: USB hub found [11:24:04:436]<6>[ 1.786100] hub 2-0:1.0: 1 port detected [11:24:04:437]<6>[ 1.987260] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller [11:24:04:437]<6>[ 1.987287] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 3 [11:24:04:437]<6>[ 1.987560] xhci-hcd xhci-hcd.3.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00210010 [11:24:04:437]<6>[ 1.987610] xhci-hcd xhci-hcd.3.auto: irq 455, io mem 0x488d0000 [11:24:04:437]<6>[ 1.988310] hub 3-0:1.0: USB hub found [11:24:04:437]<6>[ 1.988346] hub 3-0:1.0: 1 port detected [11:24:04:437]<6>[ 1.988713] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller [11:24:04:437]<6>[ 1.988731] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 4 [11:24:04:446]<6>[ 1.988809] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [11:24:04:446]<6>[ 1.989456] hub 4-0:1.0: USB hub found [11:24:04:446]<6>[ 1.989492] hub 4-0:1.0: 1 port detected [11:24:04:446]<5>[ 2.000293] SCSI subsystem initialized [11:24:04:446]<6>[ 2.011951] usbcore: registered new interface driver usb-storage [11:24:04:894] [11:24:05:231]root@dra7xx-evm:~# [11:24:09:380]root@dra7xx-evm:~# <6>[ 16.243480] usb 1-1: new high-speed USB device number 2 using xhci-hcd [11:24:09:517]<4>[ 16.393374] usb 1-1: ep 0x81 - rounding interval to 128 microframes, ep desc says 255 microframes [11:24:09:524]<4>[ 16.393441] usb 1-1: ep 0x2 - rounding interval to 128 microframes, ep desc says 255 microframes [11:24:09:532]<6>[ 16.401208] usb-storage 1-1:1.0: USB Mass Storage device detected [11:24:09:542]<6>[ 16.411527] scsi host0: usb-storage 1-1:1.0 [11:24:10:546]<5>[ 17.415599] scsi 0:0:0:0: Direct-Access Kingston DataTraveler 3.0 PQ: 0 ANSI: 6 [11:24:10:555]<5>[ 17.417205] sd 0:0:0:0: [sda] 60437492 512-byte logical blocks: (30.9 GB/28.8 GiB) [11:24:10:555]<5>[ 17.417492] sd 0:0:0:0: [sda] Write Protect is off [11:24:10:555]<7>[ 17.417506] sd 0:0:0:0: [sda] Mode Sense: 4f 00 00 00 [11:24:10:564]<5>[ 17.417788] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [11:24:10:564]<6>[ 17.421997] sda: sda1 [11:24:10:564]<5>[ 17.425112] sd 0:0:0:0: [sda] Attached SCSI removable disk [11:24:12:718] [11:24:15:771]root@dra7xx-evm:~# mount /dev/mmcblk0 [11:24:15:780]mmcblk0 mmcblk0boot0 mmcblk0boot1 mmcblk0p1 mmcblk0p2 mmcblk0p3 mmcblk0p4 mmcblk0p5 mmcblk0p6 mmcblk0p7 mmcblk0p8 mmcblk0p9 [11:24:15:964]root@dra7xx-evm:~# mount /dev/mmcblk0 [11:24:15:972]mmcblk0 mmcblk0boot0 mmcblk0boot1 mmcblk0p1 mmcblk0p2 mmcblk0p3 mmcblk0p4 mmcblk0p5 mmcblk0p6 mmcblk0p7 mmcblk0p8 mmcblk0p9 [11:24:20:654]root@dra7xx-evm:~# mount /dev/sda1 /mnt/usb/ [11:24:20:732]root@dra7xx-evm:~# <4>[ 27.601193] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [11:24:21:551] [11:24:32:686]root@dra7xx-evm:~# cp ~/app.tar.gz /mnt/usb/ -rf [11:24:58:943] [11:24:59:262] [11:24:59:582] [11:24:59:886] [11:25:00:174] [11:25:00:446] [11:25:08:374][ 75.243502] usb usb1-port1: Cannot enable. Maybe the USB cable is bad? [11:25:08:384]<3>[ 75.243502] usb usb1-port1: Cannot enable. Maybe the USB cable is bad? [11:25:12:484][ 79.353501] usb usb1-port1: Cannot enable. Maybe the USB cable is bad? [11:25:12:493]<3>[ 79.353501] usb usb1-port1: Cannot enable. Maybe the USB cable is bad? [11:25:16:595][ 83.463501] usb usb1-port1: Cannot enable. Maybe the USB cable is bad? [11:25:16:604]<3>[ 83.463501] usb usb1-port1: Cannot enable. Maybe the USB cable is bad? [11:25:20:704][ 87.573504] usb usb1-port1: Cannot enable. Maybe the USB cable is bad? [11:25:20:711]<3>[ 87.573504] usb usb1-port1: Cannot enable. Maybe the USB cable is bad? [11:25:20:719]<6>[ 87.574471] usb 1-1: USB disconnect, device number 2 [11:25:20:727][ 87.593548] blk_update_request: I/O error, dev sda, sector 73663 [11:25:20:735][ 87.603531] blk_update_request: I/O error, dev sda, sector 73903 [11:25:20:744][ 87.613512] FAT-fs (sda1): FAT read failed (blocknr 823) [11:25:20:744][ 87.614311] FAT-fs (sda1): FAT read failed (blocknr 822) [11:25:20:745][ 87.615063] FAT-fs (sda1): FAT read failed (blocknr 823) [11:25:20:745][ 87.615825] FAT-fs (sda1): FAT read failed (blocknr 822) [11:25:20:754][ 87.616564] FAT-fs (sda1): FAT read failed (blocknr 823) [11:25:20:754][ 87.617323] FAT-fs (sda1): FAT read failed (blocknr 822) [11:25:20:754]cp: write error: Input/output error [11:25:20:754]root@dra7xx-evm:~# [11:25:20:754]root@dra7xx-evm:~# [11:25:20:754]root@dra7xx-evm:~# [11:25:20:754]root@dra7xx-evm:~# [11:25:20:754]root@dra7xx-evm:~# [11:25:20:754]root@dra7xx-evm:~# [11:25:20:755]root@dra7xx-evm:~# <6>[ 87.593521] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x01 driverby[ 87.621626] FAT-fs (sda1): unable to read inode block for updating (i_pos 131076) [11:25:20:755]te=0x00 [11:25:20:755]<6>[ 87.593538] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x2a 2a 00 00 01 1f bf 00 00 f0 00 [11:25:20:755]<3>[ 87.593548] blk_update_request: I/O error, dev sda, sector 73663 [11:25:20:755]<5>[ 87.594335] random: nonblocking pool is initialized [11:25:20:764]<6>[ 87.603505] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00 [11:25:20:764]<6>[ 87.603521] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x2a 2a 00 00 01 20 af 00 00 f0 00 [11:25:20:764]<3>[ 87.603531] blk_update_request: I/O error, dev sda, sector 73903 [11:25:20:764]<3>[ 87.613512] FAT-fs (sda1): FAT read failed (blocknr 823) [11:25:20:764]<3>[ 87.614311] FAT-fs (sda1): FAT read failed (blocknr 822) [11:25:20:764]<3>[ 87.615063] FAT-fs (sda1): FAT read failed (blocknr 823) [11:25:20:765]<3>[ 87.615825] FAT-fs (sda1): FAT read failed (blocknr 822) [11:25:20:765]<3>[ 87.616564] FAT-fs (sda1): FAT read failed (blocknr 823) [11:25:20:765]<3>[ 87.617323] FAT-fs (sda1): FAT read failed (blocknr 822) [11:25:20:774]<3>[ 87.621626] FAT-fs (sda1): unable to read inode block for updating (i_pos 131076) [11:25:20:786][ 87.653419] FAT-fs (sda1): bread failed in fat_clusters_flush [11:25:20:794]<3>[ 87.653419] FAT-fs (sda1): bread failed in fat_clusters_flush [11:25:27:273][ 91.893504] usb usb1-port1: Cannot enable. Maybe the USB cable is bad? [11:25:27:273]<3>[ 91.893504] usb usb1-port1: Cannot enable. Maybe the USB cable is bad? [11:25:29:134][ 96.003501] usb usb1-port1: Cannot enable. Maybe the USB cable is bad? [11:25:29:144]<3>[ 96.003501] usb usb1-port1: Cannot enable. Maybe the USB cable is bad? [11:25:33:244][ 100.113506] usb usb1-port1: Cannot enable. Maybe the USB cable is bad? [11:25:33:254]<3>[ 100.113506] usb usb1-port1: Cannot enable. Maybe the USB cable is bad? [11:25:37:351][ 104.223498] usb usb1-port1: Cannot enable. Maybe the USB cable is bad? [11:25:37:358][ 104.224401] usb usb1-port1: unable to enumerate USB device [11:25:37:366]<3>[ 104.223498] usb usb1-port1: Cannot enable. Maybe the USB cable is bad? [11:25:37:375]<3>[ 104.224401] usb usb1-port1: unable to enumerate USB device [11:29:42:367] [11:31:53:711]root@dra7xx-evm:~# [11:31:54:046]root@dra7xx-evm:~# [11:32:11:230]root@dra7xx-evm:~# reboot -f [11:32:11:246][ 498.096582] reboot: Restarting system [11:32:11:430] [11:32:11:430]U-Boot SPL 2016.05-svn21493 (Jan 28 2021 - 11:22:01) [11:32:11:430]DRA722-GP ES2.1 [11:32:11:430]Trying to boot from MMC2_2 [11:32:11:430]no pinctrl for ddr_1_8v [11:32:11:493]reading u-boot.img [11:32:11:493]reading u-boot.img ..... [11:32:12:766][ 0.674094] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode [11:32:12:775][ 0.674909] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode [11:32:12:775][ 0.675722] omap_hsmmc 480b4000.mmc: no pinctrl state for hs200_1_8v mode [11:32:12:830][ 0.734385] omap_voltage_late_init: Voltage driver support not added [11:32:13:050][ 0.954154] Kernel Entry time 16382229 ticks [11:32:13:406] [11:32:13:414] _____ _____ _ _ [11:32:13:414]| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ [11:32:13:414]| | _| .'| . | . | | __| _| . | | | -_| _| _| [11:32:13:414]|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| [11:32:13:414] |___| |___| [11:32:13:414] [11:32:13:414]Arago Project http://arago-project.org dra7xx-evm /dev/ttyS0 [11:32:13:414] [11:32:13:422]Arago 2016.12 dra7xx-evm /dev/ttyS0 [11:32:13:422] [11:32:13:599]dra7xx-evm login: Warning: chip not recognized, running in safe mode (only platform-generic functions allowed). [11:32:13:599] [11:32:13:610]/dev/mem opened. [11:32:13:610]Memory mapped at address 0xb6f42000. [11:32:13:610]Read at address 0x4A003658 (0xb6f42658): 0x0006000E [11:32:13:618]Write at address 0x4A003658 (0xb6f42658): 0x0006000E, readback 0x0006000E [11:32:13:618]./StartApp.sh: line 5: iecho: not found [11:32:13:618]ash: write error: Operation not permitted [11:32:13:629]/dev/mem opened. [11:32:13:629]Memory mapped at address 0xb6fa1000. [11:32:13:629]Read at address 0x4A0036C8 (0xb6fa16c8): 0x0004000E [11:32:13:638]Write at address 0x4A0036C8 (0xb6fa16c8): 0x0006000E, readback 0x0006000E [11:32:13:639]/dev/mem opened. [11:32:13:639]Memory mapped at address 0xb6f57000. [11:32:13:639]Read at address 0x4A003670 (0xb6f57670): 0x00040004 [11:32:13:647]Write at address 0x4A003670 (0xb6f57670): 0x0006000E, readback 0x0006000E [11:32:13:679]mount: special device /dev/mmcblk1p9 does not exist [11:32:13:692]mount: special device /dev/mmcblk1p1 does not exist [11:32:13:717]/dev/mem opened. [11:32:13:717]Memory mapped at address 0xb6f04000. [11:32:13:717]Read at address 0x4A003440 (0xb6f04440): 0x00040006 [11:32:13:726]Write at address 0x4A003440 (0xb6f04440): 0x00040008, readback 0x00040008 [11:32:13:726]/dev/mem opened. [11:32:13:726]Memory mapped at address 0xb6f59000. [11:32:13:733]Read at address 0x4A003444 (0xb6f59444): 0x00040006 [11:32:13:734]Write at address 0x4A003444 (0xb6f59444): 0x00040008, readback 0x00040008 [11:32:14:571] [11:32:14:571] _____ _____ _ _ [11:32:14:571]| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ [11:32:14:579]| | _| .'| . | . | | __| _| . | | | -_| _| _| [11:32:14:580]|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| [11:32:14:580] |___| |___| [11:32:14:580] [11:32:14:580]Arago Project http://arago-project.org dra7xx-evm /dev/ttyS0 [11:32:14:580] [11:32:14:587]Arago 2016.12 dra7xx-evm /dev/ttyS0 [11:32:14:587] [11:32:15:427]dra7xx-evm login: root [11:32:15:427]login[109]: root login on 'ttyS0' [11:32:17:983]root@dra7xx-evm:~# dmesg .... [11:32:17:983][ 0.000000] Booting Linux on physical CPU 0x0 [11:32:18:164][ 1.142539] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null) [11:32:18:164][ 1.158649] EXT4-fs (mmcblk0p8): recovery complete [11:32:18:164][ 1.158668] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null)= [11:32:18:186][ 1.487683] remoteproc0: Booting fw image dra7-ipu2-fw.xem4, size 7348648 [11:32:18:186][ 1.487768] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1 [11:32:18:186][ 1.546752] remoteproc0: remote processor 55020000.ipu is now up [11:32:18:186][ 1.547714] remoteproc1: powering up 40800000.dsp [11:32:18:186][ 1.547730] remoteproc1: Booting fw image dra7-dsp1-fw.xe66, size 6872640 [11:32:18:186][ 1.554836] omap_hwmod: mmu0_dsp1: _wait_target_disable failed [11:32:18:186][ 1.554876] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0 [11:32:18:187][ 1.554974] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0 [11:32:18:187][ 1.563786] virtio_rpmsg_bus virtio0: rpmsg host is online [11:32:18:187][ 1.563837] remoteproc0: registered virtio0 (type 7) [11:32:18:187][ 1.655320] remoteproc1: remote processor 40800000.dsp is now up [11:32:18:198][ 1.655690] virtio_rpmsg_bus virtio1: rpmsg host is online [11:32:18:198][ 1.655746] remoteproc1: registered virtio1 (type 7) [11:32:18:198][ 1.659518] virtio_rpmsg_bus virtio1: creating channel rpmsg-proto addr 0x50 [11:32:18:198][ 1.662651] virtio_rpmsg_bus virtio0: creating channel rpmsg-proto addr 0x50 [11:32:18:198][ 1.811139] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller [11:32:18:198][ 1.811168] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1 [11:32:18:198][ 1.811466] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00210010 [11:32:18:198][ 1.811517] xhci-hcd xhci-hcd.2.auto: irq 454, io mem 0x48890000 [11:32:18:198][ 1.812274] hub 1-0:1.0: USB hub found [11:32:18:199][ 1.812311] hub 1-0:1.0: 1 port detected [11:32:18:199][ 1.812694] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller [11:32:18:199][ 1.812713] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2 [11:32:18:199][ 1.812810] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [11:32:18:199][ 1.813509] hub 2-0:1.0: USB hub found [11:32:18:199][ 1.813546] hub 2-0:1.0: 1 port detected [11:32:18:211][ 2.014935] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller [11:32:18:211][ 2.014966] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 3 [11:32:18:211][ 2.015230] xhci-hcd xhci-hcd.3.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00210010 [11:32:18:211][ 2.015279] xhci-hcd xhci-hcd.3.auto: irq 455, io mem 0x488d0000 [11:32:18:211][ 2.015976] hub 3-0:1.0: USB hub found [11:32:18:212][ 2.016013] hub 3-0:1.0: 1 port detected [11:32:18:212][ 2.016385] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller [11:32:18:212][ 2.016403] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 4 [11:32:18:212][ 2.016488] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [11:32:18:212][ 2.017128] hub 4-0:1.0: USB hub found [11:32:18:212][ 2.017165] hub 4-0:1.0: 1 port detected [11:32:18:212][ 2.028041] SCSI subsystem initialized [11:32:18:212][ 2.039860] usbcore: registered new interface driver usb-storage [11:32:18:212][ 2.123444] usb 1-1: new high-speed USB device number 2 using xhci-hcd [11:32:18:212][ 3.283438] usb 1-1: new high-speed USB device number 3 using xhci-hcd [11:32:18:212][ 3.433464] usb 1-1: ep 0x81 - rounding interval to 128 microframes, ep desc says 255 microframes [11:32:18:220][ 3.433539] usb 1-1: ep 0x2 - rounding interval to 128 microframes, ep desc says 255 microframes [11:32:18:220][ 3.441274] usb-storage 1-1:1.0: USB Mass Storage device detected [11:32:18:220][ 3.451591] scsi host0: usb-storage 1-1:1.0 [11:32:18:220][ 4.455563] scsi 0:0:0:0: Direct-Access Kingston DataTraveler 3.0 PQ: 0 ANSI: 6 [11:32:18:221][ 4.457158] sd 0:0:0:0: [sda] 60437492 512-byte logical blocks: (30.9 GB/28.8 GiB) [11:32:18:221][ 4.457457] sd 0:0:0:0: [sda] Write Protect is off [11:32:18:221][ 4.457470] sd 0:0:0:0: [sda] Mode Sense: 4f 00 00 00 [11:32:18:221][ 4.457753] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [11:32:18:221][ 4.462167] sda: sda1 [11:32:18:221][ 4.464487] sd 0:0:0:0: [sda] Attached SCSI removable disk