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.

AM5718: [AM57IDK Reference board] Kernel crash after Initializing XFRM netlink socket when docker changes are enabled

Part Number: AM5718
Other Parts Discussed in Thread: TPIC2810

Hello , 

Greetings!!

i want to give the back ground of the work flow: 

Yocto : dunfell (08.00.00.004) 

Machine : am57xx-evm

Board : AM57IDK 

kernel : 5.10.41-rt

Im currently facing issue after the boot, board enters into kernel OOPs and Panic log " ON in case of Docker configurations enabled." 

I just picked up the machine file from Yocto dunfell branch and build using bitbake, kernel boot-up is Good and No issues. 

Issue appears when docker kernel configurations fragments are enabled. 

Here the crash log: 

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.10.41-rt39-g0701a5b58c (oe-user@oe-host) (arm-poky-linux-gnueabi-gcc (GCC) 9.5.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT_RT Tue Jul 20 18:16:38 UTC 2021
[ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: TI AM5718 IDK
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
[ 0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
[ 0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
[ 0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatible id shared-dma-pool
[ 0.000000] cma: Reserved 24 MiB at 0x00000000be800000
[ 0.000000] OMAP4: Map 0x00000000afd00000 to (ptrval) for dram barrier
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000080000000-0x00000000afcfffff]
[ 0.000000] Normal empty
[ 0.000000] HighMem [mem 0x00000000afd00000-0x00000000bfffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x000000009fffffff]
[ 0.000000] node 0: [mem 0x00000000a0000000-0x00000000abffffff]
[ 0.000000] node 0: [mem 0x00000000ac000000-0x00000000afcfffff]
[ 0.000000] node 0: [mem 0x00000000b0000000-0x00000000bfffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff]
[ 0.000000] DRA722 ES2.0
[ 0.000000] percpu: Embedded 11 pages/cpu s15776 r8192 d21088 u45056
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 259654
[ 0.000000] Kernel command line: root=/dev/mmcblk0p2 rootwait console=ttyO2,115200n8
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0x0000000091800000-0x0000000095800000] (64MB)
[ 0.000000] Memory: 570212K/1045504K available (10240K kernel code, 741K rwdata, 3380K rodata, 6144K init, 291K bss, 295068K reserved, 180224K cma-reserved, 237568K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[ 0.000000] rcu: RCU priority boosting: priority 1 delay 500 ms.
[ 0.000000] rcu: RCU_SOFTIRQ processing moved to rcuc kthreads.
[ 0.000000] No expedited grace period (rcu_normal_after_boot).
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] random: get_random_bytes called from start_kernel+0x350/0x504 with crng_init=0
Starting version 244.5+
[ 0.000000] OMAP clocksource: 32k_counter 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.001281] TI gptimer clockevent: always-on 32786 Hz at /ocp/interconnect@4ae00000/segment@10000/target-module@8000
[ 0.001831] TI gptimer percpu-dmtimer: 20000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@34000
[ 0.001922] Failed to initialize '/ocp/interconnect@48000000/segment@0/target-module@36000/timer@0': -22
[ 0.003662] Console: colour dummy device 80x30
[ 0.003692] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
[ 0.003692] This ensures that you still see kernel messages. Please
[ 0.003692] update your kernel commandline.
[ 0.003723] Calibrating delay loop... 1993.93 BogoMIPS (lpj=9969664)
[ 0.061920] pid_max: default: 32768 minimum: 301
[ 0.062011] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.062042] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.062683] CPU: Testing write buffer coherency: ok
[ 0.062713] CPU0: Spectre v2: using ICIALLU workaround
[ 0.062866] /cpus/cpu@0 missing clock-frequency property
[ 0.062896] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.063415] Setting up static identity map for 0x80200000 - 0x80200060
[ 0.063507] rcu: Hierarchical SRCU implementation.
[ 0.063812] EFI services will not be available.
[ 0.063903] smp: Bringing up secondary CPUs ...
[ 0.063903] smp: Brought up 1 node, 1 CPU
[ 0.063903] SMP: Total of 1 processors activated (1993.93 BogoMIPS).
[ 0.063934] CPU: All CPU(s) started in HYP mode.
[ 0.063934] CPU: Virtualization extensions available.
[ 0.064239] devtmpfs: initialized
[ 0.091369] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[ 0.091491] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.091522] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.094665] pinctrl core: initialized pinctrl subsystem
[ 0.095184] DMI not present or invalid.
[ 0.095458] NET: Registered protocol family 16
[ 0.096710] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.099212] omap_hwmod: l3_main_2 using broken dt data from ocp
[ 0.116607] thermal_sys: Registered thermal governor 'fair_share'
[ 0.116607] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.116607] thermal_sys: Registered thermal governor 'step_wise'
[ 0.116607] thermal_sys: Registered thermal governor 'user_space'
[ 2.942382] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 2.942382] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 2.981140] V1_2D: supplied by VMAIN
[ 2.982818] iommu: Default domain type: Translated
[ 2.986328] SCSI subsystem initialized
[ 2.986816] mc: Linux media interface: v0.10
[ 2.986846] videodev: Linux video capture interface: v2.00
[ 2.986907] pps_core: LinuxPPS API ver. 1 registered
[ 2.986907] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 2.986938] PTP clock support registered
[ 2.986968] EDAC MC: Ver: 3.0.0
[ 2.988159] Advanced Linux Sound Architecture Driver Initialized.
[ 2.989013] clocksource: Switched to clocksource 32k_counter
[ 2.995544] NET: Registered protocol family 2
[ 2.995697] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 2.996551] tcp_listen_portaddr_hash hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 2.996582] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 2.996673] TCP bind hash table entries: 8192 (order: 5, 229376 bytes, linear)
[ 2.996856] TCP: Hash tables configured (established 8192 bind 8192)
[ 2.996917] UDP hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 2.996978] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 2.997283] NET: Registered protocol family 1
[ 2.997924] RPC: Registered named UNIX socket transport module.
[ 2.997924] RPC: Registered udp transport module.
[ 2.997924] RPC: Registered tcp transport module.
[ 2.997924] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 2.997924] PCI: CLS 0 bytes, default 64
[ 3.038208] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[ 3.039031] Initialise system trusted keyrings
[ 3.039306] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 3.044311] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 3.044891] NFS: Registering the id_resolver key type
[ 3.044921] Key type id_resolver registered
[ 3.044921] Key type id_legacy registered
[ 3.044982] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 3.044982] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 3.045013] ntfs: driver 2.1.32 [Flags: R/O].
[ 3.045440] Key type asymmetric registered
[ 3.045440] Asymmetric key parser 'x509' registered
[ 3.045501] bounce: pool size: 64 pages
[ 3.045532] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[ 3.045532] io scheduler mq-deadline registered
[ 3.045562] io scheduler kyber registered
[ 3.551086] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
[ 3.857452] OMAP GPIO hardware version 0.1
[ 4.071838] palmas 0-0058: Irq flag is 0x00000004
[ 4.100982] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
[ 4.116241] smps12: supplied by regulator-dummy
[ 4.117553] smps3: supplied by VMAIN
[ 4.119201] smps45: supplied by regulator-dummy
[ 4.120758] smps6: supplied by VMAIN
[ 4.122161] smps7: supplied by VMAIN
[ 4.123291] smps8: supplied by VMAIN
[ 4.124694] smps9: supplied by VMAIN
[ 4.126037] ldo1: supplied by VMAIN
[ 4.127655] ldo2: supplied by VMAIN
[ 4.129272] ldo3: supplied by VMAIN
[ 4.130889] ldo4: supplied by VMAIN
[ 4.131195] random: fast init done
[ 4.131530] LDO5: supplied by regulator-dummy
[ 4.131927] LDO6: supplied by regulator-dummy
[ 4.132293] LDO7: supplied by regulator-dummy
[ 4.132659] LDO8: supplied by regulator-dummy
[ 4.134185] ldo9: supplied by VMAIN
[ 4.135803] ldoln: supplied by VMAIN
[ 4.137390] ldousb: supplied by VMAIN
[ 4.152435] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[ 4.179443] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[ 4.180694] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
[ 4.186950] edma 43300000.dma: memcpy is disabled
[ 4.190216] edma 43300000.dma: TI EDMA DMA engine driver
[ 4.206878] pinctrl-single 4a003400.pinmux: 282 pins, size 1128
[ 4.211761] dra7-pcie 51000000.pcie: host bridge /ocp/axi@0/pcie@51000000 ranges:
[ 4.211822] dra7-pcie 51000000.pcie: IO 0x0020003000..0x0020012fff -> 0x0000000000
[ 4.211853] dra7-pcie 51000000.pcie: MEM 0x0020013000..0x002fffffff -> 0x0020013000
[ 5.212707] dra7-pcie 51000000.pcie: Phy link never came up
[ 5.212860] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
[ 5.212860] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 5.212860] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 5.212890] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
[ 5.212921] pci 0000:00:00.0: [104c:8888] type 01 class 0x060400
[ 5.212921] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[ 5.212951] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[ 5.213012] pci 0000:00:00.0: supports D1
[ 5.213012] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 5.221038] PCI: bus0: Fast back to back transfers disabled
[ 5.228607] PCI: bus1: Fast back to back transfers enabled
[ 5.228637] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
[ 5.228637] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
[ 5.228637] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 5.229156] pcieport 0000:00:00.0: PME: Signaling with IRQ 167
[ 5.236114] V3_3D: supplied by smps9
[ 5.236358] vtt_fixed: supplied by V3_3D
[ 5.276367] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[ 5.280181] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 109, base_baud = 3000000) is a 8250
[ 5.280273] printk: console [ttyS2] enabled
[ 5.283172] omap_rng 48090000.rng: Random Number Generator ver. 20
[ 5.284667] DSS: OMAP DSS rev 6.1
[ 5.288452] random: crng init done
[ 5.310821] brd: module loaded
[ 5.317413] loop: module loaded
[ 5.325012] spi-nor spi0.0: s25fl256s1 (32768 Kbytes)
[ 5.325073] 7 fixed-partitions partitions found on MTD device spi0.0
[ 5.325073] Creating 7 MTD partitions on "spi0.0":
[ 5.325103] 0x000000000000-0x000000040000 : "QSPI.SPL"
[ 5.326293] 0x000000040000-0x000000140000 : "QSPI.u-boot"
[ 5.329711] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
[ 5.330841] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
[ 5.339752] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
[ 5.340850] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
[ 5.341949] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
[ 5.344146] libphy: Fixed MDIO Bus: probed
[ 5.409088] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
[ 5.409088] libphy: 48485000.mdio: probed
[ 5.419952] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver Micrel KSZ9031 Gigabit PHY
[ 5.419952] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 Gigabit PHY
[ 5.420593] cpsw-switch 48484000.switch: initialized cpsw ale version 1.4
[ 5.420593] cpsw-switch 48484000.switch: ALE Table size 1024
[ 5.420684] cpsw-switch 48484000.switch: cpts: overflow check period 500 (jiffies)
[ 5.420684] cpsw-switch 48484000.switch: CPTS: ref_clk_freq:266000000 calc_mult:4036623398 calc_shift:30 error:-1 nsec/sec
[ 5.420715] cpsw-switch 48484000.switch: Detected MACID = 44:ea:d8:17:3a:0a
[ 5.420745] cpsw-switch 48484000.switch: Detected MACID = 44:ea:d8:17:3a:0b
[ 5.422668] cpsw-switch 48484000.switch: initialized (regs 0x0000000048484000, pool size 256) hw_ver:0019010F 1.15 (0)
[ 5.423583] i2c /dev entries driver
[ 5.430175] sdhci: Secure Digital Host Controller Interface driver
[ 5.430206] sdhci: Copyright(c) Pierre Ossman
[ 5.431701] sdhci-pltfm: SDHCI platform and OF driver helper
[ 5.433746] omap_gpio 4805d000.gpio: Could not set line 27 debounce to 200000 microseconds (-22)
[ 5.433746] sdhci-omap 4809c000.mmc: Got CD GPIO
[ 5.435211] sdhci-omap 4809c000.mmc: no pinctrl state for ddr_3_3v mode
[ 5.446105] NET: Registered protocol family 10
[ 5.446990] Segment Routing with IPv6
[ 5.447052] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 5.447509] NET: Registered protocol family 17
[ 5.447753] Key type dns_resolver registered
[ 5.447814] Registering SWP/SWPB emulation handler
[ 5.448303] omap_voltage_late_init: Voltage driver support not added
[ 5.448303] Power Management for TI OMAP4+ devices.
[ 5.448699] printk: console [ttyS2]: printing thread started
[ 5.448730] Loading compiled-in X.509 certificates
[ 5.467346] mmc1: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA
[ 5.485260] mmc0: SDHCI controller on 4809c000.mmc [4809c000.mmc] using ADMA
[ 5.533355] dmm 4e000000.dmm: workaround for errata i878 in use
[ 5.535339] dmm 4e000000.dmm: initialized all PAT entries
[ 5.540863] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[ 5.543548] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[ 5.544281] platform 40800000.dsp: Adding to iommu group 0
[ 5.548278] mmc0: new high speed SDHC card at address aaaa
[ 5.548858] mmcblk0: mmc0:aaaa SS16G 14.8 GiB
[ 5.550079] omap-iommu 58882000.mmu: 58882000.mmu registered
[ 5.550567] platform 58820000.ipu: Adding to iommu group 1
[ 5.553161] mmcblk0: p1 p2 p3 p4 < p5 p6 p7 >
[ 5.559539] omap-iommu 55082000.mmu: 55082000.mmu registered
[ 5.559967] platform 55020000.ipu: Adding to iommu group 2
[ 5.561614] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
[ 5.561981] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
[ 5.569610] omapdrm omapdrm.0: [drm] Cannot find any crtc or sizes
[ 5.570465] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0
[ 5.572448] ALSA device list:
[ 5.572448] No soundcards found.
[ 5.589141] mmc1: new DDR MMC card at address 0001
[ 5.600006] Freeing unused kernel memory: 6144K
[ 5.600402] mmcblk1: mmc1:0001 R1J56L 13.8 GiB
[ 5.600616] mmcblk1boot0: mmc1:0001 R1J56L partition 1 4.00 MiB
[ 5.600860] mmcblk1boot1: mmc1:0001 R1J56L partition 2 4.00 MiB
[ 5.600982] mmcblk1rpmb: mmc1:0001 R1J56L partition 3 128 KiB, chardev (243:0)
[ 5.601806] Run /init as init process
[ 6.579223] omapdrm omapdrm.0: [drm] Cannot find any crtc or sizes
[ 9.886779] EXT4-fs (mmcblk0p5): mounting ext3 file system using the ext4 subsystem
[ 9.902374] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)

