This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM3358: USB debugging

Part Number: AM3358


Tool/software: Linux

I have a new custom board with the AM3358 and I need to test USB.

When I add a USB device to the bus, I do not see it show up in Linux.

I would like to check for bus activity.

Is there a way to generate USB bus activity so we can check for it on the scope from either Linux or U-Boot?

So far, I have been running this ‘usb start’ command from uboot, over and over and not seeing any activity on USB0_DP N17 or USB0_DM N18.

=> usb start
starting USB...
USB0:   Port not available.
=>

if there is a Linux command to test usb and generate bus activity, please let me know.

Thanks.

  • Bill,

    U-Boot is not an ideal please to test/debug usb, Linux kernel is a better environment.

    It sounds like you need the AM335x usb module to work in host mode. You don't need any specific Linux command to generate usb bus activity in Linux. Once the Linux boots up and the the usb bus is ready, attaching any usb device should automatically trigger usb enumeration and you should be able to see bus activities during the numeration.

    We recently published a series of training videos for usb system design, please check the following link and hope it helps.

    training.ti.com/usb-system-design-sitara-linux
  • will the linux 'lsusb' command trigger any activity on the bus?

    here is the output I'm seeing:

    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  • can somebody post a link to chkusb.sh please?
  • Bill Morgan said:
    will the linux 'lsusb' command trigger any activity on the bus?

    I never checked on this, but I don't think so. 'lsusb' command only prints the information the kernel collected during device enumeration.

    Bill Morgan said:
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    It tells you have one usb bus ready, but it doesn't mean the whole usb design (including both hw and kernel configuration) has no issue.

    Which kernel version do you use?

    Please attach the full kernel boot log.

  • Bill Morgan said:
    can somebody post a link to chkusb.sh please?

    Here you go - 

    #!/bin/bash
    #
    # Util to check USB subsystem for Linux kernel 3.12+ on TI Sitara devices
    #
    # Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
    #
    #
    #  Redistribution and use in source and binary forms, with or without
    #  modification, are permitted provided that the following conditions
    #  are met:
    #
    #    Redistributions of source code must retain the above copyright
    #    notice, this list of conditions and the following disclaimer.
    #
    #    Redistributions in binary form must reproduce the above copyright
    #    notice, this list of conditions and the following disclaimer in the
    #    documentation and/or other materials provided with the
    #    distribution.
    #
    #    Neither the name of Texas Instruments Incorporated nor the names of
    #    its contributors may be used to endorse or promote products derived
    #    from this software without specific prior written permission.
    #
    #  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    #  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    #  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    #  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    #  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    #  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    #  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    #  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    #  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    #  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    #  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    
    VERSION=0.2.7
    
    
    ### functions ###
    
    # $1 command to be checked
    check_command() {
        local _cmd=$1
    
        which $_cmd > /dev/null || {
            echo "Error: $_cmd command not found"
            exit 1
        }
    }
    
    # check if the kernel is supported
    # this tool only runs on v3.12+ kernel
    # return 0 - if kernel version >= 3.12
    #        1 - if kernel version < 3.12
    has_supported_kernel() {
    	local _ver
    	local _t
    
        check_command uname
        uname -a
    	_ver=`uname -r`
        _t=${_ver%%.*}
        # 2.x.x, unsupported
        [ $_t -ge 3 ] || return 1
        # 4.x.x, supported
        [ $_t -lt 4 ] || return 0
    
        _ver=${_ver#*.}
        _t=${_ver%%.*}
        # < 3.12.x, unsupported
        [ $_t -ge 12 ] || return 1
        return 0
    }
    
    # check if the platform is supported
    #    $PLATFORM - global variable
    # return 0 - if platform is supported
    #        1 - if platform is not supported
    check_platform () {
    	local _hw
    
        check_command grep
        [ "$PLATFORM" != "" ] || {
    	    _hw=`grep '^Hardware' /proc/cpuinfo`
    	    DBG_PRINT $_hw
    
            if [ "${_hw#*AM33XX}" != "$_hw" ]; then
                PLATFORM="am335x"
            elif [ "${_hw#*AM43}" != "$_hw" ]; then
                PLATFORM="am437x"
            elif [ "${_hw#*DRA7}" != "$_hw" ]; then
                PLATFORM="am57x"
            elif [ "${_hw#*Keystone}" != "$_hw" ]; then
                PLATFORM="keystone"
            elif [ "${_hw#*AM18x}" != "$_hw" ]; then
                PLATFORM="omapl1"
            else
                PLATFORM=$_hw
            fi
        }
    
        DBG_PRINT $PLATFORM
        case $PLATFORM in
            "am335x")
                USB0='/ocp/usb@47400000/usb@47401000'
                USB1='/ocp/usb@47400000/usb@47401800'
                return 0;;
            "am437x")
                USB0='/ocp/omap_dwc3@48380000/usb@48390000'
                USB1='/ocp/omap_dwc3@483c0000/usb@483d0000'
                return 0;;
            "am57x")
                USB0='/ocp/omap_dwc3_1@48880000/usb@48890000'
                USB1='/ocp/omap_dwc3_2@488c0000/usb@488d0000'
                return 0;;
            "keystone")
                USB0='/ocp/omap_dwc3_1@48880000/usb@48890000'
                USB1='/ocp/omap_dwc3_2@488c0000/usb@488d0000'
                return 0;;
            "omapl1")
                USB0='/soc@1c00000/usb@200000'
                USB1=''
                return 0;;
            *)
                echo "Unsupported $PLATFORM"
                return 1;;
        esac
    }
    
    # check a kernel CONFIG option
    # params $1 - the config option
    #        $2 = '-q', quiet output
    # return 0 - undefined
    #        1 - defined as 'm', kernel module
    #        2 - defined as 'y', kernel builtin
    check_kernel_config() {
        local _cfg
    
        [ -n "$1" ] || return 0
        check_command zcat
        _cfg=`zcat /proc/config.gz | grep "^$1\>"`
    
        case ${_cfg#*=} in
            "y") return 2;;
            "m") return 1;;
              *) [ "$2" = "-q" ] ||
                  echo "Error: $1 is undefined in kernel config"
              return 0;;
        esac
    }
    
    # check a kernel module
    # $1 - module name, relative path from drivers/, with .ko surfix
    # return 0 - found
    #        1 - error
    check_module() {
        local _modname
        local _moddep
    
        [ -n "$1" ] || return 1
    
        _modname="/lib/modules/`uname -r`/kernel/drivers/${1}.ko"
        _moddep="/lib/modules/`uname -r`/modules.dep"
    
        DBG_PRINT 1
        [ -f $_modname ] || {
            echo "Error: $_modname not found."
            echo "       Please ensure 'make module_install' is done properly."
            return 1
        }
    
        DBG_PRINT 2
        [ -f $_moddep ] || $moddep_checked || {
            echo "Error: $_moddep not found."
            echo "       Please ensure 'make module_install' is done properly."
            moddep_checked=true
        }
    
        DBG_PRINT 3
        check_command lsmod
        check_command basename
        check_command tr
    
        lsmod | grep `basename $1 | tr '-' '_'` > /dev/null || {
            DBG_PRINT ">>>> ${1}.ko:"
            if grep "${1}.ko:" $_moddep > /dev/null; then
                DBG_PRINT 5
                echo "Error: $_moddep seems to be valid,"
                echo "       but `basename $1`.ko is not loaded."
                echo "       Please provide /proc/config.gz and /lib/module/`uname -r`/*"
                echo "       for further investigation."
            else
                DBG_PRINT 6
                echo "Error: `basename $1`: $_moddep is invalid."
                echo "       Please run command 'depmod' on the target to re-generate it,"
                echo "       then reboot the target. If the issue still exists, please"
                echo "       ensure 'make module_install' is done properly."
            fi
    
            DBG_PRINT 7
            return 1
        }
        DBG_PRINT 8
        return 0
    }
    
    # check kernel config, and modules (if CONFIG_*=M) for musb
    check_musb_drivers() {
        check_kernel_config CONFIG_USB_MUSB_HDRC
        [ $? != 1 ] || check_module 'usb/musb/musb_hdrc'
    
        check_kernel_config CONFIG_USB_MUSB_DUAL_ROLE -q
        [ $? != 0 ] || echo "Warning: CONFIG_USB_MUSB_DUAL_ROLE undefined."
    
        case $PLATFORM in
            am335x)
                check_kernel_config CONFIG_USB_MUSB_DSPS
                [ $? != 1 ] || {
                    check_module 'usb/musb/musb_dsps'
                    check_module 'usb/musb/musb_am335x'
                }
                ;;
            omapl1)
                check_kernel_config CONFIG_USB_MUSB_DA8XX
                [ $? != 1 ] || check_module 'usb/musb/da8xx'
                ;;
        esac
    
        case $PLATFORM in
            am335x)
                check_kernel_config CONFIG_AM335X_PHY_USB
                [ $? != 1 ] || {
                    check_module 'usb/phy/phy-am335x'
                    check_module 'usb/phy/phy-am335x-control'
                }
                ;;
            omapl1)
                check_kernel_config CONFIG_NOP_USB_XCEIV
                [ $? != 1 ] || check_module 'usb/phy/phy-generic'
                ;;
        esac
    
        check_kernel_config CONFIG_MUSB_PIO_ONLY -q
        [ $? != 0 ] || {
           if check_kernel_config CONFIG_TI_CPPI41 -q; then
               echo "Error: MUSB CPPI DMA mode is enabled, but CPPI moudle is not enabled in DMA Engine."
               echo "       Please enable CONFIG_TI_CPPI41 under DMA Engine Support in kernel config."
           fi
        }
    }
    
    # check kernel config, and modules (if CONFIG_*=M) for dwc3
    check_dwc3_drivers() {
        check_kernel_config CONFIG_USB_DWC3
        [ $? != 1 ] || check_module 'usb/dwc3/dwc3'
    
        check_kernel_config CONFIG_USB_DWC3_DUAL_ROLE -q
        [ $? != 0 ] || echo "Warning: CONFIG_USB_DWC3_DUAL_ROLE undefined."
    
        check_kernel_config CONFIG_USB_OTG -q
        [ $? != 0 ] || echo "Warning: CONFIG_USB_OTG undefined, which is required for DRD mode."
    
        check_kernel_config CONFIG_USB_DWC3_OMAP
        [ $? != 1 ] || check_module 'usb/dwc3/dwc3-omap'
    
        check_kernel_config CONFIG_USB_XHCI_HCD
        [ $? != 1 ] || {
            check_module 'usb/host/xhci-plat-hcd'
            check_module 'usb/host/xhci-hcd'
        }
    
        check_kernel_config CONFIG_OMAP_CONTROL_PHY
        [ $? != 1 ] || check_module 'phy/phy-omap-control'
    
        if [ $PLATFORM = am437x ]; then
            check_kernel_config CONFIG_OMAP_USB2
            [ $? != 1 ] || check_module 'phy/phy-omap-usb2'
        else
            check_kernel_config CONFIG_TI_PIPE3
            [ $? != 1 ] || check_module 'phy/phy-ti-pipe3'
        fi
    }
    
    check_musb_dt() {
        local _dt_dir
        local _ent
        local _sts
    
        case $PLATFORM in
        am335x)
            _dt_dir='/proc/device-tree/ocp/usb@47400000'
            _ent='. control@44e10620 usb-phy@47401300 usb-phy@47401b00 dma-controller@47402000'
            ;;
        omapl1)
            _dt_dir='/proc/device-tree/soc@1c00000'
            _ent='usb@200000 chip-controller@1417c/usb-phy usb@200000/dma-controller@201000'
            ;;
        *)
            return ;;
        esac
    
        for _t in $_ent; do
            _sts=$(cat ${_dt_dir}/${_t}/status)
            [ "$_sts" != "disabled" ] ||
                echo $_t: $(cat ${_dt_dir}/${_t}/status)
        done
    }
    
    ### debug ###
    
    g_log_file=/tmp/chkusb.log
    
    DBG_ENABLE() { g_dbg_enabled=true; }
    DBG_DISABLE() { g_dbg_enabled=false; }
    DBG_LOG_RESET() { ! $g_dbg_enabled || echo > $g_log_file; }
    DBG_PRINT() { ! $g_dbg_enabled || echo "$(date +%H:%M:%S) [$(basename $0)]: $*"; }
    DBG_LOG() { DBG_PRINT $* >> $g_log_file; }
    DBG_LOG_MARK() { DBG_PRINT "----------------" >> $g_log_file; }
    
    
    ### main ####
    
    moddep_checked=false
    
    echo "chkusb.sh Version $VERSION"
    
    [ "$V" = "1" ] && DBG_ENABLE && DBG_LOG_RESET || DBG_DISABLE
    
    has_supported_kernel ||
        { echo "Unsupported kernel version: `uname -r`"; exit 1; }
    check_platform || exit 2
    DBG_PRINT device: $PLATFORM
    
    check_command lsusb
    if lsusb > /dev/null 2>&1; then
        echo "USB is initialized"
    else
        echo "USB initialization failed"
    fi
    
    # check kernel configs
    
    if [ -f /proc/config.gz ]; then
        case $PLATFORM in
            am335x | omapl1) check_musb_drivers;;
            am437x | am57x | keystone) check_dwc3_drivers;;
            *)
                echo "Error: unsupported platform $PLATFORM"
                exit 5;;
        esac
    else
        echo "Error: /proc/config.gz not found"
    fi
    
    case $PLATFORM in
        am335x | omapl1)
            _debugfs=`sed -ne 's/^debugfs \(.*\) debugfs.*/\1/p' /proc/mounts`
            [ -z "$_debugfs" ] ||
                grep -i 'power\|devctl\|testmode' ${_debugfs}/musb-hdrc*/regdump
            ;;
    esac
    
    # check dr_mode & gadget drivers
    
    [ -d /proc/device-tree ] || {
        echo "Warning: /proc/device-tree/ not found"
        if [ -d "/lib/modules/`uname -r`/" ]; then
            echo "The list of USB gadget drivers installed:"
            ls -1Rp "/lib/modules/`uname -r`/kernel/drivers/usb/gadget/"
        fi
        exit 0
    }
    
    check_command basename
    for _usb in "${USB0}" "${USB1}"; do
        [ -n "$_usb" ] || continue
    
        _usb_dir="/proc/device-tree/${_usb}"
        _status=`cat $_usb_dir/status 2> /dev/null`
        _dr_mode=`cat $_usb_dir/dr_mode`
        echo `basename $_usb`: $_dr_mode, $_status
    
        [ "$_status" = "disabled" -o "$_dr_mode" = "host" ] || gadget_mode=true
    done
    
    case $PLATFORM in
        am335x | omapl1) check_musb_dt;;
        *) ;;
    esac
    
    DBG_PRINT $gadget_mode
    $gadget_mode || exit 0
    
    echo
    
    check_kernel_config CONFIG_USB_LIBCOMPOSITE
    case $? in
        0) echo "Error: no any gadget driver enabled"
           exit 6;;
        1) is_gadget_builtin=false;;
        2) echo "The gadget driver is built-in"
           is_gadget_builtin=true;;
    esac
    
    check_kernel_config CONFIG_USB_ZERO -q ||
        echo "Gadget Kernel Config: g_zero is enabled"
    check_kernel_config CONFIG_USB_AUDIO -q ||
        echo "Gadget Kernel Config: g_audio is enabled"
    check_kernel_config CONFIG_USB_ETH -q ||
        echo "Gadget Kernel Config: g_ether is enabled"
    check_kernel_config CONFIG_USB_G_NCM -q ||
        echo "Gadget Kernel Config: g_ncm is enabled"
    check_kernel_config CONFIG_USB_MASS_STORAGE -q ||
        echo "Gadget Kernel Config: g_mass_storage is enabled"
    check_kernel_config CONFIG_USB_G_SERIAL -q ||
        echo "Gadget Kernel Config: g_serial is enabled"
    check_kernel_config CONFIG_USB_G_PRINTER -q ||
        echo "Gadget Kernel Config: g_printer is enabled"
    
    g_driver=`grep '^DRIVER=' /sys/class/udc/*/uevent 2>/dev/null`
    echo "gadget driver loaded: ${g_driver:-(none)}"
    
    echo
    
    if ! $is_gadget_builtin; then
        if [ -d "/lib/modules/`uname -r`/" ]; then
            echo "The list of USB gadget drivers installed:"
            ls -1Rp "/lib/modules/`uname -r`/kernel/drivers/usb/gadget/"
        else
            echo "Error: /lib/modules/`uname -r`/ not found"
            echo "       Please ensure 'make modules_install' is done properly."
            exit 7
        fi
    fi
    
    # vim: ft=sh:ts=4:sw=4:et
    

  • Bin Liu said:

    Which kernel version do you use?

    git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git

    v4.9.69-2821-g89d085d

  • Bin Liu said:

    Please attach the full kernel boot log.

    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.69-g89d085d1a4 (gcc version 6.4.0 (GCC) ) #1 PREEMPT Thu May 24 08:14:31 CDT 2018
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt:Machine model: 
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0x9d000000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (sgx neon)
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129920
    [    0.000000] Kernel command line: console=ttyS0,115200 ramdisk_size=327680 root=/dev/ram0 rw rootfstype=ext2
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 417968K/524288K available (7168K kernel code, 279K rwdata, 2416K rodata, 1024K init, 287K bss, 57168K reserved, 49152K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0800000   (8160 kB)
    [    0.000000]       .init : 0xc0b00000 - 0xc0c00000   (1024 kB)
    [    0.000000]       .data : 0xc0c00000 - 0xc0c45c70   ( 280 kB)
    [    0.000000]        .bss : 0xc0c45c70 - 0xc0c8d9f4   ( 288 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  Build-time adjustment of leaf fanout to 32.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] OMAP clockevent source: timer2 at 26000000 Hz
    [    0.000014] sched_clock: 32 bits at 26MHz, resolution 38ns, wraps every 82595524588ns
    [    0.000035] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 73510017198 ns
    [    0.000045] OMAP clocksource: timer1 at 26000000 Hz
    [    0.000207] clocksource_probe: no matching clocksources found
    [    0.000379] Console: colour dummy device 80x30
    [    0.000420] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
    [    0.089132] pid_max: default: 32768 minimum: 301
    [    0.089251] Security Framework initialized
    [    0.089294] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.089304] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.090127] CPU: Testing write buffer coherency: ok
    [    0.090511] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.091365] EFI services will not be available.
    [    0.092763] devtmpfs: initialized
    [    0.103856] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.104238] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.104267] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.107946] pinctrl core: initialized pinctrl subsystem
    [    0.109397] NET: Registered protocol family 16
    [    0.111392] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.126584] omap_hwmod: debugss: _wait_target_disable failed
    [    0.219130] cpuidle: using governor ladder
    [    0.249118] cpuidle: using governor menu
    [    0.255455] OMAP GPIO hardware version 0.1
    [    0.270361] No ATAGs?
    [    0.270387] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.307530] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.311318] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/myi2c1_pins_default, deferring probe
    [    0.311448] media: Linux media interface: v0.10
    [    0.311504] Linux video capture interface: v2.00
    [    0.311547] pps_core: LinuxPPS API ver. 1 registered
    [    0.311555] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.311585] PTP clock support registered
    [    0.311624] EDAC MC: Ver: 3.0.0
    [    0.312740] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.313075] Advanced Linux Sound Architecture Driver Initialized.
    [    0.314361] clocksource: Switched to clocksource timer1
    [    0.325299] NET: Registered protocol family 2
    [    0.326102] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.326157] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.326203] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.326286] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.326306] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.326440] NET: Registered protocol family 1
    [    0.326878] RPC: Registered named UNIX socket transport module.
    [    0.326892] RPC: Registered udp transport module.
    [    0.326899] RPC: Registered tcp transport module.
    [    0.326905] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.327445] Trying to unpack rootfs image as initramfs...
    [    0.328269] rootfs image is not initramfs (no cpio magic); looks like an initrd
    [    0.559925] Freeing initrd memory: 40008K
    [    0.560439] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.563074] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [    0.571176] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.572172] NFS: Registering the id_resolver key type
    [    0.572215] Key type id_resolver registered
    [    0.572224] Key type id_legacy registered
    [    0.572272] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.577882] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    0.577903] io scheduler noop registered
    [    0.577911] io scheduler deadline registered
    [    0.578082] io scheduler cfq registered (default)
    [    0.579314] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.645115] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.648920] console [ttyS0] disabled
    [    0.649021] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
    [    1.234831] console [ttyS0] enabled
    [    1.239498] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 159, base_baud = 3000000) is a 8250
    [    1.250115] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [    1.257009] [drm] Initialized
    [    1.274092] brd: module loaded
    [    1.283950] loop: module loaded
    [    1.289865] m25p80 spi1.0: mx25u12835f (16384 Kbytes)
    [    1.295163] 9 ofpart partitions found on MTD device spi1.0
    [    1.300675] Creating 9 MTD partitions on "spi1.0":
    [    1.305522] 0x000000000000-0x000000010000 : "spl"
    [    1.311608] 0x000000010000-0x000000090000 : "u-boot"
    [    1.317862] 0x000000090000-0x000000110000 : "u-boot1"
    [    1.324119] 0x000000110000-0x000000130000 : "u-boot-env1"
    [    1.330823] 0x000000130000-0x000000150000 : "u-boot-env2"
    [    1.337519] 0x000000150000-0x000000160000 : "key"
    [    1.343367] 0x000000160000-0x000000170000 : "oemkey"
    [    1.349599] 0x000000170000-0x000000970000 : "emmcimggz"
    [    1.356049] 0x000000900000-0x000001000000 : "empty"
    [    1.362782] libphy: Fixed MDIO Bus: probed
    [    1.434449] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.440586] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.447794] libphy: 4a101000.mdio: probed
    [    1.451838] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Micrel KSZ8081 or KSZ8091
    [    1.462267] cpsw 4a100000.ethernet: No slave[1] phy_id, phy-handle, or fixed-link property
    [    1.470685] cpsw 4a100000.ethernet: Detected MACID = 60:64:05:40:eb:5d
    [    1.477473] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.486514] mousedev: PS/2 mouse device common for all mice
    [    1.492654] i2c /dev entries driver
    [    1.498756] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.566231] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.577483] NET: Registered protocol family 10
    [    1.586978] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.593936] NET: Registered protocol family 17
    [    1.598964] Key type dns_resolver registered
    [    1.603480] omap_voltage_late_init: Voltage driver support not added
    [    1.618314] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.625212] wlan-1-en-regulator: disabling
    [    1.629565] ALSA device list:
    [    1.632590]   No soundcards found.
    [    1.637140] RAMDISK: gzip image found at block 0
    [    1.642278] mmc0: new high speed MMC card at address 0001
    [    1.655490] mmcblk0: mmc0:0001 Q2J55L 7.09 GiB
    [    1.664995] mmcblk0boot0: mmc0:0001 Q2J55L partition 1 16.0 MiB
    [    1.684945] mmcblk0boot1: mmc0:0001 Q2J55L partition 2 16.0 MiB
    [    1.692751]  mmcblk0: p1 p2
    [    2.224440] random: fast init done
    [    5.528639] EXT4-fs (ram0): mounting ext2 file system using the ext4 subsystem
    [    5.537497] EXT4-fs (ram0): mounted filesystem without journal. Opts: (null)
    [    5.544866] VFS: Mounted root (ext2 filesystem) on device 1:0.
    [    5.551358] devtmpfs: mounted
    [    5.555976] Freeing unused kernel memory: 1024K
    [    5.600746] systemd[1]: System time before build time, advancing clock.
    [    5.630664] systemd[1]: systemd 230 running in system mode. (-PAM -AUDIT -SELINUX -IMA -APPARMOR -SMACK +SYSVINIT -UTMP -LIBCRYPTSETUP -GCRYPT +GNUTLS +ACL -XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [    5.649642] systemd[1]: Detected architecture arm.
    
    Welcome to 0.1.0 (initial)!
    
    [    5.684846] systemd[1]: Set hostname 
    [    5.689851] systemd[1]: Initializing machine ID from random generator.
    [    5.884136] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    5.915128] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    5.956173] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    5.995084] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    6.034630] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [    6.064849] systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Created slice System Slice.
    [  OK  ] Created slice system-getty.slice.
             Mounting POSIX Message Queue File System...
             Starting Setup Virtual Console...
    [  OK  ] Reached target Slices.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
             Starting Create Static Device Nodes in /dev...
             Starting Journal Service...
             Starting Remount Root and Kernel File Systems...
             Starting Apply Kernel Variables...
             Mounting Debug File System...
    [    6.660735] EXT4-fs (ram0): re-mounted. Opts: (null)
             Mounting Configuration File System...
    [  OK  ] Reached target Swap.
             Mounting Temporary Directory...
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Mounted Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Configuration File System.
    [  OK  ] Mounted Temporary Directory.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Setup Virtual Console.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Apply Kernel Variables.
             Starting Rebuild Hardware Database...
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /var/volatile...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Started udev Kernel Device Manager.
    [    7.465266] systemd-journald[110]: Received request to flush runtime journal from PID 1
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Rebuild Hardware Database.
             Starting udev Coldplug all Devices...
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Found device /dev/ttyS1.
    [   10.783305] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Found device /dev/mmcblk0p2.
    [   11.342093] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [   11.393062] remoteproc remoteproc0: wkup_m3 is available
    [   11.454660] remoteproc remoteproc0: powering up wkup_m3
    [   11.456887] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224244
    [   11.457165] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [   11.457197] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [  OK  ] Found device /dev/mmcblk0p1.
    [   11.658791] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [   11.680886] omap-aes 53500000.aes: will run requests pump with realtime priority
             Mounting /boot...
             Mounting /home...
    [   12.009401] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
    [   12.053633] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [  OK  ] Mounted /boot.
    [  OK  ] Mounted /home.
    [  OK  ] Reached target Local File Systems.
             Starting Rebuild Journal Catalog...
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Rebuild Journal Catalog.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Update is Completed...
    [  OK  ] Started Update is Completed.
    [  OK  ] Reached target System Initialization.
             Starting sshd.socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on sshd.socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started D-Bus System Message Bus.
             Starting Network Service...
    [  OK  ] Started Kernel Logging Service.
    [  OK  ] Started System Logging Service.
    [  OK  ] Started Serial Getty on ttyS0.
             Starting Entropy Daemon based on the HAVEGE algorithm...
             Starting smb.service...
    [  OK  ] Started Serial Getty on ttyS1.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Reached target Login Prompts.
    [  OK  ] Started Network Service.
    [   13.624906] net eth0: initializing cpsw version 1.12 (0)
    [   13.630272] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [   13.719403] cpsw 4a100000.ethernet: ALE Table size 1024
    [   13.865244] Micrel KSZ8081 or KSZ8091 4a101000.mdio:00: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=4a101000.mdio:00, irq=-1)
    [   13.965338] libphy: PHY  not found
    [   13.968785] net eth0: phy "" not found on slave 1, err -19
    [  OK  ] Started Entropy Daemon based on the HAVEGE algorithm.
    [   14.061141] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [  OK  ] Started smb.service.
    [   14.565686] 47401300.usb-phy supply vcc not found, using dummy regulator
    [   14.576039] usbcore: registered new interface driver usbfs
    [   14.581641] usbcore: registered new interface driver hub
    [   14.677970] usbcore: registered new device driver usb
    [   14.844730] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [   14.850133] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    [   14.929197] hub 1-0:1.0: USB hub found
    [   14.944540] hub 1-0:1.0: 1 port detected
    [  OK  ] Started samba-user-setup.service.
    [  OK  ] Reached target Network.
    [  OK  ] Started run_gcc.service.
    [   16.085323] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
    [   16.093273] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [  OK  ] Reached target Multi-User System.
    

  • Thanks for the kernel log, it shows your board uses USB0 in host mode. Please run the following command on your board to get a register dump, which tells the usb controller status.

    # grep -i 'devctl\|power' /sys/kernel/debug/musb-hdrc.0/regdump
  • looks like dmesg had more messages:

    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.69-g89d085d1a4 (gcc version 6.4.0 (GCC) ) #1 PREEMPT Thu May 24 08:14:31 CDT 2018
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt:Machine model: 
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0x9d000000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] On node 0 totalpages: 131072
    [    0.000000] free_area_init_node: node 0, pgdat c0c434a4, node_mem_map dcb61000
    [    0.000000]   Normal zone: 1152 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 131072 pages, LIFO batch:31
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (sgx neon)
    [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    [    0.000000] pcpu-alloc: [0] 0
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129920
    [    0.000000] Kernel command line: console=ttyS0,115200 ramdisk_size=327680 root=/dev/ram0 rw rootfstype=ext2
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 417968K/524288K available (7168K kernel code, 279K rwdata, 2416K rodata, 1024K init, 287K bss, 57168K reserved, 49152K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0800000   (8160 kB)
    [    0.000000]       .init : 0xc0b00000 - 0xc0c00000   (1024 kB)
    [    0.000000]       .data : 0xc0c00000 - 0xc0c45c70   ( 280 kB)
    [    0.000000]        .bss : 0xc0c45c70 - 0xc0c8d9f4   ( 288 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  Build-time adjustment of leaf fanout to 32.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] OMAP clockevent source: timer2 at 26000000 Hz
    [    0.000014] sched_clock: 32 bits at 26MHz, resolution 38ns, wraps every 82595524588ns
    [    0.000035] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 73510017198 ns
    [    0.000045] OMAP clocksource: timer1 at 26000000 Hz
    [    0.000207] clocksource_probe: no matching clocksources found
    [    0.000379] Console: colour dummy device 80x30
    [    0.000420] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
    [    0.089132] pid_max: default: 32768 minimum: 301
    [    0.089251] Security Framework initialized
    [    0.089294] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.089304] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.090127] CPU: Testing write buffer coherency: ok
    [    0.090511] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.091365] EFI services will not be available.
    [    0.092763] devtmpfs: initialized
    [    0.103856] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.104238] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.104267] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.107946] pinctrl core: initialized pinctrl subsystem
    [    0.109397] NET: Registered protocol family 16
    [    0.111392] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.126584] omap_hwmod: debugss: _wait_target_disable failed
    [    0.219130] cpuidle: using governor ladder
    [    0.249118] cpuidle: using governor menu
    [    0.253584] gpio gpiochip0: (gpio): added GPIO chardev (254:0)
    [    0.253982] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio)
    [    0.255455] OMAP GPIO hardware version 0.1
    [    0.256313] gpio gpiochip1: (gpio): added GPIO chardev (254:1)
    [    0.256650] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio)
    [    0.258795] gpio gpiochip2: (gpio): added GPIO chardev (254:2)
    [    0.259296] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio)
    [    0.261367] gpio gpiochip3: (gpio): added GPIO chardev (254:3)
    [    0.261685] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio)
    [    0.270361] No ATAGs?
    [    0.270387] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.307530] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.307847] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator@0[0]'
    [    0.308213] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator@1[0]' - status (0)
    [    0.311318] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/myi2c1_pins_default, deferring probe
    [    0.311448] media: Linux media interface: v0.10
    [    0.311504] Linux video capture interface: v2.00
    [    0.311547] pps_core: LinuxPPS API ver. 1 registered
    [    0.311555] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.311585] PTP clock support registered
    [    0.311624] EDAC MC: Ver: 3.0.0
    [    0.312740] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.313075] Advanced Linux Sound Architecture Driver Initialized.
    [    0.314361] clocksource: Switched to clocksource timer1
    [    0.325299] NET: Registered protocol family 2
    [    0.326102] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.326157] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.326203] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.326286] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.326306] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.326440] NET: Registered protocol family 1
    [    0.326878] RPC: Registered named UNIX socket transport module.
    [    0.326892] RPC: Registered udp transport module.
    [    0.326899] RPC: Registered tcp transport module.
    [    0.326905] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.326920] PCI: CLS 0 bytes, default 64
    [    0.327445] Trying to unpack rootfs image as initramfs...
    [    0.328269] rootfs image is not initramfs (no cpio magic); looks like an initrd
    [    0.559925] Freeing initrd memory: 40008K
    [    0.560439] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.563074] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [    0.571176] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.572172] NFS: Registering the id_resolver key type
    [    0.572215] Key type id_resolver registered
    [    0.572224] Key type id_legacy registered
    [    0.572272] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.577882] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    0.577903] io scheduler noop registered
    [    0.577911] io scheduler deadline registered
    [    0.578082] io scheduler cfq registered (default)
    [    0.579314] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.645115] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.648920] console [ttyS0] disabled
    [    0.649021] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
    [    1.234831] console [ttyS0] enabled
    [    1.239498] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 159, base_baud = 3000000) is a 8250
    [    1.250115] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [    1.257009] [drm] Initialized
    [    1.274092] brd: module loaded
    [    1.283950] loop: module loaded
    [    1.289865] m25p80 spi1.0: mx25u12835f (16384 Kbytes)
    [    1.295163] 9 ofpart partitions found on MTD device spi1.0
    [    1.300675] Creating 9 MTD partitions on "spi1.0":
    [    1.305522] 0x000000000000-0x000000010000 : "spl"
    [    1.311608] 0x000000010000-0x000000090000 : "u-boot"
    [    1.317862] 0x000000090000-0x000000110000 : "u-boot1"
    [    1.324119] 0x000000110000-0x000000130000 : "u-boot-env1"
    [    1.330823] 0x000000130000-0x000000150000 : "u-boot-env2"
    [    1.337519] 0x000000150000-0x000000160000 : "key"
    [    1.343367] 0x000000160000-0x000000170000 : "oemkey"
    [    1.349599] 0x000000170000-0x000000970000 : "emmcimggz"
    [    1.356049] 0x000000900000-0x000001000000 : "empty"
    [    1.362782] libphy: Fixed MDIO Bus: probed
    [    1.434449] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.440586] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.447794] libphy: 4a101000.mdio: probed
    [    1.451838] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Micrel KSZ8081 or KSZ8091
    [    1.462267] cpsw 4a100000.ethernet: No slave[1] phy_id, phy-handle, or fixed-link property
    [    1.470685] cpsw 4a100000.ethernet: Detected MACID = 60:64:05:40:eb:5d
    [    1.477473] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.486514] mousedev: PS/2 mouse device common for all mice
    [    1.492654] i2c /dev entries driver
    [    1.498756] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.506523] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [    1.506535] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [    1.506546] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@48060000[0]'
    [    1.506554] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@48060000[0]'
    [    1.506560] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [    1.506568] omap_hsmmc 48060000.mmc: lookup for GPIO cd failed
    [    1.506578] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [    1.506583] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [    1.506590] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
    [    1.506596] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
    [    1.506602] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [    1.506607] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
    [    1.566231] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.577483] NET: Registered protocol family 10
    [    1.586978] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.593936] NET: Registered protocol family 17
    [    1.598964] Key type dns_resolver registered
    [    1.603480] omap_voltage_late_init: Voltage driver support not added
    [    1.618314] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.625212] wlan-1-en-regulator: disabling
    [    1.629565] ALSA device list:
    [    1.632590]   No soundcards found.
    [    1.637140] RAMDISK: gzip image found at block 0
    [    1.642278] mmc0: new high speed MMC card at address 0001
    [    1.655490] mmcblk0: mmc0:0001 Q2J55L 7.09 GiB
    [    1.664995] mmcblk0boot0: mmc0:0001 Q2J55L partition 1 16.0 MiB
    [    1.684945] mmcblk0boot1: mmc0:0001 Q2J55L partition 2 16.0 MiB
    [    1.692751]  mmcblk0: p1 p2
    [    2.224440] random: fast init done
    [    5.528639] EXT4-fs (ram0): mounting ext2 file system using the ext4 subsystem
    [    5.537497] EXT4-fs (ram0): mounted filesystem without journal. Opts: (null)
    [    5.544866] VFS: Mounted root (ext2 filesystem) on device 1:0.
    [    5.551358] devtmpfs: mounted
    [    5.555976] Freeing unused kernel memory: 1024K
    [    5.600746] systemd[1]: System time before build time, advancing clock.
    [    5.630664] systemd[1]: systemd 230 running in system mode. (-PAM -AUDIT -SELINUX -IMA -APPARMOR -SMACK +SYSVINIT -UTMP -LIBCRYPTSETUP -GCRYPT +GNUTLS +ACL -XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [    5.649642] systemd[1]: Detected architecture arm.
    [    5.684846] systemd[1]: Set hostname to 
    [    5.689851] systemd[1]: Initializing machine ID from random generator.
    [    5.884136] systemd[1]: Listening on udev Kernel Socket.
    [    5.915128] systemd[1]: Listening on Journal Socket.
    [    5.956173] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    5.995084] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    6.034630] systemd[1]: Reached target Paths.
    [    6.064849] systemd[1]: Listening on Syslog Socket.
    [    6.660735] EXT4-fs (ram0): re-mounted. Opts: (null)
    [    7.465266] systemd-journald[110]: Received request to flush runtime journal from PID 1
    [   10.783305] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   11.342093] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [   11.393062] remoteproc remoteproc0: wkup_m3 is available
    [   11.454660] remoteproc remoteproc0: powering up wkup_m3
    [   11.456887] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224244
    [   11.457165] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [   11.457197] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [   11.658791] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [   11.680886] omap-aes 53500000.aes: will run requests pump with realtime priority
    [   12.009401] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
    [   12.053633] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [   13.624906] net eth0: initializing cpsw version 1.12 (0)
    [   13.630272] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [   13.719403] cpsw 4a100000.ethernet: ALE Table size 1024
    [   13.865244] Micrel KSZ8081 or KSZ8091 4a101000.mdio:00: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=4a101000.mdio:00, irq=-1)
    [   13.965338] libphy: PHY  not found
    [   13.968785] net eth0: phy "" not found on slave 1, err -19
    [   14.061141] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   14.565517] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer reset
    [   14.565535] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [   14.565550] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [   14.565558] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [   14.565565] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [   14.565573] am335x-phy-driver 47401300.usb-phy: lookup for GPIO reset failed
    [   14.565582] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer vbus-detect
    [   14.565588] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [   14.565595] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [   14.565601] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    [   14.565607] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [   14.565613] am335x-phy-driver 47401300.usb-phy: lookup for GPIO vbus-detect failed
    [   14.565686] 47401300.usb-phy supply vcc not found, using dummy regulator
    [   14.576039] usbcore: registered new interface driver usbfs
    [   14.581641] usbcore: registered new interface driver hub
    [   14.677970] usbcore: registered new device driver usb
    [   14.844730] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [   14.850133] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    [   14.929197] hub 1-0:1.0: USB hub found
    [   14.944540] hub 1-0:1.0: 1 port detected
    [   16.085323] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
    [   16.093273] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   18.453600] random: crng init done
    

  • Bin Liu said:
    Thanks for the kernel log, it shows your board uses USB0 in host mode. Please run the following command on your board to get a register dump, which tells the usb controller status.

    # grep -i 'devctl\|power' /sys/kernel/debug/musb-hdrc.0/regdump

    # grep -i 'devctl\|power' /sys/kernel/debug/musb-hdrc.0/regdump
    Power : e0
    DevCtl : 19

  • The register dump shows the usb controller and the bus are ready.
    When you attach any usb device to the usb port, the linux console doesn't print any enumeration message? If so, please attach your board schematic.
  • Bin Liu said:
    When you attach any usb device to the usb port, the linux console doesn't print any enumeration message?

    No messages are printed when the usb device is attached to the port.

    Bin Liu said:
    If so, please attach your board schematic.

    I am unable to post the schematic here, but can post it to your secure site. I will email Brad Griffis about this.

  • Sounds good. While me waiting for the schematic, can you please check if the 5V vbus presents on the usb receptacle?
    And you changed usb0 dr_mode to "host" in your board dts file, right?
  • Bin Liu said:
    Sounds good. While me waiting for the schematic,

    I posted schematic to cdds secure site.

    Brad G. should have the link.

  • Bin Liu said:
    can you please check if the 5V vbus presents on the usb receptacle?

    yes, there is +5V on the port.

  • Bin Liu said:
    And you changed usb0 dr_mode to "host" in your board dts file, right?

    yes

    &usb {
        status = "okay";
    };
    
    &usb_ctrl_mod {
        status = "okay";
    };
    
    &usb0_phy {
        status = "okay";
    };
    
    &usb0 {
        status = "okay";
        dr_mode = "host";
    };
    
    

  • when I run chkusb.sh I get a data abort:

    # . ./chkusb.sh
    chkusb.sh Version 0.2.7
    Linux 4.9.69-g89d085d1a4 #1 PREEMPT Thu May 24 08:14:31 CDT 2018 armv7l GNU/Linux
    USB is initialized
    [ 4016.025894] Unhandled fault: external abort on non-linefetch (0x1008) at 0xe0c92000
    [ 4016.033613] pgd = d4208000
    [ 4016.036330] [e0c92000] *pgd=91d36811, *pte=47401653, *ppte=47401453
    [ 4016.042653] Internal error: : 1008 [#2] PREEMPT ARM
    [ 4016.047550] Modules linked in: musb_dsps musb_hdrc udc_core phy_am335x usbcore phy_generic usb_common phy_am335x_control wkup_m3_ipc wkup_m3_rproc remoteproc omap_aes_driver crypto_engine omap_sham ti_emif_sram musb_am335x omap_wdt sch_fq_codel
    [ 4016.069409] CPU: 0 PID: 518 Comm: grep Tainted: G      D         4.9.69-g89d085d1a4 #1
    [ 4016.077358] Hardware name: Generic AM33XX (Flattened Device Tree)
    [ 4016.083476] task: d39ee100 task.stack: d369a000
    [ 4016.088047] PC is at debugfs_print_regs32+0x70/0xa4
    [ 4016.092947] LR is at 0x0
    [ 4016.095491] pc : [<c0375e0c>]    lr : [<00000000>]    psr: 800e0013
    [ 4016.095491] sp : d369be00  ip : 00001000  fp : d369be34
    [ 4016.107018] r10: e0c92000  r9 : c0a08068  r8 : c09b7d28
    [ 4016.112264] r7 : c09a095c  r6 : 00000000  r5 : d6bf6c00  r4 : bf0c6528
    [ 4016.118818] r3 : e0c92000  r2 : bf0c6ab4  r1 : 00000000  r0 : 00000000
    [ 4016.125373] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
    [ 4016.132537] Control: 10c5387d  Table: 94208019  DAC: 00000051
    [ 4016.138306] Process grep (pid: 518, stack limit = 0xd369a208)
    [ 4016.144075] Stack: (0xd369be00 to 0xd369c000)
    [ 4016.148456] be00: 00001000 0000000f d369be34 d6bf6c00 d5b946c0 d5b946c0 d369bf78 00000000
    [ 4016.156672] be20: d369be68 00000001 d369be4c d369be38 c0375e68 c0375da8 c09a095c d5b946c0
    [ 4016.164888] be40: d369bea4 d369be50 c02396e0 c0375e4c 00000000 d369bf78 d5b946c0 d6bf6c30
    [ 4016.173104] be60: 000a71b8 00001000 00000000 00000000 d4208000 d06622a0 d369bea4 c023952c
    [ 4016.181320] be80: d5b946c0 000a71b8 00001000 d369bf78 c081d1d0 00000000 d369bed4 d369bea8
    [ 4016.189536] bea0: c0374b40 c0239538 c0113b58 00000000 d5b946c0 c0374aec 00001000 d369bf78
    [ 4016.197751] bec0: 00000000 00001000 d369bf44 d369bed8 c0211334 c0374af8 d369bf0c d369bee8
    [ 4016.205967] bee0: c038bbfc c0256500 00000000 00000000 00001000 00000000 d5b946c0 00000000
    [ 4016.214183] bf00: d369bf44 d369bf10 c02120cc c038bb44 5b05bcbb 0a21fe80 0000162d 00000000
    [ 4016.222400] bf20: 00001000 d5b946c0 000a71b8 d369bf78 00000000 00001000 d369bf74 d369bf48
    [ 4016.230616] bf40: c0212200 c021130c 00000007 c0228124 d369bf74 d5b946c0 d5b946c0 00000000
    [ 4016.238832] bf60: 00000000 000a71b8 d369bfa4 d369bf78 c02130a0 c021217c 00000000 00000000
    [ 4016.247048] bf80: 000a7050 b6d92454 000005e8 00000003 c0107d44 d369a000 00000000 d369bfa8
    [ 4016.255264] bfa0: c0107b80 c0213068 000a7050 b6d92454 00000003 000a71b8 00001000 00000000
    [ 4016.263480] bfc0: 000a7050 b6d92454 000005e8 00000003 bed9ab04 00000000 0008fd8c 000a4730
    [ 4016.271697] bfe0: 00000000 bed9aab4 b6d9318c b6dea3f0 400e0010 00000003 00000000 00000000
    [ 4016.279905] Backtrace:
    [ 4016.282376] [<c0375d9c>] (debugfs_print_regs32) from [<c0375e68>] (debugfs_show_regset32+0x28/0x34)
    [ 4016.291466]  r10:00000001 r9:d369be68 r8:00000000 r7:d369bf78 r6:d5b946c0 r5:d5b946c0
    [ 4016.299326]  r4:d6bf6c00
    [ 4016.301887] [<c0375e40>] (debugfs_show_regset32) from [<c02396e0>] (seq_read+0x1b4/0x514)
    [ 4016.310106] [<c023952c>] (seq_read) from [<c0374b40>] (full_proxy_read+0x54/0x74)
    [ 4016.317623]  r10:00000000 r9:c081d1d0 r8:d369bf78 r7:00001000 r6:000a71b8 r5:d5b946c0
    [ 4016.325484]  r4:c023952c
    [ 4016.328033] [<c0374aec>] (full_proxy_read) from [<c0211334>] (__vfs_read+0x34/0x118)
    [ 4016.335813]  r9:00001000 r8:00000000 r7:d369bf78 r6:00001000 r5:c0374aec r4:d5b946c0
    [ 4016.343592] [<c0211300>] (__vfs_read) from [<c0212200>] (vfs_read+0x90/0x11c)
    [ 4016.350760]  r9:00001000 r8:00000000 r7:d369bf78 r6:000a71b8 r5:d5b946c0 r4:00001000
    [ 4016.358539] [<c0212170>] (vfs_read) from [<c02130a0>] (SyS_read+0x44/0x98)
    [ 4016.365446]  r8:000a71b8 r7:00000000 r6:00000000 r5:d5b946c0 r4:d5b946c0
    [ 4016.372187] [<c021305c>] (SyS_read) from [<c0107b80>] (ret_fast_syscall+0x0/0x48)
    [ 4016.379704]  r9:d369a000 r8:c0107d44 r7:00000003 r6:000005e8 r5:b6d92454 r4:000a7050
    [ 4016.387485] Code: 0a000000 ebfb0fdb e914000c e08a3003 (e5933000)
    [ 4016.393607] ---[ end trace c282baa9f2c92dbd ]---
    Segmentation fault
    usb@47401000: host, okay
    usb@47401800: otg, disabled
    usb-phy@47401b00: disabled
    
    Gadget Kernel Config: g_zero is enabled
    Gadget Kernel Config: g_audio is enabled
    Gadget Kernel Config: g_ether is enabled
    Gadget Kernel Config: g_ncm is enabled
    Gadget Kernel Config: g_mass_storage is enabled
    Gadget Kernel Config: g_serial is enabled
    Gadget Kernel Config: g_printer is enabled
    gadget driver loaded: (none)
    
    The list of USB gadget drivers installed:
    /lib/modules/4.9.69-g89d085d1a4/kernel/drivers/usb/gadget/:
    function/
    legacy/
    libcomposite.ko
    udc/
    
    /lib/modules/4.9.69-g89d085d1a4/kernel/drivers/usb/gadget/function:
    u_ether.ko
    u_serial.ko
    usb_f_acm.ko
    usb_f_ecm.ko
    usb_f_ecm_subset.ko
    usb_f_eem.ko
    usb_f_fs.ko
    usb_f_hid.ko
    usb_f_mass_storage.ko
    usb_f_midi.ko
    usb_f_ncm.ko
    usb_f_obex.ko
    usb_f_printer.ko
    usb_f_rndis.ko
    usb_f_serial.ko
    usb_f_ss_lb.ko
    usb_f_uac1.ko
    usb_f_uac2.ko
    usb_f_uvc.ko
    
    /lib/modules/4.9.69-g89d085d1a4/kernel/drivers/usb/gadget/legacy:
    g_acm_ms.ko
    g_audio.ko
    g_cdc.ko
    g_dbgp.ko
    g_ether.ko
    g_ffs.ko
    g_hid.ko
    g_mass_storage.ko
    g_midi.ko
    g_multi.ko
    g_ncm.ko
    g_printer.ko
    g_serial.ko
    g_webcam.ko
    g_zero.ko
    gadgetfs.ko
    
    /lib/modules/4.9.69-g89d085d1a4/kernel/drivers/usb/gadget/udc:
    udc-core.ko
    #
    

  • I am not sure what causes the crash, but it is minor, I already got all I need on the Linux side.

    I received the schematic, thanks, but it seems not complete, the usb0 DP/DM signals go to a connector then missed on the other side.
    I have forward the schematic to our usb hw expert for review, he might reply here if he has any comments.
  • I don't see anything wrong with schematic portion provided.

    The USB Device you are connecting should assert DP (HighSpeed/FullSpeed devices) or DM (Low Speed device) within ~200ms of sensing VBUS_VALID (> =4.7V).

    Please check that the USB Device sees VBUS >= 4.7V and is asserting either DP or DM* in response.

    *Edit

  • we tried another device and we get this:

    # [ 9419.244421] usb 1-1: new high-speed USB device number 22 using musb-hdrc
    [ 9421.364497] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
    [ 9421.504433] usb 1-1: new high-speed USB device number 23 using musb-hdrc
    [ 9423.624506] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
    [ 9423.631201] usb usb1-port1: attempt power cycle
    [ 9424.114449] usb 1-1: new high-speed USB device number 24 using musb-hdrc
    [ 9429.584449] usb 1-1: device not accepting address 24, error -110
    [ 9431.414515] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
    [ 9431.421209] usb usb1-port1: unable to enumerate USB device

    both of the devices we attached are high speed.

    We think there may be signal integrity issues.

    The bus runs through 4 boards finally land at the port.

    How do I configure the port to use Full Speed and (not High Speed)?

  • Bill Morgan said:
    How do I configure the port to use Full Speed and (not High Speed)?

    Please check the slide page 21 in the training 

  • Thanks Ben. Now I have

    &usb0 {
        status = "okay";
        dr_mode = "host";
        maximum-speed = "full-speed";
    };
    
    

    Now when I connect HS device, it is never detected (same behavior as previously).

    Next HS device connected gives a tremendous amount of output, and Linux is looping over and over assigning higher and higher device numbers to it:

    [   57.674473] usb 1-1: new full-speed USB device number 2 using musb-hdrc
    [   57.844929] usb 1-1: not running at top speed; connect to a high speed hub
    [   57.922453] SCSI subsystem initialized
    [   57.972022] usb-storage 1-1:1.0: USB Mass Storage device detected
    [   57.979589] scsi host0: usb-storage 1-1:1.0
    [   57.995790] usbcore: registered new interface driver usb-storage
    [   59.046404] scsi 0:0:0:0: Direct-Access     Flash    USB Disk         6.80 PQ: 0 ANSI: 2
    [   59.102298] sd 0:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
    [   59.135508] sd 0:0:0:0: [sda] Write Protect is off
    [   59.161956] sd 0:0:0:0: [sda] No Caching mode page found
    [   59.170337] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [   59.198502]  sda: sda1
    [   59.211629] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [   59.954495] usb 1-1: reset full-speed USB device number 2 using musb-hdrc
    [   60.844491] usb 1-1: reset full-speed USB device number 2 using musb-hdrc
    [   61.090085] usb 1-1: USB disconnect, device number 2
    [   61.134518] scsi 0:0:0:0: rejecting I/O to offline device
    [   61.140019] scsi 0:0:0:0: [sda] killing request
    [   61.145213] scsi 0:0:0:0: [sda] UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
    [   61.153127] scsi 0:0:0:0: [sda] CDB: opcode=0x28 28 00 00 00 00 78 00 00 08 00
    [   61.160494] blk_update_request: I/O error, dev sda, sector 120
    [   61.166991] Buffer I/O error on dev sda, logical block 15, async page read
    [   61.664487] usb 1-1: new full-speed USB device number 3 using musb-hdrc
    [   61.834917] usb 1-1: not running at top speed; connect to a high speed hub
    [   61.855930] usb-storage 1-1:1.0: USB Mass Storage device detected
    [   61.862950] scsi host0: usb-storage 1-1:1.0
    [   62.886398] scsi 0:0:0:0: Direct-Access     Flash    USB Disk         6.80 PQ: 0 ANSI: 2
    [   62.900705] sd 0:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
    [   62.933905] sd 0:0:0:0: [sda] Write Protect is off
    [   62.955027] sd 0:0:0:0: [sda] No Caching mode page found
    [   62.960417] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [   63.022871]  sda: sda1
    [   63.053909] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [   63.149267] usb 1-1: USB disconnect, device number 3
    [   63.174561] scsi 0:0:0:0: rejecting I/O to offline device
    [   63.180026] scsi 0:0:0:0: [sda] killing request
    [   63.184740] scsi 0:0:0:0: [sda] UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
    [   63.192622] scsi 0:0:0:0: [sda] CDB: opcode=0x28 28 00 00 ef ff 00 00 00 08 00
    [   63.199911] blk_update_request: I/O error, dev sda, sector 15728384
    [   63.206777] Buffer I/O error on dev sda, logical block 1966048, async page read
    [   63.704412] usb 1-1: new full-speed USB device number 4 using musb-hdrc
    [   63.874904] usb 1-1: not running at top speed; connect to a high speed hub
    [   63.895365] usb-storage 1-1:1.0: USB Mass Storage device detected
    [   63.921510] scsi host0: usb-storage 1-1:1.0
    [   64.966359] scsi 0:0:0:0: Direct-Access     Flash    USB Disk         6.80 PQ: 0 ANSI: 2
    [   64.981476] sd 0:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
    [   65.015205] sd 0:0:0:0: [sda] Write Protect is off
    [   65.034819] sd 0:0:0:0: [sda] No Caching mode page found
    [   65.040223] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [   65.116167]  sda: sda1
    [   65.135864] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [   65.283426] usb 1-1: USB disconnect, device number 4
    [   65.304527] scsi 0:0:0:0: rejecting I/O to offline device
    [   65.309989] scsi 0:0:0:0: [sda] killing request
    [   65.314700] scsi 0:0:0:0: [sda] UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
    [   65.322580] scsi 0:0:0:0: [sda] CDB: opcode=0x28 28 00 00 ef fc 48 00 00 08 00
    [   65.329873] blk_update_request: I/O error, dev sda, sector 15727688
    [   65.336698] Buffer I/O error on dev sda, logical block 1965961, async page read
    [   65.834433] usb 1-1: new full-speed USB device number 5 using musb-hdrc
    [   66.004922] usb 1-1: not running at top speed; connect to a high speed hub
    [   66.025364] usb-storage 1-1:1.0: USB Mass Storage device detected
    [   66.051354] scsi host0: usb-storage 1-1:1.0
    [   67.127443] scsi 0:0:0:0: Direct-Access     Flash    USB Disk         6.80 PQ: 0 ANSI: 2
    [   67.142915] sd 0:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
    [   67.175497] sd 0:0:0:0: [sda] Write Protect is off
    [   67.200672] sd 0:0:0:0: [sda] No Caching mode page found
    [   67.209452] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [   67.260051]  sda: sda1
    [   67.292638] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [   67.388645] usb 1-1: USB disconnect, device number 5
    [   67.414556] scsi 0:0:0:0: rejecting I/O to offline device
    [   67.420020] scsi 0:0:0:0: [sda] killing request
    [   67.424729] scsi 0:0:0:0: [sda] UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
    [   67.432631] scsi 0:0:0:0: [sda] CDB: opcode=0x28 28 00 00 ef fe 70 00 00 08 00
    [   67.439916] blk_update_request: I/O error, dev sda, sector 15728240
    [   67.448974] Buffer I/O error on dev sda, logical block 1966030, async page read
    [   67.944425] usb 1-1: new full-speed USB device number 6 using musb-hdrc
    [   68.114943] usb 1-1: not running at top speed; connect to a high speed hub
    [   68.135336] usb-storage 1-1:1.0: USB Mass Storage device detected
    [   68.161604] scsi host0: usb-storage 1-1:1.0
    [   69.206586] scsi 0:0:0:0: Direct-Access     Flash    USB Disk         6.80 PQ: 0 ANSI: 2
    [   69.220860] sd 0:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
    [   69.254295] sd 0:0:0:0: [sda] Write Protect is off
    [   69.275537] sd 0:0:0:0: [sda] No Caching mode page found
    [   69.280926] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [   69.343388]  sda: sda1
    [   69.377039] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [   70.114497] usb 1-1: reset full-speed USB device number 6 using musb-hdrc
    [   70.350313] usb 1-1: USB disconnect, device number 6
    [   70.394694] scsi 0:0:0:0: rejecting I/O to offline device
    [   70.400203] scsi 0:0:0:0: [sda] killing request
    [   70.405054] scsi 0:0:0:0: [sda] UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
    [   70.412964] scsi 0:0:0:0: [sda] CDB: opcode=0x28 28 00 00 ef fd 20 00 00 08 00
    [   70.420304] blk_update_request: I/O error, dev sda, sector 15727904
    [   70.432028] Buffer I/O error on dev sda, logical block 1965988, async page read
    [   70.914471] usb 1-1: new full-speed USB device number 7 using musb-hdrc
    [   71.084941] usb 1-1: not running at top speed; connect to a high speed hub
    [   71.106155] usb-storage 1-1:1.0: USB Mass Storage device detected
    [   71.113153] scsi host0: usb-storage 1-1:1.0
    [   72.166642] scsi 0:0:0:0: Direct-Access     Flash    USB Disk         6.80 PQ: 0 ANSI: 2
    [   72.180943] sd 0:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
    [   72.214257] sd 0:0:0:0: [sda] Write Protect is off
    [   72.235532] sd 0:0:0:0: [sda] No Caching mode page found
    [   72.240920] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [   72.303545]  sda: sda1
    [   72.332124] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [   73.084508] usb 1-1: reset full-speed USB device number 7 using musb-hdrc
    [   73.320818] usb 1-1: USB disconnect, device number 7
    [   73.364667] scsi 0:0:0:0: rejecting I/O to offline device
    [   73.370173] scsi 0:0:0:0: [sda] killing request
    [   73.375006] scsi 0:0:0:0: [sda] UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
    [   73.382915] scsi 0:0:0:0: [sda] CDB: opcode=0x28 28 00 00 ef fc 70 00 00 08 00
    [   73.390256] blk_update_request: I/O error, dev sda, sector 15727728
    [   73.401813] Buffer I/O error on dev sda, logical block 1965966, async page read
    [   73.874481] usb 1-1: new full-speed USB device number 8 using musb-hdrc
    [   74.044910] usb 1-1: not running at top speed; connect to a high speed hub
    [   74.065829] usb-storage 1-1:1.0: USB Mass Storage device detected
    [   74.072828] scsi host0: usb-storage 1-1:1.0
    [   75.126354] scsi 0:0:0:0: Direct-Access     Flash    USB Disk         6.80 PQ: 0 ANSI: 2
    [   75.140705] sd 0:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
    [   75.173910] sd 0:0:0:0: [sda] Write Protect is off
    [   75.194961] sd 0:0:0:0: [sda] No Caching mode page found
    [   75.200353] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [   75.263151]  sda: sda1
    [   75.293739] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [   75.390261] usb 1-1: USB disconnect, device number 8
    [   75.414697] scsi 0:0:0:0: rejecting I/O to offline device
    [   75.420198] scsi 0:0:0:0: [sda] killing request
    [   75.425038] scsi 0:0:0:0: [sda] UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
    [   75.432949] scsi 0:0:0:0: [sda] CDB: opcode=0x28 28 00 00 ef ff 00 00 00 08 00
    [   75.440314] blk_update_request: I/O error, dev sda, sector 15728384
    [   75.447543] Buffer I/O error on dev sda, logical block 1966048, async page read
    [   75.944439] usb 1-1: new full-speed USB device number 9 using musb-hdrc
    [   76.114923] usb 1-1: not running at top speed; connect to a high speed hub
    [   76.135343] usb-storage 1-1:1.0: USB Mass Storage device detected
    [   76.161326] scsi host0: usb-storage 1-1:1.0
    [   77.206387] scsi 0:0:0:0: Direct-Access     Flash    USB Disk         6.80 PQ: 0 ANSI: 2
    [   77.220663] sd 0:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
    [   77.253822] sd 0:0:0:0: [sda] Write Protect is off
    [   77.275096] sd 0:0:0:0: [sda] No Caching mode page found
    [   77.280489] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [   77.341169]  sda: sda1
    [   77.360672] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [   77.460268] usb 1-1: USB disconnect, device number 9
    [   77.504519] scsi 0:0:0:0: rejecting I/O to offline device
    [   77.510018] scsi 0:0:0:0: [sda] killing request
    [   77.515246] scsi 0:0:0:0: [sda] UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
    [   77.523162] scsi 0:0:0:0: [sda] CDB: opcode=0x28 28 00 00 ef fe 70 00 00 08 00
    [   77.530543] blk_update_request: I/O error, dev sda, sector 15728240
    [   77.537491] Buffer I/O error on dev sda, logical block 1966030, async page read
    [   78.024429] usb 1-1: new full-speed USB device number 10 using musb-hdrc
    [   78.194775] usb 1-1: not running at top speed; connect to a high speed hub
    [   78.213209] usb-storage 1-1:1.0: USB Mass Storage device detected
    [   78.229105] scsi host0: usb-storage 1-1:1.0
    [   79.286409] scsi 0:0:0:0: Direct-Access     Flash    USB Disk         6.80 PQ: 0 ANSI: 2
    [   79.300660] sd 0:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
    [   79.333745] sd 0:0:0:0: [sda] Write Protect is off
    [   79.355114] sd 0:0:0:0: [sda] No Caching mode page found
    [   79.360504] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [   79.435872]  sda: sda1
    [   79.460277] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [   79.553581] usb 1-1: USB disconnect, device number 10
    [   79.594694] scsi 0:0:0:0: rejecting I/O to offline device
    [   79.600199] scsi 0:0:0:0: [sda] killing request
    [   79.605049] scsi 0:0:0:0: [sda] UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
    [   79.612959] scsi 0:0:0:0: [sda] CDB: opcode=0x28 28 00 00 ef ff c0 00 00 08 00
    [   79.620298] blk_update_request: I/O error, dev sda, sector 15728576
    [   79.627566] Buffer I/O error on dev sda, logical block 1966072, async page read
    [   80.134426] usb 1-1: new full-speed USB device number 11 using musb-hdrc
    [   80.304773] usb 1-1: not running at top speed; connect to a high speed hub
    [   80.323232] usb-storage 1-1:1.0: USB Mass Storage device detected
    [   80.339117] scsi host0: usb-storage 1-1:1.0
    [   81.366423] scsi 0:0:0:0: Direct-Access     Flash    USB Disk         6.80 PQ: 0 ANSI: 2
    [   81.381140] sd 0:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
    [   81.414357] sd 0:0:0:0: [sda] Write Protect is off
    [   81.420113] sd 0:0:0:0: [sda] No Caching mode page found
    [   81.444925] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [   81.495626]  sda: sda1
    [   81.527907] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [   81.599084] usb 1-1: USB disconnect, device number 11
    [   81.624530] scsi 0:0:0:0: rejecting I/O to offline device
    [   81.629999] scsi 0:0:0:0: [sda] killing request
    [   81.634725] scsi 0:0:0:0: [sda] UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
    [   81.642609] scsi 0:0:0:0: [sda] CDB: opcode=0x28 28 00 00 ef fd b0 00 00 08 00
    [   81.649907] blk_update_request: I/O error, dev sda, sector 15728048
    [   81.656817] Buffer I/O error on dev sda, logical block 1966006, async page read
    [   82.154417] usb 1-1: new full-speed USB device number 12 using musb-hdrc
    [   82.324916] usb 1-1: not running at top speed; connect to a high speed hub
    [   82.345765] usb-storage 1-1:1.0: USB Mass Storage device detected
    [   82.372034] scsi host0: usb-storage 1-1:1.0
    [   83.445816] scsi 0:0:0:0: Direct-Access     Flash    USB Disk         6.80 PQ: 0 ANSI: 2
    [   83.462002] sd 0:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
    [   83.485598] sd 0:0:0:0: [sda] Write Protect is off
    [   83.501085] sd 0:0:0:0: [sda] No Caching mode page found
    [   83.540241] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [   83.585690]  sda: sda1
    [   83.609786] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [   83.706817] usb 1-1: USB disconnect, device number 12
    [   83.744688] scsi 0:0:0:0: rejecting I/O to offline device
    [   83.750190] scsi 0:0:0:0: [sda] killing request
    [   83.755051] scsi 0:0:0:0: [sda] UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
    [   83.762962] scsi 0:0:0:0: [sda] CDB: opcode=0x28 28 00 00 ef ff 00 00 00 08 00
    [   83.770305] blk_update_request: I/O error, dev sda, sector 15728384
    [   83.777503] Buffer I/O error on dev sda, logical block 1966048, async page read
    [   84.264468] usb 1-1: new full-speed USB device number 13 using musb-hdrc
    [   84.434943] usb 1-1: not running at top speed; connect to a high speed hub
    [   84.455400] usb-storage 1-1:1.0: USB Mass Storage device detected
    [   84.482203] scsi host0: usb-storage 1-1:1.0
    [   85.526413] scsi 0:0:0:0: Direct-Access     Flash    USB Disk         6.80 PQ: 0 ANSI: 2
    [   85.540655] sd 0:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
    [   85.573704] sd 0:0:0:0: [sda] Write Protect is off
    [   85.589359] sd 0:0:0:0: [sda] No Caching mode page found
    [   85.634680] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [   85.677038]  sda: sda1
    [   85.699987] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [   85.786921] usb 1-1: USB disconnect, device number 13
    [   85.824765] scsi 0:0:0:0: rejecting I/O to offline device
    [   85.830268] scsi 0:0:0:0: [sda] killing request
    [   85.835122] scsi 0:0:0:0: [sda] UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
    [   85.843031] scsi 0:0:0:0: [sda] CDB: opcode=0x28 28 00 00 ef ff c0 00 00 08 00
    [   85.850369] blk_update_request: I/O error, dev sda, sector 15728576
    [   85.857650] Buffer I/O error on dev sda, logical block 1966072, async page read
    [   86.364431] usb 1-1: new full-speed USB device number 14 using musb-hdrc
    [   86.534789] usb 1-1: not running at top speed; connect to a high speed hub
    [   86.551961] usb-storage 1-1:1.0: USB Mass Storage device detected
    [   86.564311] scsi host0: usb-storage 1-1:1.0
    [   87.606409] scsi 0:0:0:0: Direct-Access     Flash    USB Disk         6.80 PQ: 0 ANSI: 2
    [   87.621116] sd 0:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
    [   87.654702] sd 0:0:0:0: [sda] Write Protect is off
    [   87.674875] sd 0:0:0:0: [sda] No Caching mode page found
    [   87.680281] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [   87.758913]  sda: sda1
    [   87.781366] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [   88.514514] usb 1-1: reset full-speed USB device number 14 using musb-hdrc
    [   88.744579] usb 1-1: USB disconnect, device number 14
    [   88.784537] scsi 0:0:0:0: rejecting I/O to offline device
    [   88.790038] scsi 0:0:0:0: [sda] killing request
    [   88.794791] scsi 0:0:0:0: [sda] UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
    [   88.802698] scsi 0:0:0:0: [sda] CDB: opcode=0x28 28 00 00 ef fd b0 00 00 08 00
    [   88.810033] blk_update_request: I/O error, dev sda, sector 15728048
    [   88.817303] Buffer I/O error on dev sda, logical block 1966006, async page read
    [   89.324439] usb 1-1: new full-speed USB device number 15 using musb-hdrc
    [   89.494779] usb 1-1: not running at top speed; connect to a high speed hub
    [   89.511936] usb-storage 1-1:1.0: USB Mass Storage device detected
    [   89.523486] scsi host0: usb-storage 1-1:1.0
    [   90.566370] scsi 0:0:0:0: Direct-Access     Flash    USB Disk         6.80 PQ: 0 ANSI: 2
    [   90.580656] sd 0:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
    [   90.614355] sd 0:0:0:0: [sda] Write Protect is off
    [   90.620107] sd 0:0:0:0: [sda] No Caching mode page found
    [   90.644785] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [   90.692421]  sda: sda1
    [   90.735326] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [   91.474566] usb 1-1: reset full-speed USB device number 15 using musb-hdrc
    [   92.354499] usb 1-1: reset full-speed USB device number 15 using musb-hdrc
    [   92.585201] usb 1-1: USB disconnect, device number 15
    [   92.624700] scsi 0:0:0:0: rejecting I/O to offline device
    [   92.630206] scsi 0:0:0:0: [sda] killing request
    [   92.635060] scsi 0:0:0:0: [sda] UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
    [   92.642970] scsi 0:0:0:0: [sda] CDB: opcode=0x28 28 00 00 ef fc 30 00 00 08 00
    [   92.650335] blk_update_request: I/O error, dev sda, sector 15727664
    [   92.662351] Buffer I/O error on dev sda, logical block 1965958, async page read
    [   93.154415] usb 1-1: new full-speed USB device number 16 using musb-hdrc
    [   93.324771] usb 1-1: not running at top speed; connect to a high speed hub
    [   93.343199] usb-storage 1-1:1.0: USB Mass Storage device detected
    [   93.359061] scsi host0: usb-storage 1-1:1.0
    [   94.406416] scsi 0:0:0:0: Direct-Access     Flash    USB Disk         6.80 PQ: 0 ANSI: 2
    [   94.421674] sd 0:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
    [   94.455505] sd 0:0:0:0: [sda] Write Protect is off
    [   94.480771] sd 0:0:0:0: [sda] No Caching mode page found
    [   94.490153] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [   94.537528]  sda: sda1
    [   94.568767] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [   94.668811] usb 1-1: USB disconnect, device number 16
    [   94.714990] scsi 0:0:0:0: rejecting I/O to offline device
    [   94.720453] scsi 0:0:0:0: [sda] killing request
    [   94.725383] scsi 0:0:0:0: [sda] UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
    [   94.733266] scsi 0:0:0:0: [sda] CDB: opcode=0x28 28 00 00 ef ff 00 00 00 08 00
    [   94.740563] blk_update_request: I/O error, dev sda, sector 15728384
    [   94.749416] Buffer I/O error on dev sda, logical block 1966048, async page read
    [   95.234437] usb 1-1: new full-speed USB device number 17 using musb-hdrc
    [   95.404943] usb 1-1: not running at top speed; connect to a high speed hub
    [   95.425365] usb-storage 1-1:1.0: USB Mass Storage device detected
    [   95.451345] scsi host0: usb-storage 1-1:1.0
    [   96.486409] scsi 0:0:0:0: Direct-Access     Flash    USB Disk         6.80 PQ: 0 ANSI: 2
    [   96.500655] sd 0:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
    [   96.533872] sd 0:0:0:0: [sda] Write Protect is off
    [   96.555533] sd 0:0:0:0: [sda] No Caching mode page found
    [   96.560920] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [   96.635087]  sda: sda1
    [   96.651924] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [   97.374488] usb 1-1: reset full-speed USB device number 17 using musb-hdrc
    [   97.610062] usb 1-1: USB disconnect, device number 17
    [   97.654673] scsi 0:0:0:0: rejecting I/O to offline device
    [   97.660179] scsi 0:0:0:0: [sda] killing request
    [   97.665019] scsi 0:0:0:0: [sda] UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
    [   97.672960] scsi 0:0:0:0: [sda] CDB: opcode=0x28 28 00 00 ef fc 70 00 00 08 00
    [   97.680310] blk_update_request: I/O error, dev sda, sector 15727728
    [   97.692032] Buffer I/O error on dev sda, logical block 1965966, async page read
    [   98.194438] usb 1-1: new full-speed USB device number 18 using musb-hdrc
    [   98.364909] usb 1-1: not running at top speed; connect to a high speed hub
    [   98.386083] usb-storage 1-1:1.0: USB Mass Storage device detected
    [   98.393041] scsi host0: usb-storage 1-1:1.0
    [   99.445804] scsi 0:0:0:0: Direct-Access     Flash    USB Disk         6.80 PQ: 0 ANSI: 2
    [   99.462121] sd 0:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
    [   99.485614] sd 0:0:0:0: [sda] Write Protect is off
    [   99.495619] sd 0:0:0:0: [sda] No Caching mode page found
    [   99.501008] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [   99.586704]  sda: sda1
    [   99.607308] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [   99.672871] usb 1-1: USB disconnect, device number 18
    [   99.714698] scsi 0:0:0:0: rejecting I/O to offline device
    [   99.720198] scsi 0:0:0:0: [sda] killing request
    [   99.725049] scsi 0:0:0:0: [sda] UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
    [   99.732958] scsi 0:0:0:0: [sda] CDB: opcode=0x28 28 00 00 00 00 00 00 00 08 00
    [   99.740299] blk_update_request: I/O error, dev sda, sector 0
    [   99.746962] Buffer I/O error on dev sda, logical block 0, async page read
    [  100.244452] usb 1-1: new full-speed USB device number 19 using musb-hdrc
    [  100.414947] usb 1-1: not running at top speed; connect to a high speed hub
    [  100.433843] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  100.454139] scsi host0: usb-storage 1-1:1.0
    [  101.526366] scsi 0:0:0:0: Direct-Access     Flash    USB Disk         6.80 PQ: 0 ANSI: 2
    [  101.541078] sd 0:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
    [  101.574715] sd 0:0:0:0: [sda] Write Protect is off
    [  101.594812] sd 0:0:0:0: [sda] No Caching mode page found
    [  101.600217] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [  101.678984]  sda: sda1
    [  101.691635] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [  101.722223] usb 1-1: USB disconnect, device number 19
    [  101.744565] scsi 0:0:0:0: rejecting I/O to offline device
    [  101.750032] scsi 0:0:0:0: [sda] killing request
    [  101.754756] scsi 0:0:0:0: [sda] UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
    [  101.762640] scsi 0:0:0:0: [sda] CDB: opcode=0x28 28 00 00 ef ff 80 00 00 08 00
    [  101.769941] blk_update_request: I/O error, dev sda, sector 15728512
    [  101.776852] Buffer I/O error on dev sda, logical block 1966064, async page read
    [  102.314435] usb 1-1: new full-speed USB device number 20 using musb-hdrc
    [  102.485404] usb 1-1: not running at top speed; connect to a high speed hub
    [  102.504918] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  102.529819] scsi host0: usb-storage 1-1:1.0
    [  103.606181] usb 1-1: USB disconnect, device number 20
    [  104.184525] usb 1-1: new full-speed USB device number 21 using musb-hdrc
    [  104.354903] usb 1-1: not running at top speed; connect to a high speed hub
    [  104.375351] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  104.401812] scsi host0: usb-storage 1-1:1.0
    [  105.166592] usb 1-1: USB disconnect, device number 21
    [  105.724477] usb 1-1: new full-speed USB device number 22 using musb-hdrc
    [  105.894928] usb 1-1: not running at top speed; connect to a high speed hub
    [  105.915349] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  105.941842] scsi host0: usb-storage 1-1:1.0
    [  106.811750] usb 1-1: USB disconnect, device number 22
    [  107.364485] usb 1-1: new full-speed USB device number 23 using musb-hdrc
    [  107.534979] usb 1-1: not running at top speed; connect to a high speed hub
    [  107.555352] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  107.581557] scsi host0: usb-storage 1-1:1.0
    [  108.507942] usb 1-1: USB disconnect, device number 23
    [  109.074471] usb 1-1: new full-speed USB device number 24 using musb-hdrc
    [  109.244927] usb 1-1: not running at top speed; connect to a high speed hub
    [  109.265331] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  109.291554] scsi host0: usb-storage 1-1:1.0
    [  110.257396] usb 1-1: USB disconnect, device number 24
    [  110.824488] usb 1-1: new full-speed USB device number 25 using musb-hdrc
    [  110.994932] usb 1-1: not running at top speed; connect to a high speed hub
    [  111.015338] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  111.041825] scsi host0: usb-storage 1-1:1.0
    [  111.852521] usb 1-1: USB disconnect, device number 25
    [  112.404491] usb 1-1: new full-speed USB device number 26 using musb-hdrc
    [  112.574960] usb 1-1: not running at top speed; connect to a high speed hub
    [  112.595349] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  112.621599] scsi host0: usb-storage 1-1:1.0
    [  113.327882] usb 1-1: USB disconnect, device number 26
    [  113.894475] usb 1-1: new full-speed USB device number 27 using musb-hdrc
    [  114.064931] usb 1-1: not running at top speed; connect to a high speed hub
    [  114.085427] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  114.112179] scsi host0: usb-storage 1-1:1.0
    [  114.995629] usb 1-1: USB disconnect, device number 27
    [  115.554489] usb 1-1: new full-speed USB device number 28 using musb-hdrc
    [  115.724939] usb 1-1: not running at top speed; connect to a high speed hub
    [  115.745347] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  115.771755] scsi host0: usb-storage 1-1:1.0
    [  116.588450] usb 1-1: USB disconnect, device number 28
    [  117.154491] usb 1-1: new full-speed USB device number 29 using musb-hdrc
    [  117.324931] usb 1-1: not running at top speed; connect to a high speed hub
    [  117.343784] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  117.364200] scsi host0: usb-storage 1-1:1.0
    [  118.222430] usb 1-1: USB disconnect, device number 29
    [  118.774477] usb 1-1: new full-speed USB device number 30 using musb-hdrc
    [  118.944911] usb 1-1: not running at top speed; connect to a high speed hub
    [  118.965349] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  118.991860] scsi host0: usb-storage 1-1:1.0
    [  119.764602] usb 1-1: USB disconnect, device number 30
    [  120.324484] usb 1-1: new full-speed USB device number 31 using musb-hdrc
    [  120.494923] usb 1-1: not running at top speed; connect to a high speed hub
    [  120.515359] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  120.541373] scsi host0: usb-storage 1-1:1.0
    [  121.413930] usb 1-1: USB disconnect, device number 31
    [  121.974492] usb 1-1: new full-speed USB device number 32 using musb-hdrc
    [  122.144926] usb 1-1: not running at top speed; connect to a high speed hub
    [  122.165329] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  122.191542] scsi host0: usb-storage 1-1:1.0
    [  123.114495] usb 1-1: USB disconnect, device number 32
    [  123.674499] usb 1-1: new full-speed USB device number 33 using musb-hdrc
    [  123.844927] usb 1-1: not running at top speed; connect to a high speed hub
    [  123.865334] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  123.892089] scsi host0: usb-storage 1-1:1.0
    [  124.755649] usb 1-1: USB disconnect, device number 33
    [  125.314495] usb 1-1: new full-speed USB device number 34 using musb-hdrc
    [  125.484937] usb 1-1: not running at top speed; connect to a high speed hub
    [  125.505349] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  125.531462] scsi host0: usb-storage 1-1:1.0
    [  126.378554] usb 1-1: USB disconnect, device number 34
    [  126.944486] usb 1-1: new full-speed USB device number 35 using musb-hdrc
    [  127.114945] usb 1-1: not running at top speed; connect to a high speed hub
    [  127.135344] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  127.161381] scsi host0: usb-storage 1-1:1.0
    [  127.827413] usb 1-1: USB disconnect, device number 35
    [  128.394475] usb 1-1: new full-speed USB device number 36 using musb-hdrc
    [  128.564932] usb 1-1: not running at top speed; connect to a high speed hub
    [  128.585342] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  128.611627] scsi host0: usb-storage 1-1:1.0
    [  129.339902] usb 1-1: USB disconnect, device number 36
    [  129.804498] usb 1-1: new full-speed USB device number 37 using musb-hdrc
    [  129.974900] usb 1-1: not running at top speed; connect to a high speed hub
    [  129.995345] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  130.021874] scsi host0: usb-storage 1-1:1.0
    [  130.720339] usb 1-1: USB disconnect, device number 37
    [  131.184492] usb 1-1: new full-speed USB device number 38 using musb-hdrc
    [  131.354934] usb 1-1: not running at top speed; connect to a high speed hub
    [  131.375324] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  131.401583] scsi host0: usb-storage 1-1:1.0
    [  131.813902] usb 1-1: USB disconnect, device number 38
    [  132.374470] usb 1-1: new full-speed USB device number 39 using musb-hdrc
    [  132.545011] usb 1-1: not running at top speed; connect to a high speed hub
    [  132.565330] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  132.591671] scsi host0: usb-storage 1-1:1.0
    [  133.295488] usb 1-1: USB disconnect, device number 39
    [  133.854487] usb 1-1: new full-speed USB device number 40 using musb-hdrc
    [  134.024950] usb 1-1: not running at top speed; connect to a high speed hub
    [  134.043857] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  134.064255] scsi host0: usb-storage 1-1:1.0
    [  134.956417] usb 1-1: USB disconnect, device number 40
    [  135.514483] usb 1-1: new full-speed USB device number 41 using musb-hdrc
    [  135.684942] usb 1-1: not running at top speed; connect to a high speed hub
    [  135.705351] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  135.731736] scsi host0: usb-storage 1-1:1.0
    [  136.355048] usb 1-1: USB disconnect, device number 41
    [  136.914486] usb 1-1: new full-speed USB device number 42 using musb-hdrc
    [  137.084902] usb 1-1: not running at top speed; connect to a high speed hub
    [  137.105347] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  137.131349] scsi host0: usb-storage 1-1:1.0
    [  137.738458] usb 1-1: USB disconnect, device number 42
    [  138.304497] usb 1-1: new full-speed USB device number 43 using musb-hdrc
    [  138.474935] usb 1-1: not running at top speed; connect to a high speed hub
    [  138.495327] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  138.521628] scsi host0: usb-storage 1-1:1.0
    [  139.290031] usb 1-1: USB disconnect, device number 43
    [  139.754495] usb 1-1: new full-speed USB device number 44 using musb-hdrc
    [  139.924953] usb 1-1: not running at top speed; connect to a high speed hub
    [  139.945349] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  139.971371] scsi host0: usb-storage 1-1:1.0
    [  140.656838] usb 1-1: USB disconnect, device number 44
    [  141.214476] usb 1-1: new full-speed USB device number 45 using musb-hdrc
    [  141.384929] usb 1-1: not running at top speed; connect to a high speed hub
    [  141.405351] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  141.431347] scsi host0: usb-storage 1-1:1.0
    [  141.896514] usb 1-1: USB disconnect, device number 45
    [  142.454473] usb 1-1: new full-speed USB device number 46 using musb-hdrc
    [  142.624932] usb 1-1: not running at top speed; connect to a high speed hub
    [  142.645354] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  142.671644] scsi host0: usb-storage 1-1:1.0
    [  143.335402] usb 1-1: USB disconnect, device number 46
    [  143.894470] usb 1-1: new full-speed USB device number 47 using musb-hdrc
    [  144.064908] usb 1-1: not running at top speed; connect to a high speed hub
    [  144.085420] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  144.111564] scsi host0: usb-storage 1-1:1.0
    [  144.769453] usb 1-1: USB disconnect, device number 47
    [  145.234510] usb 1-1: new full-speed USB device number 48 using musb-hdrc
    [  145.404901] usb 1-1: not running at top speed; connect to a high speed hub
    [  145.425337] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  145.452147] scsi host0: usb-storage 1-1:1.0
    [  146.080022] usb 1-1: USB disconnect, device number 48
    [  146.544488] usb 1-1: new full-speed USB device number 49 using musb-hdrc
    [  146.714935] usb 1-1: not running at top speed; connect to a high speed hub
    [  146.735348] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  146.761696] scsi host0: usb-storage 1-1:1.0
    [  147.333432] usb 1-1: USB disconnect, device number 49
    [  147.894482] usb 1-1: new full-speed USB device number 50 using musb-hdrc
    [  148.064917] usb 1-1: not running at top speed; connect to a high speed hub
    [  148.085344] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  148.111420] scsi host0: usb-storage 1-1:1.0
    [  148.768562] usb 1-1: USB disconnect, device number 50
    [  149.334471] usb 1-1: new full-speed USB device number 51 using musb-hdrc
    [  149.504911] usb 1-1: not running at top speed; connect to a high speed hub
    [  149.525342] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  149.551461] scsi host0: usb-storage 1-1:1.0
    [  150.205785] usb 1-1: USB disconnect, device number 51
    [  150.764477] usb 1-1: new full-speed USB device number 52 using musb-hdrc
    [  150.934920] usb 1-1: not running at top speed; connect to a high speed hub
    [  150.955342] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  150.981736] scsi host0: usb-storage 1-1:1.0
    [  151.730869] usb 1-1: USB disconnect, device number 52
    [  152.194471] usb 1-1: new full-speed USB device number 53 using musb-hdrc
    [  152.364931] usb 1-1: not running at top speed; connect to a high speed hub
    [  152.385334] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  152.411480] scsi host0: usb-storage 1-1:1.0
    [  152.951824] usb 1-1: USB disconnect, device number 53
    [  153.504543] usb 1-1: new full-speed USB device number 54 using musb-hdrc
    [  153.674935] usb 1-1: not running at top speed; connect to a high speed hub
    [  153.695344] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  153.721684] scsi host0: usb-storage 1-1:1.0
    [  154.474760] usb 1-1: USB disconnect, device number 54
    [  155.034543] usb 1-1: new full-speed USB device number 55 using musb-hdrc
    [  155.204941] usb 1-1: not running at top speed; connect to a high speed hub
    [  155.225358] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  155.252139] scsi host0: usb-storage 1-1:1.0
    [  155.871161] usb 1-1: USB disconnect, device number 55
    [  156.424501] usb 1-1: new full-speed USB device number 56 using musb-hdrc
    [  156.594951] usb 1-1: not running at top speed; connect to a high speed hub
    [  156.615344] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  156.641590] scsi host0: usb-storage 1-1:1.0
    [  157.283643] usb 1-1: USB disconnect, device number 56
    [  157.844473] usb 1-1: new full-speed USB device number 57 using musb-hdrc
    [  158.014910] usb 1-1: not running at top speed; connect to a high speed hub
    [  158.035355] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  158.061349] scsi host0: usb-storage 1-1:1.0
    [  158.676311] usb 1-1: USB disconnect, device number 57
    [  159.234489] usb 1-1: new full-speed USB device number 58 using musb-hdrc
    [  159.404970] usb 1-1: not running at top speed; connect to a high speed hub
    [  159.425345] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  159.451657] scsi host0: usb-storage 1-1:1.0
    [  160.129370] usb 1-1: USB disconnect, device number 58
    [  160.594489] usb 1-1: new full-speed USB device number 59 using musb-hdrc
    [  160.764952] usb 1-1: not running at top speed; connect to a high speed hub
    [  160.785329] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  160.811534] scsi host0: usb-storage 1-1:1.0
    [  161.302961] usb 1-1: USB disconnect, device number 59
    [  161.854490] usb 1-1: new full-speed USB device number 60 using musb-hdrc
    [  162.024936] usb 1-1: not running at top speed; connect to a high speed hub
    [  162.045350] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  162.071462] scsi host0: usb-storage 1-1:1.0
    [  162.539337] usb 1-1: USB disconnect, device number 60
    [  163.004494] usb 1-1: new full-speed USB device number 61 using musb-hdrc
    [  163.174904] usb 1-1: not running at top speed; connect to a high speed hub
    [  163.195363] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  163.222360] scsi host0: usb-storage 1-1:1.0
    [  163.560545] usb 1-1: USB disconnect, device number 61
    [  164.024474] usb 1-1: new full-speed USB device number 62 using musb-hdrc
    [  164.195010] usb 1-1: not running at top speed; connect to a high speed hub
    [  164.214278] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  164.241729] scsi host0: usb-storage 1-1:1.0
    [  164.975063] usb 1-1: USB disconnect, device number 62
    [  165.534474] usb 1-1: new full-speed USB device number 63 using musb-hdrc
    [  165.704955] usb 1-1: not running at top speed; connect to a high speed hub
    [  165.725316] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  165.752499] scsi host0: usb-storage 1-1:1.0
    [  166.485505] usb 1-1: USB disconnect, device number 63
    [  167.044481] usb 1-1: new full-speed USB device number 64 using musb-hdrc
    [  167.214925] usb 1-1: not running at top speed; connect to a high speed hub
    [  167.235331] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  167.261754] scsi host0: usb-storage 1-1:1.0
    [  167.904603] usb 1-1: USB disconnect, device number 64
    [  168.464487] usb 1-1: new full-speed USB device number 65 using musb-hdrc
    [  168.634931] usb 1-1: not running at top speed; connect to a high speed hub
    [  168.655331] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  168.681744] scsi host0: usb-storage 1-1:1.0
    [  169.592055] usb 1-1: USB disconnect, device number 65
    [  170.144472] usb 1-1: new full-speed USB device number 66 using musb-hdrc
    [  170.314938] usb 1-1: not running at top speed; connect to a high speed hub
    [  170.335425] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  170.361457] scsi host0: usb-storage 1-1:1.0
    [  171.212608] usb 1-1: USB disconnect, device number 66
    [  171.764478] usb 1-1: new full-speed USB device number 67 using musb-hdrc
    [  171.934963] usb 1-1: not running at top speed; connect to a high speed hub
    [  171.955338] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  171.981553] scsi host0: usb-storage 1-1:1.0
    [  172.680989] usb 1-1: USB disconnect, device number 67
    [  173.234505] usb 1-1: new full-speed USB device number 68 using musb-hdrc
    [  173.404935] usb 1-1: not running at top speed; connect to a high speed hub
    [  173.425349] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  173.451509] scsi host0: usb-storage 1-1:1.0
    [  174.315706] usb 1-1: USB disconnect, device number 68
    [  174.874478] usb 1-1: new full-speed USB device number 69 using musb-hdrc
    [  175.044925] usb 1-1: not running at top speed; connect to a high speed hub
    [  175.065350] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  175.091787] scsi host0: usb-storage 1-1:1.0
    [  175.871686] usb 1-1: USB disconnect, device number 69
    [  176.424479] usb 1-1: new full-speed USB device number 70 using musb-hdrc
    [  176.594954] usb 1-1: not running at top speed; connect to a high speed hub
    [  176.615355] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  176.641677] scsi host0: usb-storage 1-1:1.0
    [  176.995998] usb 1-1: USB disconnect, device number 70
    [  177.544495] usb 1-1: new full-speed USB device number 71 using musb-hdrc
    [  177.714936] usb 1-1: not running at top speed; connect to a high speed hub
    [  177.735358] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  177.761632] scsi host0: usb-storage 1-1:1.0
    [  178.279046] usb 1-1: USB disconnect, device number 71
    [  178.834476] usb 1-1: new full-speed USB device number 72 using musb-hdrc
    [  179.004940] usb 1-1: not running at top speed; connect to a high speed hub
    [  179.025320] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  179.052017] scsi host0: usb-storage 1-1:1.0
    [  179.605241] usb 1-1: USB disconnect, device number 72
    [  180.164472] usb 1-1: new full-speed USB device number 73 using musb-hdrc
    [  180.334942] usb 1-1: not running at top speed; connect to a high speed hub
    [  180.355366] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  180.381491] scsi host0: usb-storage 1-1:1.0
    [  180.844760] usb 1-1: USB disconnect, device number 73
    [  181.404471] usb 1-1: new full-speed USB device number 74 using musb-hdrc
    [  181.574895] usb 1-1: not running at top speed; connect to a high speed hub
    [  181.595349] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  181.621884] scsi host0: usb-storage 1-1:1.0
    [  182.281457] usb 1-1: USB disconnect, device number 74
    [  182.834481] usb 1-1: new full-speed USB device number 75 using musb-hdrc
    [  183.004935] usb 1-1: not running at top speed; connect to a high speed hub
    [  183.025349] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  183.052171] scsi host0: usb-storage 1-1:1.0
    [  183.512875] usb 1-1: USB disconnect, device number 75
    [  184.074485] usb 1-1: new full-speed USB device number 76 using musb-hdrc
    [  184.244949] usb 1-1: not running at top speed; connect to a high speed hub
    [  184.265354] usb-storage 1-1:1.0: USB Mass Storage device detected
    [  184.291472] scsi host0: usb-storage 1-1:1.0
    [  184.930683] usb 1-1: USB disconnect, device number 76
    [  185.394489] usb 1-1: new full-speed USB device number 77 using musb-hdrc
    [  185.564904] usb 1-1: not running at top speed; connect to a high speed hub
    [  185.585347] usb-storage 1-1:1.0: USB Mass Storage device detected

  • The log shows the thumb drive is not enumerated properly, so the kernel SCSI layer driver keeps resetting the device trying to re-enumerate it.

    Unless the thumb drive is corrupted, likely your board has signal integrity problem as you mentioned earlier.