Wind River Support Network

HomeDefectsLIN6-8848
Fixed

LIN6-8848 : CN6800-PASS2.1 after pow0 up have kernel call trace and Kernel panic.

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

Description

Wind River Linux 6.0.0.0 cn68xx2-1 console

cn68xx2-1 login: root
Password: 
root@cn68xx2-1:~# 
4 ptp_rx_group=14 ptp_tx_group=13-pow-ethernet receive_group=1 broadcast_groups= 
Octeon POW only ethernet driver
Waiting for another core to setup the IPD hardware...Done
root@cn68xx2-1:~# ifconfig 
eth0      Link encap:Ethernet  HWaddr 00:0f:b7:10:c9:5e  
          inet addr:128.224.179.254  Bcast:128.224.178.255  Mask:255.255.254.0
          inet6 addr: fe80::20f:b7ff:fe10:c95e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:572 errors:0 dropped:0 overruns:0 frame:0
          TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:104806 (102.3 KiB)  TX bytes:5067 (4.9 KiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:560 (560.0 B)  TX bytes:560 (560.0 B)

mgmt0     Link encap:Ethernet  HWaddr 00:0f:b7:10:c9:5d  
          inet addr:128.224.178.32  Bcast:128.224.179.255  Mask:255.255.254.0
          inet6 addr: fe80::20f:b7ff:fe10:c95d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:19931 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10387 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:20696836 (19.7 MiB)  TX bytes:2237285 (2.1 MiB)

root@cn68xx2-1:~# ifconfig pow0 128.224.163.6 netmask 255.255.254.0
root@cn68xx2-1:~# Kernel unaligned instruction access[#1]:
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.10.55-ltsi-WR6.0.0.0_standard #1
task: ffffffff80b29370 ti: ffffffff80af0000 task.ti: ffffffff80af0000
$ 0   : 0000000000000000 ffffffff802121a8 000100000078000d 0000000000000018
$ 4   : 0000000000000018 064d495053363405 0000000000000000 0000000000000000
$ 8   : 0000000000000018 8000000209ad7970 00000000fa83b2da 8000000209ad76f0
$12   : ffffffff80af3b28 000000001000001f ffffffff802d4718 8000000209ad4000
$16   : 800000020c399d00 0000000000000018 800000020c399d00 0000000000000000
$20   : 0000000000000000 ffffffff80c13c50 ffffffff80c13c78 ffffffff80a489f0
$24   : 000000000042aafc ffffffff80159d60                                  
$28   : ffffffff80af0000 ffffffff80af3ad0 ffffffff80af3ad0 ffffffff80211ecc
Hi    : 000000000000219c
Lo    : 0000000000000006
epc   : 000100000078000d 0x100000078000d
    Not tainted
ra    : ffffffff80211ecc handle_irq_event_percpu+0x84/0x2f8
Status: 10008ce2	KX SX UX KERNEL EXL 
Cause : 00800410
BadVA : 000100000078000d
PrId  : 000d9109 (Cavium Octeon II)
Modules linked in: octeon_pow_ethernet
Process swapper/0 (pid: 0, threadinfo=ffffffff80af0000, task=ffffffff80b29370, tls=0000000000000000)
Stack : ffffffff80af6180 0000000000000018 ffffffff80af6180 ffffffff80af620c
	  800000020c399d00 ffffffff80cb0000 ffffffff80c10000 000000020f915fd0
	  ffffffff80a50000 ffffffff80a489f0 ffffffff80af3b30 ffffffff802121a8
	  ffffffff80af3b40 ffffffff80af6180 ffffffff80af620c ffffffff80cb0000
	  ffffffff80af3b60 ffffffff80215c44 0000000000000000 ffffffff80cb0000
	  ffffffff80af3b80 ffffffff80211394 ffffffff80af3b90 ffffffff809093a4
	  0000000000000018 ffffffff8021cd00 ffffffff80af3bb0 ffffffff801060f4
	  ffffffff80cb0000 0000000000000018 ffffffff80af3bd0 ffffffff801073e0
	  0000000000000000 ffffffff80c14498 ffffffff80b20000 ffffffff80b232b0
	  ffffffff80af3d90 ffffffff801580e0 0000000000000000 ffffffff801d76b4
	  ...
Call Trace:
[<ffffffff802121a8>] handle_irq_event+0x68/0xb0
[<ffffffff80215c44>] handle_level_irq+0xdc/0x160
[<ffffffff80211394>] generic_handle_irq+0x4c/0x68
[<ffffffff809093a4>] do_IRQ+0x2c/0x40
[<ffffffff8021cd00>] rcu_irq_exit+0xa0/0xd8
[<ffffffff801060f4>] octeon_irq_ciu2+0xac/0x140
[<ffffffff801073e0>] plat_irq_dispatch+0x98/0xe8
[<ffffffff801580e0>] ret_from_irq+0x0/0x4
[<ffffffff801d76b4>] cpu_startup_entry+0x164/0x2c0
[<ffffffff802d4718>] SyS_poll+0x0/0x178
[<ffffffff80159d60>] r4k_wait+0x0/0x30
[<ffffffff801d76b4>] cpu_startup_entry+0x164/0x2c0
[<ffffffff80158360>] __r4k_wait+0x20/0x40
[<ffffffff8021cb58>] rcu_idle_enter+0x90/0xf8
[<ffffffff808ea6c0>] kernel_entry+0x0/0x8
[<ffffffff80c18b0c>] start_kernel+0x4d0/0x4fc
[<ffffffff808ea6c0>] kernel_entry+0x0/0x8


Code: (Bad address in epc)

---[ end trace 23dd7fd417c87849 ]---
Kernel panic - not syncing: Fatal exception in interrupt

Steps to Reproduce

1. export CAVIUM_SDK_ROOT=/buildarea2/lchi1/OCTEON-SDK
2. export OCTEON_MODEL=OCTEON_CN68XX 
3.  /wrlinux-6/wrlinux/configure --enable-board=cav-octeon3 --enable-kernel=standard --enable-rootfs=glibc-std --with-layer=wr-bsps/cav-octeon3/wr-cavium-simple-exec --enable-reconfig=yes --with-rcpl-version=0
4. make fs
5. boot
6. modprobe octeon-pow-ethernet receive_group=1 broadcast_groups=4 ptp_rx_group=14 ptp_tx_group=13
7. ifconfig pow0 128.224.163.6 netmask 255.255.254.0

Other Downloads


Live chat
Online