[FS#330] xrx200-net: kenrel panic
LEDE Bugs
lede-bugs at lists.infradead.org
Sun Jan 29 11:56:27 PST 2017
The following task has a new comment added:
FS#330 - xrx200-net: kenrel panic
User who did this - Michael Thomson (michthom)
----------
Sorry Mauro. Your build crashes reliably for me, see below. I suspect that this is less to do with the build and more the data the network stack is dealing with (which will be different in your network from mine).
I found [[https://www.kernel.org/doc/Documentation/unaligned-memory-access.txt|a good description]] of unaligned access errors.
I wonder if there are some (malformed?) packets floating around my LAN that are being seen by the Ethernet code on the HH5a, and causing it to barf?
[ 2.164615] init: Console is alive
[ 2.166843] init: - watchdog -
[ 2.509009] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 2.873317] SGI XFS with security attributes, no debug enabled
[ 2.918200] SCSI subsystem initialized
[ 2.940235] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.946857] ehci-platform: EHCI generic platform driver
[ 2.973384] dwc2 1e101000.ifxhcd: requested GPIO 495
[ 3.831319] dwc2 1e101000.ifxhcd: DWC OTG Controller
[ 3.834913] dwc2 1e101000.ifxhcd: new USB bus registered, assigned bus number 1
[ 3.842229] dwc2 1e101000.ifxhcd: irq 62, io mem 0x00000000
[ 3.847758] dwc2 1e101000.ifxhcd: Hardware does not support descriptor DMA mode -
[ 3.855198] dwc2 1e101000.ifxhcd: falling back to buffer DMA mode.
[ 3.862627] hub 1-0:1.0: USB hub found
[ 3.865619] hub 1-0:1.0: 1 port detected
[ 3.882086] usbcore: registered new interface driver usb-storage
[ 3.887577] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.898135] init: - preinit -
[ 4.152448] Unhandled kernel unaligned access[#1]:
[ 4.155787] CPU: 0 PID: 393 Comm: ip Not tainted 4.4.45 #0
[ 4.161266] task: 87d25e30 ti: 87ff2000 task.ti: 87ff2000
[ 4.166655] $ 0 : 00000000 7ffe2e0c 87e1f92a 00000000
[ 4.171877] $ 4 : 87c1b6c0 ffffffff 00000020 00000000
[ 4.177099] $ 8 : 00000040 87e1f962 5e78a44d 00000000
[ 4.182321] $12 : 00000000 87ff2000 00000000 00000002
[ 4.187544] $16 : 8066ccc8 00000040 87c1b6c0 ffffffff
[ 4.192766] $20 : 00000000 c0000000 00000020 8066c898
[ 4.197989] $24 : 00000000 80028a38
[ 4.203211] $28 : 87ff2000 87ff38b0 87d78800 80278494
[ 4.208434] Hi : 000419d0
[ 4.211306] Lo : 00000000
[ 4.214208] epc : 802e7fe4 eth_type_trans+0x14/0x210
[ 4.219328] ra : 80278494 xrx200_poll_rx+0x140/0x1f4
[ 4.224536] Status: 1100fc03 KERNEL EXL IE
[ 4.228716] Cause : 00800010 (ExcCode 04)
[ 4.232718] BadVA : 00000133
[ 4.235592] PrId : 00019556 (MIPS 34Kc)
[ 4.239506] Modules linked in: usb_storage dwc2 ledtrig_transient ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug xf
s libcrc32c ext4 jbd2 mbcache exportfs aead crypto_null cryptomgr crc32c_generic
[ 4.257967] Process ip (pid: 393, threadinfo=87ff2000, task=87d25e30, tls=772c9d48)
[ 4.265618] Stack : 87ff2000 87ff38d8 87d78800 802c9248 8066ccc8 71000040 87c1b6c0 8066ccc8
00000040 80278494 87d78010 87d78350 804fa804 00000003 8000003f 8049e26c
8066ccc8 00000020 00000008 0000012c 804e8960 87ff3938 fffedefa 804e0000
804f0000 802c9248 00000000 000073ff 00000000 00000000 804f0000 804b470c
804e0000 804b4a98 87ff3938 87ff3938 87ff3940 87ff3940 80643f2c 00000004
...
[ 4.301131] Call Trace:
[ 4.303577] [] eth_type_trans+0x14/0x210
[ 4.308366] [] xrx200_poll_rx+0x140/0x1f4
[ 4.313259] [] net_rx_action+0x118/0x2e0
[ 4.318040] [] __do_softirq+0x2a0/0x2b8
[ 4.322726] [] do_softirq.part.1+0x70/0x78
[ 4.327688] [] __local_bh_enable_ip+0x88/0xc0
[ 4.332909] [] xrx200_open+0x144/0x1e8
[ 4.337529] [] __dev_open+0xf0/0x1ac
[ 4.341963] [] __dev_change_flags+0xc0/0x17c
[ 4.347098] [] dev_change_flags+0x28/0x70
[ 4.351988] [] do_setlink+0x2a0/0x768
[ 4.356499] [] rtnl_newlink+0x3a8/0x77c
[ 4.361199] [] rtnetlink_rcv_msg+0x208/0x258
[ 4.366346] [] netlink_rcv_skb+0x70/0x114
[ 4.371208] [] rtnetlink_rcv+0x2c/0x3c
[ 4.375821] [] netlink_unicast+0x19c/0x320
[ 4.380782] [] netlink_sendmsg+0x414/0x4b4
[ 4.385763] [] ___sys_sendmsg+0x168/0x274
[ 4.390618] [] __sys_sendmsg+0x48/0x78
[ 4.395237] [] syscall_common+0x30/0x54
[ 4.399923]
[ 4.401401]
Code: afb0001c afbf0024 ac850014 00a08821 10400004 00808021 00802821 0040f809
[ 4.411395] ---[ end trace 33c589b4a5cf0753 ]---
[ 4.418418] Kernel panic - not syncing: Fatal exception in interrupt
----------
More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=330#comment1500
More information about the lede-bugs
mailing list