Wind River Support Network


LIN5-4875 : xilinx-zynq: kdump test failed with std and rt kernel

Created: May 25, 2013    Updated: Mar 10, 2016
Resolved Date: Jun 4, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1,
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: BSP - Async


root@localhost:~# uname -a
Linux localhost 3.4.34-rt40-WR5.0.1.4_preempt-rt #1 SMP PREEMPT RT Fri May 24 14:26:08 CST 2013 armv7l GNU/Linux
root@localhost:~# cat /proc/cmdline
console=ttyPS0,115200 root=/dev/nfs nfsroot= ip= crashkernel=128M@64M
root@localhost:~# kexec -p uImage --append="console=ttyPS0,115200 root=/dev/nfs nfsroot= ip= maxcpus=1"
Modified cmdline:console=ttyPS0,115200 root=/dev/nfs nfsroot= ip= maxcpus=1 elfcorehdr=0xbf00000 mem=130048K
root@localhost:~# echo c > /proc/sysrq-trigger
SysRq : Trigger a crash
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = bc638000
[00000000] *pgd=3e0f7831, *pte=00000000, *ppte=00000000

Steps to Reproduce

1. build std or rt kernel with kexec and kdump template
/lpg-build/cdc/sustaining/WR5014LX04/wrlinux-5/wrlinux/configure --enable-kernel=preempt_rt --enable-board=xilinx-zynq --enable-parallel-pkgbuilds=24 --enable-test --enable-rootfs=glibc-std --with-template=feature/kexec --with-layer=/wr-testing/kts,/folk/gjiang/wr-testing/bts

/lpg-build/cdc/sustaining/WR5014LX04/wrlinux-5/wrlinux/configure --enable-kernel=preempt_rt --enable-board=xilinx-zynq --enable-parallel-pkgbuilds=24 --enable-test --enable-rootfs=glibc-std --with-template=feature/kexec,feature/kdump --with-layer=/wr-testing/kts,/folk/gjiang/wr-testing/bts

2. run kdump test

Other Downloads

Live chat