Authenticating root filesystem:......

All OK OK OK .....

[ 44.466522] pps pps0: new PPS source ptp1
[ 44.466705] remoteproc remoteproc3: powering up 4b234000.pru
[ 44.485473] remoteproc remoteproc3: Booting fw image ti-pruss/am57xx-pru0-prueth-fw.elf, size 6760
[ 44.485504] remoteproc remoteproc3: unsupported resource 5
[ 44.485595] remoteproc remoteproc3: remote processor 4b234000.pru is now up
[ 44.486206] net eth2: started
[ 44.580627] remoteproc remoteproc4: powering up 4b238000.pru
[ 44.580810] remoteproc remoteproc4: Booting fw image ti-pruss/am57xx-pru1-prueth-fw.elf, size 6792
[ 44.580810] remoteproc remoteproc4: unsupported resource 5
[ 44.580932] remoteproc remoteproc4: remote processor 4b238000.pru is now up
[ 44.581542] net eth3: started
[ 44.693847] pps pps1: new PPS source ptp2
[ 44.694030] remoteproc remoteproc5: powering up 4b2b4000.pru
[ 44.694152] remoteproc remoteproc5: Booting fw image ti-pruss/am57xx-pru0-prueth-fw.elf, size 6760
[ 44.694183] remoteproc remoteproc5: unsupported resource 5
[ 44.694244] remoteproc remoteproc5: remote processor 4b2b4000.pru is now up
[ 44.697753] net eth4: started
[ 44.804901] remoteproc remoteproc6: powering up 4b2b8000.pru
[ 44.804992] remoteproc remoteproc6: Booting fw image ti-pruss/am57xx-pru1-prueth-fw.elf, size 6792
[ 44.805023] remoteproc remoteproc6: unsupported resource 5
[ 44.805114] remoteproc remoteproc6: remote processor 4b2b8000.pru is now up
[ 44.805755] net eth5: started

