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.

USB 3 port file copy leads to kernel Panic with Processor SDK

Expert 1010 points
Other Parts Discussed in Thread: 66AK2E05

Hi,

I am continuing to port from MCSDK to Processor SDK Environment on our custom board with 66AK2E05 and I have a new Problem with USB.

After installing default Image for k2e-evm and NAND u-boot, I started Linux and all seems to be fine but when I insert a USB stick and try to copy the file from it to the board, it is leading to a kernel panic:

[   97.013444] xhci-hcd xhci-hcd.0.auto: xHCI host not responding to stop endpoint command.
[   97.013444] xhci-hcd xhci-hcd.0.auto: xHCI host not responding to stop endpoint command.
[   97.021528] xhci-hcd xhci-hcd.0.auto: Assuming host is dying, halting host.
[   97.047856] Unable to handle kernel paging request at virtual address bdde9000

Here is the whole log:

KernelPanicUSB.txt
U-Boot 2015.07-00080-g37443f5-dirty (Oct 14 2016 - 11:07:13 +0200)

CPU: 66AK2Ex SR1.0
I2C:   ready
DRAM:  DDR3A Speed will be configured for 1600 Operation.
Detected SO-DIMM [9965526-017.A00LF ]
DDR3 speed 1600
DRAM: 4 GiB

Clear entire DDR3 memory to enable ECC
2 GiB
NAND:  512 MiB
Net:   Phy 1 not found
Phy 2 not found
Phy 3 not found
Phy 4 not found
Phy 5 not found
Phy 6 not found
Phy 7 not found
K2E_EMAC0, K2E_EMAC1
Error: K2E_EMAC1 address not set.
, K2E_EMAC2
Error: K2E_EMAC2 address not set.
, K2E_EMAC3
Error: K2E_EMAC3 address not set.
, K2E_EMAC4
Error: K2E_EMAC4 address not set.
, K2E_EMAC5
Error: K2E_EMAC5 address not set.
, K2E_EMAC6
Error: K2E_EMAC6 address not set.
, K2E_EMAC7
Error: K2E_EMAC7 address not set.

Hit any key to stop autoboot:  1  0 
UBI: attaching mtd1 to ubi0
UBI: scanning is finished
UBI: attached mtd1 (name "mtd=2", size 510 MiB) to ubi0
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 4080, bad PEBs: 4, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1235418586
UBI: available PEBs: 0, total reserved PEBs: 4080, PEBs reserved for bad PEB handling: 40
Loading file '/boot/k2-fw-initrd.cpio.gz' to addr 0x88080000 with size 3231 (0x00000c9f)...
Done
Loading file '/boot/k2e-evm.dtb' to addr 0x88000000 with size 32009 (0x00007d09)...
Done
Loading file '/boot/skern-k2e.bin' to addr 0x0c140000 with size 45056 (0x0000b000)...
Done
Loading file '/boot/zImage' to addr 0x82000000 with size 3691144 (0x00385288)...
Done
K2_BM_15.07-39-g035329c SoC:k2e built:17:57:33, Jan  8 2016

