Wind River Support Network

HomeDefectsLIN6-9067
Fixed

LIN6-9067 : cav-octeon3 copy vmlinux to target caught calltace and system hang

Created: Dec 15, 2014    Updated: Dec 3, 2018
Resolved Date: Dec 24, 2014
Found In Version: 6.0
Fix Version: 6.0.0.16
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: BSP - Async

Description

While doing kdump testing, copy rebuild vmlinux to target via net, caught calltace and system hang, (boot with nfs rootfs).
------------------------

root@octeon3:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         128.224.178.1   0.0.0.0         UG    0      0        0 eth0
128.224.178.0   0.0.0.0         255.255.254.0   U     0      0        0 eth0
root@octeon3:~# Kernel unaligned instruction access[#1]:
CPU: 0 PID: 356 Comm: kworker/0:1 Not tainted 3.10.55-ltsi-rt55-WR6.0.0.15_preempt-rt #1
Workqueue: rpciod rpc_async_schedule
task: 800000002db6ae40 ti: 800000002d404000 task.ti: 800000002d404000
$ 0   : 0000000000000000 ffffffff8061ae24 2000510000080000 ffffffff80d70000
$ 4   : ffffffffffffa420 ffffffffffffa400 0000000000000000 0000000000000000
$ 8   : 0000000000000051 0000000000000548 800000002eaee610 00000000380595a0
$12   : 0000000000000000 ffffffff8053d94c 0000000000000010 0000000000000000
$16   : 0000000000000009 0008a000263e3c28 0901c0002e4953e0 ffffffffffff8118
$20   : ffffffffffff8120 0000000000000128 0000000000000118 80000000263e3c00
$24   : 0000000000000000 ffffffff807bad50                                  
$28   : 800000002d404000 800000002d407790 800000002d407790 ffffffff8061ae24
Hi    : 000000000a3d6ca5
Lo    : eb851eb86e146fe7
epc   : ffffffff8061ac5c octeon3_eth_ndo_start_xmit+0x4e4/0x750
    Not tainted
ra    : ffffffff8061ae24 octeon3_eth_ndo_start_xmit+0x6ac/0x750
Status: 14009ce3	KX SX UX KERNEL EXL IE 
Cause : 00800014
BadVA : ffffffffffffa420
PrId  : 000d9500 (Cavium Octeon III)
Modules linked in:
Process kworker/0:1 (pid: 356, threadinfo=800000002d404000, task=800000002db6ae40, tls=0000000000000000)
Stack : 800000002e494000 800000002e4953e0 0000000000000000 0000000000000000
	  0000000000000000 000000000000000c 0000000060005853 800000002e494000
	  0000000000000000 00000000000005ea 80000000263e3c00 800000002e001200
	  ffffffff8094e220 0000000000000014 800000002d407810 ffffffff80776754
	  800000002d407820 ffffffff801bf580 80000000263e3c00 ffffffff80c89d80
	  ffffffff80b064c8 800000002e494000 800000002e001200 0000000000000000
	  fffffffffffffff0 0000000000000014 800000002d407870 ffffffff80776dec
	  800000002c631000 000000000000000e 80000000263e3c00 0000000000000000
	  800000002c631198 800000002c631168 fffffffffffffff0 0000000000000014
	  800000002d4078c0 ffffffff807b8260 80e0b21452c9c406 e80b1272e2e926a8
	  ...
Call Trace:
[<ffffffff8061ac5c>] octeon3_eth_ndo_start_xmit+0x4e4/0x750
[<ffffffff80776754>] dev_hard_start_xmit+0x30c/0x5f8
[<ffffffff80776dec>] dev_queue_xmit+0x3ac/0x5a0
[<ffffffff807b8260>] ip_finish_output2+0x1d0/0x448
[<ffffffff807b8d58>] ip_fragment+0x738/0x958
[<ffffffff807b938c>] ip_finish_output+0x414/0x528
[<ffffffff807bba44>] ip_send_skb+0x2c/0xc0
[<ffffffff807e6280>] udp_send_skb+0x370/0x4f8
[<ffffffff807e6458>] udp_push_pending_frames+0x50/0x78
[<ffffffff807e9d30>] udp_sendpage+0x178/0x200
[<ffffffff807f4f88>] inet_sendpage+0xd0/0x160
[<ffffffff80885964>] xs_sendpages+0x294/0x2d8
[<ffffffff80885b98>] xs_udp_send_request+0x58/0x140
[<ffffffff80882d34>] xprt_transmit+0x74/0x2b8
[<ffffffff808802f0>] call_transmit+0x180/0x260
[<ffffffff8088986c>] __rpc_execute+0x8c/0x458
[<ffffffff80889c70>] rpc_async_schedule+0x38/0x68
[<ffffffff801a5f3c>] process_one_work+0x18c/0x4e0
[<ffffffff801a6e94>] worker_thread+0x184/0x4b8
[<ffffffff801af128>] kthread+0xb8/0xc0
[<ffffffff80155644>] ret_from_kernel_thread+0x14/0x1c


Code: 7ca2cc07  2405a400  00852025 <fc820000> 8c62d360  10400008  00000000  0000008f  dc068100 
---[ end trace 0000000000000002 ]---



---------------------

[wgao@pek-lpgtest6 linux]$ scp ../linux-cav-octeon3-preempt-rt-build/vmlinux root@128.224.178.158:~/kdump_vmlinux
root@128.224.178.158's password: 
vmlinux                                                                                                                                                           47%   46MB  34.7KB/s - stalled -

Steps to Reproduce

1) configure --enable-rootfs=glibc-std --enable-board=cav-octeon3 --enable-kernel=preempt-rt --with-template=feature/kexec --enable-jobs=16 --enable-parallel-pkgbuilds=16 --enable-reconfig --with-rcpl-version=0015
2) make all.
3) deploy images and boot target,
4) copy big file to the target.

Check the console logs.

Other Downloads


Live chat
Online