Wind River Support Network

HomeDefectsLIN1021-374
Acknowledged

LIN1021-374 : marvell-cn96xx: reboot kernel panic at __arm64_sys_reboot+0x30/0x3c

Created: May 26, 2021    Updated: Jun 7, 2021
Found In Version: 10.21.20.1
Severity: Standard
Applicable for: Wind River Linux LTS 21
Component/s: BSP

Description

[  809.686126] mmc1: card aaaa removed
[  809.694513] kobject: 'mmc1:aaaa' (00000000b64e9de8): kobject_release, parent 0000000000000000 (delayed 250)
[  809.889910] mmc1: new high speed SDHC card at address aaaa
[  810.799078] kobject: 'queues' (0000000084d295a7): kobject_release, parent 0000000000000000 (delayed 500)
[  811.115063] kobject: 'lbk0' (00000000c0cae914): kobject_release, parent 0000000000000000 (delayed 1000)
[  811.158593] kobject: '956' (000000002a216355): kobject_release, parent 0000000000000000 (delayed 1000)
[  811.168215] Internal error: SP/PC alignment exception: 8a000000 [#1] PREEMPT SMP
[  811.168408] kobject: '957' (000000001c5f15c1): kobject_release, parent 0000000000000000 (delayed 1000)
[  811.175618] Modules linked in: 8021q octeontx2_npa sch_fq_codel openvswitch nsh nf_conncount nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4
[  811.185238] kobject: '958' (00000000e7d6510e): kobject_release, parent 0000000000000000 (delayed 500)
[  811.197768] CPU: 0 PID: 1 Comm: systemd-shutdow Not tainted 5.10.37-yocto-standard #1
[  811.197773] Hardware name: Marvell OcteonTX CN96XX board (DT)
[  811.197780] pstate: 60400009 (nZCv daif +PAN -UAO -TCO BTYPE=--)
[  811.197788] pc : 0x6b6b6b6b6b6b6b
[  811.197798] lr : device_shutdown+0x124/0x310
[  811.207339] kobject: '959' (000000006272bb49): kobject_release, parent 0000000000000000 (delayed 250)
[  811.214842] sp : ffff8000137efc90
[  811.214848] x29: ffff8000137efc90 x28: ffff000102480040 
[  811.214861] x27: 0000000000000000 x26: ffff8000113c75a0 
[  811.220911] kobject: '960' (00000000f5edc7bf): kobject_release, parent 0000000000000000 (delayed 500)
[  811.226615] 
[  811.226620] x25: 0000000000000001 x24: ffff800011f70030 
[  811.226634] x23: ffff0001130559e0 x22: ffff8000133f7c58 
[  811.230276] kobject: '961' (00000000b053d9d3): kobject_release, parent 0000000000000000 (delayed 500)
[  811.234219] 
[  811.234224] x21: 0000000000000000 x20: ffff000113055800 
[  811.234238] x19: ffff000113055808 x18: 0000000000000000 
[  811.243754] kobject: '962' (00000000dd65efc9): kobject_release, parent 0000000000000000 (delayed 500)
[  811.246774] 
[  811.246779] x17: 0000000000000001 x16: 0000000000000001 
[  811.246792] x15: 0000000000000000 x14: 0000000000000000 
[  811.252403] kobject: '963' (000000006c23570d): kobject_release, parent 0000000000000000 (delayed 250)
[  811.257423] x13: 00000000fa83b2da x12: 00000000000003a2 
[  811.257437] x11: 00000000000000ef x10: 0000000058653877 
[  811.266950] kobject: '964' (0000000046535e21): kobject_release, parent 0000000000000000 (delayed 500)
[  811.268156] x9 : ffff800010f8a190 x8 : ffff800011f768c0 
[  811.273762] kobject: '965' (00000000ac67c791): kobject_release, parent 0000000000000000 (delayed 250)
[  811.278779] 
[  811.278784] x7 : 0000000000000000 x6 : ffff800011cac000 
[  811.278798] x5 : ffff800011cac730 x4 : 0000000000000002 
[  811.288308] kobject: '966' (00000000eaca1edd): kobject_release, parent 0000000000000000 (delayed 250)
[  811.289512] 
[  811.289517] x3 : 0000000000000002 x2 : 0000000000000001 
[  811.289530] x1 : 6b6b6b6b6b6b6b6b x0 : ffff000113055800 
[  811.295127] kobject: '967' (000000001fcc5765): kobject_release, parent 0000000000000000 (delayed 500)
[  811.300156] 
[  811.300161] Call trace:
[  811.300169]  0x6b6b6b6b6b6b6b
[  811.300178]  __do_sys_reboot+0x1dc/0x264
[  811.300185]  __arm64_sys_reboot+0x30/0x3c
[  811.309667] kobject: '968' (00000000e261e32c): kobject_release, parent 0000000000000000 (delayed 1000)
[  811.310894]  el0_svc_common.constprop.0+0x84/0x130
[  811.310901]  do_el0_svc+0x28/0xb0
[  811.316542] kobject: '969' (00000000bb01712c): kobject_release, parent 0000000000000000 (delayed 500)
[  811.321524]  el0_svc+0x20/0x30
[  811.321532]  el0_sync_handler+0x1a4/0x1d0
[  811.321538]  el0_sync+0x178/0x180
[  811.321547] Code: bad PC value
[  811.331049] kobject: '970' (0000000083e8c53d): kobject_release, parent 0000000000000000 (delayed 750)
[  811.336078] ---[ end trace c823941fca03b044 ]---
[  811.336085] Kernel panic - not syncing: SP/PC alignment exception: Fatal exception
[  811.341415] Kernel Offset: disabled
[  811.341421] CPU features: 0x18040002,2a808a38
[  811.341426] Memory Limit: none
[  811.498514] ---[ end Kernel panic - not syncing: SP/PC alignment exception: Fatal exception ]---

Steps to Reproduce

/lpg-build/cdc/fast_prod/WRL10_21/WRL10_21_GIT/wrlinux-10/setup.sh --machines marvell-cn96xx --templates feature/docker --distros wrlinux --dl-layers --accept-eula=yes
source environment-setup-x86_64-wrlinuxsdk-linux
source oe-init-build-env build_wrlinux
echo KERNEL_FEATURES_append = \" features/usb/serial-all.scc\" >> conf/local.conf
echo KERNEL_VERSION_SANITY_SKIP=\"1\" >> conf/local.conf
echo IMAGE_FSTYPES += \" tar.bz2\" >> conf/local.conf
echo BB_NUMBER_THREADS ?= \"24\" >> conf/local.conf
echo PARALLEL_MAKE ?= \"-j 24\" >> conf/local.conf
echo BB_DANGLINGAPPENDS_WARNONLY = \"1\" >> conf/local.conf
bitbake wrlinux-image-std
bitbake-layers add-layer /net/pek-lpgtest7408/buildarea1/wgao/wrlinux_master/wr-testing/bts-dev
echo require templates/feature/bts/template.conf >> conf/local.conf
bitbake wrlinux-image-std

$ reboot

Review below log.

http://pek-lpgtest3.wrs.com/lpg-build/cdc/publiclog/WRLinux1021/WRL-10.21.20.1/2021WW21/GIT_20210524/BSP/marvell-cn96xx_standard_glibc-std/Marvel_CN96xx_CRB_OE_systemd/reboot/target_28596.platform_B0E1R0_20210524_165325.log
Live chat
Online