## installed monitor, freq [208333333], status 0
Kernel image @ 0x82000000 [ 0x000000 - 0x385288 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Ramdisk to 8ffff000, end 8ffffc9f ... OK
   Loading Device Tree to 8fff4000, end 8fffed08 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.1.13-g8dc6617 (gtbldadm@ubuntu-12) (gcc version 4.9.3 20150413 (prerelease) (Linaro GCC 4.9-2015.05) ) #1 SMP PREEMPT Fri Jan 8 18:22:55 EST 2016
[    0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine model: Texas Instruments Keystone 2 Edison EVM
[    0.000000] Switching physical address space to 0x800000000
[    0.000000] Reserved memory: created CMA memory pool at 0x000000081f800000, size 8 MiB
[    0.000000] Reserved memory: initialized node dsp_common_cma_pool, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000820000000, size 512 MiB
[    0.000000] Reserved memory: initialized node dsp_reserved_mpm_area, compatible id shared-dma-pool
[    0.000000] cma: Reserved 16 MiB at 0x000000085f000000
[    0.000000] Forcing write-allocate cache policy for SMP
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] PERCPU: Embedded 11 pages/cpu @dd79f000 s13120 r8192 d23744 u45056
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 784912
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 rootfstype=ubifs root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,2048
[    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 12288 bytes
[    0.000000] log_buf_len min size: 16384 bytes
[    0.000000] log_buf_len: 32768 bytes
[    0.000000] early log buf free: 14216(86%)
[    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: 3088160K/3145728K available (5099K kernel code, 192K rwdata, 1832K rodata, 248K init, 162K bss, 32992K reserved, 24576K cma-reserved, 2605056K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc06cd094   (6933 kB)
[    0.000000]       .init : 0xc06ce000 - 0xc070c000   ( 248 kB)
[    0.000000]       .data : 0xc070c000 - 0xc073c308   ( 193 kB)
[    0.000000]        .bss : 0xc073f000 - 0xc0767b8c   ( 163 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Additional per-CPU info printed with stalls.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Architected cp15 timer(s) running at 208.33MHz (virt).
[    0.000000] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x300c4cdf1c, max_idle_ns: 440795202901 ns
[    0.000003] sched_clock: 56 bits at 208MHz, resolution 4ns, wraps every 4398046511101ns
[    0.000011] Switching to timer-based delay loop, resolution 4ns
[    0.000140] keystone timer clock @208333333 Hz
[    0.000329] Console: colour dummy device 80x30
[    0.000346] Calibrating delay loop (skipped), value calculated using timer frequency.. 416.66 BogoMIPS (lpj=2083333)
[    0.000357] pid_max: default: 4096 minimum: 301
[    0.000429] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000437] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000862] Initializing cgroup subsys blkio
[    0.000875] Initializing cgroup subsys devices
[    0.000887] Initializing cgroup subsys freezer
[    0.000904] CPU: Testing write buffer coherency: ok
[    0.001083] /cpus/cpu@0 missing clock-frequency property
[    0.001105] /cpus/cpu@1 missing clock-frequency property
[    0.001126] /cpus/cpu@2 missing clock-frequency property
[    0.001147] /cpus/cpu@3 missing clock-frequency property
[    0.001156] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001182] Setting up static identity map for 0x800082c0 - 0x800083cc
[    0.064873] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.084895] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.104919] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.105003] Brought up 4 CPUs
[    0.105020] SMP: Total of 4 processors activated (1666.66 BogoMIPS).
[    0.105027] CPU: All CPU(s) started in SVC mode.
[    0.105374] devtmpfs: initialized
[    0.112406] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[    0.112741] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.113402] pinctrl core: initialized pinctrl subsystem
[    0.114136] NET: Registered protocol family 16
[    0.114885] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.122128] irq: no irq domain found for /soc/keystone_irq@26202a0 !
[    0.129885] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.129893] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.140088] vgaarb: loaded
[    0.140394] SCSI subsystem initialized
[    0.140836] usbcore: registered new interface driver usbfs
[    0.140932] usbcore: registered new interface driver hub
[    0.141044] usbcore: registered new device driver usb
[    0.142299] pps_core: LinuxPPS API ver. 1 registered
[    0.142306] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.142366] PTP clock support registered
[    0.143496] Switched to clocksource arch_sys_counter
[    0.154593] NET: Registered protocol family 2
[    0.155104] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.155137] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.155190] TCP: Hash tables configured (established 4096 bind 4096)
[    0.155227] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.155244] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.155368] NET: Registered protocol family 1
[    0.155536] RPC: Registered named UNIX socket transport module.
[    0.155544] RPC: Registered udp transport module.
[    0.155549] RPC: Registered tcp transport module.
[    0.155554] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.155729] Trying to unpack rootfs image as initramfs...
[    0.156208] Freeing initrd memory: 4K (cffff000 - d0000000)
[    0.156334] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
[    0.156363] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[    0.157200] platform alarmtimer: set dma_pfn_offset00780000
[    0.157891] futex hash table entries: 16 (order: -2, 1024 bytes)
[    0.167611] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.167701] ntfs: driver 2.1.32 [Flags: R/O].
[    0.167982] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.169417] NET: Registered protocol family 38
[    0.169475] bounce: pool size: 64 pages
[    0.169674] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.169687] io scheduler noop registered
[    0.169697] io scheduler deadline registered
[    0.169726] io scheduler cfq registered (default)
[    0.169856] keystone_irq soc:keystone_irq@26202a0: irqchip registered, nr_irqs 28
[    0.172537] keystone-pcie 21021000.pcie: missing *config* reg space
[    0.172557] Requested IO range too big, new size set to 64K
[    0.372597] keystone-pcie 21021000.pcie: phy link never came up
[    0.372815] keystone-pcie 21021000.pcie: PCI host bridge to bus 0000:00
[    0.372826] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.372835] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    0.372844] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.373140] PCI: bus0: Fast back to back transfers disabled
[    0.373285] PCI: bus1: Fast back to back transfers enabled
[    0.373351] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.373600] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[    0.374008] keystone-navigator-qmss soc:qmss@2a40000: qmgr start queue 0, number of queues 8192
[    0.374132] keystone-navigator-qmss soc:qmss@2a40000: added qmgr start queue 0, num of queues 8192, reg_peek f0180000, reg_status f014e000, reg_config f0150000, reg_region f0152000, reg_push f01c0000, reg_pop f0200000
[    0.374272] keystone-navigator-qmss soc:qmss@2a40000: firmware file ks2_qmss_pdsp_acc48.bin downloaded for PDSP
[    0.375951] keystone-navigator-dma soc:knav_dmas@0: DMA dma_gbe registered 149 logical channels, flows 128, tx chans: 21, rx chans: 91
[    0.376064] keystone-navigator-dma soc:knav_dmas@0: DMA dma_xgbe registered 48 logical channels, flows 32, tx chans: 16, rx chans: 16
[    0.424562] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.424641] platform serial8250: set dma_pfn_offset00780000
[    0.426069] console [ttyS0] disabled
[    0.426128] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 26, base_baud = 13020833) is a 16550A
[    1.255003] console [ttyS0] enabled
[    1.259137] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 27, base_baud = 13020833) is a 16550A
[    1.275047] brd: module loaded
[    1.281966] loop: module loaded
[    1.285271] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write
[    1.293844] m25p80 spi32766.0: unrecognized JEDEC id bytes: 00,  0,  0
[    1.300384] spi_davinci 21000400.spi: Controller at 0xf017c400
[    1.306642] spi_davinci 21000600.spi: Controller at 0xf017e600
[    1.312868] spi_davinci 21000800.spi: Controller at 0xf01bc800
[    1.363512] davinci_mdio 24200f00.mdio: davinci mdio revision 1.7
[    1.369598] libphy: 24200f00.mdio: probed
[    1.374050] davinci_mdio 24200f00.mdio: phy[0]: device 24200f00.mdio:00, driver Marvell 88E1510
[    1.893500] ti,keystone-serdes 232a000.phy: lane 1 wait rx valid failed: -110
[    1.900628] ti,keystone-serdes 232a000.phy: serdes lanes enable failed: -110
[    1.907681] phy phy-232a000.phy.1: phy init failed --> -110
[    1.913247] netcp-1.0 2620110.netcp: Probe of module(netcp-gbe) failed with -110
[    1.920650] netcp-1.0 2620110.netcp: module(netcp-xgbe) not used for device
[    1.927705] 2620738.usb_phy supply vcc not found, using dummy regulator
[    1.934415] 2620750.usb_phy supply vcc not found, using dummy regulator
[    2.342097] platform xhci-hcd.0.auto: set dma_pfn_offset00780000
[    2.748824] platform xhci-hcd.1.auto: set dma_pfn_offset00780000
[    2.755523] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.761146] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    2.769102] xhci-hcd xhci-hcd.0.auto: hcc params 0x0298f06d hci version 0x100 quirks 0x00210010
[    2.777821] xhci-hcd xhci-hcd.0.auto: irq 34, io mem 0x02690000
[    2.783882] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.790662] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.797892] usb usb1: Product: xHCI Host Controller
[    2.802763] usb usb1: Manufacturer: Linux 4.1.13-g8dc6617 xhci-hcd
[    2.808948] usb usb1: SerialNumber: xhci-hcd.0.auto
[    2.814281] hub 1-0:1.0: USB hub found
[    2.818050] hub 1-0:1.0: 1 port detected
[    2.822239] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.827880] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    2.835602] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.843796] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    2.850577] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.857803] usb usb2: Product: xHCI Host Controller
[    2.862673] usb usb2: Manufacturer: Linux 4.1.13-g8dc6617 xhci-hcd
[    2.868856] usb usb2: SerialNumber: xhci-hcd.0.auto
[    2.874136] hub 2-0:1.0: USB hub found
[    2.877904] hub 2-0:1.0: 1 port detected
[    2.882129] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.887759] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    2.895622] xhci-hcd xhci-hcd.1.auto: hcc params 0x0298f06d hci version 0x100 quirks 0x00210010
[    2.904333] xhci-hcd xhci-hcd.1.auto: irq 68, io mem 0x25010000
[    2.910365] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    2.917216] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.924443] usb usb3: Product: xHCI Host Controller
[    2.929313] usb usb3: Manufacturer: Linux 4.1.13-g8dc6617 xhci-hcd
[    2.935494] usb usb3: SerialNumber: xhci-hcd.1.auto
[    2.940753] hub 3-0:1.0: USB hub found
[    2.944531] hub 3-0:1.0: 1 port detected
[    2.948716] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.954338] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[    2.962043] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.970234] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[    2.977123] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.984351] usb usb4: Product: xHCI Host Controller
[    2.989222] usb usb4: Manufacturer: Linux 4.1.13-g8dc6617 xhci-hcd
[    2.995403] usb usb4: SerialNumber: xhci-hcd.1.auto
[    3.000678] hub 4-0:1.0: USB hub found
[    3.004476] hub 4-0:1.0: 1 port detected
[    3.008786] usbcore: registered new interface driver usb-storage
[    3.015226] mousedev: PS/2 mouse device common for all mice
[    3.021001] i2c /dev entries driver
[    3.025342] davinci-wdt 22f0080.wdt: heartbeat 60 sec
[    3.032229] keystone-crypto 24080000.crypto: crypto accelerator enabled
[    3.039096] usbcore: registered new interface driver usbhid
[    3.044753] usbhid: USB HID core driver
[    3.049682] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xac
[    3.056043] nand: Micron MT29F4G08ABBDAHC
[    3.060045] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    3.067907] Bad block table found at page 262080, version 0x01
[    3.074314] Bad block table found at page 262016, version 0x01
[    3.080457] 3 ofpart partitions found on MTD device 30000000.nand
[    3.086553] Creating 3 MTD partitions on "30000000.nand":
[    3.091945] 0x000000000000-0x000000100000 : "u-boot"
[    3.097656] 0x000000100000-0x000000180000 : "params"
[    3.103318] 0x000000180000-0x000020000000 : "ubifs"
[    3.109397] davinci_nand 30000000.nand: controller rev. 2.5
[    3.115230] platform oprofile-perf.0: set dma_pfn_offset00780000
[    3.121409] oprofile: using timer interrupt.
[    3.125824] ipip: IPv4 over IPv4 tunneling driver
[    3.130935] gre: GRE over IPv4 demultiplexor driver
[    3.135832] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    3.142441] Initializing XFRM netlink socket
[    3.146732] NET: Registered protocol family 17
[    3.151185] NET: Registered protocol family 15
[    3.155761] Registering SWP/SWPB emulation handler
[    3.161665] ubi0: attaching mtd2
[    3.293905] usb 1-1: New USB device found, idVendor=0451, idProduct=8142
[    3.300600] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
[    3.307770] usb 1-1: SerialNumber: BD0B00599C0C
[    3.315861] hub 1-1:1.0: USB hub found
[    3.319689] hub 1-1:1.0: 4 ports detected
[    5.274789] ubi0: scanning is finished
[    5.287079] ubi0 warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 40, need 76
[    5.299447] ubi0: attached mtd2 (name "ubifs", size 510 MiB)
[    5.305115] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    5.311981] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    5.318771] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    5.325731] ubi0: good PEBs: 4080, bad PEBs: 4, corrupted PEBs: 0
[    5.331814] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[    5.339036] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1235418586
[    5.348167] ubi0: available PEBs: 0, total reserved PEBs: 4080, PEBs reserved for bad PEB handling: 40
[    5.357483] ubi0: background thread "ubi_bgt0d" started, PID 1234
[    5.370556] UBIFS: parse sync
[    5.374160] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 1236
[    5.406155] UBIFS (ubi0:0): recovery needed
[    5.490168] UBIFS (ubi0:0): recovery completed
[    5.494687] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[    5.502075] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    5.511990] UBIFS (ubi0:0): FS size: 488222720 bytes (465 MiB, 3845 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[    5.522681] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
[    5.528515] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID C5DFB81E-F521-4D5A-848B-9CB6034DFFBF, small LPT model
[    5.540393] VFS: Mounted root (ubifs filesystem) on device 0:14.
[    5.547747] devtmpfs: mounted
[    5.550834] Freeing unused kernel memory: 248K (c06ce000 - c070c000)

INIT: version 2.88 booting

Starting udev
udev: Not using udev cache because of changes detected in the following files:
udev:     /proc/version /proc/cmdline /proc/devices
udev:     lib/udev/rules.d/* etc/udev/rules.d/*
udev: The udev cache will be regenerated. To identify the detected changes,
udev: compare the cached sysconf at   /etc/udev/cache.data
udev: against the current sysconf at  /dev/shm/udev.cache
[    6.140887] udevd[1265]: starting version 182
[    6.333304] keystone-rproc 10800000.dsp0: assigned reserved memory node dsp_common_cma_pool
[    6.370334]  remoteproc0: 10800000.dsp0 is available
[    6.393515]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[    6.402475]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    6.464064] uio_module_drv soc:mpax: registered misc device mpax
[    6.470411] keystone-dsp-mem c000000.dspmem: registered misc device dspmem
[    6.479384] uio_module_drv soc:edma3: registered misc device edma3
[    6.501954] uio_module_drv soc:secmgr: registered misc device secmgr
[    6.515013] uio_module_drv soc:qmss: registered misc device qmss
[    6.967456] CMEMK module: reference Linux version 4.1.13
[    6.973100] allocated heap buffer 0xc000000 of size 0x180000
[    6.978816] cmemk initialized
[    6.998024] cryptodev: driver 1.6 loaded.
[    7.050584] NET: Registered protocol family 41
Starting random number generator daemon.

[    7.164027] random: dd urandom read with 66 bits of entropy available
Populating dev cache

Sat Jan  9 00:19:01 UTC 2016


INIT: Entering runlevel: 5


Configuring network interfaces... ifconfig: SIOCGIFFLAGS: No such device

done.

Starting system message bus: dbus.

Starting Dropbear SSH server: [    7.736499] NET: Registered protocol family 10
dropbear.

Starting mpmsrv daemon.

platform: k2e-evm

Starting softhsm daemon.

Starting telnet daemon.

Starting tiipclad daemon

GateMP is not supported for this device



Opened log file: lad.txt



numProcessors = 2 id = 0 baseId = 0



Spawned daemon: /usr/bin/lad_66ak2e



.

Starting rpcbind daemon...done.

starting statd: done

Starting thttpd.

Starting Lighttpd Web Server: lighttpd.

2016-01-09 00:19:02: (/home/gtbldadm/processor-sdk-linux-fido-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/lighttpd/1.4.35-r1/lighttpd-1.4.35/src/log.c.164) server started 

* starting FTP Server: vsftpd... done.

 

 

#>>>>> LCD 12

IP Address:



Enabling thermal zones...

/etc/rc5.d/S98thermal-zone-init: line 7: /sys/class/thermal/thermal_zone*/mode: No such file or directory

***************************************************************

***************************************************************

NOTICE: This file system contains the following GPLv3 packages:

	autoconf

	binutils-dev

	binutils

	bison-dev

	bison

	cpp-symlinks

	cpp

	g++-symlinks

	g++

	gawk-dev

	gawk

	gcc-symlinks

	gcc

	gdb

	gdbc6x

	gdbserver

	libgmp10

	libmpc3

	libmpfr4

	make



If you do not wish to distribute GPLv3 components please remove

the above packages prior to distribution.  This can be done using

the opkg remove command.  i.e.:

    opkg remove <package>

Where <package> is the name printed in the list above



NOTE: If the package is a dependency of another package you

      will be notified of the dependent packages.  You should

      use the --force-removal-of-dependent-packages option to

      also remove the dependent packages as well

***************************************************************

***************************************************************



 _____                    _____           _         _   

|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 

|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|

|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  

              |___|                    |___|            



Arago Project http://arago-project.org k2e-evm /dev/ttyS0



Arago 2015.12 k2e-evm /dev/ttyS0



k2e-evm login: root
root@k2e-evm:~# uname -r
4.1.13-g8dc6617
root@k2e-evm:~# cp /run/media/sda1/dtb/Processor\ SDK/k2e-evm.dtb ./
[   97.013444] xhci-hcd xhci-hcd.0.auto: xHCI host not responding to stop endpoint command.
[   97.021528] xhci-hcd xhci-hcd.0.auto: Assuming host is dying, halting host.
[   97.047856] Unable to handle kernel paging request at virtual address bdde9000
[   97.055069] pgd = c0003000
[   97.057768] [bdde9000] *pgd=80000800006003, *pmd=00000000
[   97.063170] Internal error: Oops: 2a06 [#1] PREEMPT SMP ARM
[   97.068733] Modules linked in: ipv6 rpmsg_proto virtio_rpmsg_bus hplibmod(O) gdbserverproxy(O) cryptodev(O) cmemk(O) keystone_dsp_mem uio_module_drv(O) keystone_remoteproc uio remoteproc virtio virtio_ring
[   97.087048] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G           O    4.1.13-g8dc6617 #1
[   97.094953] Hardware name: Keystone
[   97.098434] task: c0710c30 ti: c070c000 task.ti: c070c000
[   97.103829] PC is at v7_dma_inv_range+0x30/0x48
[   97.108354] LR is at dma_cache_maint_page+0x9c/0x134
[   97.113311] pc : [<c001f410>]    lr : [<c001ad2c>]    psr: 40010193
[   97.113311] sp : c070dc20  ip : c070dc20  fp : c070dc54
[   97.124776] r10: c070e480  r9 : c0710944  r8 : c074e0c0
[   97.129992] r7 : c073a0c0  r6 : 00000000  r5 : 00001000  r4 : 007fdde9
[   97.136511] r3 : 0000003f  r2 : 00000040  r1 : bddea000  r0 : bdde9000
[   97.143029] Flags: nZcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[   97.150415] Control: 30c5387d  Table: 1cad0800  DAC: fffffffd
[   97.156152] Process swapper/0 (pid: 0, stack limit = 0xc070c210)
[   97.162149] Stack: (0xc070dc20 to 0xc070e000)
[   97.166499] dc20: ffeff000 00000002 c070dc9c 00000000 c0710944 c074e0c0 00001000 dd7b0d20
[   97.174667] dc40: 00000002 00000002 c070dc84 c070dc58 c001afc0 c001ac9c c001f4a0 00000000
[   97.182836] dc60: dd7f5000 00000002 00000000 c0712014 00000008 dc972610 c070dc9c c070dc88
[   97.191004] dc80: c001bd94 c001af40 dbce3410 00000002 c070dcd4 c070dca0 c001bc08 c001bd44
[   97.199172] dca0: 00000000 ffffff94 dd0f7000 dbdea900 c001bba4 00000000 ffffff98 dd0f7000
[   97.207339] dcc0: 00000002 dd0f7160 c070dcfc c070dcd8 c03794b8 c001bbb0 00000000 dbe24d80
[   97.215506] dce0: dbdea900 dd0f7000 00000000 ffffff98 c070dd0c c070dd00 c03795c0 c0379450
[   97.223673] dd00: c070dd2c c070dd10 c0379604 c03795a4 dd0f7000 dbdea900 dd0f718c ffffff94
[   97.231841] dd20: c070dd4c c070dd30 c0379728 c03795d0 dbe11d00 dbdea900 dd0f718c ffffff94
[   97.240009] dd40: c070dd7c c070dd50 c039de20 c03796ec f02b0024 00000587 c071cccc dc39ec80
[   97.248176] dd60: dc39eca0 dd0f7160 dc1d9104 00000003 c070dd9c c070dd80 c039deb4 c039dd8c
[   97.256343] dd80: dc39ec80 dc1d9000 c039ebdc dc1d90e0 c070ddf4 c070dda0 c039ee78 c039de54
[   97.264511] dda0: 00000002 00262568 6fe5eb3e 00010113 dd0f718c 00000003 dd0f7248 00000100
[   97.272678] ddc0: 00000020 dc1d9000 c070de04 dc1d9114 00000101 c039ebdc 00000000 00200200
[   97.280847] dde0: dc1d90f4 c039ebdc c070de1c c070ddf8 c006f27c c039ebe8 c070de1c c070de08
[   97.289014] de00: c070e100 dc1d9114 c0745940 c070de28 c070de5c c070de20 c006f714 c006f25c
[   97.297182] de20: 963f2654 c070e100 dd0f71cc dd0f71cc dd79f920 00000020 c070e084 c070c000
[   97.305350] de40: 00000101 00000001 40000001 c070e080 c070debc c070de60 c0029d28 c006f56c
[   97.313518] de60: dd003d80 c071cf00 00200000 c070e100 ffffb0b7 c05046b4 0000000a c073f9c0
[   97.321686] de80: c0708348 c070e080 c070de60 c070c020 c0064cb4 c0709098 00000012 00000000
[   97.329853] dea0: 00000000 dd008000 c073be5d c070e4f4 c070ded4 c070dec0 c002a0f0 c0029bf4
[   97.338022] dec0: c0709098 00000012 c070defc c070ded8 c0060ea0 c002a07c f000400c c070e7e4
[   97.346189] dee0: c070df20 f0004000 c070df78 c073be5d c070df1c c070df00 c0009424 c0060e44
[   97.354357] df00: c001019c 60010013 ffffffff c070df54 c070df74 c070df20 c04ff740 c0009404
[   97.362525] df20: 00000000 00000000 00000000 c001fbe0 c070c000 c070e4ac c0708384 c0504624
[   97.370692] df40: c070df78 c073be5d c070e4f4 c070df74 c070df78 c070df68 c0010198 c001019c
[   97.378860] df60: 60010013 ffffffff c070df8c c070df78 c00591e0 c0010168 00000002 00000000
[   97.387028] df80: c070dfa4 c070df90 c04f6a48 c00590d4 c073f050 00000001 c070dff4 c070dfa8
[   97.395194] dfa0: c06ced28 c04f69c4 ffffffff ffffffff c06ce6d4 00000000 ffffffff 00000000
[   97.403362] dfc0: 00000000 c0701350 00000000 c073f294 c070e484 c070134c c0711d68 80007000
[   97.411529] dfe0: 412fc0f4 00000000 00000000 c070dff8 80008090 c06ce954 00000000 00000000
[   97.419694] Backtrace: 
[   97.422144] [<c001ac90>] (dma_cache_maint_page) from [<c001afc0>] (__dma_page_dev_to_cpu+0x8c/0x10c)
[   97.431264]  r10:00000002 r9:00000002 r8:dd7b0d20 r7:00001000 r6:c074e0c0 r5:c0710944
[   97.439107]  r4:00000000
[   97.441643] [<c001af34>] (__dma_page_dev_to_cpu) from [<c001bd94>] (arm_dma_unmap_page+0x5c/0x60)
[   97.450503]  r9:dc972610 r8:00000008 r7:c0712014 r6:00000000 r5:00000002 r4:dd7f5000
[   97.458266] [<c001bd38>] (arm_dma_unmap_page) from [<c001bc08>] (arm_dma_unmap_sg+0x64/0x8c)
[   97.466691]  r5:00000002 r4:dbce3410
[   97.470273] [<c001bba4>] (arm_dma_unmap_sg) from [<c03794b8>] (usb_hcd_unmap_urb_for_dma+0x74/0x154)
[   97.479393]  r10:dd0f7160 r9:00000002 r8:dd0f7000 r7:ffffff98 r6:00000000 r5:c001bba4
[   97.487236]  r4:dbdea900
[   97.489769] [<c0379444>] (usb_hcd_unmap_urb_for_dma) from [<c03795c0>] (unmap_urb_for_dma+0x28/0x2c)
[   97.498889]  r7:ffffff98 r6:00000000 r5:dd0f7000 r4:dbdea900
[   97.504561] [<c0379598>] (unmap_urb_for_dma) from [<c0379604>] (__usb_hcd_giveback_urb+0x40/0x11c)
[   97.513510] [<c03795c4>] (__usb_hcd_giveback_urb) from [<c0379728>] (usb_hcd_giveback_urb+0x48/0x118)
[   97.522716]  r7:ffffff94 r6:dd0f718c r5:dbdea900 r4:dd0f7000
[   97.528391] [<c03796e0>] (usb_hcd_giveback_urb) from [<c039de20>] (xhci_giveback_urb_in_irq+0xa0/0xc8)
[   97.537685]  r7:ffffff94 r6:dd0f718c r5:dbdea900 r4:dbe11d00
[   97.543357] [<c039dd80>] (xhci_giveback_urb_in_irq) from [<c039deb4>] (xhci_kill_ring_urbs+0x6c/0x7c)
[   97.552563]  r8:00000003 r7:dc1d9104 r6:dd0f7160 r5:dc39eca0 r4:dc39ec80
[   97.559283] [<c039de48>] (xhci_kill_ring_urbs) from [<c039ee78>] (xhci_stop_endpoint_command_watchdog+0x29c/0x304)
[   97.569618]  r7:dc1d90e0 r6:c039ebdc r5:dc1d9000 r4:dc39ec80
[   97.575292] [<c039ebdc>] (xhci_stop_endpoint_command_watchdog) from [<c006f27c>] (call_timer_fn+0x2c/0xa0)
[   97.584934]  r10:c039ebdc r9:dc1d90f4 r8:00200200 r7:00000000 r6:c039ebdc r5:00000101
[   97.592780]  r4:dc1d9114
[   97.595314] [<c006f250>] (call_timer_fn) from [<c006f714>] (run_timer_softirq+0x1b4/0x22c)
[   97.603565]  r6:c070de28 r5:c0745940 r4:dc1d9114
[   97.608191] [<c006f560>] (run_timer_softirq) from [<c0029d28>] (__do_softirq+0x140/0x264)
[   97.616357]  r10:c070e080 r9:40000001 r8:00000001 r7:00000101 r6:c070c000 r5:c070e084
[   97.624197]  r4:00000020
[   97.626730] [<c0029be8>] (__do_softirq) from [<c002a0f0>] (irq_exit+0x80/0xb8)
[   97.633942]  r10:c070e4f4 r9:c073be5d r8:dd008000 r7:00000000 r6:00000000 r5:00000012
[   97.641785]  r4:c0709098
[   97.644317] [<c002a070>] (irq_exit) from [<c0060ea0>] (__handle_domain_irq+0x68/0xbc)
[   97.652136]  r5:00000012 r4:c0709098
[   97.655716] [<c0060e38>] (__handle_domain_irq) from [<c0009424>] (gic_handle_irq+0x2c/0x64)
[   97.664054]  r9:c073be5d r8:c070df78 r7:f0004000 r6:c070df20 r5:c070e7e4 r4:f000400c
[   97.671816] [<c00093f8>] (gic_handle_irq) from [<c04ff740>] (__irq_svc+0x40/0x74)
[   97.679288] Exception stack(0xc070df20 to 0xc070df68)
[   97.684331] df20: 00000000 00000000 00000000 c001fbe0 c070c000 c070e4ac c0708384 c0504624
[   97.692498] df40: c070df78 c073be5d c070e4f4 c070df74 c070df78 c070df68 c0010198 c001019c
[   97.700664] df60: 60010013 ffffffff
[   97.704142]  r7:c070df54 r6:ffffffff r5:60010013 r4:c001019c
[   97.709817] [<c001015c>] (arch_cpu_idle) from [<c00591e0>] (cpu_startup_entry+0x118/0x198)
[   97.718076] [<c00590c8>] (cpu_startup_entry) from [<c04f6a48>] (rest_init+0x90/0x94)
[   97.725807]  r7:00000000 r4:00000002
[   97.729390] [<c04f69b8>] (rest_init) from [<c06ced28>] (start_kernel+0x3e0/0x3ec)
[   97.736860]  r5:00000001 r4:c073f050
[   97.740440] [<c06ce948>] (start_kernel) from [<80008090>] (0x80008090)
[   97.746959] Code: 1e070f3e e1110003 e1c11003 1e071f3e (ee070f36) 
[   97.753045] ---[ end trace 9204a7d81c3256d9 ]---
[   97.757654] Kernel panic - not syncing: Fatal exception in interrupt
[   97.764000] CPU2: stopping
[   97.766705] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G      D    O    4.1.13-g8dc6617 #1
[   97.774611] Hardware name: Keystone
[   97.778090] Backtrace: 
[   97.780542] [<c0012bf4>] (dump_backtrace) from [<c0012e18>] (show_stack+0x18/0x1c)
[   97.788100]  r7:f0004000 r6:00000002 r5:c071cce4 r4:00000000
[   97.793777] [<c0012e00>] (show_stack) from [<c04fa488>] (dump_stack+0x9c/0xdc)
[   97.800992] [<c04fa3ec>] (dump_stack) from [<c00150b0>] (handle_IPI+0x150/0x160)
[   97.808377]  r5:00000000 r4:c0709098
[   97.811957] [<c0014f60>] (handle_IPI) from [<c0009458>] (gic_handle_irq+0x60/0x64)
[   97.819515]  r7:f0004000 r6:dd08ff70 r5:c070e7e4 r4:f000400c
[   97.825190] [<c00093f8>] (gic_handle_irq) from [<c04ff740>] (__irq_svc+0x40/0x74)
[   97.832661] Exception stack(0xdd08ff70 to 0xdd08ffb8)
[   97.837705] ff60:                                     00000000 00000000 00000000 c001fbe0
[   97.845873] ff80: dd08e000 c070e4ac c0708384 c0504624 dd08ffc8 c073be5d c070e4f4 dd08ffc4
[   97.854040] ffa0: dd08ffc8 dd08ffb8 c0010198 c001019c 600f0013 ffffffff
[   97.860644]  r7:dd08ffa4 r6:ffffffff r5:600f0013 r4:c001019c
[   97.866318] [<c001015c>] (arch_cpu_idle) from [<c00591e0>] (cpu_startup_entry+0x118/0x198)
[   97.874574] [<c00590c8>] (cpu_startup_entry) from [<c0014d0c>] (secondary_start_kernel+0x140/0x148)
[   97.883606]  r7:c073f300 r4:c07170f0
[   97.887186] [<c0014bcc>] (secondary_start_kernel) from [<800094ec>] (0x800094ec)
[   97.894571]  r5:00000008 r4:1d01ca00
[   97.898148] CPU3: stopping
[   97.900853] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G      D    O    4.1.13-g8dc6617 #1
[   97.908761] Hardware name: Keystone
[   97.912240] Backtrace: 
[   97.914692] [<c0012bf4>] (dump_backtrace) from [<c0012e18>] (show_stack+0x18/0x1c)
[   97.922251]  r7:f0004000 r6:00000003 r5:c071cce4 r4:00000000
[   97.927925] [<c0012e00>] (show_stack) from [<c04fa488>] (dump_stack+0x9c/0xdc)
[   97.935140] [<c04fa3ec>] (dump_stack) from [<c00150b0>] (handle_IPI+0x150/0x160)
[   97.942525]  r5:00000000 r4:c0709098
[   97.946105] [<c0014f60>] (handle_IPI) from [<c0009458>] (gic_handle_irq+0x60/0x64)
[   97.953663]  r7:f0004000 r6:dd091f70 r5:c070e7e4 r4:f000400c
[   97.959336] [<c00093f8>] (gic_handle_irq) from [<c04ff740>] (__irq_svc+0x40/0x74)
[   97.966808] Exception stack(0xdd091f70 to 0xdd091fb8)
[   97.971852] 1f60:                                     00000000 00000000 00000000 c001fbe0
[   97.980020] 1f80: dd090000 c070e4ac c0708384 c0504624 dd091fc8 c073be5d c070e4f4 dd091fc4
[   97.988187] 1fa0: dd091fc8 dd091fb8 c0010198 c001019c 60070013 ffffffff
[   97.994790]  r7:dd091fa4 r6:ffffffff r5:60070013 r4:c001019c
[   98.000462] [<c001015c>] (arch_cpu_idle) from [<c00591e0>] (cpu_startup_entry+0x118/0x198)
[   98.008718] [<c00590c8>] (cpu_startup_entry) from [<c0014d0c>] (secondary_start_kernel+0x140/0x148)
[   98.017751]  r7:c073f300 r4:c07170f0
[   98.021329] [<c0014bcc>] (secondary_start_kernel) from [<800094ec>] (0x800094ec)
[   98.028714]  r5:00000008 r4:1d01ca00
[   98.032291] CPU1: stopping
[   98.034995] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D    O    4.1.13-g8dc6617 #1
[   98.042901] Hardware name: Keystone
[   98.046381] Backtrace: 
[   98.048832] [<c0012bf4>] (dump_backtrace) from [<c0012e18>] (show_stack+0x18/0x1c)
[   98.056391]  r7:f0004000 r6:00000001 r5:c071cce4 r4:00000000
[   98.062065] [<c0012e00>] (show_stack) from [<c04fa488>] (dump_stack+0x9c/0xdc)
[   98.069281] [<c04fa3ec>] (dump_stack) from [<c00150b0>] (handle_IPI+0x150/0x160)
[   98.076666]  r5:00000000 r4:c0709098
[   98.080244] [<c0014f60>] (handle_IPI) from [<c0009458>] (gic_handle_irq+0x60/0x64)
[   98.087802]  r7:f0004000 r6:dd08df70 r5:c070e7e4 r4:f000400c
[   98.093475] [<c00093f8>] (gic_handle_irq) from [<c04ff740>] (__irq_svc+0x40/0x74)
[   98.100946] Exception stack(0xdd08df70 to 0xdd08dfb8)
[   98.105990] df60:                                     00000000 00000000 00000000 c001fbe0
[   98.114159] df80: dd08c000 c070e4ac c0708384 c0504624 dd08dfc8 c073be5d c070e4f4 dd08dfc4
[   98.122327] dfa0: dd08dfc8 dd08dfb8 c0010198 c001019c 60060013 ffffffff
[   98.128929]  r7:dd08dfa4 r6:ffffffff r5:60060013 r4:c001019c
[   98.134602] [<c001015c>] (arch_cpu_idle) from [<c00591e0>] (cpu_startup_entry+0x118/0x198)
[   98.142859] [<c00590c8>] (cpu_startup_entry) from [<c0014d0c>] (secondary_start_kernel+0x140/0x148)
[   98.151892]  r7:c073f300 r4:c07170f0
[   98.155471] [<c0014bcc>] (secondary_start_kernel) from [<800094ec>] (0x800094ec)
[   98.162855]  r5:00000008 r4:1d01ca00
[   98.166435] ---[ end Kernel panic - not syncing: Fatal exception in interrupt

On the same hardware but with kernel from MCSDK, it is working without any problem. With MCSDK, I changed device tree to enable the second usb controller USB1 but USB was already working before change. I did not have the possibility with Processor SDK yet since I cannot copy the new device tree with USB stick. I will try to copy with ethernet link.

Has this Change something to do with this issue? Is it a kernel issue?

  • Hi Dpa,

    I've forwarded this to the USB experts. Their feedback should be posted here.

    BR
    Tsvetolin Shulev
  • Are there any news on this topic?
    I cannot find any solution and I am kind of blocked.

    I have tried:
    - Other mass storage USB devices without success
    - I have tried one Link Power Management related bug fix without success
    - By enabling Debug entries for USB mass storage through menuconfig, I did not better clues on what is going on. No additional error, no additional warning, just kernel panic.

    EDIT: I tried today the kernel from MCSDK (zImage and k2e-evm.dtb) and I did not have any crash. So it is clear a kernel or device configuration issue.

    Do you have any clue what it can be? 

  • I compared the logs at Startup and lsusb output between kernel from MCSDk and kernel from Processor SDK and the only difference I saw is the way LPM is handled.

    MCSDK:

    // Startup log
    [ 3200.586626] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [ 3200.592119] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [ 3200.599843] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [ 3200.606616] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 3200.613830] usb usb2: Product: xHCI Host Controller
    [ 3200.618700] usb usb2: Manufacturer: Linux 3.10.72-dirty xhci-hcd
    [ 3200.624692] usb usb2: SerialNumber: xhci-hcd.0.auto
    [ 3200.629917] hub 2-0:1.0: USB hub found
    [ 3200.633662] hub 2-0:1.0: 1 port detected
    [...]
    [ 3200.896313] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [ 3200.901804] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
    [ 3200.909535] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
    [ 3200.916308] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 3200.923522] usb usb4: Product: xHCI Host Controller
    [ 3200.928392] usb usb4: Manufacturer: Linux 3.10.72-dirty xhci-hcd
    [ 3200.934384] usb usb4: SerialNumber: xhci-hcd.1.auto
    [ 3200.939754] hub 4-0:1.0: USB hub found
    [ 3200.943497] hub 4-0:1.0: 1 port detected
    
    // lsusb -v output
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    [...]
        bU1DevExitLat          10 micro seconds
        bU2DevExitLat        2047 micro seconds

    Processor SDK:

    // Startup log
    [    8.809921] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    8.815545] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [    8.823255] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    8.831448] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [    8.838241] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    8.845468] usb usb2: Product: xHCI Host Controller
    [    8.850337] usb usb2: Manufacturer: Linux 4.1.13-g8dc6617 xhci-hcd
    [    8.856519] usb usb2: SerialNumber: xhci-hcd.0.auto
    [    8.861792] hub 2-0:1.0: USB hub found
    [    8.865574] hub 2-0:1.0: 1 port detected
    
    [    8.936404] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    8.942011] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
    [    8.949732] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
    [    8.957923] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
    [    8.964814] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    8.972028] usb usb4: Product: xHCI Host Controller
    [    8.976931] usb usb4: Manufacturer: Linux 4.1.13-g8dc6617 xhci-hcd
    [    8.983102] usb usb4: SerialNumber: xhci-hcd.1.auto
    [    8.988395] hub 4-0:1.0: USB hub found
    [    8.992161] hub 4-0:1.0: 1 port detected
    
    // lsusb -v output
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    [...]
        bU1DevExitLat           0 micro seconds
        bU2DevExitLat           0 micro seconds
    [...]
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    [...]
       Port 1: 0000.0263 5Gbps power suspend enable connect
    [...]
        bU1DevExitLat           0 micro seconds
        bU2DevExitLat           0 micro seconds

  • Something to mention here: we have no LPM on our custom board. All Power Management Pins from our USB3.0 TI 8041 hubs are left floating (as explained in the datasheet of these hubs).
    Our Problem seems to be related to this but I cannot find how to avoid this. I tried disabling powermanagement in kernel via menuconfig but it does not make any difference.

    Have you any clue?
  • New tests on my side:

    - I tried newest kernel provided with newest Processor SDK 03.01.00.06 and it does not make any difference. It still crashes after copying data from a mass storage USB stick. For your Information, I installed the default Image with program_evm tool.

    - I tried exactly the same thing but instead of our custom board on the EVMK2E Evaluation module v1.0.2.1 and it has the same problem.  The only difference is that there is no kernel panic but the error is the same (xhci-hcd xhci-hcd.0.auto: xHCI host not responding to stop endpoint command) and it disconnects the usb device.

    - I tried a usb webcam from logitech and a stream with the following command:

    v4l2-ctl --stream-mmap=3 --stream-to=/home/root/test.mpeg

    The streaming is working fine and there is no disconnection or crashes on both platforms: custom board and EVM.

    I know there is an with evaluation board v1.0.2.1 and USB3: .

    with the solution provided here:

    But our custom board is not designed the same way and should not have this USB3 issue. Moreover the Webcam should not work properly then and it is not the case.

    I have no clue how I can go further her. Please, can you update on this Topic?

  • Hi Dpa,


    Let focus first on the EVMK2E and processor SDK 3.01.00.06 to try to understand what is happening.

    If I understand correctly the below problem occur:
    When copying data from USB mass storage to K2E file system the below message occur:
          xhci-hcd xhci-hcd.0.auto: xHCI host not responding to stop endpoint command
    and USB device disconnects.
    -Can you clarify what type of mass strorage device do you use?
    -Have you change the USB related portion of the kernel config or do you use the standard config?


    Anthony

  • Hi Dpa,
    I've tried to boot the K2H EVM board with pre-built images of processor SDK and didn't see the UBS copy problem.
    The USB drivers are same for both K2H,K2L and K2E (Keystone USB3.0 drivers)
    How ever I will try the same with K2E board and update you.
  • Dpa,

    This issue is fixed, and it will be available in the coming Processor SDK release in December.
  • For a strange reason I did not received notifications on my emails regarding new posts. Anyway, thanks all for your help.
    @Bin Liu: Is it possible in the meantime to get a patch?
  • Dpa,


    Please test with the following 3 patches.

    0001-ARM-8617-1-dma-fix-dma_max_pfn.patch.txt
    From d248220f0465b818887baa9829e691fe662b2c5e Mon Sep 17 00:00:00 2001
    From: Roger Quadros <rogerq@ti.com>
    Date: Thu, 29 Sep 2016 08:32:55 +0100
    Subject: [PATCH] ARM: 8617/1: dma: fix dma_max_pfn()
    
    Since commit 6ce0d2001692 ("ARM: dma: Use dma_pfn_offset for dma address translation"),
    dma_to_pfn() already returns the PFN with the physical memory start offset
    so we don't need to add it again.
    
    This fixes USB mass storage lock-up problem on systems that can't do DMA
    over the entire physical memory range (e.g.) Keystone 2 systems with 4GB RAM
    can only do DMA over the first 2GB. [K2E-EVM].
    
    What happens there is that without this patch SCSI layer sets a wrong
    bounce buffer limit in scsi_calculate_bounce_limit() for the USB mass
    storage device. dma_max_pfn() evaluates to 0x8fffff and bounce_limit
    is set to 0x8fffff000 whereas maximum DMA'ble physical memory on Keystone 2
    is 0x87fffffff. This results in non DMA'ble pages being given to the
    USB controller and hence the lock-up.
    
    NOTE: in the above case, USB-SCSI-device's dma_pfn_offset was showing as 0.
    This should have really been 0x780000 as on K2e, LOWMEM_START is 0x80000000
    and HIGHMEM_START is 0x800000000. DMA zone is 2GB so dma_max_pfn should be
    0x87ffff. The incorrect dma_pfn_offset for the USB storage device is because
    USB devices are not correctly inheriting the dma_pfn_offset from the
    USB host controller. This will be fixed by a separate patch.
    
    Fixes: 6ce0d2001692 ("ARM: dma: Use dma_pfn_offset for dma address translation")
    Cc: stable@vger.kernel.org
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: Santosh Shilimkar <santosh.shilimkar@oracle.com>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Olof Johansson <olof@lixom.net>
    Cc: Catalin Marinas <catalin.marinas@arm.com>
    Cc: Linus Walleij <linus.walleij@linaro.org>
    Reported-by: Grygorii Strashko <grygorii.strashko@ti.com>
    Signed-off-by: Roger Quadros <rogerq@ti.com>
    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
    ---
     arch/arm/include/asm/dma-mapping.h | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/arch/arm/include/asm/dma-mapping.h b/arch/arm/include/asm/dma-mapping.h
    index d009f7911ffc..bf02dbd9ccda 100644
    --- a/arch/arm/include/asm/dma-mapping.h
    +++ b/arch/arm/include/asm/dma-mapping.h
    @@ -111,7 +111,7 @@ static inline dma_addr_t virt_to_dma(struct device *dev, void *addr)
     /* The ARM override for dma_max_pfn() */
     static inline unsigned long dma_max_pfn(struct device *dev)
     {
    -	return PHYS_PFN_OFFSET + dma_to_pfn(dev, *dev->dma_mask);
    +	return dma_to_pfn(dev, *dev->dma_mask);
     }
     #define dma_max_pfn(dev) dma_max_pfn(dev)
     
    -- 
    1.9.1
    
    

    0002-HACK-usb-dwc3-host-inherit-dma-configuration-from-pa.patch.txt
    From 5826faa33e58575d9f55c07a92fc509da69db822 Mon Sep 17 00:00:00 2001
    From: Grygorii Strashko <grygorii.strashko@ti.com>
    Date: Tue, 16 Aug 2016 14:23:16 +0300
    Subject: [PATCH] HACK: usb: dwc3: host: inherit dma configuration from parent
     dev
    
    Now not all DMA paremters configured properly for "xhci-hcd" platform
    device which is created manually. For example: dma_pfn_offset, dam_ops
    and iommu configuration will not corresponds "dwc3" devices
    configuration. As result, this will cause problems like wrong DMA
    addresses translation on platforms with LPAE enabled like Keystone 2.
    
    When platform is using DT boot mode the DMA configuration will be
    parsed and applied from DT, so, to fix this issue, reuse
    of_dma_configure() API and retrieve DMA configuartion for "xhci-hcd"
    from DWC3 device node.
    
    This patch is marked as a HACK since it was not accepted in its
    current form upstream and an alternate solution is not clear yet.
    
    Full discussion at: https://lkml.org/lkml/2016/4/25/813
    
    Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
    Signed-off-by: Roger Quadros <rogerq@ti.com>
    Signed-off-by: Sekhar Nori <nsekhar@ti.com>
    ---
     drivers/usb/dwc3/host.c | 15 ++++++++++-----
     1 file changed, 10 insertions(+), 5 deletions(-)
    
    diff --git a/drivers/usb/dwc3/host.c b/drivers/usb/dwc3/host.c
    index db9347b66f42..e03c9ade3f70 100644
    --- a/drivers/usb/dwc3/host.c
    +++ b/drivers/usb/dwc3/host.c
    @@ -17,6 +17,7 @@
     
     #include <linux/platform_device.h>
     #include <linux/usb/xhci_pdriver.h>
    +#include <linux/of_device.h>
     
     #include "core.h"
     
    @@ -32,12 +33,7 @@ int dwc3_host_init(struct dwc3 *dwc)
     		return -ENOMEM;
     	}
     
    -	dma_set_coherent_mask(&xhci->dev, dwc->dev->coherent_dma_mask);
    -
     	xhci->dev.parent	= dwc->dev;
    -	xhci->dev.dma_mask	= dwc->dev->dma_mask;
    -	xhci->dev.dma_parms	= dwc->dev->dma_parms;
    -
     	dwc->xhci = xhci;
     
     	ret = platform_device_add_resources(xhci, dwc->xhci_resources,
    @@ -74,6 +70,15 @@ int dwc3_host_init(struct dwc3 *dwc)
     	phy_create_lookup(dwc->usb3_generic_phy, "usb3-phy",
     			  dev_name(&xhci->dev));
     
    +	if (IS_ENABLED(CONFIG_OF) && dwc->dev->of_node) {
    +		of_dma_configure(&xhci->dev, dwc->dev->of_node);
    +	} else {
    +		dma_set_coherent_mask(&xhci->dev, dwc->dev->coherent_dma_mask);
    +
    +		xhci->dev.dma_mask	= dwc->dev->dma_mask;
    +		xhci->dev.dma_parms	= dwc->dev->dma_parms;
    +	}
    +
     	ret = platform_device_add(xhci);
     	if (ret) {
     		dev_err(dwc->dev, "failed to register xHCI device\n");
    -- 
    1.9.1
    
    

    0003-usb-core-setup-dma_pfn_offset-for-USB-devices-and-in.patch.txt
    From b44bbc46a8bbcd9c6bb1d167ca3f78d3aa5ee41d Mon Sep 17 00:00:00 2001
    From: Roger Quadros <rogerq@ti.com>
    Date: Tue, 13 Sep 2016 11:16:03 +0300
    Subject: [PATCH] usb: core: setup dma_pfn_offset for USB devices and,
     interfaces
    
    If dma_pfn_offset is not inherited correctly from the host controller,
    it might result in sub-optimal configuration as bounce
    buffer limit might be set to less than optimal level.
    
    Consider the mass storage device case.
    USB storage driver creates a scsi host for the mass storage interface in
    drivers/usb/storage/usb.c
    The scsi host parent device is nothing but the the USB interface device.
    Now, __scsi_init_queue() calls scsi_calculate_bounce_limit() to find out
    and set the block layer bounce limit.
    scsi_calculate_bounce_limit() uses dma_max_pfn(host_dev) to get the
    bounce_limit. host_dev is nothing but the device representing the
    mass storage interface.
    If that device doesn't have the right dma_pfn_offset, then dma_max_pfn()
    is messed up and the bounce buffer limit is wrong.
    
    e.g. On Keystone 2 systems, dma_max_pfn() is 0x87FFFF and dma_mask_pfn
    is 0xFFFFF. Consider a mass storage use case: Without this patch,
    usb scsi host device (usb-storage) will get a dma_pfn_offset of 0 resulting
    in a dma_max_pfn() of 0xFFFFF within the scsi layer
    (scsi_calculate_bounce_limit()).
    This will result in bounce buffers being unnecessarily used.
    
    Hint: On 32-bit ARM platforms dma_max_pfn() = dma_mask_pfn + dma_pfn_offset
    
    Signed-off-by: Roger Quadros <rogerq@ti.com>
    Acked-by: Arnd Bergmann <arnd@arndb.de>
    Acked-by: Alan Stern <stern@rowland.harvard.edu>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ---
     drivers/usb/core/message.c |  5 +++++
     drivers/usb/core/usb.c     | 11 +++++++++++
     2 files changed, 16 insertions(+)
    
    diff --git a/drivers/usb/core/message.c b/drivers/usb/core/message.c
    index 5ab5c1a81462..3a4707746157 100644
    --- a/drivers/usb/core/message.c
    +++ b/drivers/usb/core/message.c
    @@ -1859,7 +1859,12 @@ int usb_set_configuration(struct usb_device *dev, int configuration)
     		intf->dev.bus = &usb_bus_type;
     		intf->dev.type = &usb_if_device_type;
     		intf->dev.groups = usb_interface_groups;
    +		/*
    +		 * Please refer to usb_alloc_dev() to see why we set
    +		 * dma_mask and dma_pfn_offset.
    +		 */
     		intf->dev.dma_mask = dev->dev.dma_mask;
    +		intf->dev.dma_pfn_offset = dev->dev.dma_pfn_offset;
     		INIT_WORK(&intf->reset_ws, __usb_queue_reset_device);
     		intf->minor = -1;
     		device_initialize(&intf->dev);
    diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c
    index 5e80697ef952..592151461017 100644
    --- a/drivers/usb/core/usb.c
    +++ b/drivers/usb/core/usb.c
    @@ -440,7 +440,18 @@ struct usb_device *usb_alloc_dev(struct usb_device *parent,
     	dev->dev.bus = &usb_bus_type;
     	dev->dev.type = &usb_device_type;
     	dev->dev.groups = usb_device_groups;
    +	/*
    +	 * Fake a dma_mask/offset for the USB device:
    +	 * We cannot really use the dma-mapping API (dma_alloc_* and
    +	 * dma_map_*) for USB devices but instead need to use
    +	 * usb_alloc_coherent and pass data in 'urb's, but some subsystems
    +	 * manually look into the mask/offset pair to determine whether
    +	 * they need bounce buffers.
    +	 * Note: calling dma_set_mask() on a USB device would set the
    +	 * mask for the entire HCD, so don't do that.
    +	 */
     	dev->dev.dma_mask = bus->controller->dma_mask;
    +	dev->dev.dma_pfn_offset = bus->controller->dma_pfn_offset;
     	set_dev_node(&dev->dev, dev_to_node(bus->controller));
     	dev->state = USB_STATE_ATTACHED;
     	dev->lpm_disable_count = 1;
    -- 
    1.9.1
    
    

  • Thanks Bin Liu,

    I tried the above 3 patches on EVMK2E board with the new kernel from Processor SDK 03.01.00.06 and it is still crashing.

    Here is the log of the bootup and the crash after pluging a USB3 mass storage device and copying one file from stick:

    USBLog-ProcessorSDK.txt
    U-Boot 2016.05-g2f757e5b2c (Oct 03 2016 - 19:11:18 -0400)
    
    CPU: 66AK2Ex SR1.0
    I2C:   ready
    DRAM:  DDR3A Speed will be configured for 1600 Operation.
    Detected SO-DIMM [18KSF51272HZ-1G6K2]
    DDR3 speed 1600
    DRAM: 4 GiB
    
    Clear entire DDR3 memory to enable ECC
    2 GiB
    NAND:  512 MiB
    *** Warning - bad CRC, using default environment
    
    Net:   
    Warning: netcp@24000000 using MAC address from ROM
    eth0: netcp@24000000
    Warning: netcp@slave-1 (eth1) using random MAC address - ae:48:28:bb:db:0d
    , eth1: netcp@slave-1
    Warning: netcp@slave-2 (eth2) using random MAC address - 62:e3:68:3e:e0:2f
    , eth2: netcp@slave-2
    Warning: netcp@slave-3 (eth3) using random MAC address - 8a:d4:9c:c5:f7:fa
    , eth3: netcp@slave-3
    Warning: netcp@slave-4 (eth4) using random MAC address - f2:c7:3d:a0:cc:51
    , eth4: netcp@slave-4
    Warning: netcp@slave-5 (eth5) using random MAC address - 06:37:80:85:1e:7b
    , eth5: netcp@slave-5
    Warning: netcp@slave-6 (eth6) using random MAC address - 42:4e:ae:51:21:78
    , eth6: netcp@slave-6
    Warning: netcp@slave-7 (eth7) using random MAC address - 3a:5d:0f:34:1a:d3
    , eth7: netcp@slave-7
    Hit any key to stop autoboot:  2  0 
    => printenv
    addr_mon=0x0c140000
    addr_secdb_key=0xc000000
    addr_ubi=0x82000000
    arch=arm
    args_all=setenv bootargs console=ttyS0,115200n8 rootwait=1
    args_net=setenv bootargs ${bootargs} rootfstype=nfs root=/dev/nfs rw nfsroot=${serverip}:${nfs_root},${nfs_options} ip=dhcp
    args_ramfs=setenv bootargs ${bootargs} rdinit=/sbin/init rw root=/dev/ram0 initrd=0x808080000,80M
    args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,2048
    baudrate=115200
    board=ks2_evm
    board_name=ks2_evm
    boot=ubi
    bootcmd=run init_${boot} init_fw_rd_${boot} get_fdt_${boot} get_mon_${boot} get_kern_${boot} run_mon run_kern
    bootdelay=2
    bootdir=/boot
    bootm_size=0x10000000
    burn_ubi=nand erase.part ubifs; nand write ${addr_ubi} ubifs ${filesize}
    burn_uboot_nand=nand erase 0 0x100000; nand write ${loadaddr} 0 ${filesize}
    burn_uboot_spi=sf probe; sf erase 0 0x90000; sf write ${loadaddr} 0 ${filesize}
    cpu=armv7
    ethaddr=08:00:28:32:b8:c7
    fdt_addr_r=0x88000000
    fdtaddr=0x88000000
    fdtcontroladdr=feee9880
    get_fdt_net=dhcp ${fdtaddr} ${tftp_root}/${name_fdt}
    get_fdt_nfs=nfs ${fdtaddr} ${nfs_root}/boot/${name_fdt}
    get_fdt_ramfs=dhcp ${fdtaddr} ${tftp_root}/${name_fdt}
    get_fdt_ubi=ubifsload ${fdtaddr} ${bootdir}/${name_fdt}
    get_fs_ramfs=dhcp ${rdaddr} ${tftp_root}/${name_fs}
    get_kern_net=dhcp ${loadaddr} ${tftp_root}/${name_kern}
    get_kern_nfs=nfs ${loadaddr} ${nfs_root}/boot/${name_kern}
    get_kern_ramfs=dhcp ${loadaddr} ${tftp_root}/${name_kern}
    get_kern_ubi=ubifsload ${loadaddr} ${bootdir}/${name_kern}
    get_mon_net=dhcp ${addr_mon} ${tftp_root}/${name_mon}
    get_mon_nfs=nfs ${addr_mon} ${nfs_root}/boot/${name_mon}
    get_mon_ramfs=dhcp ${addr_mon} ${tftp_root}/${name_mon}
    get_mon_ubi=ubifsload ${addr_mon} ${bootdir}/${name_mon}
    get_ubi_net=dhcp ${addr_ubi} ${tftp_root}/${name_ubi}
    get_ubi_nfs=nfs ${addr_ubi} ${nfs_root}/boot/${name_ubi}
    get_uboot_net=dhcp ${loadaddr} ${tftp_root}/${name_uboot}
    get_uboot_nfs=nfs ${loadaddr} ${nfs_root}/boot/${name_uboot}
    init_fw_rd_net=dhcp ${rdaddr} ${tftp_root}/${name_fw_rd}; run set_rd_spec
    init_fw_rd_ramfs=setenv rd_spec -
    init_fw_rd_ubi=ubifsload ${rdaddr} ${bootdir}/${name_fw_rd}; run set_rd_spec
    init_net=run args_all args_net
    init_nfs=setenv autoload no; dhcp; run args_all args_net
    init_ramfs=run args_all args_ramfs get_fs_ramfs
    init_ubi=run args_all args_ubi; ubi part ubifs; ubifsmount ubi:rootfs;
    kernel_addr_r=0x82000000
    loadaddr=0x82000000
    mem_lpae=1
    mtdparts=mtdparts=davinci_nand.0:1024k(bootloader)ro,512k(params)ro,-(ubifs)
    name_fdt=keystone-k2e-evm.dtb
    name_fs=arago-console-image-k2e-evm.cpio.gz
    name_fw_rd=k2-fw-initrd.cpio.gz
    name_kern=zImage
    name_mon=skern-k2e.bin
    name_ubi=k2e-evm-ubifs.ubi
    name_uboot=u-boot-spi-k2e-evm.gph
    nfs_options=v3,tcp,rsize=4096,wsize=4096
    nfs_root=/export
    no_post=1
    pxefile_addr_r=0x80100000
    ramdisk_addr_r=0x88080000
    rdaddr=0x88080000
    run_kern=bootz ${loadaddr} ${rd_spec} ${fdtaddr}
    run_mon=mon_install ${addr_mon}
    scriptaddr=0x80000000
    set_rd_spec=setenv rd_spec ${rdaddr}:${filesize}
    soc=keystone
    stderr=serial@02530c00
    stdin=serial@02530c00
    stdout=serial@02530c00
    tftp_root=/
    vendor=ti
    ver=U-Boot 2016.05-g2f757e5b2c (Oct 03 2016 - 19:11:18 -0400)
    
    Environment size: 3307/262140 bytes
    => setenv name_kern 'zImage-USB3Fix'
    => saveenv
    Saving Environment to NAND...
    Erasing NAND...
    
    Erasing at 0x100000 --  50% complete.
    Erasing at 0x120000 -- 100% complete.
    Writing to NAND... OK
    => boot
    ubi0: attaching mtd1
    ubi0: scanning is finished
    ubi0: attached mtd1 (name "mtd=2", size 510 MiB)
    ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
    ubi0: good PEBs: 4080, bad PEBs: 4, corrupted PEBs: 0
    ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
    ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1710674976
    ubi0: available PEBs: 0, total reserved PEBs: 4080, PEBs reserved for bad PEB handling: 76
    Loading file '/boot/k2-fw-initrd.cpio.gz' to addr 0x88080000...
    Done
    Loading file '/boot/keystone-k2e-evm.dtb' to addr 0x88000000...
    Done
    Loading file '/boot/skern-k2e.bin' to addr 0x0c140000...
    Done
    Loading file '/boot/zImage-USB3Fix' to addr 0x82000000...
    Done
    K2_BM_15.07-39-g035329c SoC:k2e built:18:01:05, Oct  3 2016
    
    ## installed monitor, freq [208333333], status 0
    Kernel image @ 0x82000000 [ 0x000000 - 0x34ca28 ]
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Ramdisk to 8fff0000, end 8ffffd84 ... OK
       Loading Device Tree to 8ffe2000, end 8ffefddf ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.4.19-gdb0b54cdad (ziemer@ubuntu) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #4 SMP PREEMPT Tue Nov 22 10:06:59 CET 2016
    [    0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine model: Texas Instruments Keystone 2 Edison EVM
    [    0.000000] Switching physical address space to 0x800000000
    [    0.000000] Reserved memory: OVERLAP DETECTED!
    [    0.000000] mpm_block_mem@820000000 (0x0000000820000000--0x0000000822000000) overlaps with dsp_reserved_mpm_area (0x0000000820000000--0x0000000840000000)
    [    0.000000] Reserved memory: OVERLAP DETECTED!
    [    0.000000] dsp_reserved_mpm_area (0x0000000820000000--0x0000000840000000) overlaps with cmem_block_mem@829000000 (0x0000000822000000--0x0000000840000000)
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000081f800000, size 8 MiB
    [    0.000000] Reserved memory: initialized node dsp_common_cma_pool, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000820000000, size 512 MiB
    [    0.000000] Reserved memory: initialized node dsp_reserved_mpm_area, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x000000087e400000
    [    0.000000] Forcing write-allocate cache policy for SMP
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: Using PSCI v0.1 Function IDs from DT
    [    0.000000] PERCPU: Embedded 11 pages/cpu @dd395000 s14784 r8192 d22080 u45056
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 915776
    [    0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 rootfstype=ubifs root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,2048
    [    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: 3594408K/3670016K available (6535K kernel code, 252K rwdata, 2252K rodata, 288K init, 296K bss, 42840K reserved, 32768K cma-reserved, 3121152K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc089d04c   (8789 kB)
    [    0.000000]       .init : 0xc089e000 - 0xc08e6000   ( 288 kB)
    [    0.000000]       .data : 0xc08e6000 - 0xc09252f0   ( 253 kB)
    [    0.000000]        .bss : 0xc0927000 - 0xc09710c4   ( 297 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] 	Build-time adjustment of leaf fanout to 32.
    [    0.000000] 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=4
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] Architected cp15 timer(s) running at 208.33MHz (virt).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x300c4cdf1c, max_idle_ns: 440795202901 ns
    [    0.000004] sched_clock: 56 bits at 208MHz, resolution 4ns, wraps every 4398046511101ns
    [    0.000012] Switching to timer-based delay loop, resolution 4ns
    [    0.000150] keystone timer clock @208333333 Hz
    [    0.000390] Console: colour dummy device 80x30
    [    0.000409] Calibrating delay loop (skipped), value calculated using timer frequency.. 416.66 BogoMIPS (lpj=2083333)
    [    0.000419] pid_max: default: 32768 minimum: 301
    [    0.000499] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000507] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000957] Initializing cgroup subsys io
    [    0.000972] Initializing cgroup subsys memory
    [    0.000995] Initializing cgroup subsys devices
    [    0.001005] Initializing cgroup subsys freezer
    [    0.001014] Initializing cgroup subsys perf_event
    [    0.001023] Initializing cgroup subsys pids
    [    0.001046] CPU: Testing write buffer coherency: ok
    [    0.001237] /cpus/cpu@0 missing clock-frequency property
    [    0.001263] /cpus/cpu@1 missing clock-frequency property
    [    0.001289] /cpus/cpu@2 missing clock-frequency property
    [    0.001316] /cpus/cpu@3 missing clock-frequency property
    [    0.001325] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.001353] Setting up static identity map for 0x800082c0 - 0x800083f0
    [    0.084673] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.114715] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [    0.144758] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [    0.144845] Brought up 4 CPUs
    [    0.144861] SMP: Total of 4 processors activated (1666.66 BogoMIPS).
    [    0.144866] CPU: All CPU(s) started in SVC mode.
    [    0.145265] devtmpfs: initialized
    [    0.155502] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.155746] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.156435] pinctrl core: initialized pinctrl subsystem
    [    0.157020] NET: Registered protocol family 16
    [    0.157761] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.180139] cpuidle: using governor ladder
    [    0.210161] cpuidle: using governor menu
    [    0.215769] irq: no irq domain found for /soc/keystone_irq@26202a0 !
    [    0.222612] No ATAGs?
    [    0.222633] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.222640] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.253970] media: Linux media interface: v0.10
    [    0.254017] Linux video capture interface: v2.00
    [    0.254050] pps_core: LinuxPPS API ver. 1 registered
    [    0.254056] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.254079] PTP clock support registered
    [    0.254120] EDAC MC: Ver: 3.0.0
    [    0.254706] Advanced Linux Sound Architecture Driver Initialized.
    [    0.255353] clocksource: Switched to clocksource arch_sys_counter
    [    0.263077] NET: Registered protocol family 2
    [    0.263540] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.263571] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.263625] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.263659] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    0.263676] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    0.263786] NET: Registered protocol family 1
    [    0.263963] RPC: Registered named UNIX socket transport module.
    [    0.263971] RPC: Registered udp transport module.
    [    0.263976] RPC: Registered tcp transport module.
    [    0.263981] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.264140] Unpacking initramfs...
    [    0.268058] Freeing initrd memory: 64K (cfff0000 - d0000000)
    [    0.268198] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.268766] platform alarmtimer: set dma_pfn_offset00780000
    [    0.269164] futex hash table entries: 1024 (order: 4, 65536 bytes)
    [    0.275538] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.276074] NFS: Registering the id_resolver key type
    [    0.276094] Key type id_resolver registered
    [    0.276101] Key type id_legacy registered
    [    0.276151] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.277228] bounce: pool size: 64 pages
    [    0.277353] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
    [    0.277366] io scheduler noop registered
    [    0.277377] io scheduler deadline registered
    [    0.277406] io scheduler cfq registered (default)
    [    0.277516] keystone_irq soc:keystone_irq@26202a0: irqchip registered, nr_irqs 28
    [    0.277826] ti,keystone-serdes 2326000.phy: init fw ks2_pcie_serdes.bin: version 3.3.0.2c
    [    0.278661] ti,keystone-serdes 232a000.phy: init fw ks2_gbe_serdes.bin: version 3.3.0.2c
    [    0.280785] PCI host bridge /soc/pcie@21020000 ranges:
    [    0.280794]   No bus range found for /soc/pcie@21020000, using [bus 00-ff]
    [    0.280810]   MEM 0x60000000..0x6fffffff -> 0x60000000
    [    0.482305] keystone-pcie 21021000.pcie: phy link never came up
    [    0.482467] keystone-pcie 21021000.pcie: PCI host bridge to bus 0000:00
    [    0.482478] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    0.482486] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
    [    0.482739] PCI: bus0: Fast back to back transfers disabled
    [    0.482842] PCI: bus1: Fast back to back transfers enabled
    [    0.482898] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    0.483087] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [    0.484090] keystone-navigator-qmss soc:qmss@2a40000: qmgr start queue 0, number of queues 8192
    [    0.484215] keystone-navigator-qmss soc:qmss@2a40000: added qmgr start queue 0, num of queues 8192, reg_peek f0900000, reg_status f08fc000, reg_config f08fe000, reg_region f0922000, reg_push f0940000, reg_pop f0980000
    [    0.484498] keystone-navigator-qmss soc:qmss@2a40000: firmware file ks2_qmss_pdsp_acc48.bin downloaded for pdsp0
    [    0.484570] keystone-navigator-qmss soc:qmss@2a40000: firmware file ks2_qmss_pdsp_qos.bin downloaded for pdsp3
    [    0.484639] keystone-navigator-qmss soc:qmss@2a40000: firmware file ks2_qmss_pdsp_qos.bin downloaded for pdsp7
    [    0.485694] keystone-navigator-qmss soc:qmss@2a40000: qos: sched port @8096, drop sched @8000
    [    0.487279] keystone-navigator-qmss soc:qmss@2a40000: qos: sched port @6496, drop sched @6400
    [    0.489358] keystone-navigator-qmss soc:qmss@2a40000: qos version 0x200010b, magic valid
    [    0.489900] keystone-navigator-qmss soc:qmss@2a40000: qos version 0x200010b, magic valid
    [    0.490955] keystone-navigator-dma soc:knav_dmas@0: DMA dma_gbe registered 149 logical channels, flows 128, tx chans: 21, rx chans: 91
    [    0.491074] keystone-navigator-dma soc:knav_dmas@0: DMA dma_xgbe registered 48 logical channels, flows 32, tx chans: 16, rx chans: 16
    [    0.538938] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.539009] platform serial8250: set dma_pfn_offset00780000
    [    0.541534] console [ttyS0] disabled
    [    0.541580] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 26, base_baud = 13020833) is a 16550A
    [    1.492555] console [ttyS0] enabled
    [    1.496744] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 27, base_baud = 13020833) is a 16550A
    [    1.506040] [drm] Initialized drm 1.1.0 20060810
    [    1.516776] loop: module loaded
    [    1.520178] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write
    [    1.528462] spi_davinci 21000400.spi: DMA is not supported (-19)
    [    1.535055] m25p80 spi32766.0: n25q128a11 (16384 Kbytes)
    [    1.540398] 2 ofpart partitions found on MTD device spi32766.0
    [    1.546234] Creating 2 MTD partitions on "spi32766.0":
    [    1.551366] 0x000000000000-0x000000100000 : "u-boot-spl"
    [    1.557497] 0x000000100000-0x000001000000 : "misc"
    [    1.563082] spi_davinci 21000400.spi: Controller at 0xf0a28400
    [    1.569114] spi_davinci 21000600.spi: DMA is not supported (-19)
    [    1.575459] spi_davinci 21000600.spi: Controller at 0xf0a2a600
    [    1.581464] spi_davinci 21000800.spi: DMA is not supported (-19)
    [    1.587808] spi_davinci 21000800.spi: Controller at 0xf0a2c800
    [    1.594207] platform Fixed MDIO bus.0: set dma_pfn_offset00780000
    [    1.600436] libphy: Fixed MDIO Bus: probed
    [    1.645376] davinci_mdio 24200f00.mdio: davinci mdio revision 1.7
    [    1.651462] libphy: 24200f00.mdio: probed
    [    1.656220] davinci_mdio 24200f00.mdio: phy[0]: device 24200f00.mdio:00, driver Marvell 88E1510
    [    1.664912] davinci_mdio 24200f00.mdio: phy[1]: device 24200f00.mdio:01, driver Marvell 88E1510
    [    1.674172] ti,keystone-serdes 232a000.phy: Requested PHY is disabled
    [    3.693186] serdes PLL not locked
    [    4.208171] ti,keystone-serdes 232a000.phy: Requested PHY is disabled
    [    6.226521] serdes PLL not locked
    [    8.796873] netcp-1.0 2620110.netcp: initialized cpsw ale version 1.4
    [    8.803306] netcp-1.0 2620110.netcp: ALE Table size 8192
    [    8.810293] netcp-1.0 2620110.netcp: module(netcp-xgbe) not used for device
    [    8.817280] netcp-1.0 2620110.netcp: module(netcp-pa) not used for device
    [    8.824101] netcp-1.0 2620110.netcp: No ip-lut-ranges array in dt bindings for PA
    [    8.833339] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.00:0x03000200 for pdsp 0
    [    8.841650] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.00:0x03000200 for pdsp 1
    [    8.849922] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.00:0x03000200 for pdsp 2
    [    8.858195] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.00:0x03000200 for pdsp 3
    [    8.866508] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.00:0x03000200 for pdsp 4
    [    8.874764] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.00:0x03000200 for pdsp 5
    [    8.883036] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.00:0x03000200 for pdsp 6
    [    8.891313] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.00:0x03000200 for pdsp 7
    [    8.899586] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.00:0x03000200 for pdsp 8
    [    8.907850] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.00:0x03000200 for pdsp 9
    [    8.916116] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.00:0x03000200 for pdsp 10
    [    8.924458] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.00:0x03000200 for pdsp 11
    [    8.932810] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.00:0x03000200 for pdsp 12
    [    8.941161] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.00:0x03000200 for pdsp 13
    [    8.949513] netcp-1.0 2620110.netcp: Using PA fw version 03.00.02.00:0x03000200 for pdsp 14
    [    8.958283] netcp-1.0 2620110.netcp: rx_chan_name netrx0-pa for port 1
    [    8.964815] netcp-1.0 2620110.netcp: rx_chan_name netrx1-pa for port 2
    [    8.972086] 2620738.usb_phy supply vcc not found, using dummy regulator
    [    8.978892] 2620750.usb_phy supply vcc not found, using dummy regulator
    [    8.985902] mousedev: PS/2 mouse device common for all mice
    [    8.991832] i2c /dev entries driver
    [    8.997118] ledtrig-cpu: registered to indicate activity on CPUs
    [    9.004720] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xac
    [    9.011082] nand: Micron MT29F4G08ABBDAH4
    [    9.015085] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    9.022949] Bad block table found at page 262080, version 0x01
    [    9.029289] Bad block table found at page 262016, version 0x01
    [    9.035449] 3 ofpart partitions found on MTD device 30000000.nand
    [    9.041534] Creating 3 MTD partitions on "30000000.nand":
    [    9.046973] 0x000000000000-0x000000100000 : "u-boot"
    [    9.052761] 0x000000100000-0x000000180000 : "params"
    [    9.058514] 0x000000180000-0x000020000000 : "ubifs"
    [    9.064533] davinci_nand 30000000.nand: controller rev. 2.5
    [    9.070504] platform snd-soc-dummy: set dma_pfn_offset00780000
    [    9.077562] NET: Registered protocol family 10
    [    9.082700] sit: IPv6 over IPv4 tunneling driver
    [    9.087784] NET: Registered protocol family 17
    [    9.092371] Key type dns_resolver registered
    [    9.096721] Registering SWP/SWPB emulation handler
    [    9.102881] ubi0: attaching mtd4
    [   11.188640] ubi0: scanning is finished
    [   11.202611] ubi0: attached mtd4 (name "ubifs", size 510 MiB)
    [   11.208278] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [   11.215144] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    [   11.221936] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
    [   11.228900] ubi0: good PEBs: 4080, bad PEBs: 4, corrupted PEBs: 0
    [   11.234983] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
    [   11.242206] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1710674976
    [   11.251339] ubi0: available PEBs: 0, total reserved PEBs: 4080, PEBs reserved for bad PEB handling: 76
    [   11.260661] ubi0: background thread "ubi_bgt0d" started, PID 72
    [   11.260814] hctosys: unable to open rtc device (rtc0)
    [   11.273459] ALSA device list:
    [   11.276429]   No soundcards found.
    [   11.280434] UBIFS: parse sync
    [   11.284039] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 73
    [   11.362597] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    [   11.370001] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [   11.379918] UBIFS (ubi0:0): FS size: 488222720 bytes (465 MiB, 3845 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
    [   11.390614] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
    [   11.396450] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 02D63BE4-8E77-4DC6-AEE2-4121E543AF4F, small LPT model
    [   11.409340] VFS: Mounted root (ubifs filesystem) on device 0:14.
    [   11.416928] devtmpfs: mounted
    [   11.420034] Freeing unused kernel memory: 288K (c089e000 - c08e6000)
    [   11.426392] This architecture does not have kernel memory protection.
    [   11.629536] systemd[1]: System time before build time, advancing clock.
    [   11.685865] random: systemd: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
    [   11.713726] random: systemd: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
    [   11.725047] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [   11.743963] systemd[1]: Detected architecture arm.
    
    Welcome to [1mArago 2016.08[0m!
    
    [   11.777124] systemd[1]: Set hostname to <k2e-evm>.
    [   11.916684] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
    [   11.945853] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
    [   11.971383] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
    [   12.043527] random: systemd: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
    [   12.107637] random: systemd: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
    [   12.117025] random: systemd: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
    [   12.126617] random: systemd: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
    [   12.185966] random: systemd: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
    [   12.278781] systemd[1]: [/lib/systemd/system/syslog-ng.service:6] Executable path is not absolute, ignoring: @SBINDIR@/syslog-ng -F -p @LOCALSTATEDIR@/run/syslogd.pid
    [   12.293688] systemd[1]: [/lib/systemd/system/syslog-ng.service:7] Executable path is not absolute, ignoring: @BASEBINDIR@/kill -HUP $MAINPID
    [   12.306548] systemd[1]: syslog-ng.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
    [   12.407211] systemd[1]: syslog-ng.service: Cannot add dependency job, ignoring: Unit syslog-ng.service is not loaded properly: Invalid argument.
    [   12.426060] systemd[1]: Reached target Remote File Systems.
    [[0;32m  OK  [0m] Reached target Remote File Systems.
    [   12.457790] systemd[1]: Created slice System Slice.
    [[0;32m  OK  [0m] Created slice System Slice.
    [   12.485518] systemd[1]: Reached target Swap.
    [[0;32m  OK  [0m] Reached target Swap.
    [   12.506072] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [[0;32m  OK  [0m] Created slice system-serial\x2dgetty.slice.
    [   12.538380] systemd[1]: Listening on Journal Socket.
    [[0;32m  OK  [0m] Listening on Journal Socket.
    [   12.605574] systemd[1]: Mounting Temporary Directory...
             Mounting Temporary Directory...
    [   12.635676] systemd[1]: Listening on Network Service Netlink Socket.
    [[0;32m  OK  [0m] Listening on Network Service Netlink Socket.
    [   12.684813] systemd[1]: Listening on Journal Socket (/dev/log).
    [[0;32m  OK  [0m] Listening on Journal Socket (/dev/log).
    [   12.705518] systemd[1]: Listening on udev Kernel Socket.
    [[0;32m  OK  [0m] Listening on udev Kernel Socket.
    [   12.765651] systemd[1]: Starting Setup Virtual Console...
             Starting Setup Virtual Console...
    [   12.803388] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [   12.823655] CMEMK module: reference Linux version 4.4.19
    [   12.829366] allocated heap buffer 0xc080000 of size 0xc0000
    [   12.834965] cmemk initialized
    [   12.844861] cryptodev: driver 1.8 loaded.
    [   12.855613] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [   12.886888] systemd[1]: Created slice User and Session Slice.
    [   12.892946] NET: Registered protocol family 41
    [[0;32m  OK  [0m] Created slice User and Session Slice.
    [   12.904184] uio_module_drv soc:mpax: registered misc device mpax
    [   12.910417] uio_module_drv soc:edma3: registered misc device edma3
    [   12.916850] uio_module_drv soc:secmgr: registered misc device secmgr
    [   12.923381] uio_module_drv soc:qmss: registered misc device qmss
    [   12.929518] systemd[1]: Reached target Slices.
    [[0;32m  OK  [0[   12.935676] uio_module_drv soc:hyperlink0: registered misc device hyperlink0
    m] Reached targe[   12.943299] uio_module_drv soc:srss: registered misc device srss
    t Slices.
    [   12.965657] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [[0;32m  OK  [0m] Started Forward Password Requests to Wall Directory Watch.
    [   12.995656] systemd[1]: syslog.socket: Socket service syslog-ng.service not loaded, refusing.
    [   13.004191] systemd[1]: Failed to listen on Syslog Socket.
    [[0;1;31mFAILED[0m] Failed to listen on Syslog Socket.
    See 'systemctl status syslog.socket' for details.
    [   13.075720] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [   13.099823] systemd[1]: Mounting Debug File System...
             Mounting Debug File System...
    [   13.126063] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [[0;32m  OK  [0m] Started Dispatch Password Requests to Console Directory Watch.
    [   13.155530] systemd[1]: Reached target Paths.
    [[0;32m  OK  [0m] Reached target Paths.
    [   13.177983] systemd[1]: Starting Create list of required static device nodes for the current kernel...
             Starting Create list of required st... nodes for the current kernel...
    [   13.207095] systemd[1]: Created slice system-getty.slice.
    [[0;32m  OK  [0m] Created slice system-getty.slice.
    [   13.235593] systemd[1]: Listening on udev Control Socket.
    [[0;32m  OK  [0m] Listening on udev Control Socket.
    [   13.295713] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [   13.325597] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [[0;32m  OK  [0m] Listening on /dev/initctl Compatibility Named Pipe.
    [   13.360988] systemd[1]: Mounted Debug File System.
    [[0;32m  OK  [0m] Mounted Debug File System.
    [   13.385506] systemd[1]: Mounted POSIX Message Queue File System.
    [[0;32m  OK  [0m] Mounted POSIX Message Queue File System.
    [   13.415490] systemd[1]: Mounted Temporary Directory.
    [[0;32m  OK  [0m] Mounted Temporary Directory.
    [   13.435669] systemd[1]: Started Journal Service.
    [[0;32m  OK  [0m] Started Journal Service.
    [[0;32m  OK  [0m] Started Setup Virtual Console.
    [[0;32m  OK  [0m] Started Load Kernel Modules.
    [[0;32m  OK  [0m] Started Create list of required sta...ce nodes for the current kernel.
    [[0;32m  OK  [0m] Started Remount Root and Kernel File Systems.
             Starting udev Coldplug all Devices...
             Starting Create Static Device Nodes in /dev...
             Starting Apply Kernel Variables...
             Starting Flush Journal to Persistent Storage...
    [[0;32m  OK  [0m] Started Apply Kernel Variables.
    [[0;32m  OK  [0m] Started Create Static Device Nodes in /dev.
    [   14.103866] systemd-journald[105]: Received request to flush runtime journal from PID 1
    [[0;32m  OK  [0m] Started Flush Journal to Persistent Storage.
    [[0;32m  OK  [0m] Reached target Local File Systems (Pre).
             Mounting /var/volatile...
             Mounting /media/ram...
             Starting udev Kernel Device Manager...
    [[0;32m  OK  [0m] Mounted /var/volatile.
    [[0;32m  OK  [0m] Mounted /media/ram.
    [[0;32m  OK  [0m] Started udev Coldplug all Devices.
    [[0;32m  OK  [0m] Started udev Kernel Device Manager.
    [   14.494429] keystone-rproc 10800000.dsp0: assigned reserved memory node dsp_common_cma_pool
    [   14.529933]  remoteproc0: 10800000.dsp0 is available
    [   14.534924]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [[0;32m  OK  [0m] Reached target Local File Systems.
    [   14.555049]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [   14.581298] davinci-wdt 22f0080.wdt: heartbeat 60 sec
             Starting Create Volatile Files and Directories...
             Starting Load/Save Random Seed...
    [   14.612805] keystone-dsp-mem c000000.dspmem: registered misc device dspmem
    [[0;32m  OK  [0m] Found device /dev/ttyS0.
    [[0;32m  OK  [0m] Started Load/Save Random Seed.
    [[0;32m  OK  [0m] Started Create Volatile Files and Directories.
    [   15.008157] keystone-crypto soc:subsys@24080000:crypto@0: crypto accelerator enabled
    [[0;32m  OK  [0m] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [[0;32m  OK  [0m] Started Network Time Synchronization.
    [[0;32m  OK  [0m] Started Update UTMP about System Boot/Shutdown.
    [   15.514526] platform xhci-hcd.0.auto: set dma_pfn_offset00780000
             Starting Synchronize System and HW clocks...
    [[0;32m  OK  [0m] Reached target System Time Synchronized.
    [[0;1;31mFAILED[0m] Failed to start Synchronize System and HW clocks.
    [   15.761405] usbcore: registered new interface driver usbfs
    [   15.767264] usbcore: registered new interface driver hub
    [   15.772873] usbcore: registered new device driver usb
    See 'systemctl status sync-clocks.service' for details.
    [   15.795593] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [   15.801164] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [   15.809490] xhci-hcd xhci-hcd.0.auto: hcc params 0x0298f06d hci version 0x100 quirks 0x00010010
    [   15.818263] xhci-hcd xhci-hcd.0.auto: irq 34, io mem 0x02690000
    [   15.825588] hub 1-0:1.0: USB hub found
    [   15.829360] hub 1-0:1.0: 1 port detected
    [[0;32m  OK  [0[   15.833589] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    m] Reached targe[   15.840257] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    t System Initial[   15.849339] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    ization.
    [   15.859336] hub 2-0:1.0: USB hub found
    [   15.863348] hub 2-0:1.0: 1 port detected
    [[0;32m  OK  [0m] Listening on dropbear.socket.
    [[0;32m  OK  [0m] Started Daily Cleanup of Temporary Directories.
    [[0;32m  OK  [0m] Reached target Timers.
    [[0;32m  OK  [0m] Listening on RPCbind Server Activation Socket.
    [[0;32m  OK  [0m] Listening on D-Bus System Message Bus Socket.
    [[0;32m  OK  [0m] Reached target Sockets.
    [[0;32m  OK  [0m] Reached target Basic System.
    [[0;32m  OK  [0m] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
             Starting telnetd.service...
             Starting Permit User Sessions...
    [[0;32m  OK  [0m] Started Kernel Logging Service.
             Starting softhsm-daemon.service...
             Starting TI Multiproc Manager...
    [[0;32m  OK  [0m] Started System Logging Service.
             Starting Login Service...
             Starting run_srss_tc.service...
             Starting Ethernet Bridge Filtering Tables...
             Starting Print notice about GPLv3 packages...
    [   16.275415] NET: Registered protocol family 15
    [[0;32m  OK  [0m] Started D-Bus System Message Bus.
    [   16.413899] IPsec: esp4_init: can't add xfrm type
    [   17.220377] Initializing XFRM netlink socket
             Starting Network Service...
             Starting tiipclad-daemon.service...
    [[0;32m  OK  [0m] Started telnetd.service.
    [[0;32m  OK  [0m] Started Permit User Sessions.
    [[0;32m  OK  [0m] Started softhsm-daemon.service.
    [[0;32m  OK  [0m] Started run_srss_tc.service.
    [[0;32m  OK  [0m] Started Ethernet Bridge Filtering Tables.
    [[0;32m  OK  [0m] Started tiipclad-daemon.service.
    [[0;32m  OK  [0m] Started TI Multiproc Manager.
    [[0;32m  OK  [0m] Started Network Service.
    [   18.099249] uio_module_drv soc:secmgr: request address 0x0 is not in the allowed ranges
    [[0;32m  OK  [0m] Reached target Network.
    [[0;32m  OK  [0m] Started Vsftpd ftp daemon.
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Network Name Resolution...
    [[0;32m  OK  [0m] Started Getty on tty1.
    [[0;32m  OK  [0m] Started Serial Getty on ttyS0.
             Starting thttpd.service...
    [[0;32m  OK  [0m] Started Login Service.
    [[0;32m  OK  [0m] Started Lightning Fast Webserver With Light System Requirements.
    [   18.557843] netcp-1.0 2620110.netcp eth1: Link is Down
    [   18.568073] pps pps0: new PPS source ptp0
    [   18.572497] cpts rftclk: sel(0),rate(625000000 HZ),mult(4096),shift(9),div(5)
    [   18.580110] cpts: unable to obtain a time stamp
    [   18.613555] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [[0;32m  OK  [0m] Started thttpd.service.
    [   18.635818] netcp-1.0 2620110.netcp eth0: Link is Up - 1Gbps/Full - flow control off
    [   18.654637] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
             Starting rng-tools.service...
    [[0;32m  OK  [0m] Started Network Name Resolution.
    [[0;32m  OK  [0m] Started rng-tools.service.
             Starting gdbserverproxy.service...
    [[0;32m  OK  [0m] Started gdbserverproxy.service.
             Starting matrix-gui-2.0.service...
    [[0;32m  OK  [0m] Started matrix-gui-2.0.service.
             Starting parse-ip.service...
             Starting thermal-zone-init.service...
    [[0;32m  OK  [0m] Started thermal-zone-init.service.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
    	autoconf
    	binutils
    	cpp-symlinks
    	cpp
    	dosfstools
    	g++-symlinks
    	g++
    	gawk
    	gcc-symlinks
    	gcc
    	gdb
    	gdbc6x
    	gdbserver
    	libgmp10
    	libmpc3
    	libmpfr4
    	make
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [[0;32m  OK  [0m] Started Print notice about GPLv3 packages.
    [   19.805365] netcp-1.0 2620110.netcp eth0: Link is Up - 1Gbps/Full - flow control off
     
     
    #>>>>> LCD 12
    IP Address:
    
    [[0;32m  OK  [0m] Started parse-ip.service.
    [   23.635747] netcp-1.0 2620110.netcp eth0: Link is Up - 1Gbps/Full - flow control off
    [   23.643496] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org k2e-evm ttyS0
    
    Arago 2016.08 k2e-evm ttyS0
    
    k2e-evm login: root
    
    7[r[999;999H[6n8root@k2e-evm:~# ls
    root@k2e-evm:~# [   64.355381] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [   69.475403] usb 1-1: device descriptor read/64, error -110
    [   69.506379] random: nonblocking pool is initialized
    [   74.777640] SCSI subsystem initialized
    [   74.792415] usb-storage 1-1:1.0: USB Mass Storage device detected
    [   74.798839] scsi host0: usb-storage 1-1:1.0
    [   74.803310] usbcore: registered new interface driver usb-storage
    [   85.795806] scsi 0:0:0:0: Direct-Access     Innostor Innostor         1.00 PQ: 0 ANSI: 6
    [   85.814472] sd 0:0:0:0: [sda] 61736960 512-byte logical blocks: (31.6 GB/29.4 GiB)
    [   85.822230] sd 0:0:0:0: [sda] Write Protect is off
    [   85.827221] sd 0:0:0:0: [sda] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA
    [   85.838841]  sda:
    [   85.841718] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [   85.987020] FAT-fs (sda): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    
    root@k2e-evm:~# cp /run/media/sda/zImage-USB3Fix ./
    [  145.105362] xhci-hcd xhci-hcd.0.auto: xHCI host not responding to stop endpoint command.
    [  145.113449] xhci-hcd xhci-hcd.0.auto: Assuming host is dying, halting host.
    [  145.139775] Unable to handle kernel paging request at virtual address bd9e2000
    [  145.146989] pgd = c0003000
    [  145.149688] [bd9e2000] *pgd=80000800006003, *pmd=00000000
    [  145.155091] Internal error: Oops: 2a06 [#1] PREEMPT SMP ARM
    [  145.160654] Modules linked in: sd_mod usb_storage scsi_mod sha512_arm sha1_generic sha1_arm_neon sha1_arm md5 jitterentropy_rng sha256_generic sha256_arm hmac drbg des_generic cbc xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp ah4 af_key xhci_plat_hcd xhci_hcd usbcore dwc3 udc_core extcon keystone_sa_driver authenc ks_sa_rng aes_arm rng_core debugss_kmodule(O) keystone_dsp_mem dwc3_keystone temperature_kmodule(O) davinci_wdt keystone_remoteproc sch_fq_codel uio_module_drv(O) uio rpmsg_proto virtio_rpmsg_bus remoteproc virtio virtio_ring ipsecmgr_mod(O) xfrm_algo hplibmod(O) gdbserverproxy(O) cryptodev(O) cmemk(O)
    [  145.214748] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G           O    4.4.19-gdb0b54cdad #4
    [  145.222914] Hardware name: Keystone
    [  145.226394] task: dcc6bc00 ti: dcc8c000 task.ti: dcc8c000
    [  145.231789] PC is at v7_dma_inv_range+0x30/0x48
    [  145.236312] LR is at dma_cache_maint_page+0x8c/0x128
    [  145.241268] pc : [<c00202b0>]    lr : [<c001b798>]    psr: 60080193
    [  145.241268] sp : dcc8dc40  ip : dcc8dc40  fp : dcc8dc74
    [  145.252734] r10: 00000002  r9 : c09562c0  r8 : c08eb5c4
    [  145.257949] r7 : c08e8480  r6 : 00000000  r5 : 007fd9e2  r4 : 00001000
    [  145.264466] r3 : 0000003f  r2 : 00000040  r1 : bd9e3000  r0 : bd9e2000
    [  145.270984] Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
    [  145.278369] Control: 30c5387d  Table: 1bd9b9c0  DAC: 55555555
    [  145.284105] Process swapper/1 (pid: 0, stack limit = 0xdcc8c210)
    [  145.290102] Stack: (0xdcc8dc40 to 0xdcc8e000)
    [  145.294453] dc40: c08f0250 c014f98c 00000000 dd39f3c8 00000002 00000000 00001000 00000000
    [  145.302620] dc60: dc3e5610 00000002 dcc8dca4 dcc8dc78 c001ba58 c001b718 c0020340 00000000
    [  145.310788] dc80: dc0060fc dd3f5000 00000001 00000000 c08ecddc 0000001e dcc8dcbc dcc8dca8
    [  145.318955] dca0: c001c86c c001b9cc dc390000 00000001 dcc8dcf4 dcc8dcc0 c001c6dc c001c818
    [  145.327122] dcc0: 00000000 c0060140 dd3a0338 db6c9680 c001c678 00000000 ffffff94 dc0d7000
    [  145.335289] dce0: bf14ba6c 00000001 dcc8dd1c dcc8dcf8 bf103fd4 c001c684 00000000 c007c4fc
    [  145.343457] dd00: db6c9680 ffffff98 00000000 ffffff94 dcc8dd2c dcc8dd20 bf1040ec bf103f6c
    [  145.351624] dd20: dcc8dd4c dcc8dd30 bf104180 bf1040d0 dc0d7000 db6c9680 dc0d7188 ffffff94
    [  145.359791] dd40: dcc8dd6c dcc8dd50 bf104318 bf10412c db518a40 db6c9680 dc0d7188 ffffff94
    [  145.367958] dd60: dcc8dd9c dcc8dd70 bf14b0b8 bf1042dc 0001a36e dc0d7158 dcc8dd94 dc084200
    [  145.376126] dd80: dc084220 dc0d7158 dc00610c 00000002 dcc8ddbc dcc8dda0 bf14b14c bf14b024
    [  145.384293] dda0: dc084200 dc0d7158 dc006000 dc0060e8 dcc8de0c dcc8ddc0 bf14c040 bf14b0ec
    [  145.392460] ddc0: 00000002 00000000 00080113 dc0d7188 bf15528c dc0d723c dc006000 bf155258
    [  145.400628] dde0: dcc8de1c ffffe000 dd3a0380 00000101 bf14bdb4 dd3a03a0 dc0060fc bf14bdb4
    [  145.408795] de00: dcc8de34 dcc8de10 c007f288 bf14bdc0 dcc8de4c dcc8de20 dc00611c dd3a0380
    [  145.416962] de20: 00000000 00000200 dcc8de74 dcc8de38 c007f484 c007f264 00000003 c08e8100
    [  145.425130] de40: dcc8dea4 dc0d71c8 c0081210 000000a0 c08e8084 dcc8c000 00000101 c08e8080
    [  145.433297] de60: 00000001 40000001 dcc8ded4 dcc8de78 c0028710 c007f300 00000021 dd3a5b80
    [  145.441464] de80: dcc06d80 00200040 c08e8100 ffffc37f 0000000a c066aa68 c0927b80 c08e8080
    [  145.449632] dea0: dcc8de78 c08e12c8 dcc8dedc ffffe000 00000012 00000000 00000000 dcc08000
    [  145.457799] dec0: c066aa5c c08e850c dcc8deec dcc8ded8 c0028b1c c0028600 c08e23dc 00000012
    [  145.465966] dee0: dcc8df14 dcc8def0 c006fcb0 c0028a6c c08e88f4 f080400c dcc8df40 f0804000
    [  145.474133] df00: f0805000 c066aa5c dcc8df3c dcc8df18 c00093f4 c006fc54 c00104d8 60080013
    [  145.482300] df20: ffffffff dcc8df74 dcc8dfb0 c066aa5c dcc8df9c dcc8df40 c0013dc0 c00093c0
    [  145.490467] df40: 00000001 00000000 00000000 c0020a80 dcc8c000 c08e84ac 00000000 00000000
    [  145.498634] df60: dcc8dfb0 c066aa5c c08e850c dcc8df9c dcc8dfa0 dcc8df90 c00104d4 c00104d8
    [  145.506802] df80: 60080013 ffffffff c007baec c00785f0 dcc8dfac dcc8dfa0 c0060b50 c00104a4
    [  145.514969] dfa0: dcc8dfd4 dcc8dfb0 c0060db0 c0060b34 c0924579 c08e8514 c08e3558 c08e1324
    [  145.523136] dfc0: 00000001 c0927458 dcc8dff4 dcc8dfd8 c0016008 c0060bbc 1cc19b00 00000008
    [  145.531304] dfe0: 30c0387d c0927458 00000000 dcc8dff8 800094cc c0015ea8 00000000 00000000
    [  145.539468] Backtrace: 
    [  145.541913] [<c001b70c>] (dma_cache_maint_page) from [<c001ba58>] (__dma_page_dev_to_cpu+0x98/0x138)
    [  145.551033]  r10:00000002 r9:dc3e5610 r8:00000000 r7:00001000 r6:00000000 r5:00000002
    [  145.558881]  r4:dd39f3c8
    [  145.561413] [<c001b9c0>] (__dma_page_dev_to_cpu) from [<c001c86c>] (arm_dma_unmap_page+0x60/0x64)
    [  145.570273]  r8:0000001e r7:c08ecddc r6:00000000 r5:00000001 r4:dd3f5000
    [  145.576992] [<c001c80c>] (arm_dma_unmap_page) from [<c001c6dc>] (arm_dma_unmap_sg+0x64/0x8c)
    [  145.585418]  r5:00000001 r4:dc390000
    [  145.589051] [<c001c678>] (arm_dma_unmap_sg) from [<bf103fd4>] (usb_hcd_unmap_urb_for_dma+0x74/0x164 [usbcore])
    [  145.599040]  r10:00000001 r9:bf14ba6c r8:dc0d7000 r7:ffffff94 r6:00000000 r5:c001c678
    [  145.606884]  r4:db6c9680
    [  145.609506] [<bf103f60>] (usb_hcd_unmap_urb_for_dma [usbcore]) from [<bf1040ec>] (unmap_urb_for_dma+0x28/0x2c [usbcore])
    [  145.620362]  r7:ffffff94 r6:00000000 r5:ffffff98 r4:db6c9680
    [  145.626123] [<bf1040c4>] (unmap_urb_for_dma [usbcore]) from [<bf104180>] (__usb_hcd_giveback_urb+0x60/0xe4 [usbcore])
    [  145.636811] [<bf104120>] (__usb_hcd_giveback_urb [usbcore]) from [<bf104318>] (usb_hcd_giveback_urb+0x48/0x114 [usbcore])
    [  145.647754]  r7:ffffff94 r6:dc0d7188 r5:db6c9680 r4:dc0d7000
    [  145.653490] [<bf1042d0>] (usb_hcd_giveback_urb [usbcore]) from [<bf14b0b8>] (xhci_giveback_urb_in_irq+0xa0/0xc8 [xhci_hcd])
    [  145.664606]  r7:ffffff94 r6:dc0d7188 r5:db6c9680 r4:db518a40
    [  145.670304] [<bf14b018>] (xhci_giveback_urb_in_irq [xhci_hcd]) from [<bf14b14c>] (xhci_kill_ring_urbs+0x6c/0x7c [xhci_hcd])
    [  145.681420]  r8:00000002 r7:dc00610c r6:dc0d7158 r5:dc084220 r4:dc084200
    [  145.688163] [<bf14b0e0>] (xhci_kill_ring_urbs [xhci_hcd]) from [<bf14c040>] (xhci_stop_endpoint_command_watchdog+0x28c/0x2f8 [xhci_hcd])
    [  145.700407]  r7:dc0060e8 r6:dc006000 r5:dc0d7158 r4:dc084200
    [  145.706093] [<bf14bdb4>] (xhci_stop_endpoint_command_watchdog [xhci_hcd]) from [<c007f288>] (call_timer_fn+0x30/0x9c)
    [  145.716689]  r10:bf14bdb4 r9:dc0060fc r8:dd3a03a0 r7:bf14bdb4 r6:00000101 r5:dd3a0380
    [  145.724531]  r4:ffffe000
    [  145.727063] [<c007f258>] (call_timer_fn) from [<c007f484>] (run_timer_softirq+0x190/0x208)
    [  145.735315]  r7:00000200 r6:00000000 r5:dd3a0380 r4:dc00611c
    [  145.740988] [<c007f2f4>] (run_timer_softirq) from [<c0028710>] (__do_softirq+0x11c/0x234)
    [  145.749153]  r10:40000001 r9:00000001 r8:c08e8080 r7:00000101 r6:dcc8c000 r5:c08e8084
    [  145.756995]  r4:000000a0
    [  145.759527] [<c00285f4>] (__do_softirq) from [<c0028b1c>] (irq_exit+0xbc/0x11c)
    [  145.766825]  r10:c08e850c r9:c066aa5c r8:dcc08000 r7:00000000 r6:00000000 r5:00000012
    [  145.774667]  r4:ffffe000
    [  145.777201] [<c0028a60>] (irq_exit) from [<c006fcb0>] (__handle_domain_irq+0x68/0xbc)
    [  145.785020]  r5:00000012 r4:c08e23dc
    [  145.788600] [<c006fc48>] (__handle_domain_irq) from [<c00093f4>] (gic_handle_irq+0x40/0x7c)
    [  145.796939]  r9:c066aa5c r8:f0805000 r7:f0804000 r6:dcc8df40 r5:f080400c r4:c08e88f4
    [  145.804697] [<c00093b4>] (gic_handle_irq) from [<c0013dc0>] (__irq_svc+0x40/0x74)
    [  145.812170] Exception stack(0xdcc8df40 to 0xdcc8df88)
    [  145.817214] df40: 00000001 00000000 00000000 c0020a80 dcc8c000 c08e84ac 00000000 00000000
    [  145.825382] df60: dcc8dfb0 c066aa5c c08e850c dcc8df9c dcc8dfa0 dcc8df90 c00104d4 c00104d8
    [  145.833547] df80: 60080013 ffffffff
    [  145.837026]  r9:c066aa5c r8:dcc8dfb0 r7:dcc8df74 r6:ffffffff r5:60080013 r4:c00104d8
    [  145.844789] [<c0010498>] (arch_cpu_idle) from [<c0060b50>] (default_idle_call+0x28/0x34)
    [  145.852872] [<c0060b28>] (default_idle_call) from [<c0060db0>] (cpu_startup_entry+0x200/0x260)
    [  145.861477] [<c0060bb0>] (cpu_startup_entry) from [<c0016008>] (secondary_start_kernel+0x16c/0x178)
    [  145.870511]  r7:c0927458
    [  145.873042] [<c0015e9c>] (secondary_start_kernel) from [<800094cc>] (0x800094cc)
    [  145.880426]  r7:c0927458 r6:30c0387d r5:00000008 r4:1cc19b00
    [  145.886097] Code: 1e070f3e e1110003 e1c11003 1e071f3e (ee070f36) 
    [  145.892184] ---[ end trace f1cbc46251a8f22f ]---
    [  145.896792] Kernel panic - not syncing: Fatal exception in interrupt
    [  145.903139] CPU3: stopping
    [  145.905843] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G      D    O    4.4.19-gdb0b54cdad #4
    [  145.914009] Hardware name: Keystone
    [  145.917489] Backtrace: 
    [  145.919942] [<c0013060>] (dump_backtrace) from [<c001325c>] (show_stack+0x18/0x1c)
    [  145.927501]  r7:dcc91f40 r6:200f0193 r5:00000000 r4:c08fafcc
    [  145.933177] [<c0013244>] (show_stack) from [<c02a0a08>] (dump_stack+0x8c/0xa0)
    [  145.940393] [<c02a097c>] (dump_stack) from [<c0016420>] (handle_IPI+0x184/0x198)
    [  145.947778]  r7:dcc91f40 r6:00000000 r5:00000003 r4:c08e23dc
    [  145.953450] [<c001629c>] (handle_IPI) from [<c000942c>] (gic_handle_irq+0x78/0x7c)
    [  145.961008]  r7:f0804000 r6:dcc91f40 r5:f080400c r4:c08e88f4
    [  145.966679] [<c00093b4>] (gic_handle_irq) from [<c0013dc0>] (__irq_svc+0x40/0x74)
    [  145.974151] Exception stack(0xdcc91f40 to 0xdcc91f88)
    [  145.979196] 1f40: 00000001 00000000 00000000 c0020a80 dcc90000 c08e84ac 00000000 00000000
    [  145.987364] 1f60: dcc91fb0 c066aa5c c08e850c dcc91f9c dcc91fa0 dcc91f90 c00104d4 c00104d8
    [  145.995530] 1f80: 600f0013 ffffffff
    [  145.999008]  r9:c066aa5c r8:dcc91fb0 r7:dcc91f74 r6:ffffffff r5:600f0013 r4:c00104d8
    [  146.006771] [<c0010498>] (arch_cpu_idle) from [<c0060b50>] (default_idle_call+0x28/0x34)
    [  146.014855] [<c0060b28>] (default_idle_call) from [<c0060db0>] (cpu_startup_entry+0x200/0x260)
    [  146.023459] [<c0060bb0>] (cpu_startup_entry) from [<c0016008>] (secondary_start_kernel+0x16c/0x178)
    [  146.032492]  r7:c0927458
    [  146.035024] [<c0015e9c>] (secondary_start_kernel) from [<800094cc>] (0x800094cc)
    [  146.042408]  r7:c0927458 r6:30c0387d r5:00000008 r4:1cc19b00
    [  146.048078] CPU0: stopping
    [  146.050783] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G      D    O    4.4.19-gdb0b54cdad #4
    [  146.058950] Hardware name: Keystone
    [  146.062430] Backtrace: 
    [  146.064882] [<c0013060>] (dump_backtrace) from [<c001325c>] (show_stack+0x18/0x1c)
    [  146.072441]  r7:c08e7ef0 r6:20080193 r5:00000000 r4:c08fafcc
    [  146.078116] [<c0013244>] (show_stack) from [<c02a0a08>] (dump_stack+0x8c/0xa0)
    [  146.085331] [<c02a097c>] (dump_stack) from [<c0016420>] (handle_IPI+0x184/0x198)
    [  146.092716]  r7:c08e7ef0 r6:00000000 r5:00000000 r4:c08e23dc
    [  146.098390] [<c001629c>] (handle_IPI) from [<c000942c>] (gic_handle_irq+0x78/0x7c)
    [  146.105949]  r7:f0804000 r6:c08e7ef0 r5:f080400c r4:c08e88f4
    [  146.111620] [<c00093b4>] (gic_handle_irq) from [<c0013dc0>] (__irq_svc+0x40/0x74)
    [  146.119092] Exception stack(0xc08e7ef0 to 0xc08e7f38)
    [  146.124135] 7ee0:                                     00000001 00000000 00000000 c0020a80
    [  146.132303] 7f00: c08e6000 c08e84ac 00000000 00000000 c08e7f60 c066aa5c c08e850c c08e7f4c
    [  146.140470] 7f20: c08e7f50 c08e7f40 c00104d4 c00104d8 60080013 ffffffff
    [  146.147074]  r9:c066aa5c r8:c08e7f60 r7:c08e7f24 r6:ffffffff r5:60080013 r4:c00104d8
    [  146.154838] [<c0010498>] (arch_cpu_idle) from [<c0060b50>] (default_idle_call+0x28/0x34)
    [  146.162922] [<c0060b28>] (default_idle_call) from [<c0060db0>] (cpu_startup_entry+0x200/0x260)
    [  146.171528] [<c0060bb0>] (cpu_startup_entry) from [<c0663330>] (rest_init+0x90/0x94)
    [  146.179259]  r7:00000000
    [  146.181795] [<c06632a0>] (rest_init) from [<c089ed88>] (start_kernel+0x400/0x40c)
    [  146.189266]  r5:00000001 r4:c0927040
    [  146.192845] [<c089e988>] (start_kernel) from [<80008090>] (0x80008090)
    [  146.199364] CPU2: stopping
    [  146.202069] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G      D    O    4.4.19-gdb0b54cdad #4
    [  146.210235] Hardware name: Keystone
    [  146.213714] Backtrace: 
    [  146.216164] [<c0013060>] (dump_backtrace) from [<c001325c>] (show_stack+0x18/0x1c)
    [  146.223723]  r7:dcc8ff40 r6:200f0193 r5:00000000 r4:c08fafcc
    [  146.229397] [<c0013244>] (show_stack) from [<c02a0a08>] (dump_stack+0x8c/0xa0)
    [  146.236613] [<c02a097c>] (dump_stack) from [<c0016420>] (handle_IPI+0x184/0x198)
    [  146.243997]  r7:dcc8ff40 r6:00000000 r5:00000002 r4:c08e23dc
    [  146.249670] [<c001629c>] (handle_IPI) from [<c000942c>] (gic_handle_irq+0x78/0x7c)
    [  146.257228]  r7:f0804000 r6:dcc8ff40 r5:f080400c r4:c08e88f4
    [  146.262897] [<c00093b4>] (gic_handle_irq) from [<c0013dc0>] (__irq_svc+0x40/0x74)
    [  146.270369] Exception stack(0xdcc8ff40 to 0xdcc8ff88)
    [  146.275413] ff40: 00000001 00000000 00000000 c0020a80 dcc8e000 c08e84ac 00000000 00000000
    [  146.283582] ff60: dcc8ffb0 c066aa5c c08e850c dcc8ff9c dcc8ffa0 dcc8ff90 c00104d4 c00104d8
    [  146.291748] ff80: 600f0013 ffffffff
    [  146.295227]  r9:c066aa5c r8:dcc8ffb0 r7:dcc8ff74 r6:ffffffff r5:600f0013 r4:c00104d8
    [  146.302990] [<c0010498>] (arch_cpu_idle) from [<c0060b50>] (default_idle_call+0x28/0x34)
    [  146.311074] [<c0060b28>] (default_idle_call) from [<c0060db0>] (cpu_startup_entry+0x200/0x260)
    [  146.319679] [<c0060bb0>] (cpu_startup_entry) from [<c0016008>] (secondary_start_kernel+0x16c/0x178)
    [  146.328712]  r7:c0927458
    [  146.331243] [<c0015e9c>] (secondary_start_kernel) from [<800094cc>] (0x800094cc)
    [  146.338628]  r7:c0927458 r6:30c0387d r5:00000008 r4:1cc19b00
    [  146.344301] ---[ end Kernel panic - not syncing: Fatal exception in interrupt
    \00
    

    What did I miss there?

  • Dpa,

    I must be missing other patches. I don't have a board to verify at the moment, could you please test the TI dev kernel git repo?

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

    branch: ti-linux-4.4.y

  • Hi Bin Liu,

    I compiled the kernel 4.4.34-02701-g988ab9c and it does not crash anymore. Thanks for your very valuable help.

    Side note: I needed to enable "open by fhandle syscalls" in General Setup by menuconfig before compiling. Otherwise it cannot completely boot up.
  • Dpa,

    Thanks for the update. Glad the issue is solved.

    Yes, 'open by fhandle syscalls (CONFIG_FHANDLE)' is required for systemd.