[ 54.613433] Initializing XFRM netlink socket
[ 60.651580] br0: renamed from ov-001000-ysj3p
[ 60.790374] vxlan0: renamed from vx-001000-ysj3p
[ 60.829559] br0: port 1(vxlan0) entered blocking state
[ 60.829681] br0: port 1(vxlan0) entered disabled state
[ 60.829956] device vxlan0 entered promiscuous mode
[ 60.830200] 8<--- cut here ---
[ 60.849212] printk: console [ttyS2]: printing thread stopped
[ 60.874176] Unable to handle kernel NULL pointer dereference at virtual address 0000016c
[ 60.889129] pgd = 819037be
[ 60.895080] [0000016c] *pgd=80000080004003, *pmd=00000000
[ 60.905273] Internal error: Oops: 206 [#1] PREEMPT_RT SMP ARM
[ 60.911041] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel xt_nat xt_policy xt_tcpudp xt_conntrack xt_MASQUERADE xfrm_user xfrm_algo xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ip_tables x_tables bridge stp llc xhci_plat_hcd xhci_hcd usbcore irq_pruss_intc dwc3 roles udc_core usb_common prueth hsr icss_iep pru_rproc snd_soc_omap_hdmi omap_aes_driver libaes pruss c_can_platform c_can can_dev ahci_platform omap_wdt libahci_platform libahci libata phy_omap_usb2 ti_vpe ti_sc ti_csc ti_vpdma dwc3_omap v4l2_mem2mem rtc_omap ti_cal videobuf2_dma_contig v4l2_fwnode videobuf2_memops videobuf2_v4l2 bq27xxx_battery_hdq bq27xxx_battery videobuf2_common gpio_pisosr omap_des omap_crypto omap_hdq libdes wire rtc_palmas gpio_tpic2810 extcon_palmas omap_sham crypto_engine omap_remoteproc virtio_rpmsg_bus overlay sch_fq_codel cmemk(O)
[ 60.989227] CPU: 0 PID: 18 Comm: kworker/0:1 Tainted: G O 5.10.41-rt39-g0701a5b58c #1
[ 60.998413] Hardware name: Generic DRA72X (Flattened Device Tree)
[ 61.004516] Workqueue: events switchdev_deferred_process_work
[ 61.010314] PC is at prueth_sw_switchdev_blocking_event+0xc/0xbc [prueth]
[ 61.017150] LR is at blocking_notifier_call_chain+0x68/0x8c
[ 61.022766] pc : [<bf1b4484>] lr : [<c0249dcc>] psr: 200a0013
[ 61.029052] sp : c1a71e80 ip : c1a71e48 fp : efc34d80
[ 61.034301] r10: 00000100 r9 : fffffffe r8 : c16b74f8
[ 61.039550] r7 : c1a71ea0 r6 : 00000009 r5 : c372f7a0 r4 : 00000001
[ 61.046112] r3 : 00000009 r2 : c1a71ea0 r1 : 00000000 r0 : c9dd0000
[ 61.052673] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 61.059844] Control: 30c5387d Table: 89c038c0 DAC: fffffffd
[ 61.065612] Process kworker/0:1 (pid: 18, stack limit = 0x70c8efd8)
[ 61.071929] Stack: (0xc1a71e80 to 0xc1a72000)
[ 61.076293] 1e80: c9df8400 c1a70000 c9dd0000 c9df8410 c16b74e0 c0af3794 00000100 c0af407c
[ 61.084533] 1ea0: c9dd0000 00000000 c9df8410 c1a71ed3 00000000 54a78262 efc32330 c9df8400
[ 61.092742] 1ec0: c1a70000 c0af4118 00000000 00000200 01000001 54a78262 00000200 c9df8400
[ 61.100952] 1ee0: c9df8410 c9dd0000 c0af3808 c0af4224 c9df8400 c16b74c8 c16b74c8 c0af37dc
[ 61.109161] 1f00: efc34d80 efc38000 c16b74e8 c1a55200 efc34d80 efc38000 00000000 00000000
[ 61.117401] 1f20: 00000000 c0af38a4 c16b74e8 c0241aa0 efc34d98 c1605100 c1a55200 efc34d80
[ 61.125610] 1f40: c1a55214 efc34d98 c1605100 00000008 c1a70000 c0241d48 c1a55200 c16b91a7
[ 61.133819] 1f60: c1a71f74 c1a51dc0 c1a70000 c1a51d80 c1a58800 c0241cfc c1a55200 c1897eac
[ 61.142028] 1f80: c1a51de4 c0248474 c1a58800 c1a51d80 c02482e8 00000000 00000000 00000000
[ 61.150268] 1fa0: 00000000 00000000 00000000 c0200140 00000000 00000000 00000000 00000000
[ 61.158477] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 61.166687] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[ 61.174926] [<bf1b4484>] (prueth_sw_switchdev_blocking_event [prueth]) from [<c1a70000>] (0xc1a70000)
[ 61.184204] Code: e8bd87f0 e5920000 e1a03001 e5901600 (e591116c)
[ 61.513092] ---[ end trace 0000000000000002 ]---

