Wind River Support Network

HomeDefectsLIN8-3890
Fixed

LIN8-3890 : kdump kernel will crash when init qman on t4240 board

Created: Jun 13, 2016    Updated: Dec 3, 2018
Resolved Date: Jul 25, 2016
Found In Version: 8.0.0.5
Fix Version: 8.0.0.7
Severity: Severe
Applicable for: Wind River Linux 8
Component/s: Kernel

Description

When use the kdump feature on t4240 board with wrlinux 8 RCPL5 project, after trigger kdump, the second kernel will hang there:
/*******************************************************************/
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Bman err interrupt handler present
Bman portal initialised, cpu 0
Bman portal initialised, cpu 1
Bman portal initialised, cpu 2
Bman portal initialised, cpu 3
Bman portal initialised, cpu 4
Bman portal initialised, cpu 5
Bman portal initialised, cpu 6
Bman portal initialised, cpu 7
Bman portal initialised, cpu 8
Bman portal initialised, cpu 9
Bman portal initialised, cpu 10
Bman portal initialised, cpu 11
Bman portal initialised, cpu 12
Bman portal initialised, cpu 13
Bman portal initialised, cpu 14
Bman portal initialised, cpu 15
Bman portal initialised, cpu 16
Bman portal initialised, cpu 17
Bman portal initialised, cpu 18
Bman portal initialised, cpu 19
Bman portal initialised, cpu 20
Bman portal initialised, cpu 21
Bman portal initialised, cpu 22
Bman portal initialised, cpu 23
Bman portals initialised
Qman err interrupt handler present
QMan: Allocated lookup table at 8000000000000000, entry count 65537
Qman portal initialised, cpu 0
Qman portal initialised, cpu 1
Qman portal initialised, cpu 2
Unable to handle kernel paging request for data at address 0x00000008
Faulting instruction address: 0xc00000000290eee0
Oops: Kernel access of bad area, sig: 11 [#1]
PREEMPT SMP NR_CPUS=24 CoreNet Generic
Modules linked in:
CPU: 2 PID: 77 Comm: irq/406-QMan po Not tainted 4.1.21-WR8.0.0.5_cgl #4
task: c000000009686c00 ti: c00000000975c000 task.ti: c00000000975c000
NIP: c00000000290eee0 LR: c00000000290f794 CTR: c00000000290ed30
REGS: c00000000975f6f0 TRAP: 0300   Not tainted  (4.1.21-WR8.0.0.5_cgl)
MSR: 0000000080029000 <CE,EE,ME>  CR: 25aa52a8  XER: 00000000
DEAR: 0000000000000008 ESR: 0000000000000000 SOFTE: 1 
GPR00: c00000000290f794 c00000000975f970 c000000003451400 c000000011046a40 
GPR04: 0000000000000000 80000800803f20c0 80000800803f2000 c000000003581400 
GPR08: c000000003581400 0000000000000000 8000000000000000 0000000000000003 
GPR12: 0000000088a22844 c00000000fff5d80 c000000002087ae8 c00000000972fd40 
GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
GPR20: 0000000000000000 0000000000000001 0000000000000003 0000000040000000 
GPR24: c000000011046b20 0000000080000000 0000000020000000 0000000000000001 
GPR28: ffffffffffffff80 0000000000010000 c000000009385800 c000000011046a40 
NIP [c00000000290eee0] .__poll_portal_slow+0x458/0xb3c
LR [c00000000290f794] .portal_isr+0x1d0/0x298
Call Trace:
[c00000000975fb20] [c00000000290f794] .portal_isr+0x1d0/0x298
[c00000000975fbe0] [c0000000020bfe2c] .irq_forced_thread_fn+0x54/0xa8
[c00000000975fc70] [c0000000020c022c] .irq_thread+0x164/0x19c
[c00000000975fd30] [c000000002087bf4] .kthread+0x10c/0x12c
[c00000000975fe30] [c0000000020009a8] .ret_from_kernel_thread+0x58/0xb0
Instruction dump:
4bffff7c 3d020013 8125000c e948cb98 7d4a4810 7d4a5110 394a0001 0b0a0000 
3ce20013 e947cba0 79291f24 7c8a482a <e9240008> f8410028 4bfffe28 3a9effc8 
---[ end trace ecb44c76026491ca ]---

sched: RT throttling activated
Kernel panic - not syncing: Fatal exception in interrupt
Rebooting in 180 seconds..


/*******************************************************************/

Steps to Reproduce

1, config kdump project with:
/net/pek-lpd-susbld/pek-lpd-susbld12/wrlinux-8.0-rcpl/wrlinux-8/wrlinux/configure --enable-board=fsl_t4xxx --enable-kernel=standard --enable-rootfs=glibc_std --with-template=feature/kexec,feature/kdump --enable-reconfig --with-rcpl-version=0005

2, boot kernel with following parameter
# cat /proc/cmdline                                             
root=/dev/nfs rw nfsroot=128.224.165.20:/export/pxeboot/vlm-boards/21881/rootfs ip=128.224.178.31:128.224.165.20:128.224.178.1:255.255.254.0:t4240rdb:eth0:off console=ttyS0,115200 selinux=0 enforcing=0 crashkernel=256M@32M    

3, after boot the first kernel, run the following command:
# kexec -p /root/vmlinux --append="`cat /proc/cmdline`"

4, trigger kdump
# echo c > /proc/sysrq-trigger

Other Downloads


Live chat
Online