Spaces:

arjun.a
range data
5aefcf4
Ticket Name: Linux/TDA2: MMC driver crash while flashing
Query Text:
Part Number: TDA2 Tool/software: Linux Hi I'm observing the following crash while we're flashing an upgrade on our system: vpc168 login: [85245.871960] ------------[ cut here ]------------
[85245.871967] Kernel BUG at c04a25a0 [verbose debug info unavailable]
[85245.871973] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
[85245.871994] Modules linked in: can_raw can c_can_platform c_can can_dev at24 tmp102
[85245.872003] CPU: 1 PID: 899 Comm: mmcqd/1 Not tainted 4.1.18-rt17+ #20
[85245.872007] Hardware name: Generic DRA74X (Flattened Device Tree)
[85245.872012] task: ef29e800 ti: eea0e000 task.ti: eea0e000
[85245.872025] PC is at omap_hsmmc_request+0x330/0x550
[85245.872039] LR is at mmc_start_request+0x158/0x288
[85245.872045] pc : [<c04a25a0>] lr : [<c0487f90>] psr: 20070113
[85245.872045] sp : eea0fd80 ip : eea0fde8 fp : eea0fde4
[85245.872049] r10: 00000000 r9 : ee90c01c r8 : ee90c150
[85245.872054] r7 : ee90c048 r6 : c09d7a28 r5 : eea00800 r4 : eea00800
[85245.872058] r3 : 00000001 r2 : 00000000 r1 : ee90c048 r0 : eea00800
[85245.872064] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
[85245.872069] Control: 30c5387d Table: ae0f5fc0 DAC: 55555555
[85245.872074] Process mmcqd/1 (pid: 899, stack limit = 0xeea0e218)
[85245.872079] Stack: (0xeea0fd80 to 0xeea10000)
[85245.872087] fd80: eeafc000 00000001 d9000000 c001f53c ee90c10c c0959b9c 00000000 eea00c1c
[85245.872094] fda0: ef2f4610 00000000 eea0fdfc eea0fdb8 c04a0b6c c001f548 00000000 ee90c048
[85245.872100] fdc0: eea00800 c09d7a28 ee90c048 ee90c150 ee90c01c 00000000 eea0fe1c eea0fde8
[85245.872106] fde0: c0487f90 c04a227c ee90c01c 00000000 eea0fe1c eea0fe00 c04a0c94 eea00800
[85245.872112] fe00: 00000000 ee90c044 ee90c150 ee90c01c eea0fe6c eea0fe20 c0488f90 c0487e44
[85245.872118] fe20: eea0fe6c eea0fe30 c04989c0 c049bb7c 00000000 ee90c01c ee90c10c ee90c000
[85245.872125] fe40: eea0fe6c d7de41a0 ee90c150 ee90c044 00000000 00000000 ee90c01c ee980000
[85245.872131] fe60: eea0fed4 eea0fe70 c0498de0 c0488cd8 eea00b30 eea00800 00000001 c006575c
[85245.872137] fe80: eea00b30 eea00800 ee90c000 00000000 00000001 00000000 ee90c000 00000000
[85245.872143] fea0: ef29e800 00000003 eea0fed4 ee980000 ee90c01c eea00b30 eea00800 ee90c000
[85245.872149] fec0: d7de41a0 00000000 eea0ff24 eea0fed8 c049965c c0498a88 c049af78 00000000
[85245.872156] fee0: eea0ff04 eea0fef0 c0063b68 c00e7e84 eea00800 00000000 eea0ff24 ee90c01c
[85245.872163] ff00: 00000000 eea7c000 c049af2c c049af78 d7de41a0 eea0e000 eea0ff5c eea0ff28
[85245.872169] ff20: c049b040 c049955c ef29e800 ee90c024 c049aecc 00000000 ee8387c0 ee90c01c
[85245.872176] ff40: c049aecc 00000000 00000000 00000000 eea0ffac eea0ff60 c005ade8 c049aed8
[85245.872183] ff60: 00000000 00000000 00000000 ee90c01c 00000000 00000000 eea0ff78 eea0ff78
[85245.872189] ff80: 00000000 00000000 eea0ff88 eea0ff88 ee8387c0 c005ad00 00000000 00000000
[85245.872195] ffa0: 00000000 eea0ffb0 c00109b8 c005ad0c 00000000 00000000 00000000 00000000
[85245.872201] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[85245.872208] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[85245.872223] [<c04a25a0>] (omap_hsmmc_request) from [<c0487f90>] (mmc_start_request+0x158/0x288)
[85245.872236] [<c0487f90>] (mmc_start_request) from [<c0488f90>] (mmc_start_req+0x2c4/0x3d8)
[85245.872254] [<c0488f90>] (mmc_start_req) from [<c0498de0>] (mmc_blk_issue_rw_rq+0x364/0xad4)
[85245.872266] [<c0498de0>] (mmc_blk_issue_rw_rq) from [<c049965c>] (mmc_blk_issue_rq+0x10c/0x4e4)
[85245.872278] [<c049965c>] (mmc_blk_issue_rq) from [<c049b040>] (mmc_queue_thread+0x174/0x1c8)
[85245.872292] [<c049b040>] (mmc_queue_thread) from [<c005ade8>] (kthread+0xe8/0x104)
[85245.872305] [<c005ade8>] (kthread) from [<c00109b8>] (ret_from_fork+0x14/0x3c)
[85245.872314] Code: e34c1078 e5930000 ebfd3a07 eaffffb8 (e7f001f2)
[85246.206940] ---[ end trace 0000000000000002 ]---
[85246.206947] Kernel panic - not syncing: Fatal exception
[85246.206954] CPU0: stopping
[85246.206962] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G D 4.1.18-rt17+ #20
[85246.206965] Hardware name: Generic DRA74X (Flattened Device Tree)
[85246.206980] [<c0018b5c>] (unwind_backtrace) from [<c0014e20>] (show_stack+0x20/0x24)
[85246.206993] [<c0014e20>] (show_stack) from [<c05af77c>] (dump_stack+0xb4/0xe4)
[85246.207002] [<c05af77c>] (dump_stack) from [<c00171dc>] (handle_IPI+0x308/0x360)
[85246.207010] [<c00171dc>] (handle_IPI) from [<c0009614>] (gic_handle_irq+0x68/0x6c)
[85246.207018] [<c0009614>] (gic_handle_irq) from [<c05b4584>] (__irq_svc+0x44/0x90)
[85246.207022] Exception stack(0xc0949f18 to 0xc0949f60)
[85246.207027] 9f00: ef6c9840 00000000
[85246.207033] 9f20: 00000000 c095500c 00000001 c0948000 c09540f8 c0954000 c09cbc84 c05bb6e8
[85246.207039] 9f40: c08b75ec c0949f6c c0949f60 c0949f60 c0011524 c0011528 60070013 ffffffff
[85246.207049] [<c05b4584>] (__irq_svc) from [<c0011528>] (arch_cpu_idle+0x34/0x4c)
[85246.207059] [<c0011528>] (arch_cpu_idle) from [<c0079538>] (cpu_startup_entry+0x1b4/0x350)
[85246.207068] [<c0079538>] (cpu_startup_entry) from [<c05ad138>] (rest_init+0x98/0x9c)
[85246.207079] [<c05ad138>] (rest_init) from [<c0846cf0>] (start_kernel+0x390/0x39c)
This happens only occasionally. It's not 100% reproducible. I'd say it happens about 30% of the time on at least one board. Any help would be much appreciated. There was an identical thread here: but the user Ishaqe Ahamed unfortunately didn't post his resolution. Any ideas?
Responses:
Hi Philipp, Could you provide information on which TI SDK you are using? Regards, Vishal
We started with ti-processor-sdk-linux-rt-am57xx-evm-02.00.01.07 We've since upgraded the kernel from whatever was in there to 4.1.18-rt17 as per the dump I posted originally. At the time that was the most recent stable version of TI's RT branches on git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git.
Hi Philipp, which processor are you using? The selected Part Number in your initial post is TDA2, but you use SDK which is for AM57xx processors. Regards, Yordan
Maybe I'm missing something. The version of the kernel we're using is 4.1.18-rt17+ (which is not in the SDK we started with) and this is a kernel crash. Can you elaborate why the SDK is important here? We're using barely any pieces of it because of a need to use a different userspace.
Hi Philipp, Catalog processors (such as AM57xx) and Auto processors (such as TDAx) have different SDKs and are supported by different teams. While both processors families and SDKs have some similarities they are mostly different. If you clarify which is your processor we can forward you to the right experts to provide help. Regards, Yordan
We extracted a few binary files like pvrsrvinit and some gstreamer-related libraries from ti-processor-sdk-linux-rt-am57xx-evm-02.00.01.07 for some experiments, but they are not used in the system that experienced the crash above. We are using a TDA2 processor. I don't have access to the schematic right this moment to look up the part number. U-boot prints this at startup: CPU : DRA752-GP ES2.0
full-kernel-log.log U-Boot SPL 2015.07-00040-gd9ea473-dirty (Mar 05 2018 - 14:41:57)
DRA752-GP ES2.0
U-Boot 2015.07-00040-gd9ea473-dirty (Mar 05 2018 - 14:41:57 -0800)
CPU : DRA752-GP ES2.0
Board: 117_005
Watchdog enabled
I2C: ready
DRAM:
RAM Configuration:
Bank #0: 80000000 Bank #1: 200000000
DRAM: 4 GiB
Board Init
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Card did not respond to voltage select!
** Bad device mmc 0 **
Using default environment
SOM: TDA2X_DE r3
Configured: PVT1 Controller SOM
Hercules Initial State
Initialized watchdog
SCSI: SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
scanning bus for devices...
Found 0 device(s).
Net: <ethaddr> not set. Validating first E-fuse MAC
<eth1addr> not set. Validating second E-fuse MAC
cpsw
Hit any key to stop autoboot: 0
Card did not respond to voltage select!
Card did not respond to voltage select!
new partition table with 6 partitions is:
Partition 1:
Start 1MiB, size 12MiB
Block size 512, name backup_kernel
Type U-Boot, bootable 0
UUID 012b3303-34ac-284d-99b4-34e03a2335f4
Partition 2:
Start 13MiB, size 12MiB
Block size 512, name 1
Type U-Boot, bootable 0
UUID faec2ecf-8544-e241-b19d-757e796da607
Partition 3:
Start 25MiB, size 500MiB
Block size 512, name backup_var
Type U-Boot, bootable 0
UUID f13a0978-b1b5-1a4e-8821-39438e24b627
Partition 4:
Start 525MiB, size 500MiB
Block size 512, name primary_var
Type U-Boot, bootable 0
UUID b710eb04-45b9-e94a-8d0b-21458d596f54
Partition 5:
Start 1025MiB, size 2848MiB
Block size 512, name backup_rootfs
Type U-Boot, bootable 0
UUID ad5ec4b6-2d9f-8544-9417-fe3bd1c9b1b3
Partition 6:
Start 3873MiB, size 2848MiB
Block size 512, name primary_rootfs
Type U-Boot, bootable 0
UUID cceb0b18-39cb-d547-9db7-03b405fa77d4
success!
kernel on mmcblk1p2
rootfs on mmcblk0p6
bootcount is 1
SF: Detected N25Q512 with page size 256 Bytes, erase size 4 KiB, total 64 MiB, mapped at 5c000000
device 0 offset 0x180000, size 0x20000
SF: 131072 bytes @ 0x180000 Read: OK
## Executing script at 82000000
Setting Controller bootargs from QSPI . . .
loading kernel from eMMC 1:2 . . .
reading zImage
Reading Filename: zImage
4418376 bytes read in 223 ms (18.9 MiB/s)
loading device-tree from eMMC 1:2 . . .
fdtfile file is peloton-controller-pvt1.dtb
reading peloton-controller-pvt1.dtb
Reading Filename: peloton-controller-pvt1.dtb
97760 bytes read in 12 ms (7.8 MiB/s)
Booting with rootfs on /dev/mmcblk0p6 . . .
Kernel image @ 0x82000000 [ 0x000000 - 0x436b48 ]
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8ffe5000, end 8ffffddf ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.1.18-rt17+ (sarah@sarah-debian) (gcc version 4.9.3 20150413 (prerelease) (Linaro GCC 4.9-2015.05) ) #20 SMP PREEMPT RT Fri Aug 31 12:03:08 PDT 2018
[ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] Machine model: PVT1 Controller
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
[ 0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
[ 0.000000] cma: Reserved 24 MiB at 0x00000000fd800000
[ 0.000000] Forcing write-allocate cache policy for SMP
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] OMAP4: Map 0x000000027fd00000 to fe600000 for dram barrier
[ 0.000000] DRA752 ES2.0
[ 0.000000] PERCPU: Embedded 152 pages/cpu @ef639000 s593024 r8192 d21376 u622592
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 993040
[ 0.000000] Kernel command line: console=ttyS2,115200n8 elevator=noop root=/dev/mmcblk0p6 ro rootwait earlyprintk consoleblank=0 rootfstype=xfs kernelpart=1:2 systemd.unit=multi-user.target
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 3876868K/3978240K available (6303K kernel code, 583K rwdata, 2132K rodata, 1032K init, 281K bss, 44028K reserved, 57344K cma-reserved, 3372032K 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 - 0xc084500c (8437 kB)
[ 0.000000] .init : 0xc0846000 - 0xc0948000 (1032 kB)
[ 0.000000] .data : 0xc0948000 - 0xc09d9d14 ( 584 kB)
[ 0.000000] .bss : 0xc09dc000 - 0xc0a22784 ( 282 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU debugfs-based tracing is enabled.
[ 0.000000] Additional per-CPU info printed with stalls.
[ 0.000000] RCU kthread priority: 1.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] Offload RCU callbacks from all CPUs
[ 0.000000] Offload RCU callbacks from CPUs: 0-1.
[ 0.000000] OMAP clockevent source: timer1 at 32768 Hz
[ 0.000000] clocksource 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 65535999984741ns
[ 0.000000] OMAP clocksource: 32k_counter at 32768 Hz
[ 0.000457] Architected cp15 timer(s) running at 6.14MHz (virt).
[ 0.000457] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
[ 0.000462] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
[ 0.000469] Switching to timer-based delay loop, resolution 162ns
[ 0.001057] Console: colour dummy device 80x30
[ 0.001194] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=6147)
[ 0.001198] pid_max: default: 32768 minimum: 301
[ 0.001313] Security Framework initialized
[ 0.001374] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001381] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.002056] Initializing cgroup subsys net_prio
[ 0.002113] CPU: Testing write buffer coherency: ok
[ 0.002118] ftrace: allocating 19986 entries in 59 pages
[ 0.036080] /cpus/cpu@0 missing clock-frequency property
[ 0.036162] /cpus/cpu@1 missing clock-frequency property
[ 0.036176] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.036233] Setting up static identity map for 0x800082c0 - 0x80008318
[ 0.055760] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.055866] Brought up 2 CPUs
[ 0.055883] SMP: Total of 2 processors activated (24.58 BogoMIPS).
[ 0.055894] CPU: All CPU(s) started in SVC mode.
[ 0.056623] devtmpfs: initialized
[ 0.099892] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[ 0.101043] omap_hwmod: l3_main_2 using broken dt data from ocp
[ 0.354280] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[ 0.356361] pinctrl core: initialized pinctrl subsystem
[ 0.358319] NET: Registered protocol family 16
[ 0.360702] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.378638] OMAP GPIO hardware version 0.1
[ 0.381125] GPIO line 92 (Novatel GPS Reset) hogged as output/low
[ 0.384258] GPIO line 135 (gpio135) hogged as input
[ 0.384289] GPIO line 137 (gpio137) hogged as input
[ 0.384318] GPIO line 134 (gpio134) hogged as output/low
[ 0.384345] GPIO line 136 (gpio136) hogged as output/low
[ 0.390311] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
[ 0.390894] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
[ 0.427142] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.427156] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.427702] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[ 0.427716] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[ 0.428127] OMAP DMA hardware revision 0.0
[ 0.453544] edma 43300000.edma: memcpy is disabled
[ 0.468139] edma 43300000.edma: TI EDMA DMA engine driver
[ 0.476263] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver
[ 0.484726] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[ 0.485151] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[ 0.485481] omap-iommu 58882000.mmu: 58882000.mmu registered
[ 0.485825] omap-iommu 55082000.mmu: 55082000.mmu registered
[ 0.486346] omap-iommu 41501000.mmu: 41501000.mmu registered
[ 0.486713] omap-iommu 41502000.mmu: 41502000.mmu registered
[ 0.490920] palmas 0-0058: IRQ missing: skipping irq request
[ 0.502752] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
[ 0.532464] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[ 0.532837] pps_core: LinuxPPS API ver. 1 registered
[ 0.532849] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[ 0.534839] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
[ 0.535492] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
[ 0.535875] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[ 0.536053] omap-mailbox: probe of 48842000.mailbox failed with error -22
[ 0.538236] Switched to clocksource arch_sys_counter
[ 0.688479] NET: Registered protocol family 2
[ 0.689329] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.689390] TCP bind hash table entries: 4096 (order: 4, 114688 bytes)
[ 0.689564] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.689640] UDP hash table entries: 256 (order: 2, 16384 bytes)
[ 0.689679] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
[ 0.689933] NET: Registered protocol family 1
[ 0.690902] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
[ 0.690948] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[ 0.696003] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.718733] VFS: Disk quotas dquot_6.6.0
[ 0.719191] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.722895] SGI XFS with security attributes, no debug enabled
[ 0.734390] alg: No test for stdrng (krng)
[ 0.734615] bounce: pool size: 64 pages
[ 0.734633] io scheduler noop registered (default)
[ 0.734648] io scheduler deadline registered
[ 0.734697] io scheduler cfq registered
[ 0.740226] pinctrl-single 4a003400.pinmux: 281 pins at pa fc003400 size 1124
[ 0.746682] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[ 0.750881] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud = 3000000) is a 8250
[ 0.751765] console [ttyS2] disabled
[ 0.751868] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 302, base_baud = 3000000) is a 8250
[ 1.529419] console [ttyS2] enabled
[ 1.533786] 48066000.serial: ttyS4 at MMIO 0x48066000 (irq = 303, base_baud = 3000000) is a 8250
[ 1.545005] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
[ 1.565398] brd: module loaded
[ 1.575807] loop: module loaded
[ 1.582848] m25p80 spi32766.0: n25q512ax3 (65536 Kbytes)
[ 1.588276] 10 ofpart partitions found on MTD device spi32766.0
[ 1.594227] Creating 10 MTD partitions on "spi32766.0":
[ 1.599484] 0x000000000000-0x000000020000 : "QSPI.SPL"
[ 1.605225] 0x000000020000-0x000000040000 : "QSPI.SPL.backup1"
[ 1.611617] 0x000000040000-0x000000060000 : "QSPI.SPL.backup2"
[ 1.617976] 0x000000060000-0x000000080000 : "QSPI.SPL.backup3"
[ 1.624375] 0x000000080000-0x000000180000 : "QSPI.u-boot"
[ 1.630329] 0x000000180000-0x000000190000 : "QSPI.u-boot-env"
[ 1.636580] 0x000000190000-0x0000001a0000 : "QSPI.u-boot-env.backup"
[ 1.643479] 0x0000001a0000-0x000000da0000 : "QSPI.kernel"
[ 1.649439] 0x000000da0000-0x000000de0000 : "QSPI.device-tree"
[ 1.655778] 0x000000de0000-0x000004000000 : "QSPI.userspace"
[ 1.699060] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
[ 1.705191] libphy: 48485000.mdio: probed
[ 1.713503] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver unknown
[ 1.721557] davinci_mdio 48485000.mdio: phy[3]: device 48485000.mdio:03, driver unknown
[ 1.730442] cpsw 48484000.ethernet: Detected MACID = c8:fd:19:bd:64:ce
[ 1.738381] cpsw 48484000.ethernet: cpsw: Detected MACID = c8:fd:19:bd:64:cf
[ 1.748878] rtc-ds3232 0-0068: rtc core: registered ds3232 as rtc0
[ 1.755177] i2c /dev entries driver
[ 1.759655] pps pps0: new PPS source pps.-1
[ 1.764084] pps pps0: Registered IRQ 135 as PPS source
[ 1.771876] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.780478] omap_hsmmc 4809c000.mmc: Got CD GPIO
[ 1.785270] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr104 mode
[ 1.791748] omap_hsmmc 4809c000.mmc: no pinctrl state for ddr50 mode
[ 1.798138] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr50 mode
[ 1.804525] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr25 mode
[ 1.810916] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr12 mode
[ 1.840700] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
[ 1.847091] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
[ 1.853481] omap_hsmmc 480b4000.mmc: no pinctrl state for ddr_1_8v mode
[ 1.860132] omap_hsmmc 480b4000.mmc: no pinctrl state for hs200_1_8v mode
[ 1.867334] VDD_3V3: supplied by VDD_3V3_IN
[ 1.893891] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
[ 1.909837] alg: aead: Test 2 failed on encryption for gcm-aes-omap
[ 1.916141] 00000000: f7 95 aa ab 49 4b 59 23 f7 fd 89 ff 94 8b c1 e0
[ 1.922629] 00000010: 8b 47 c2 3c b8 e1 c4 95 cb 1d 2e 8a 46 56 73 c1
[ 1.929446] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
[ 1.933109] mmc1: MAN_BKOPS_EN bit is not set
[ 1.939440] mmc1: new high speed MMC card at address 0001
[ 1.941133] mmcblk0: mmc1:0001 P1XXXX 7.20 GiB
[ 1.946412] mmcblk0: p1 p2 p3 p4 p5 p6
[ 1.954325] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
[ 1.960748] alg: skcipher: setkey failed on test 5 for ecb-des-omap: flags=100
[ 1.968539] alg: skcipher-ddst: setkey failed on test 5 for ecb-des-omap: flags=100
[ 1.976752] alg: skcipher-ddst: setkey failed on test 5 for ecb-des-omap: flags=100
[ 1.991540] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
[ 2.016561] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000
[ 2.024416] remoteproc0: 58820000.ipu is available
[ 2.029324] remoteproc0: Note: remoteproc is still under development and considered experimental.
[ 2.038327] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 2.049001] remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
[ 2.055207] omap-rproc 55020000.ipu: device does not have specific CMA pool
[ 2.055215] remoteproc1: releasing 55020000.ipu
[ 2.055365] omap-rproc 40800000.dsp: device does not have specific CMA pool
[ 2.055372] remoteproc1: releasing 40800000.dsp
[ 2.055666] omap-rproc 41000000.dsp: device does not have specific CMA pool
[ 2.055672] remoteproc1: releasing 41000000.dsp
[ 2.057777] Netfilter messages via NETLINK v0.30.
[ 2.057894] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 2.059961] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 2.061237] Initializing XFRM netlink socket
[ 2.061274] NET: Registered protocol family 17
[ 2.061314] NET: Registered protocol family 15
[ 2.061354] Key type dns_resolver registered
[ 2.061368] NET: Registered protocol family 41
[ 2.061580] omap_voltage_late_init: Voltage driver support not added
[ 2.061975] Power Management for TI OMAP4+ devices.
[ 2.063322] ThumbEE CPU extension supported.
[ 2.063344] Registering SWP/SWPB emulation handler
[ 2.156555] console [netcon0] enabled
[ 2.160239] netconsole: network logging started
[ 2.163051] remoteproc0: Falling back to user helper
[ 2.170354] rtc-ds3232 0-0068: setting system clock to 2018-10-03 00:39:23 UTC (1538527163)
[ 2.212462] XFS (mmcblk0p6): Mounting V4 Filesystem
[ 2.424087] XFS (mmcblk0p6): Ending clean mount
[ 2.428706] VFS: Mounted root (xfs filesystem) readonly on device 179:6.
[ 2.436998] devtmpfs: mounted
[ 2.441292] Freeing unused kernel memory: 1032K (c0846000 - c0948000)
[ 2.571603] random: systemd urandom read with 25 bits of entropy available
[ 2.582457] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[ 2.596143] systemd[1]: Detected architecture 'arm'.
Welcome to Debian GNU/Linux 8 (jessie)!
[ 2.621341] systemd[1]: Failed to insert module 'ipv6'
[ 2.628482] systemd[1]: Set hostname to <tda2-debian>.
[ 2.847169] systemd[1]: Cannot add dependency job for unit dbus.socket, ignoring: Unit dbus.socket failed to load: No such file or directory.
[ 2.861912] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 2.870069] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 2.877721] systemd[1]: Expecting device dev-ttyS2.device...
Expecting device dev-ttyS2.device...
[ 2.890336] systemd[1]: Starting Remote File Systems (Pre).
[ OK ] Reached target Remote File Systems (Pre).
[ 2.902374] systemd[1]: Reached target Remote File Systems (Pre).
[ 2.908596] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[ 2.916952] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 2.924949] systemd[1]: Starting Paths.
[ OK ] Reached target Paths.
[ 2.933336] systemd[1]: Reached target Paths.
[ 2.937848] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[ OK ] Set up automount Arbitrary Executable File Formats F...utomount Point.
[ 2.957322] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 2.966831] systemd[1]: Starting Encrypted Volumes.
[ OK ] Reached target Encrypted Volumes.
[ 2.978329] systemd[1]: Reached target Encrypted Volumes.
[ 2.983798] systemd[1]: Starting Swap.
[ OK ] Reached target Swap.
[ 2.992321] systemd[1]: Reached target Swap.
[ 2.996657] systemd[1]: Starting Root Slice.
[ OK ] Created slice Root Slice.
[ 3.007312] systemd[1]: Created slice Root Slice.
[ 3.012110] systemd[1]: Starting User and Session Slice.
[ OK ] Created slice User and Session Slice.
[ 3.024318] systemd[1]: Created slice User and Session Slice.
[ 3.030135] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ 3.045376] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 3.052417] systemd[1]: Starting Delayed Shutdown Socket.
[ OK ] Listening on Delayed Shutdown Socket.
[ 3.064283] systemd[1]: Listening on Delayed Shutdown Socket.
[ 3.070102] systemd[1]: Starting Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket (/dev/log).
[ 3.082358] systemd[1]: Listening on Journal Socket (/dev/log).
[ 3.088371] systemd[1]: Starting udev Control Socket.
[ OK ] Listening on udev Control Socket.
[ 3.100360] systemd[1]: Listening on udev Control Socket.
[ 3.105849] systemd[1]: Starting udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ 3.117323] systemd[1]: Listening on udev Kernel Socket.
[ 3.122713] systemd[1]: Starting Journal Socket.
[ OK ] Listening on Journal Socket.
[ 3.134349] systemd[1]: Listening on Journal Socket.
[ 3.139403] systemd[1]: Starting System Slice.
[ OK ] Created slice System Slice.
[ 3.150318] systemd[1]: Created slice System Slice.
[ 3.155269] systemd[1]: Starting system-getty.slice.
[ OK ] Created slice system-getty.slice.
[ 3.166356] systemd[1]: Created slice system-getty.slice.
[ 3.171826] systemd[1]: Starting system-serial\x2dgetty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ 3.184278] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 3.190740] systemd[1]: Starting Increase datagram queue length...
Starting Increase datagram queue length...
[ 3.206414] systemd[1]: Starting Nameserver information manager...
Starting Nameserver information manager...
[ 3.223974] systemd[1]: Mounted Huge Pages File System.
[ 3.234703] systemd[1]: Starting Load Kernel Modules...
Starting Load Kernel Modules...
[ 3.249867] systemd[1]: Started Set Up Additional Binary Formats.
[ 3.256194] systemd[1]: Mounting POSIX Message Queue File System...
Mounting POSIX Message Queue File System...
[ 3.273755] systemd[1]: Starting Create list of required static device nodes for the current kernel...
Starting Create list of required static device nodes...rrent kernel...
[ 3.295219] systemd[1]: Mounting Debug File System...
Mounting Debug File System...
[ 3.308942] systemd[1]: Starting udev Coldplug all Devices...
Starting udev Coldplug all Devices...
[ 3.323465] systemd[1]: Starting Slices.
[ OK ] Reached target Slices.
[ 3.333407] systemd[1]: Reached target Slices.
[ 3.338292] systemd[1]: Starting Remount Root and Kernel File Systems...
Starting Remount Root and Kernel File Systems...
[ 3.354542] systemd[1]: Starting system-systemd\x2dfsck.slice.
[ OK ] Created slice system-systemd\x2dfsck.slice.
[ 3.375780] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 3.382335] systemd[1]: Expecting device dev-disk-by\x2dpartlabel-primary_var.device...
Expecting device dev-disk-by\x2dpartlabel-primary_var.device...
[ OK ] Mounted Debug File System.
[ 3.410312] systemd[1]: Mounted Debug File System.
[ OK ] Mounted POSIX Message Queue File System.
[ 3.421321] systemd[1]: Mounted POSIX Message Queue File System.
[ OK ] Started Increase datagram queue length.
[ 3.435381] systemd[1]: Started Increase datagram queue length.
[ OK ] Started Load Kernel Modules.
[ 3.457352] systemd[1]: Started Load Kernel Modules.
[ OK ] Started Create list of required static device nodes ...current kernel.
[ 3.475309] systemd[1]: Started Create list of required static device nodes for the current kernel.
[ OK ] Started Remount Root and Kernel File Systems.
[ 3.498381] systemd[1]: Started Remount Root and Kernel File Systems.
[ OK ] Started Nameserver information manager.
[ 3.520491] systemd[1]: Started Nameserver information manager.
[ OK ] Started udev Coldplug all Devices.
[ 3.693442] systemd[1]: Started udev Coldplug all Devices.
[ 3.775481] systemd[1]: Starting Create Static Device Nodes in /dev...
Starting Create Static Device Nodes in /dev...
[ 3.791780] systemd[1]: Mounted FUSE Control File System.
[ 3.797310] systemd[1]: Starting Apply Kernel Variables...
Starting Apply Kernel Variables...
[ 3.810986] systemd[1]: Mounting Configuration File System...
Mounting Configuration File System...
[ 3.825768] systemd[1]: Starting Syslog Socket.
[ OK ] Listening on Syslog Socket.
[ 3.838390] systemd[1]: Listening on Syslog Socket.
[ 3.843371] systemd[1]: Starting Sockets.
[ OK ] Reached target Sockets.
[ 3.852338] systemd[1]: Reached target Sockets.
[ 3.856957] systemd[1]: Starting Journal Service...
Starting Journal Service...
[ OK ] Started Journal Service.
[ 3.874361] systemd[1]: Started Journal Service.
[ OK ] Mounted Configuration File System.
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Started Apply Kernel Variables.
Starting udev Kernel Device Manager...
[ OK ] Reached target Local File Systems (Pre).
Mounting /opt/peloton-tech/updates...
[ 3.967480] systemd-udevd[1772]: starting version 215
Mounting /tmp...
[ OK ] Started udev Kernel Device Manager.
[ OK ] Mounted /tmp.
[ OK ] Mounted /opt/peloton-tech/updates.
Starting Copy rules generated while the root was ro...
[ OK ] Started Copy rules generated while the root was ro.
[ OK ] Found device /dev/ttyS2.
[ 4.458428] tmp102 0-0048: initialized
[ 4.466369] at24 0-0054: 65536 byte 24c512 EEPROM, writable, 128 bytes/write
[ 5.073430] CAN device driver interface
[ 5.209436] c_can_platform 4ae3c000.can: c_can_platform device registered (regs=fce3c000, irq=364)
[ 5.293958] c_can_platform 48480000.can: c_can_platform device registered (regs=fa480000, irq=365)
[ OK ] Created slice system-ifup.slice.
[ 5.792077] remoteproc0: powering up 58820000.ipu
[ 5.798293] remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 569816
[ 5.835514] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1
[ OK ] Found device /dev/disk/by-partlabel/primary_var.
[ 5.869630] remoteproc0: remote processor 58820000.ipu is now up
[ 5.877430] virtio_rpmsg_bus virtio0: rpmsg host is online
[ 5.886171] remoteproc0: registered virtio0 (type 7)
Starting File System Check on /dev/disk/by-partlabel/primary_var...
[ 5.949843] virtio_rpmsg_bus virtio0: creating channel rpmsg-pru addr 0x33
[ 5.974856] rpmsg_pru rpmsg0: new rpmsg_pru device: /dev/rpmsg_pru51
[ 5.981844] virtio_rpmsg_bus virtio0: creating channel rpmsg-pru addr 0x34
[ 6.005750] rpmsg_pru rpmsg1: new rpmsg_pru device: /dev/rpmsg_pru52
[ 6.012534] omap-rproc 58820000.ipu: received echo reply from 58820000.ipu
[ OK ] Started File System Check on /dev/disk/by-partlabel/primary_var.
[ 6.106654] systemd-fsck[1899]: /sbin/fsck.xfs: XFS file system.
Mounting /var...
[ 6.231181] XFS (mmcblk0p4): Mounting V4 Filesystem
[ 6.507082] random: nonblocking pool is initialized
[ 7.201542] XFS (mmcblk0p4): Starting recovery (logdev: internal)
[ 7.220208] XFS (mmcblk0p4): Ending recovery (logdev: internal)
[ OK ] Mounted /var.
Starting Load/Save Random Seed...
[ OK ] Reached target Local File Systems.
[ OK ] Reached target Remote File Systems.
Starting Trigger Flushing of Journal to Persistent Storage...
Starting Create Volatile Files and Directories...
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Create Volatile Files and Directories.
[ 7.334269] systemd-journald[1761]: Received request to flush runtime journal from PID 1
[ OK ] Started Trigger Flushing of Journal to Persistent Storage.
Starting Restore time on boot...
Starting Update UTMP about System Boot/Shutdown...
Starting LSB: Raise network interfaces....
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ 7.613897] net can0: c_can_hw_raminit_wait_syscon: time out
[ 7.620000] c_can_platform 4ae3c000.can can0: setting BTR=1c04 BRPE=0000
[ OK ] Started Restore time on boot.
[ 7.738878] c_can_platform 48480000.can can1: setting BTR=0504 BRPE=0000
[ 7.826884] net eth1: initializing cpsw version 1.15 (0)
[ 7.892809] net eth1: phy found : id is : 0x2000a231
[ 7.897968] cpsw-phy-sel 4a002554.cpsw-phy-sel: SLAVE 1
[ 8.031425] net eth0: initializing cpsw version 1.15 (0)
[ 8.097170] net eth0: phy found : id is : 0x2000a231
[ 8.102331] cpsw-phy-sel 4a002554.cpsw-phy-sel: SLAVE 0
[ OK ] Started LSB: Raise network interfaces..
Starting ifup for eth1...
[ OK ] Started ifup for eth1.
Starting ifup for eth0...
[ OK ] Started ifup for eth0.
[ OK ] Reached target Network.
[ OK ] Reached target Network is Online.
[ OK ] Reached target System Initialization.
[ OK ] Reached target Timers.
[ OK ] Reached target Basic System.
Starting Attach data ubi partition to QSPI userspace data partition...
Starting Run anacron jobs...
[ 8.254932] ubi0: attaching mtd9
[ OK ] Started Run anacron jobs.
Starting Regular background program processing daemon...
[ OK ] Started Regular background program processing daemon.
Starting Enable netconsole...
Starting Rename booted partitions as 'primary' for u-boot...
Starting OpenBSD Secure Shell server...
[ OK ] Started OpenBSD Secure Shell server.
Starting Peloton's application runner and manager...
Starting getty on tty2-tty6 if dbus and logind are not available...
Starting System Logging Service...
[ 8.533516] ubi0: scanning is finished
Starting Permit User Sessions...
[ 8.569503] ubi0: attached mtd9 (name "QSPI.userspace", size 50 MiB)
[ 8.575904] ubi0: PEB size: 65536 bytes (64 KiB), LEB size: 65408 bytes
[ 8.587421] ubi0: min./max. I/O unit sizes: 1/256, sub-page size 1
[ 8.598890] ubi0: VID header offset: 64 (aligned 64), data offset: 128
[ 8.609472] ubi0: good PEBs: 802, bad PEBs: 0, corrupted PEBs: 0
[ 8.619739] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 8.629487] ubi0: max/mean erase counter: 23/11, WL threshold: 4096, image sequence number: 1290976078
[ 8.640652] ubi0: available PEBs: 0, total reserved PEBs: 802, PEBs reserved for bad PEB handling: 0
[ OK ] Started Permit User Sessions.
[ 8.652391] ubi0: background thread "ubi_bgt0d" started, PID 2194
[ OK ] Started Attach data ubi partition to QSPI userspace data partition.
[ OK ] Started System Logging Service.
Starting Getty on tty4...
[ OK ] Started Getty on tty4.
Starting Getty on tty3...
[ OK ] Started Getty on tty3.
Starting Getty on tty2...
[ OK ] Started Getty on tty2.
Mounting Mount UBIFS partition on /spiroot...
Starting Getty on tty1...
[ OK ] Started Getty on tty1.
Starting Serial Getty on ttyS2...
[ OK ] Started Serial Getty on ttyS2.
[ 9.035359] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "userspace", R/O mode
[ 9.051079] UBIFS (ubi0:0): LEB size: 65408 bytes (63 KiB), min./max. I/O unit sizes: 8 bytes/256 bytes
[ 9.079197] UBIFS (ubi0:0): FS size: 51541504 bytes (49 MiB, 788 LEBs), journal size 2550912 bytes (2 MiB, 39 LEBs)
[ 9.079208] UBIFS (ubi0:0): reserved for root: 2434432 bytes (2377 KiB)
[ 9.079217] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID E651EC8E-2DDD-4258-A8CF-FDF3B4EFA277, small LPT model
[ OK ] Started getty on tty2-tty6 if dbus and logind are not available.
[ OK ] Mounted Mount UBIFS partition on /spiroot.
Starting Bind-mount UBIFS hostname file on eMMC...
[ 9.286953] netpoll: netconsole: local port 6665
[ 9.291686] netpoll: netconsole: local IPv4 address 169.254.254.9
[ 9.311065] netpoll: netconsole: interface 'eth0'
[ 9.326303] netpoll: netconsole: remote port 6666
[ 9.339471] netpoll: netconsole: remote IPv4 address 169.254.254.2
[ 9.352980] netpoll: netconsole: remote ethernet address ff:ff:ff:ff:ff:ff
Starting Getty on tty6...
[ 9.395226] netconsole: netconsole: network logging started
[ OK ] Started Getty on tty6.
Starting Getty on tty5...
[ OK ] Started Getty on tty5.
[ OK ] Reached target Login Prompts.
[ OK ] Started Enable netconsole.
[ OK ] Started Peloton's application runner and manager.
[ OK ] Started Bind-mount UBIFS hostname file on eMMC.
Starting Set hostname as soon as /spiroot partition ...d is mounted...
[ OK ] Started Set hostname as soon as /spiroot partition w...red is mounted.
[ OK ] Started Rename booted partitions as 'primary' for u-boot.
[ OK ] Reached target Multi-User System.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Started Update UTMP about System Runlevel Changes.
[ 11.633848] can: controller area network core (rev 20120528 abi 9)
[ 11.642821] NET: Registered protocol family 29
[ 11.685988] can: raw protocol (rev 20120528)
[ 11.916579] cpsw 48484000.ethernet eth1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 12.119919] cpsw 48484000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Debian GNU/Linux 8 vpc168 ttyS2
vpc168 login: [ 918.848716] cpsw 48484000.ethernet eth0: Link is Down
[ 921.871863] cpsw 48484000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 935.920696] cpsw 48484000.ethernet eth0: Link is Down
[ 936.933674] cpsw 48484000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 942.959939] cpsw 48484000.ethernet eth0: Link is Down
[ 944.977621] cpsw 48484000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 961.032535] cpsw 48484000.ethernet eth0: Link is Down
[ 963.050661] cpsw 48484000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
ro[ 1833.651292] cpsw 48484000.ethernet eth0: Link is Down
ot
[ 1836.676138] cpsw 48484000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 1850.726012] cpsw 48484000.ethernet eth0: Link is Down
[ 1851.737938] cpsw 48484000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 1857.762779] cpsw 48484000.ethernet eth0: Link is Down
[ 1859.779769] cpsw 48484000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 1875.836812] cpsw 48484000.ethernet eth0: Link is Down
[ 1878.860640] cpsw 48484000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 2035.587470] rpmsg_pru rpmsg0: Not enough space on the FIFO
[ 2035.597375] rpmsg_pru rpmsg0: Not enough space on the FIFO
[ 2035.602904] rpmsg_pru rpmsg0: Not enough space on the FIFO
[ 2035.608429] rpmsg_pru rpmsg0: Not enough space on the FIFO
[ 2035.613952] rpmsg_pru rpmsg0: Not enough space on the FIFO
[ 2035.619475] rpmsg_pru rpmsg0: Not enough space on the FIFO
[ 2035.624996] rpmsg_pru rpmsg0: Not enough space on the FIFO
[ 2035.631089] rpmsg_pru rpmsg0: Not enough space on the FIFO
[ 2035.636621] rpmsg_pru rpmsg0: Not enough space on the FIFO
[ 2035.642143] rpmsg_pru rpmsg0: Not enough space on the FIFO
[ 2585.173343] ------------[ cut here ]------------
[ 2585.173350] Kernel BUG at c04a25a0 [verbose debug info unavailable]
[ 2585.173356] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
[ 2585.173377] Modules linked in: can_raw can c_can_platform c_can can_dev at24 tmp102
[ 2585.173386] CPU: 1 PID: 898 Comm: mmcqd/1 Not tainted 4.1.18-rt17+ #20
[ 2585.173390] Hardware name: Generic DRA74X (Flattened Device Tree)
[ 2585.173395] task: ef29f500 ti: eeaf2000 task.ti: eeaf2000
[ 2585.173406] PC is at omap_hsmmc_request+0x330/0x550
[ 2585.173419] LR is at mmc_start_request+0x158/0x288
[ 2585.173425] pc : [<c04a25a0>] lr : [<c0487f90>] psr: 20070113
[ 2585.173425] sp : eeaf3d80 ip : eeaf3de8 fp : eeaf3de4
[ 2585.173429] r10: 00000000 r9 : ef37dc1c r8 : ef37dd50
[ 2585.173434] r7 : ef37dc48 r6 : c09d7a28 r5 : ee85e000 r4 : ee85e000
[ 2585.173438] r3 : 00000001 r2 : 00000000 r1 : ef37dc48 r0 : ee85e000
[ 2585.173444] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
[ 2585.173449] Control: 30c5387d Table: aeb96180 DAC: 55555555
[ 2585.173453] Process mmcqd/1 (pid: 898, stack limit = 0xeeaf2218)
[ 2585.173458] Stack: (0xeeaf3d80 to 0xeeaf4000)
[ 2585.173466] 3d80: eeae8000 00000001 d9000000 c001f53c ef37dd0c c0959b9c 00000000 ee85e41c
[ 2585.173473] 3da0: ef2e2610 00000000 eeaf3dfc eeaf3db8 c04a0b6c c001f548 00000000 ef37dc48
[ 2585.173479] 3dc0: ee85e000 c09d7a28 ef37dc48 ef37dd50 ef37dc1c 00000000 eeaf3e1c eeaf3de8
[ 2585.173485] 3de0: c0487f90 c04a227c ef37dc1c 00000000 eeaf3e1c eeaf3e00 c04a0c94 ee85e000
[ 2585.173492] 3e00: 00000000 ef37dc44 ef37dd50 ef37dc1c eeaf3e6c eeaf3e20 c0488f90 c0487e44
[ 2585.173498] 3e20: eeaf3e6c eeaf3e30 c04989c0 c049bb7c 00000000 ef37dc1c ef37dd0c ef37dc00
[ 2585.173504] 3e40: eeaf3e6c d8151410 ef37dd50 ef37dc44 00000000 00000000 ef37dc1c ef012800
[ 2585.173511] 3e60: eeaf3ed4 eeaf3e70 c0498de0 c0488cd8 ee85e330 ee85e000 00000001 c006575c
[ 2585.173517] 3e80: ee85e330 ee85e000 ef37dc00 00000000 00000001 00000000 ef37dc00 00000000
[ 2585.173523] 3ea0: ef29f500 00000003 eeaf3ed4 ef012800 ef37dc1c ee85e330 ee85e000 ef37dc00
[ 2585.173529] 3ec0: d8151410 00000000 eeaf3f24 eeaf3ed8 c049965c c0498a88 c049af78 00000000
[ 2585.173536] 3ee0: eeaf3f04 eeaf3ef0 c0063b68 c00e7e84 ee85e000 00000000 eeaf3f24 ef37dc1c
[ 2585.173543] 3f00: 00000000 eead8000 c049af2c c049af78 d8151410 eeaf2000 eeaf3f5c eeaf3f28
[ 2585.173549] 3f20: c049b040 c049955c ef29f500 ef37dc24 c049aecc 00000000 ef3d4800 ef37dc1c
[ 2585.173556] 3f40: c049aecc 00000000 00000000 00000000 eeaf3fac eeaf3f60 c005ade8 c049aed8
[ 2585.173563] 3f60: 00000000 00000000 00000000 ef37dc1c 00000000 00000000 eeaf3f78 eeaf3f78
[ 2585.173569] 3f80: 00000000 00000000 eeaf3f88 eeaf3f88 ef3d4800 c005ad00 00000000 00000000
[ 2585.173575] 3fa0: 00000000 eeaf3fb0 c00109b8 c005ad0c 00000000 00000000 00000000 00000000
[ 2585.173581] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2585.173588] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[ 2585.173603] [<c04a25a0>] (omap_hsmmc_request) from [<c0487f90>] (mmc_start_request+0x158/0x288)
[ 2585.173617] [<c0487f90>] (mmc_start_request) from [<c0488f90>] (mmc_start_req+0x2c4/0x3d8)
[ 2585.173631] [<c0488f90>] (mmc_start_req) from [<c0498de0>] (mmc_blk_issue_rw_rq+0x364/0xad4)
[ 2585.173642] [<c0498de0>] (mmc_blk_issue_rw_rq) from [<c049965c>] (mmc_blk_issue_rq+0x10c/0x4e4)
[ 2585.173654] [<c049965c>] (mmc_blk_issue_rq) from [<c049b040>] (mmc_queue_thread+0x174/0x1c8)
[ 2585.173667] [<c049b040>] (mmc_queue_thread) from [<c005ade8>] (kthread+0xe8/0x104)
[ 2585.173680] [<c005ade8>] (kthread) from [<c00109b8>] (ret_from_fork+0x14/0x3c)
[ 2585.173690] Code: e34c1078 e5930000 ebfd3a07 eaffffb8 (e7f001f2)
[ 2585.508425] ---[ end trace 0000000000000002 ]---
[ 2585.508432] Kernel panic - not syncing: Fatal exception
[ 2585.508439] CPU0: stopping
[ 2585.508447] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G D 4.1.18-rt17+ #20
[ 2585.508450] Hardware name: Generic DRA74X (Flattened Device Tree)
[ 2585.508465] [<c0018b5c>] (unwind_backtrace) from [<c0014e20>] (show_stack+0x20/0x24)
[ 2585.508477] [<c0014e20>] (show_stack) from [<c05af77c>] (dump_stack+0xb4/0xe4)
[ 2585.508486] [<c05af77c>] (dump_stack) from [<c00171dc>] (handle_IPI+0x308/0x360)
[ 2585.508494] [<c00171dc>] (handle_IPI) from [<c0009614>] (gic_handle_irq+0x68/0x6c)
[ 2585.508502] [<c0009614>] (gic_handle_irq) from [<c05b4584>] (__irq_svc+0x44/0x90)
[ 2585.508505] Exception stack(0xc0949f18 to 0xc0949f60)
[ 2585.508510] 9f00: ef6c9840 00000000
[ 2585.508517] 9f20: 00000000 c095500c 00000001 c0948000 c09540f8 c0954000 c09cbc84 c05bb6e8
[ 2585.508522] 9f40: c08b75ec c0949f6c c0949f60 c0949f60 c0011524 c0011528 60070013 ffffffff
[ 2585.508532] [<c05b4584>] (__irq_svc) from [<c0011528>] (arch_cpu_idle+0x34/0x4c)
[ 2585.508542] [<c0011528>] (arch_cpu_idle) from [<c0079538>] (cpu_startup_entry+0x1b4/0x350)
[ 2585.508550] [<c0079538>] (cpu_startup_entry) from [<c05ad138>] (rest_init+0x98/0x9c)
[ 2585.508560] [<c05ad138>] (rest_init) from [<c0846cf0>] (start_kernel+0x390/0x39c)
Here is the console log that shows the crash if that helps.
Hi, -1- Could you get logs with CONFIG_MMC_DEBUG config enabled in kernel? this might also need increasing the loglevel (append loglevel=9 to Kernel bootargs) to see the MMC_DEBUG logs. -2- The update operation is performed on SD card or eMMC? -3- Could you share the command used? I can try it on TI EVM to see if it can be reproduced. Regards, Vishal
Hi Vishal, I was on vacation this week. We'll try to gather some data with additional kernel options and get back to you. However, we can answer some questions: -2- The update is performed on eMMC. -3- The command is a swupdate invocation: I don't have an invocation for you because it would require a _lot_ of setup. We'll see if we can reproduce this using dd(1) or something like that. Thanks, Phil
Hi Philip, Could you try testing with the attached patch? 0001-mmc-host-omap_hsmmc-Fix-ADMA-descriptor-table-alloca.patch Regards, Vishal
Hi Vishal, Thank you very much, we will definitely try this out. I've been asked to prioritize other things so it'll be a week or so before I can get back to you with any results. Thanks a lot for your thoughts! Philipp
Actually, looks like the patch you posted only applies to Linux 4.4 onwards. Since we're on 4.1 we don't have ADMA2 support.
Yes, you are right. In that case we would need the previously requested information.
Hi Philip, Could you open a new question when you work on this issue again? Closing it for now.