It is only after the Initializing XFRM netlink socket, it enters into OOPs.

I have picked up docker cfg from 

https://git.ti.com/cgit/processor-sdk/meta-processor-sdk/tree/recipes-kernel/linux/files/docker.cfg?h=dunfell_8_2

Can community please suggest how to fix and where im going wrong what is missing ? 

Regards,

Raju

  • Hello Raju,

    Due to bandwidth, please expect some delay in responses.

    -Josue

  • Hello Raju,

    I apologize for the delay, especially when it is to deliver bad news. Unfortunately Docker support was descoped from 8.02. 

    Please see the SDK release notes --> https://software-dl.ti.com/processor-sdk-linux/esd/AM57X/08_02_00_04/exports/docs/linux/Release_Specific_PLSDK_Release_Notes.html#release-08-02-00

    -Josue

  • Hello Josue,

    Thanks for the response. 

    i want to know, is it available in dunfell (https://git.ti.com/cgit/processor-sdk/meta-processor-sdk/tree/recipes-kernel/linux/files/docker.cfg?h=dunfell) ? 

    Next question, Is docker taken into scope for kirkstone SDK ? which is available in Yocto ?

    Regards,

    Raju

  • Further debug logs of the issue: 

    :~# dockerd

    INFO[2000-01-01T03:40:24.635040283Z] Starting up

    INFO[2000-01-01T03:40:24.647979736Z] libcontainerd: started new containerd process  pid=1772

    INFO[2000-01-01T03:40:24.648559570Z] parsed scheme: "unix"                         module=grpc

    INFO[2000-01-01T03:40:24.648681640Z] scheme "unix" not registered, fallback to default scheme  module=grpc

    INFO[2000-01-01T03:40:24.649017333Z] ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0  <nil>}] <nil>}  module=grpc

    INFO[2000-01-01T03:40:24.649169921Z] ClientConn switching balancer to "pick_first"  module=grpc

    INFO[2000-01-01T03:40:24.796112060Z] starting containerd                           revision=3b3e9d5f62a114153829f9fbe2781d27b0a2ddac.m version=v1.2.14-3-g3b3e9d5f6.m

    INFO[2000-01-01T03:40:24.798156738Z] loading plugin "io.containerd.content.v1.content"...  type=io.containerd.content.v1

    INFO[2000-01-01T03:40:24.798309326Z] loading plugin "io.containerd.snapshotter.v1.aufs"...  type=io.containerd.snapshotter.v1

    WARN[2000-01-01T03:40:24.808868408Z] failed to load plugin io.containerd.snapshotter.v1.aufs  error="modprobe aufs failed: "modprobe: FATAL: Module aufs not found in directory /lib/modules/5.10.41-rt39-g0701a5b58c\n": exit status 1"

    INFO[2000-01-01T03:40:24.809020996Z] loading plugin "io.containerd.snapshotter.v1.native"...  type=io.containerd.snapshotter.v1

    INFO[2000-01-01T03:40:24.809173583Z] loading plugin "io.containerd.snapshotter.v1.overlayfs"...  type=io.containerd.snapshotter.v1

    INFO[2000-01-01T03:40:24.809570312Z] loading plugin "io.containerd.snapshotter.v1.zfs"...  type=io.containerd.snapshotter.v1

    INFO[2000-01-01T03:40:24.811462402Z] skip loading plugin "io.containerd.snapshotter.v1.zfs"...  type=io.containerd.snapshotter.v1

    INFO[2000-01-01T03:40:24.811553955Z] loading plugin "io.containerd.metadata.v1.bolt"...  type=io.containerd.metadata.v1

    WARN[2000-01-01T03:40:24.811645507Z] could not use snapshotter zfs in metadata plugin  error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter: skip plugin"

    WARN[2000-01-01T03:40:24.811706542Z] could not use snapshotter aufs in metadata plugin  error="modprobe aufs failed: "modprobe: FATAL: Module aufs not found in directory /lib/modules/5.10.41-rt39-g0701a5b58c\n": exit status 1"

    INFO[2000-01-01T03:40:24.812530517Z] loading plugin "io.containerd.differ.v1.walking"...  type=io.containerd.differ.v1

    INFO[2000-01-01T03:40:24.812744140Z] loading plugin "io.containerd.gc.v1.scheduler"...  type=io.containerd.gc.v1

    INFO[2000-01-01T03:40:24.813507080Z] loading plugin "io.containerd.service.v1.containers-service"...  type=io.containerd.service.v1

    INFO[2000-01-01T03:40:24.814392089Z] loading plugin "io.containerd.service.v1.content-service"...  type=io.containerd.service.v1

    INFO[2000-01-01T03:40:24.814575195Z] loading plugin "io.containerd.service.v1.diff-service"...  type=io.containerd.service.v1

    INFO[2000-01-01T03:40:24.814666748Z] loading plugin "io.containerd.service.v1.images-service"...  type=io.containerd.service.v1

    INFO[2000-01-01T03:40:24.814758300Z] loading plugin "io.containerd.service.v1.leases-service"...  type=io.containerd.service.v1

    INFO[2000-01-01T03:40:24.814849853Z] loading plugin "io.containerd.service.v1.namespaces-service"...  type=io.containerd.service.v1

    INFO[2000-01-01T03:40:24.814971923Z] loading plugin "io.containerd.service.v1.snapshots-service"...  type=io.containerd.service.v1

    INFO[2000-01-01T03:40:24.815063476Z] loading plugin "io.containerd.runtime.v1.linux"...  type=io.containerd.runtime.v1

    INFO[2000-01-01T03:40:24.815460205Z] loading plugin "io.containerd.runtime.v2.task"...  type=io.containerd.runtime.v2

    INFO[2000-01-01T03:40:24.815704345Z] loading plugin "io.containerd.monitor.v1.cgroups"...  type=io.containerd.monitor.v1

    INFO[2000-01-01T03:40:24.817932128Z] loading plugin "io.containerd.service.v1.tasks-service"...  type=io.containerd.service.v1

    INFO[2000-01-01T03:40:24.818084716Z] loading plugin "io.containerd.internal.v1.restart"...  type=io.containerd.internal.v1

    INFO[2000-01-01T03:40:24.818237304Z] loading plugin "io.containerd.grpc.v1.containers"...  type=io.containerd.grpc.v1

    INFO[2000-01-01T03:40:24.818359375Z] loading plugin "io.containerd.grpc.v1.content"...  type=io.containerd.grpc.v1

    INFO[2000-01-01T03:40:24.818481445Z] loading plugin "io.containerd.grpc.v1.diff"...  type=io.containerd.grpc.v1

    INFO[2000-01-01T03:40:25.149688720Z] loading plugin "io.containerd.grpc.v1.events"...  type=io.containerd.grpc.v1

    INFO[2000-01-01T03:40:25.149810791Z] loading plugin "io.containerd.grpc.v1.healthcheck"...  type=io.containerd.grpc.v1

    INFO[2000-01-01T03:40:25.149963378Z] loading plugin "io.containerd.grpc.v1.images"...  type=io.containerd.grpc.v1

    INFO[2000-01-01T03:40:25.150054931Z] loading plugin "io.containerd.grpc.v1.leases"...  type=io.containerd.grpc.v1

    INFO[2000-01-01T03:40:25.150177001Z] loading plugin "io.containerd.grpc.v1.namespaces"...  type=io.containerd.grpc.v1

    INFO[2000-01-01T03:40:25.150268554Z] loading plugin "io.containerd.internal.v1.opt"...  type=io.containerd.internal.v1

    WARN[2000-01-01T03:40:25.150421142Z] failed to load plugin io.containerd.internal.v1.opt  error="mkdir /opt/containerd: read-only file system"

    INFO[2000-01-01T03:40:25.150482177Z] loading plugin "io.containerd.grpc.v1.snapshots"...  type=io.containerd.grpc.v1

    INFO[2000-01-01T03:40:25.150604248Z] loading plugin "io.containerd.grpc.v1.tasks"...  type=io.containerd.grpc.v1

    INFO[2000-01-01T03:40:25.150665283Z] loading plugin "io.containerd.grpc.v1.version"...  type=io.containerd.grpc.v1

    INFO[2000-01-01T03:40:25.150756835Z] loading plugin "io.containerd.grpc.v1.introspection"...  type=io.containerd.grpc.v1

    INFO[2000-01-01T03:40:25.151702880Z] serving...                                    address="/var/run/docker/containerd/containerd-debug.sock"

    INFO[2000-01-01T03:40:25.151947021Z] serving...                                    address="/var/run/docker/containerd/containerd.sock"

    INFO[2000-01-01T03:40:25.152038574Z] containerd successfully booted in 0.358978s

    INFO[2000-01-01T03:40:25.192077636Z] parsed scheme: "unix"                         module=grpc

    INFO[2000-01-01T03:40:25.192199707Z] scheme "unix" not registered, fallback to default scheme  module=grpc

    INFO[2000-01-01T03:40:25.192291259Z] ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0  <nil>}] <nil>}  module=grpc

    INFO[2000-01-01T03:40:25.192352294Z] ClientConn switching balancer to "pick_first"  module=grpc

    INFO[2000-01-01T03:40:25.208892822Z] parsed scheme: "unix"                         module=grpc

    INFO[2000-01-01T03:40:25.209014892Z] scheme "unix" not registered, fallback to default scheme  module=grpc

    INFO[2000-01-01T03:40:25.209106445Z] ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0  <nil>}] <nil>}  module=grpc

    INFO[2000-01-01T03:40:25.209197998Z] ClientConn switching balancer to "pick_first"  module=grpc

    ERRO[2000-01-01T03:40:25.218750000Z] Failed to built-in GetDriver graph btrfs /var/lib/docker

    ERRO[2000-01-01T03:40:25.286529541Z] failed to mount overlay: no such device       storage-driver=overlay2

    ERRO[2000-01-01T03:40:25.323944091Z] AUFS was not found in /proc/filesystems       storage-driver=aufs

    ERRO[2000-01-01T03:40:25.330657958Z] failed to mount overlay: no such device       storage-driver=overlay

    ERRO[2000-01-01T03:40:25.330780029Z] Failed to built-in GetDriver graph devicemapper /var/lib/docker

    WARN[2000-01-01T03:40:25.512298583Z] Your kernel does not support cgroup rt period

    WARN[2000-01-01T03:40:25.513458251Z] Your kernel does not support cgroup rt runtime

    WARN[2000-01-01T03:40:25.514495849Z] Your kernel does not support cgroup blkio weight

    WARN[2000-01-01T03:40:25.514556884Z] Your kernel does not support cgroup blkio weight_device

    WARN[2000-01-01T03:40:25.514587402Z] Your kernel does not support cgroup blkio throttle.read_bps_device

    WARN[2000-01-01T03:40:25.514648437Z] Your kernel does not support cgroup blkio throttle.write_bps_device

    WARN[2000-01-01T03:40:25.515014648Z] Your kernel does not support cgroup blkio throttle.read_iops_device

    WARN[2000-01-01T03:40:25.515106201Z] Your kernel does not support cgroup blkio throttle.write_iops_device

    INFO[2000-01-01T03:40:25.522277832Z] Loading containers: start.

    WARN[2000-01-01T03:40:25.642028808Z] Running modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module br_netfilter not found in directory /lib/modules/5.10.41-rt39-g0701a5b58c

    insmod /lib/modules/5.10.41-rt39-g0701a5b58c/kernel/net/llc/llc.ko

    insmod /lib/modules/5.10.41-rt39-g0701a5b58c/kernel/net/802/stp.ko

    insmod /lib/modules/5.10.41-rt39-g0701a5b58c/kernel/net/bridge/bridge.ko

    , error: exit status 1

    [  159.934265] Initializing XFRM netlink socket

    WARN[2000-01-01T03:40:27.069854736Z] Could not load necessary modules for Conntrack: Running modprobe nf_conntrack_netlink failed with message: `modprobe: WARNING: Module nf_conntrack_netlink not found in directory /lib/modules/5.10.41-rt39-g0701a5b58c`, error: exit status 1

    INFO[2000-01-01T03:40:27.070800781Z] Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address

    INFO[2000-01-01T03:40:27.392669677Z] stopping event stream following graceful shutdown  error="context canceled" module=libcontainerd namespace=moby

    INFO[2000-01-01T03:40:27.393249511Z] stopping healthcheck following graceful shutdown  module=libcontainerd

    INFO[2000-01-01T03:40:27.399597167Z] stopping event stream following graceful shutdown  error="context canceled" module=libcontainerd namespace=plugins.moby

    failed to start daemon: Error initializing network controller: Error creating default "bridge" network: Failed to program NAT chain: Failed to inject DOCKER in PREROUTING chain: iptables failed: iptables --wait -t nat -A PREROUTING -m addrtype --dst-type LOCAL -j DOCKER: iptables v1.8.4 (legacy): Couldn't load match `addrtype':No such file or directory

     

    Try `iptables -h' or 'iptables --help' for more information.

    (exit status 2)

  • Hello Phanirajkiran,

    Docker could be available in Dunfel, but this was not scoped for AM57, therefore it is not validated. 

    So, to answer your second question, yes, it could be in the scope of kirkstone but in the context of AM57, it will not be supported.

    Your best move forward is to reach out to the Open source Community.

    Best,

    Josue

  • Hi Josue, 

    I could able to port docker version :Docker version 19.03.15, build eb310fca49 on to AM57IDK. And docker 20 also. 

    But why the virtual Network drivers are not considered for AM57 is a bit surprising question.

    Thanks for sharing info regarding Kirkstone. i will make the thread to resolve.

    Regards,

    Phanirajkiran