Tool/software: Linux
Hello Champs,
Customer designed his own AM4378 board, he used 'ti-processor-sdk-linux-am437x-evm-05.02.00.10' to debug mass storage function. He configured the kernel with tisdk_am437x-evm_defconfig. When the U disk is plugged in, it can be recognized and mounted, but when it is unplugged, it prompted below error.
[ 238.524537] usb 3-1: USB disconnect, device number 2
[ 238.728225] blk_partition_remap: fail for partition 1
[ 238.733328] blk_partition_remap: fail for partition 1
[ 238.742197] blk_partition_remap: fail for partition 1
...
[ 240.549379] blk_partition_remap: fail for partition 1
[ 240.556637] blk_partition_remap: fail for partition 1
[ 240.561731] blk_partition_remap: fail for partition 1
[ 240.570346] FAT-fs (sda1): FAT read failed (blocknr 2080)
Then customer used the previous version SDK ti-processor-sdk-linux-am437x-evm-02.00.01.07 and also used the default kernel configuration, it did not prompt the above error, its log is below
root@am437x-evm:~# [ 139.858841] usb 1-1: new high-speed USB device number 3 using xhci-hcd
[ 140.005556] usb 1-1: New USB device found, idVendor=058f, idProduct=6387
[ 140.012328] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 140.019843] usb 1-1: Product: Mass Storage
[ 140.023966] usb 1-1: Manufacturer: Generic
[ 140.028078] usb 1-1: SerialNumber: 1090865F
[ 140.039171] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 140.052994] scsi host1: usb-storage 1-1:1.0
[ 141.061392] scsi 1:0:0:0: Direct-Access Generic Flash Disk 8.07 PQ: 0 ANSI: 4
[ 141.075046] sd 1:0:0:0: [sda] 31457280 512-byte logical blocks: (16.1 GB/15.0 GiB)
[ 141.092164] sd 1:0:0:0: [sda] Write Protect is off
[ 141.097799] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 141.127224] sda: sda1
[ 141.170531] sd 1:0:0:0: [sda] Attached SCSI removable disk
[ 141.665153] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
root@am437x-evm:~# [ 148.711544] usb 1-1: USB disconnect, device number 3
root@am437x-evm:~#
root@am437x-evm:~# dmesg
[ 139.858841] usb 1-1: new high-speed USB device number 3 using xhci-hcd
[ 140.005556] usb 1-1: New USB device found, idVendor=058f, idProduct=6387
[ 140.012328] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 140.019843] usb 1-1: Product: Mass Storage
[ 140.023966] usb 1-1: Manufacturer: Generic
[ 140.028078] usb 1-1: SerialNumber: 1090865F
[ 140.039171] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 140.052994] scsi host1: usb-storage 1-1:1.0
[ 141.061392] scsi 1:0:0:0: Direct-Access Generic Flash Disk 8.07 PQ: 0 ANSI: 4
[ 141.075046] sd 1:0:0:0: [sda] 31457280 512-byte logical blocks: (16.1 GB/15.0 GiB)
[ 141.092164] sd 1:0:0:0: [sda] Write Protect is off
[ 141.097003] sd 1:0:0:0: [sda] Mode Sense: 23 00 00 00
[ 141.097799] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 141.127224] sda: sda1
[ 141.170531] sd 1:0:0:0: [sda] Attached SCSI removable disk
[ 141.665153] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 148.711544] usb 1-1: USB disconnect, device number 3
Besides, he found that when using the same configuration ti-processor-sdk-linux-am437x-evm-05.02.00.10, the error is different when using USB3.0 interface and USB2.0 interface, please see attachment.
U-Boot 2018.01 (Dec 25 2018 - 20:58:55 +0800) CPU : AM437X-GP rev 1.2 usi enter __weak show_board_info Model: TI AM437x Industrial Development Kit DRAM: 1 GiB Can't find PMIC:TPS62362 NAND: 0 MiB MMC: OMAP SD/MMC: 0 Net: cpsw, usb_ether Hit any key to stop autoboot: 2 1 0 Booting from network ... link up on port 0, speed 100, full duplex BOOTP broadcast 1 DHCP client bound to address 192.168.3.52 (98 ms) link up on port 0, speed 100, full duplex Using cpsw device TFTP from server 192.168.3.50; our IP address is 192.168.3.52 Filename 'zImage'. Load address: 0x82000000 Loading: *################################################################# ################################################################# ################################################################# ################################################################# ##### 1.9 MiB/s done Bytes transferred = 3883520 (3b4200 hex) link up on port 0, speed 100, full duplex Using cpsw device TFTP from server 192.168.3.50; our IP address is 192.168.3.52 Filename 'am437x-idk-evm.dtb'. Load address: 0x88000000 Loading: *#### 1.8 MiB/s done Bytes transferred = 47220 (b874 hex) ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 8fff1000, end 8ffff873 ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.14.79-gbde58ab01e (leo@SRD-0000059.usish.com.cn) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #1 PREEMPT Mon Mar 11 15:23:30 CST 2019 [ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: TI AM437x Industrial Development Kit [ 0.000000] Memory policy: Data cache writeback [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: Reserved 48 MiB at 0xbd000000 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] AM437x ES1.2 (sgx neon) [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 260416 [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot=192.168.3.50:/home/leo/ti-processor-sdk-linux-am437x-evm-05.02.00.10/targetNFS,nolock rw ip=dhcp [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Memory: 976256K/1048576K available (8192K kernel code, 329K rwdata, 2496K rodata, 1024K init, 268K bss, 23168K reserved, 49152K cma-reserved, 212992K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB) [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0900000 (9184 kB) [ 0.000000] .init : 0xc0c00000 - 0xc0d00000 (1024 kB) [ 0.000000] .data : 0xc0d00000 - 0xc0d52448 ( 330 kB) [ 0.000000] .bss : 0xc0d52448 - 0xc0d9569c ( 269 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Tasks RCU enabled. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000 [ 0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000 [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9 [ 0.000000] OMAP L2C310: ROM does not support power control setting [ 0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled [ 0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB [ 0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000 [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz [ 0.000011] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns [ 0.000027] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000035] OMAP clocksource: timer1 at 24000000 Hz [ 0.000410] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns [ 0.000419] OMAP clocksource: 32k_counter at 32768 Hz [ 0.000776] Console: colour dummy device 80x30 [ 0.000804] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0' [ 0.000810] This ensures that you still see kernel messages. Please [ 0.000815] update your kernel commandline. [ 0.000839] Calibrating delay loop... 1993.93 BogoMIPS (lpj=9969664) [ 0.060144] pid_max: default: 32768 minimum: 301 [ 0.060305] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.060328] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.061000] CPU: Testing write buffer coherency: ok [ 0.061056] CPU0: Spectre v2: using BPIALL workaround [ 0.061738] Setting up static identity map for 0x80100000 - 0x80100060 [ 0.061878] Hierarchical SRCU implementation. [ 0.062197] EFI services will not be available. [ 0.063116] devtmpfs: initialized [ 0.070888] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac with crng_init=0 [ 0.071261] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 [ 0.071546] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.071564] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.074796] pinctrl core: initialized pinctrl subsystem [ 0.075466] DMI not present or invalid. [ 0.075841] NET: Registered protocol family 16 [ 0.077382] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.147592] cpuidle: using governor ladder [ 0.147630] cpuidle: using governor menu [ 0.152909] OMAP GPIO hardware version 0.1 [ 0.162987] No ATAGs? [ 0.163012] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. [ 0.163026] hw-breakpoint: maximum watchpoint size is 4 bytes. [ 0.174742] edma 49000000.edma: TI EDMA DMA engine driver [ 0.175674] V3_3D: supplied by V24_0D [ 0.176013] VDD_COREREG: supplied by V24_0D [ 0.176290] VDD_CORE: supplied by VDD_COREREG [ 0.176540] V1_8DREG: supplied by V24_0D [ 0.176808] V1_8D: supplied by V1_8DREG [ 0.177088] V1_5DREG: supplied by V24_0D [ 0.177348] V1_5D: supplied by V1_5DREG [ 0.179836] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/my_i2c_0_pins_default, deferring probe [ 0.179893] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/my_i2c_1_pins_default, deferring probe [ 0.179933] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/my_i2c_2_pins_default, deferring probe [ 0.180038] media: Linux media interface: v0.10 [ 0.180074] Linux video capture interface: v2.00 [ 0.180355] pps_core: LinuxPPS API ver. 1 registered [ 0.180365] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.180386] PTP clock support registered [ 0.180417] EDAC MC: Ver: 3.0.0 [ 0.180798] dmi: Firmware registration failed. [ 0.181146] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400 [ 0.181514] Advanced Linux Sound Architecture Driver Initialized. [ 0.182495] clocksource: Switched to clocksource timer1 [ 0.189446] NET: Registered protocol family 2 [ 0.190059] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 0.190123] TCP bind hash table entries: 8192 (order: 3, 32768 bytes) [ 0.190339] TCP: Hash tables configured (established 8192 bind 8192) [ 0.190519] UDP hash table entries: 512 (order: 1, 8192 bytes) [ 0.190541] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes) [ 0.190698] NET: Registered protocol family 1 [ 0.191090] RPC: Registered named UNIX socket transport module. [ 0.191101] RPC: Registered udp transport module. [ 0.191106] RPC: Registered tcp transport module. [ 0.191112] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.193057] workingset: timestamp_bits=14 max_order=18 bucket_order=4 [ 0.196375] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.197094] NFS: Registering the id_resolver key type [ 0.197131] Key type id_resolver registered [ 0.197138] Key type id_legacy registered [ 0.197177] ntfs: driver 2.1.32 [Flags: R/O]. [ 0.199097] bounce: pool size: 64 pages [ 0.199177] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) [ 0.199187] io scheduler noop registered [ 0.199194] io scheduler deadline registered [ 0.199378] io scheduler cfq registered (default) [ 0.199388] io scheduler mq-deadline registered [ 0.199395] io scheduler kyber registered [ 0.201306] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796 [ 0.243902] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled [ 0.245970] omap8250 44e09000.serial: No clock speed specified: using default: 48000000 [ 0.246602] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250 [ 0.980716] console [ttyS0] enabled [ 0.985941] omap_rng 48310000.rng: Random Number Generator ver. 20 [ 1.005020] brd: module loaded [ 1.016165] loop: module loaded [ 1.021281] spi spi1.0: not using DMA for McSPI (-19) [ 1.026725] spi spi1.2: not using DMA for McSPI (-19) [ 1.032458] spi spi2.0: not using DMA for McSPI (-19) [ 1.037763] spi spi2.1: not using DMA for McSPI (-19) [ 1.043472] spi spi3.0: not using DMA for McSPI (-19) [ 1.048701] spi spi3.1: not using DMA for McSPI (-19) [ 1.054427] spi spi4.0: not using DMA for McSPI (-19) [ 1.059667] spi spi4.1: not using DMA for McSPI (-19) [ 1.065392] spi spi5.0: not using DMA for McSPI (-19) [ 1.070630] spi spi5.1: not using DMA for McSPI (-19) [ 1.077646] m25p80 spi0.0: mx66l51235l (65536 Kbytes) [ 1.082827] 7 ofpart partitions found on MTD device spi0.0 [ 1.088336] Creating 7 MTD partitions on "spi0.0": [ 1.093181] 0x000000000000-0x000000080000 : "QSPI.U_BOOT" [ 1.099496] 0x000000080000-0x000000100000 : "QSPI.U_BOOT.backup" [ 1.106269] 0x000000100000-0x000000110000 : "QSPI.U-BOOT-SPL_OS" [ 1.113033] 0x000000110000-0x000000120000 : "QSPI.U_BOOT_ENV" [ 1.119453] 0x000000120000-0x000000130000 : "QSPI.U-BOOT-ENV.backup" [ 1.126587] 0x000000130000-0x000000930000 : "QSPI.KERNEL" [ 1.132721] 0x000000930000-0x000004000000 : "QSPI.FILESYSTEM" [ 1.139795] libphy: Fixed MDIO Bus: probed [ 1.212554] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000 [ 1.220254] davinci_mdio 4a101000.mdio: detected phy mask fffffffc [ 1.228437] libphy: 4a101000.mdio: probed [ 1.232482] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Micrel KSZ9031 Gigabit PHY [ 1.242275] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver Micrel KSZ9031 Gigabit PHY [ 1.253030] cpsw 4a100000.ethernet: Detected MACID = c4:be:84:cc:79:9f [ 1.259682] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4 [ 1.266153] cpsw 4a100000.ethernet: ALE Table size 1024 [ 1.271444] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies) [ 1.279349] cpsw 4a100000.ethernet: cpsw: Detected MACID = c4:be:84:cc:79:a1 [ 1.287558] i2c /dev entries driver [ 1.291483] IR NEC protocol handler initialized [ 1.296087] IR RC5(x/sz) protocol handler initialized [ 1.301160] IR RC6 protocol handler initialized [ 1.305720] IR JVC protocol handler initialized [ 1.310266] IR Sony protocol handler initialized [ 1.314909] IR SANYO protocol handler initialized [ 1.319629] IR Sharp protocol handler initialized [ 1.324358] IR MCE Keyboard/mouse protocol handler initialized [ 1.330212] IR XMP protocol handler initialized [ 1.336735] cpuidle: enable-method property 'ti,am4372' found operations [ 1.343948] sdhci: Secure Digital Host Controller Interface driver [ 1.350159] sdhci: Copyright(c) Pierre Ossman [ 1.355216] omap_hsmmc 48060000.mmc: Got CD GPIO [ 1.413721] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.425470] ledtrig-cpu: registered to indicate activity on CPUs [ 1.439205] NET: Registered protocol family 10 [ 1.445187] Segment Routing with IPv6 [ 1.448938] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 1.455570] NET: Registered protocol family 17 [ 1.460319] Key type dns_resolver registered [ 1.464938] omap_voltage_late_init: Voltage driver support not added [ 1.503078] i2c i2c-0: Added multiplexed i2c bus 3 [ 1.508229] i2c i2c-0: Added multiplexed i2c bus 4 [ 1.513356] i2c i2c-0: Added multiplexed i2c bus 5 [ 1.518403] i2c i2c-0: Added multiplexed i2c bus 6 [ 1.523255] pca954x 0-0070: registered 4 multiplexed busses for I2C switch pca9546 [ 1.530935] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 400 kHz [ 1.545712] mmc0: host does not support reading read-only switch, assuming write-enable [ 1.556783] mmc0: new high speed SDHC card at address aaaa [ 1.563073] i2c i2c-1: Added multiplexed i2c bus 7 [ 1.568438] mmcblk0: mmc0:aaaa SL08G 7.40 GiB [ 1.573159] i2c i2c-1: Added multiplexed i2c bus 8 [ 1.573582] i2c i2c-1: Added multiplexed i2c bus 9 [ 1.573900] i2c i2c-1: Added multiplexed i2c bus 10 [ 1.573912] pca954x 1-0070: registered 4 multiplexed busses for I2C switch pca9546 [ 1.574436] pca954x 1-0071: probe failed [ 1.574575] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 400 kHz [ 1.609614] mmcblk0: p1 p2 [ 1.613034] i2c i2c-2: Added multiplexed i2c bus 11 [ 1.618810] i2c i2c-2: Added multiplexed i2c bus 12 [ 1.624086] i2c i2c-2: Added multiplexed i2c bus 13 [ 1.629224] i2c i2c-2: Added multiplexed i2c bus 14 [ 1.634196] pca954x 2-0070: registered 4 multiplexed busses for I2C switch pca9546 [ 1.642239] pca954x 2-0072: probe failed [ 1.646647] pca954x 2-0074: probe failed [ 1.650668] omap_i2c 4819c000.i2c: bus 2 rev0.12 at 400 kHz [ 1.656902] hctosys: unable to open rtc device (rtc0) [ 1.675658] net eth0: initializing cpsw version 1.15 (0) [ 1.787177] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:00: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL) [ 1.806213] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 1.812705] net eth1: initializing cpsw version 1.15 (0) [ 1.916740] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:01: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=4a101000.mdio:01, irq=POLL) [ 1.933661] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready [ 3.844435] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off [ 3.852607] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 3.882671] Sending DHCP requests .., OK [ 6.026604] IP-Config: Got DHCP answer from 192.168.3.1, my address is 192.168.3.52 [ 6.034561] IP-Config: Complete: [ 6.037814] device=eth0, hwaddr=c4:be:84:cc:79:9f, ipaddr=192.168.3.52, mask=255.255.255.0, gw=192.168.3.1 [ 6.047974] host=192.168.3.52, domain=, nis-domain=(none) [ 6.053937] bootserver=0.0.0.0, rootserver=192.168.3.50, rootpath= nameserver0=202.96.209.133, nameserver1=180.168.255.118 [ 6.068516] ALSA device list: [ 6.071508] No soundcards found. [ 6.082813] VFS: Mounted root (nfs filesystem) on device 0:14. [ 6.089369] devtmpfs: mounted [ 6.094443] Freeing unused kernel memory: 1024K [ 6.104144] random: fast init done [ 6.500311] systemd[1]: System time before build time, advancing clock. [ 6.567472] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN default-hierarchy=hybrid) [ 6.589181] systemd[1]: Detected architecture arm. Welcome to [1mArago 2018.10[0m! [ 6.624894] systemd[1]: Set hostname to <am437x-evm>. [ 7.738354] random: systemd: uninitialized urandom read (16 bytes read) [ 7.746250] systemd[1]: Listening on Journal Socket (/dev/log). [[0;32m OK [0m] Listening on Journal Socket (/dev/log). [ 7.838764] random: systemd: uninitialized urandom read (16 bytes read) [ 7.845761] systemd[1]: Reached target Swap. [[0;32m OK [0m] Reached target Swap. [ 7.873066] random: systemd: uninitialized urandom read (16 bytes read) [ 7.879945] systemd[1]: Listening on Network Service Netlink Socket. [[0;32m OK [0m] Listening on Network Service Netlink Socket. [ 7.958721] systemd[1]: Listening on Process Core Dump Socket. [[0;32m OK [0m] Listening on Process Core Dump Socket. [ 7.993354] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [[0;32m OK [0m] Started Dispatch Password Requests to Console Directory Watch. [ 8.033537] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [[0;32m OK [0m] Listening on /dev/initctl Compatibility Named Pipe. [ 8.073457] systemd[1]: Listening on Syslog Socket. [[0;32m OK [0m] Listening on Syslog Socket. [[0;32m OK [0m] Listening on Journal Socket. [[0;32m OK [0m] Created slice System Slice. Starting Journal Service... Mounting POSIX Message Queue File System... [[0;32m OK [0m] Created slice system-serial\x2dgetty.slice. [[0;32m OK [0m] Created slice system-getty.slice. Mounting Kernel Debug File System... Starting Load Kernel Modules... Mounting Temporary Directory (/tmp)... Starting Remount Root and Kernel File Systems... Starting Create list of required st…ce nodes for the current kernel... [[0;32m OK [0m] Listening on udev Kernel Socket. [ 8.466728] cmemk: loading out-of-tree module taints kernel. [[0;32m OK [0m] Reached target Remote File Systems. [ 8.495247] CMEMK module: reference Linux version 4.14.79 [[0;32m OK [0m] Listening on udev Control Socket. [ 8.527572] no physical memory specified [ 8.551374] cmemk initialized [[0;32m OK [0m] Created slice User and Session Slice. [[0;32m OK [0m] Reached target Slices. [ 8.602929] cryptodev: driver 1.9 loaded. [[0;32m OK [0m] Started Forward Password Requests to Wall Directory Watch. [[0;32m OK [0m] Reached target Paths. [ 8.656302] random: crng init done [ 8.660675] random: 7 urandom warning(s) missed due to ratelimiting [ 8.680924] usbcore: registered new interface driver usbfs [[0;32m OK [0m] Mounted Kernel Debug File System. [ 8.703464] usbcore: registered new interface driver hub [ 8.722825] usbcore: registered new device driver usb [[0;32m OK [0m] Mounted POSIX Message Queue File System. [ 8.751471] usbcore: registered new interface driver usbserial [[0;32m OK [0m] Mounted Temporary Directory (/tmp). [ 8.781131] usbcore: registered new interface driver ftdi_sio [ 8.787411] usbserial: USB Serial support registered for FTDI USB Serial Device [[0;32m OK [0m] Started Journal Service. [[0;32m OK [0m] Started Load Kernel Modules. [[0;32m OK [0m] Started Remount Root and Kernel File Systems. [[0;32m OK [0m] Started Create list of required sta…vice nodes for the current kernel. Starting udev Coldplug all Devices... Starting Create Static Device Nodes in /dev... Mounting Kernel Configuration File System... Starting Apply Kernel Variables... Starting Flush Journal to Persistent Storage... [[0;32m OK [0m] Mounted Kernel Configuration File System. [ 9.296451] systemd-journald[66]: Received request to flush runtime journal from PID 1 [[0;32m OK [0m] Started Apply Kernel Variables. [[0;32m OK [0m] Started Create Static Device Nodes in /dev. [[0;32m OK [0m] Started Flush Journal to Persistent Storage. [[0;32m OK [0m] Reached target Local File Systems (Pre). Mounting /media/ram... Mounting /var/volatile... Starting udev Kernel Device Manager... [[0;32m OK [0m] Mounted /var/volatile. [[0;32m OK [0m] Mounted /media/ram. Starting Load/Save Random Seed... [[0;32m OK [0m] Reached target Local File Systems. Starting Create Volatile Files and Directories... [[0;32m OK [0m] Started Load/Save Random Seed. [[0;32m OK [0m] Started udev Kernel Device Manager. [[0;32m OK [0m] Started Create Volatile Files and Directories. Starting Update UTMP about System Boot/Shutdown... Starting Network Time Synchronization... [[0;32m OK [0m] Started Update UTMP about System Boot/Shutdown. [[0;32m OK [0m] Started Network Time Synchronization. [[0;32m OK [0m] Reached target System Time Synchronized. [[0;32m OK [0m] Started udev Coldplug all Devices. [[0;32m OK [0m] Reached target System Initialization. Starting Docker Socket for the API. [[0;32m OK [0m] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. [[0;32m OK [0m] Listening on D-Bus System Message Bus Socket. [[0;32m OK [0m] Started Daily Cleanup of Temporary Directories. [[0;32m OK [0m] Listening on dropbear.socket. [ 11.617435] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [[0;32m OK [0m] Listening on RPCbind Server Activation Socket. Starting Network Service... [[0;32m OK [0m] Started Daily rotation of log files. [[0;32m OK [0m] Reached target Timers. [[0;1;31mFAILED[0m] Failed to listen on Docker Socket for the API. [ 11.890748] remoteproc remoteproc0: wkup_m3 is available See 'systemctl status docker.socket' for details. [[0;1;33mDEPEND[0m] Dependency failed for Docker Application Container Engine. [[0;32m OK [0m] Found device /dev/ttyS0. [[0;32m OK [0m] Reached target Sockets. [[0;32m OK [0m] Reached target Basic System. [ 12.147628] remoteproc remoteproc0: powering up wkup_m3 Starting Avahi mDNS/DNS-SD Stack... [ 12.197367] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224628 [ 12.223282] remoteproc remoteproc0: remote processor wkup_m3 is now up [ 12.229866] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192 Starting Login Service... Starting RPC Bind Service... Starting Print notice about GPLv3 packages... [[0;32m OK [0m] Started Job spooling tools. [[0;32m OK [0m] Started D-Bus System Message Bus. [[0;32m OK [0m] Started Avahi mDNS/DNS-SD Stack. Starting uim-sysfs.service... [[0;32m OK [0m] Reached target Containers. [[0;32m OK [0m] Started Hardware RNG Entropy Gatherer Daemon. [[0;32m OK [0m] Started Periodic Command Scheduler. [[0;32m OK [0m] Started Kernel Logging Service. [[0;32m OK [0m] Started System Logging Service. [[0;32m OK [0m] Started RPC Bind Service. [[0;32m OK [0m] Started Login Service. [[0;32m OK [0m] Started Network Service. Starting Wait for Network to be Configured... [[0;32m OK [0m] Reached target Network. Starting Enable and configure wl18xx bluetooth stack... Starting Simple Network Management Protocol (SNMP) Daemon.... Starting DNS forwarder and DHCP server... [[0;32m OK [0m] Started Redis In-Memory Data Store. Starting Lightning Fast Webserver With Light System Requirements... Starting Permit User Sessions... Starting Network Name Resolution... [[0;32m OK [0m] Started Permit User Sessions. [[0;32m OK [0m] Started Getty on tty1. [[0;32m OK [0m] Started Serial Getty on ttyS0. [[0;32m OK [0m] Reached target Login Prompts. Starting Synchronize System and HW clocks... [[0;1;31mFAILED[0m] Failed to start DNS forwarder and DHCP server. See 'systemctl status dnsmasq.service' for details. [[0;1;31mFAILED[0m] Failed to start Synchronize System and HW clocks. See 'systemctl status sync-clocks.service' for details. [[0;32m OK [0m] Started Lightning Fast Webserver With Light System Requirements. [[0;32m OK [0m] Started Enable and configure wl18xx bluetooth stack. [[0;32m OK [0m] Started Network Name Resolution. [[0;32m OK [0m] Reached target Host and Network Name Lookups. [[0;32m OK [0m] Started NFS status monitor for NFSv2/3 locking.. [[0;32m OK [0m] Started uim-sysfs.service. Starting rc.pvr.service... [ 17.760104] [drm] Initialized pvr 1.14.3699939 20110701 for 56000000.sgx on minor 0 [[0;32m OK [0m] Started Simple Network Management Protocol (SNMP) Daemon.. [ 18.173914] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ] [[0;32m OK [0m] Started rc.pvr.service. Starting weston.service... [ 18.808637] omap-sham 53100000.sham: hw accel on OMAP rev 0.0 [ 19.732383] omap-aes 53501000.aes: OMAP AES hw accel rev: 0.1 [ 19.826363] omap-aes 53501000.aes: will run requests pump with realtime priority [ 19.984514] omap-des 53701000.des: OMAP DES hw accel rev: 0.33 [ 20.077101] omap-des 53701000.des: will run requests pump with realtime priority _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project http://arago-project.org am437x-evm ttyS0 Arago 2018.10 am437x-evm ttyS0 am437x-evm login: [ 20.778759] PM: no-rtc available, rtc-only mode disabled. [ 23.412324] EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem [ 23.757946] EXT4-fs (mmcblk0p2): recovery complete [ 23.958616] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 24.706536] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. *************************************************************** *************************************************************** NOTICE: This file system contains the following GPLv3 packages: autoconf bash-dev bash binutils cifs-utils cpio cpp-symlinks cpp dnsmasq dosfstools elfutils findutils g++-symlinks g++ gawk gcc-symlinks gcc gdb gdbserver gettext glmark2 gstreamer1.0-libav gzip hidapi libdw1 libelf1 libgdbm-compat4 libgdbm-dev libgdbm4 libgettextlib libgettextsrc libgmp10 libidn11 libmavconn libmpc3 libmpfr4 libreadline-dev libreadline7 libunistring2 m4-dev m4 make mavlink mavros-extras mavros-msgs mavros nettle python3-pycairo rsync socketcan-interface which If you do not wish to distribute GPLv3 components please remove the above packages prior to distribution. This can be done using the opkg remove command. i.e.: opkg remove <package> Where <package> is the name printed in the list above NOTE: If the package is a dependency of another package you will be notified of the dependent packages. You should use the --force-removal-of-dependent-packages option to also remove the dependent packages as well *************************************************************** *************************************************************** [ 29.900894] NET: Registered protocol family 15 [ 30.237416] Initializing XFRM netlink socket [ 34.521275] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 34.527217] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [ 34.555215] xhci-hcd xhci-hcd.0.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x02010010 [ 34.579766] xhci-hcd xhci-hcd.0.auto: irq 93, io mem 0x48390000 [ 34.598076] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 34.623970] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 34.631825] usb usb1: Product: xHCI Host Controller [ 34.648813] usb usb1: Manufacturer: Linux 4.14.79-gbde58ab01e xhci-hcd [ 34.673459] usb usb1: SerialNumber: xhci-hcd.0.auto [ 34.700819] hub 1-0:1.0: USB hub found [ 34.707490] hub 1-0:1.0: 1 port detected [ 34.727024] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 34.752636] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2 [ 34.781848] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed [ 34.800729] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 34.824140] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003 [ 34.831541] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 34.848179] usb usb2: Product: xHCI Host Controller [ 34.868796] usb usb2: Manufacturer: Linux 4.14.79-gbde58ab01e xhci-hcd [ 34.889205] usb usb2: SerialNumber: xhci-hcd.0.auto [ 34.911070] hub 2-0:1.0: USB hub found [ 34.928418] hub 2-0:1.0: 1 port detected [ 34.956011] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 34.967987] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3 [ 34.990002] xhci-hcd xhci-hcd.1.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x02010010 [ 35.018035] xhci-hcd xhci-hcd.1.auto: irq 94, io mem 0x483d0000 [ 35.036417] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002 [ 35.058070] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 35.073426] usb usb3: Product: xHCI Host Controller [ 35.079007] usb usb3: Manufacturer: Linux 4.14.79-gbde58ab01e xhci-hcd [ 35.096164] usb usb3: SerialNumber: xhci-hcd.1.auto [ 35.129827] hub 3-0:1.0: USB hub found [ 35.135430] hub 3-0:1.0: 1 port detected [ 35.142130] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 35.158029] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4 [ 35.186822] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed [ 35.213619] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [ 35.244632] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003 [ 35.252105] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 35.268955] usb usb4: Product: xHCI Host Controller [ 35.287958] usb usb4: Manufacturer: Linux 4.14.79-gbde58ab01e xhci-hcd [ 35.308139] usb usb4: SerialNumber: xhci-hcd.1.auto [ 35.332438] hub 4-0:1.0: USB hub found [ 35.348153] hub 4-0:1.0: 1 port detected _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project http://arago-project.org am437x-evm ttyS0 Arago 2018.10 am437x-evm ttyS0 am437x-evm login: root 7[r[999;999H[6n8root@am437x-evm:~# [ 152.612757] usb 3-1: new high-speed USB device number 2 using xhci-hcd -sh: [: missing `]' root@am437x-evm:~# [ 152.800063] usb 3-1: New USB device found, idVendor=058f, idProduct=6387 [ 152.806967] usb 3-1: New USB device strings: M-sh: [: missing `]' fr=1, Product=2, SerialNumber=3 [ 152.820084] usb 3-1: Product: Mass Storage [ 152.828686] usb 3-1: Manufacturer: Generic [ 152.837281] usb 3-1: SerialNumber: 1090865F root@am437x-evm:~# [ 152.806967] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 -sh: [: missing `]' [ 153.071027] scsi host0: usb-storage 3-1:1.0 root@am437x-evm:~# [ 152.820084] usb 3-1: Product: Mass Storage -sh: [: missing `]' [ 351.127196] usb 3-1: USB disconnect, device number 2 root@am437x-evm:~# [ 152.828686] usb 3-1: Manufacturer: Generic -sh: [: missing `]' root@am437x-evm:~# [ 152.837281] usb 3-1: SerialNumber: 1090865F -sh: [: missing `]' root@am437x-evm:~# [ 153.064170] usb-storage 3-1:1.0: USB Mass Storage device detected -sh: [: missing `]' root@am437x-evm:~# [ 153.071027] scsi host0: usb-storage 3-1:1.0 -sh: [: missing `]' root@am437x-evm:~# [ 153.084022] usbcore: registered new interface driver usb-storage -sh: [: missing `]' root@am437x-evm:~# [ 351.127196] usb 3-1: USB disconnect, device number 2 -sh: [: missing `]' root@am437x-evm:~# dmesg |grep -E "USB|usb" [ 8.680924] usbcore: registered new interface driver usbfs [ 8.703464] usbcore: registered new interface driver hub [ 8.722825] usbcore: registered new device driver usb [ 8.751471] usbcore: registered new interface driver usbserial [ 8.781131] usbcore: registered new interface driver ftdi_sio [ 8.787411] usbserial: USB Serial support registered for FTDI USB Serial Device [ 34.527217] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [ 34.598076] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 34.623970] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 34.631825] usb usb1: Product: xHCI Host Controller [ 34.648813] usb usb1: Manufacturer: Linux 4.14.79-gbde58ab01e xhci-hcd [ 34.673459] usb usb1: SerialNumber: xhci-hcd.0.auto [ 34.700819] hub 1-0:1.0: USB hub found [ 34.752636] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2 [ 34.781848] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed [ 34.800729] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 34.824140] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003 [ 34.831541] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 34.848179] usb usb2: Product: xHCI Host Controller [ 34.868796] usb usb2: Manufacturer: Linux 4.14.79-gbde58ab01e xhci-hcd [ 34.889205] usb usb2: SerialNumber: xhci-hcd.0.auto [ 34.911070] hub 2-0:1.0: USB hub found [ 34.967987] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3 [ 35.036417] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002 [ 35.058070] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 35.073426] usb usb3: Product: xHCI Host Controller [ 35.079007] usb usb3: Manufacturer: Linux 4.14.79-gbde58ab01e xhci-hcd [ 35.096164] usb usb3: SerialNumber: xhci-hcd.1.auto [ 35.129827] hub 3-0:1.0: USB hub found [ 35.158029] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4 [ 35.186822] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed [ 35.213619] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [ 35.244632] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003 [ 35.252105] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 35.268955] usb usb4: Product: xHCI Host Controller [ 35.287958] usb usb4: Manufacturer: Linux 4.14.79-gbde58ab01e xhci-hcd [ 35.308139] usb usb4: SerialNumber: xhci-hcd.1.auto [ 35.332438] hub 4-0:1.0: USB hub found ///////////////////////////////////////////////////////////// Insert and pull out the USB2.0 flash disk, the log information as following: ///////////////////////////////////////////////////////////// root@am437x-evm:~# [ 72.042633] usb 3-1: new high-speed USB device number 2 using xhci-hcd [ 72.229917] usb 3-1: New USB device found, idVendor=058f, idProduct=6387 [ 72.236815] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 72.249887] usb 3-1: Product: Mass Storage [ 72.258372] usb 3-1: Manufacturer: Generic [ 72.266870] usb 3-1: SerialNumber: 1090865F [ 72.463357] SCSI subsystem initialized [ 72.501743] usb-storage 3-1:1.0: USB Mass Storage device detected [ 72.509196] scsi host0: usb-storage 3-1:1.0 [ 72.522000] usbcore: registered new interface driver usb-storage [ 73.524905] scsi 0:0:0:0: Direct-Access Generic Flash Disk 8.07 PQ: 0 ANSI: 4 [ 73.568645] sd 0:0:0:0: [sda] 31457280 512-byte logical blocks: (16.1 GB/15.0 GiB) [ 73.583898] sd 0:0:0:0: [sda] Write Protect is off [ 73.593416] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 73.633038] sda: sda1 [ 73.639772] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 74.734925] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. root@am437x-evm:~# [ 79.802849] usb 3-1: USB disconnect, device number 2 [ 80.005438] blk_partition_remap: fail for partition 1 [ 80.010542] blk_partition_remap: fail for partition 1 [ 80.019396] blk_partition_remap: fail for partition 1 [ 80.026698] blk_partition_remap: fail for partition 1 [ 80.031788] blk_partition_remap: fail for partition 1 [ 80.040451] blk_partition_remap: fail for partition 1 [ 80.048005] blk_partition_remap: fail for partition 1 [ 80.055599] blk_partition_remap: fail for partition 1 [ 80.060722] blk_partition_remap: fail for partition 1 [ 80.069529] blk_partition_remap: fail for partition 1 [ 80.076867] blk_partition_remap: fail for partition 1 [ 80.081957] blk_partition_remap: fail for partition 1 [ 80.090717] blk_partition_remap: fail for partition 1 [ 80.098007] blk_partition_remap: fail for partition 1 [ 80.105284] blk_partition_remap: fail for partition 1 [ 80.110378] blk_partition_remap: fail for partition 1 [ 80.119069] blk_partition_remap: fail for partition 1 [ 80.126406] blk_partition_remap: fail for partition 1 [ 80.131500] blk_partition_remap: fail for partition 1 [ 80.140251] blk_partition_remap: fail for partition 1 [ 80.147599] blk_partition_remap: fail for partition 1 [ 80.155098] blk_partition_remap: fail for partition 1 [ 80.160189] blk_partition_remap: fail for partition 1 [ 80.168919] blk_partition_remap: fail for partition 1 [ 80.176318] blk_partition_remap: fail for partition 1 [ 80.181410] blk_partition_remap: fail for partition 1 [ 80.190068] blk_partition_remap: fail for partition 1 [ 80.197398] blk_partition_remap: fail for partition 1 [ 80.204737] blk_partition_remap: fail for partition 1 [ 80.209830] blk_partition_remap: fail for partition 1 [ 80.218505] blk_partition_remap: fail for partition 1 [ 80.225841] blk_partition_remap: fail for partition 1 [ 80.230964] blk_partition_remap: fail for partition 1 [ 80.239709] blk_partition_remap: fail for partition 1 [ 80.246978] blk_partition_remap: fail for partition 1 [ 80.252069] blk_partition_remap: fail for partition 1 [ 80.261008] blk_partition_remap: fail for partition 1 [ 80.268402] blk_partition_remap: fail for partition 1 [ 80.275566] blk_partition_remap: fail for partition 1 [ 80.280658] blk_partition_remap: fail for partition 1 [ 80.289433] blk_partition_remap: fail for partition 1 [ 80.296796] blk_partition_remap: fail for partition 1 [ 80.301888] blk_partition_remap: fail for partition 1 [ 80.310535] blk_partition_remap: fail for partition 1 [ 80.317883] blk_partition_remap: fail for partition 1 [ 80.325335] blk_partition_remap: fail for partition 1 [ 80.330428] blk_partition_remap: fail for partition 1 [ 80.339065] blk_partition_remap: fail for partition 1 [ 80.346439] blk_partition_remap: fail for partition 1 [ 80.351532] blk_partition_remap: fail for partition 1 [ 80.360232] blk_partition_remap: fail for partition 1 [ 80.367825] blk_partition_remap: fail for partition 1 [ 80.375136] blk_partition_remap: fail for partition 1 [ 80.380228] blk_partition_remap: fail for partition 1 [ 80.388946] blk_partition_remap: fail for partition 1 [ 80.396177] blk_partition_remap: fail for partition 1 [ 80.401319] blk_partition_remap: fail for partition 1 [ 80.410108] blk_partition_remap: fail for partition 1 [ 80.417493] blk_partition_remap: fail for partition 1 [ 80.424728] blk_partition_remap: fail for partition 1 [ 80.429821] blk_partition_remap: fail for partition 1 [ 80.438563] blk_partition_remap: fail for partition 1 [ 80.445936] blk_partition_remap: fail for partition 1 [ 80.451028] blk_partition_remap: fail for partition 1 [ 80.460239] blk_partition_remap: fail for partition 1 [ 80.467960] blk_partition_remap: fail for partition 1 [ 80.475324] blk_partition_remap: fail for partition 1 [ 80.480416] blk_partition_remap: fail for partition 1 [ 80.488977] blk_partition_remap: fail for partition 1 [ 80.496396] blk_partition_remap: fail for partition 1 [ 80.501487] blk_partition_remap: fail for partition 1 [ 80.510299] blk_partition_remap: fail for partition 1 [ 80.517565] blk_partition_remap: fail for partition 1 [ 80.524915] blk_partition_remap: fail for partition 1 [ 80.530005] blk_partition_remap: fail for partition 1 [ 80.538671] blk_partition_remap: fail for partition 1 [ 80.545898] blk_partition_remap: fail for partition 1 [ 80.550992] blk_partition_remap: fail for partition 1 [ 80.559790] blk_partition_remap: fail for partition 1 [ 80.567158] blk_partition_remap: fail for partition 1 [ 80.574707] blk_partition_remap: fail for partition 1 [ 80.579801] blk_partition_remap: fail for partition 1 [ 80.588699] blk_partition_remap: fail for partition 1 [ 80.595938] blk_partition_remap: fail for partition 1 [ 80.601029] blk_partition_remap: fail for partition 1 [ 80.609723] blk_partition_remap: fail for partition 1 [ 80.617105] blk_partition_remap: fail for partition 1 [ 80.622196] blk_partition_remap: fail for partition 1 [ 80.630830] blk_partition_remap: fail for partition 1 [ 80.638178] blk_partition_remap: fail for partition 1 [ 80.645464] blk_partition_remap: fail for partition 1 [ 80.650556] blk_partition_remap: fail for partition 1 [ 80.659180] blk_partition_remap: fail for partition 1 [ 80.666531] blk_partition_remap: fail for partition 1 [ 80.671622] blk_partition_remap: fail for partition 1 [ 80.680598] blk_partition_remap: fail for partition 1 [ 80.687900] blk_partition_remap: fail for partition 1 [ 80.695224] blk_partition_remap: fail for partition 1 [ 80.700316] blk_partition_remap: fail for partition 1 [ 80.709070] blk_partition_remap: fail for partition 1 [ 80.716323] blk_partition_remap: fail for partition 1 [ 80.721414] blk_partition_remap: fail for partition 1 [ 80.730121] blk_partition_remap: fail for partition 1 [ 80.737457] blk_partition_remap: fail for partition 1 [ 80.744780] blk_partition_remap: fail for partition 1 [ 80.749872] blk_partition_remap: fail for partition 1 [ 80.758575] blk_partition_remap: fail for partition 1 [ 80.765924] blk_partition_remap: fail for partition 1 [ 80.771016] blk_partition_remap: fail for partition 1 [ 80.779690] blk_partition_remap: fail for partition 1 [ 80.787322] blk_partition_remap: fail for partition 1 [ 80.792414] blk_partition_remap: fail for partition 1 [ 80.801208] blk_partition_remap: fail for partition 1 [ 80.808940] blk_partition_remap: fail for partition 1 [ 80.816236] blk_partition_remap: fail for partition 1 [ 80.821328] blk_partition_remap: fail for partition 1 [ 80.830069] blk_partition_remap: fail for partition 1 [ 80.837312] blk_partition_remap: fail for partition 1 [ 80.842402] blk_partition_remap: fail for partition 1 [ 80.851312] blk_partition_remap: fail for partition 1 [ 80.858786] blk_partition_remap: fail for partition 1 [ 80.866080] blk_partition_remap: fail for partition 1 [ 80.871171] blk_partition_remap: fail for partition 1 [ 80.879872] blk_partition_remap: fail for partition 1 [ 80.887495] blk_partition_remap: fail for partition 1 [ 80.894723] blk_partition_remap: fail for partition 1 [ 80.899814] blk_partition_remap: fail for partition 1 [ 80.908553] blk_partition_remap: fail for partition 1 [ 80.916013] blk_partition_remap: fail for partition 1 [ 80.921106] blk_partition_remap: fail for partition 1 [ 80.929811] blk_partition_remap: fail for partition 1 [ 80.937169] blk_partition_remap: fail for partition 1 [ 80.942263] blk_partition_remap: fail for partition 1 [ 80.950970] blk_partition_remap: fail for partition 1 [ 80.958206] blk_partition_remap: fail for partition 1 [ 80.965581] blk_partition_remap: fail for partition 1 [ 80.970704] blk_partition_remap: fail for partition 1 [ 80.979400] blk_partition_remap: fail for partition 1 [ 80.986707] blk_partition_remap: fail for partition 1 [ 80.992111] blk_partition_remap: fail for partition 1 [ 81.000929] blk_partition_remap: fail for partition 1 [ 81.008315] blk_partition_remap: fail for partition 1 [ 81.015499] blk_partition_remap: fail for partition 1 [ 81.020589] blk_partition_remap: fail for partition 1 [ 81.029385] blk_partition_remap: fail for partition 1 [ 81.036759] blk_partition_remap: fail for partition 1 [ 81.041849] blk_partition_remap: fail for partition 1 [ 81.050478] blk_partition_remap: fail for partition 1 [ 81.057882] blk_partition_remap: fail for partition 1 [ 81.065168] blk_partition_remap: fail for partition 1 [ 81.070260] blk_partition_remap: fail for partition 1 [ 81.078814] blk_partition_remap: fail for partition 1 [ 81.086244] blk_partition_remap: fail for partition 1 [ 81.091338] blk_partition_remap: fail for partition 1 [ 81.100511] blk_partition_remap: fail for partition 1 [ 81.107761] blk_partition_remap: fail for partition 1 [ 81.115111] blk_partition_remap: fail for partition 1 [ 81.120202] blk_partition_remap: fail for partition 1 [ 81.128879] blk_partition_remap: fail for partition 1 [ 81.136097] blk_partition_remap: fail for partition 1 [ 81.141221] blk_partition_remap: fail for partition 1 [ 81.149989] blk_partition_remap: fail for partition 1 [ 81.157343] blk_partition_remap: fail for partition 1 [ 81.162434] blk_partition_remap: fail for partition 1 [ 81.171049] blk_partition_remap: fail for partition 1 [ 81.178438] blk_partition_remap: fail for partition 1 [ 81.185752] blk_partition_remap: fail for partition 1 [ 81.190843] blk_partition_remap: fail for partition 1 [ 81.199717] blk_partition_remap: fail for partition 1 [ 81.207112] blk_partition_remap: fail for partition 1 [ 81.212203] blk_partition_remap: fail for partition 1 [ 81.220971] blk_partition_remap: fail for partition 1 [ 81.228235] blk_partition_remap: fail for partition 1 [ 81.235547] blk_partition_remap: fail for partition 1 [ 81.240729] blk_partition_remap: fail for partition 1 [ 81.249499] blk_partition_remap: fail for partition 1 [ 81.256716] blk_partition_remap: fail for partition 1 [ 81.261809] blk_partition_remap: fail for partition 1 [ 81.270621] blk_partition_remap: fail for partition 1 [ 81.278000] blk_partition_remap: fail for partition 1 [ 81.285232] blk_partition_remap: fail for partition 1 [ 81.290323] blk_partition_remap: fail for partition 1 [ 81.299006] blk_partition_remap: fail for partition 1 [ 81.306692] blk_partition_remap: fail for partition 1 [ 81.311824] blk_partition_remap: fail for partition 1 [ 81.320451] blk_partition_remap: fail for partition 1 [ 81.327785] blk_partition_remap: fail for partition 1 [ 81.335139] blk_partition_remap: fail for partition 1 [ 81.340229] blk_partition_remap: fail for partition 1 [ 81.348885] blk_partition_remap: fail for partition 1 [ 81.358061] blk_partition_remap: fail for partition 1 [ 81.365451] blk_partition_remap: fail for partition 1 [ 81.370573] blk_partition_remap: fail for partition 1 [ 81.379249] blk_partition_remap: fail for partition 1 [ 81.386567] blk_partition_remap: fail for partition 1 [ 81.391662] blk_partition_remap: fail for partition 1 [ 81.400451] blk_partition_remap: fail for partition 1 [ 81.407932] blk_partition_remap: fail for partition 1 [ 81.415311] blk_partition_remap: fail for partition 1 [ 81.420404] blk_partition_remap: fail for partition 1 [ 81.429155] blk_partition_remap: fail for partition 1 [ 81.436416] blk_partition_remap: fail for partition 1 [ 81.441507] blk_partition_remap: fail for partition 1 [ 81.450227] blk_partition_remap: fail for partition 1 [ 81.457588] blk_partition_remap: fail for partition 1 [ 81.464860] blk_partition_remap: fail for partition 1 [ 81.469949] blk_partition_remap: fail for partition 1 [ 81.478629] blk_partition_remap: fail for partition 1 [ 81.486012] blk_partition_remap: fail for partition 1 [ 81.491104] blk_partition_remap: fail for partition 1 [ 81.499778] blk_partition_remap: fail for partition 1 [ 81.507204] blk_partition_remap: fail for partition 1 [ 81.514763] blk_partition_remap: fail for partition 1 [ 81.519856] blk_partition_remap: fail for partition 1 [ 81.528644] blk_partition_remap: fail for partition 1 [ 81.535890] blk_partition_remap: fail for partition 1 [ 81.541014] blk_partition_remap: fail for partition 1 [ 81.549727] blk_partition_remap: fail for partition 1 [ 81.557167] blk_partition_remap: fail for partition 1 [ 81.562260] blk_partition_remap: fail for partition 1 [ 81.570852] blk_partition_remap: fail for partition 1 [ 81.578197] blk_partition_remap: fail for partition 1 [ 81.585602] blk_partition_remap: fail for partition 1 [ 81.590695] blk_partition_remap: fail for partition 1 [ 81.599321] blk_partition_remap: fail for partition 1 [ 81.606681] blk_partition_remap: fail for partition 1 [ 81.611774] blk_partition_remap: fail for partition 1 [ 81.620941] blk_partition_remap: fail for partition 1 [ 81.628206] blk_partition_remap: fail for partition 1 [ 81.635536] blk_partition_remap: fail for partition 1 [ 81.640628] blk_partition_remap: fail for partition 1 [ 81.649427] blk_partition_remap: fail for partition 1 [ 81.656709] blk_partition_remap: fail for partition 1 [ 81.661801] blk_partition_remap: fail for partition 1 [ 81.670526] blk_partition_remap: fail for partition 1 [ 81.677923] blk_partition_remap: fail for partition 1 [ 81.685093] blk_partition_remap: fail for partition 1 [ 81.690185] blk_partition_remap: fail for partition 1 [ 81.698847] blk_partition_remap: fail for partition 1 [ 81.706267] blk_partition_remap: fail for partition 1 [ 81.711405] blk_partition_remap: fail for partition 1 [ 81.720076] blk_partition_remap: fail for partition 1 [ 81.727729] blk_partition_remap: fail for partition 1 [ 81.735036] blk_partition_remap: fail for partition 1 [ 81.740126] blk_partition_remap: fail for partition 1 [ 81.748763] blk_partition_remap: fail for partition 1 [ 81.756106] blk_partition_remap: fail for partition 1 [ 81.761198] blk_partition_remap: fail for partition 1 [ 81.770009] blk_partition_remap: fail for partition 1 [ 81.777267] blk_partition_remap: fail for partition 1 [ 81.782358] blk_partition_remap: fail for partition 1 [ 81.791067] blk_partition_remap: fail for partition 1 [ 81.798409] blk_partition_remap: fail for partition 1 [ 81.805651] blk_partition_remap: fail for partition 1 [ 81.810742] blk_partition_remap: fail for partition 1 [ 81.819472] blk_partition_remap: fail for partition 1 [ 81.827125] blk_partition_remap: fail for partition 1 [ 81.832216] FAT-fs (sda1): FAT read failed (blocknr 2080) ///////////////////////////////////////////////////////////// Insert and pull out the USB3.0 flash disk, the log information as following: ///////////////////////////////////////////////////////////// root@am437x-evm:~# [ 129.952664] usb 3-1: new high-speed USB device number 3 using xhci-hcd [ 130.134588] usb 3-1: New USB device found, idVendor=0781, idProduct=5581 [ 130.141363] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 130.152691] usb 3-1: Product: Ultra [ 130.156230] usb 3-1: Manufacturer: SanDisk [ 130.160364] usb 3-1: SerialNumber: 4C530001050121116110 [ 130.181959] usb-storage 3-1:1.0: USB Mass Storage device detected [ 130.200261] scsi host0: usb-storage 3-1:1.0 [ 131.283694] scsi 0:0:0:0: Direct-Access SanDisk Ultra 1.00 PQ: 0 ANSI: 6 [ 131.298766] sd 0:0:0:0: [sda] 30375936 512-byte logical blocks: (15.6 GB/14.5 GiB) [ 131.313724] sd 0:0:0:0: [sda] Write Protect is off [ 131.325789] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 131.361914] sda: [ 131.366555] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 131.754635] FAT-fs (sda): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. root@am437x-evm:~# [ 135.222011] usb 3-1: USB disconnect, device number 3 [ 135.427530] FAT-fs (sda): FAT read failed (blocknr 3134) root@am437x-evm:~#
Customer also has tried other brand USB disks, the result is the same. Is there some bug in the newest SDK USB driver?
Thanks.
Rgds
Shine