[FS#159] kernel panic on mediatek mt76 (dir860l b1) during boot

LEDE Bugs lede-bugs at lists.infradead.org
Mon Sep 5 02:55:04 PDT 2016


A new Flyspray task has been opened.  Details are below. 

User who did this - Russell Senior (russell) 

Attached to Project - LEDE Project
Summary - kernel panic on mediatek mt76 (dir860l b1) during boot
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - # cat /tmp/sysinfo/model
D-Link DIR-860L B1

Intermittent (observed only once, other boots okay) oops during boot, while testing ttyUSB0 (pl2303) inserted:


[    9.960000] CPU 0 Unable to handle kernel paging request at virtual address 00000004, epc == 87273f7c, ra == 87273f50
[    9.980000] Oops[#1]:
[    9.980000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.4.19 #0
[    9.980000] task: 80455d78 ti: 80446000 task.ti: 80446000
[    9.980000] $ 0   : 00000000 804a0000 00000000 00000007
[    9.980000] $ 4   : 00000001 ffffffb0 871d1501 00000000
[    9.980000] $ 8   : 00000000 80009bd0 870e0240 80447d50
[    9.980000] $12   : 11000000 ffffff80 00000000 00000000
[    9.980000] $16   : 870e0240 00002007 0d4600ff 871e8800
[    9.980000] $20   : 871d1500 00000001 810e3d00 871d1980
[    9.980000] $24   : 00000003 800133d8                  
[    9.980000] $28   : 80446000 80447c50 00000000 87273f50
[    9.980000] Hi    : 00000002
[    9.980000] Lo    : 00000000
[    9.980000] epc   : 87273f7c mt76x2_mac_process_rx+0x12c/0x2bc [mt76x2e]
[    9.980000] ra    : 87273f50 mt76x2_mac_process_rx+0x100/0x2bc [mt76x2e]
[    9.980000] Status: 11000403 KERNEL EXL IE 
[    9.980000] Cause : 40800008 (ExcCode 02)
[    9.980000] BadVA : 00000004
[    9.980000] PrId  : 0001992f (MIPS 1004Kc)
[    9.980000] Modules linked in: mt76x2e(+) mt76 mac80211 cfg80211 compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables tun leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ohci_pci ohci_platform ohci_hcd ehci_pci ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[    9.980000] Process swapper/0 (pid: 0, threadinfo=80446000, task=80455d78, tls=00000000)
[    9.980000] Stack : 871e8800 8028a180 5111a421 00000000 870e0240 871d1500 00000000 871e8800
          871d1c48 87270484 871d1500 8028a21c 00000001 80449400 0000001f 871d1540
          871d1540 870e0240 871d1500 870790c0 80459a88 8005cef0 87c4d880 00000001
          00000628 00000800 00000000 00000628 00000000 804d0000 00000001 00fcd400
          00000628 00000000 8110dfa0 871d1980 80447d20 80447d28 00000040 80448040
          ...
[    9.980000] Call Trace:
[    9.980000] [] mt76x2_mac_process_rx+0x12c/0x2bc [mt76x2e]
[    9.980000] [] mt76x2_queue_rx_skb+0x84/0xcc [mt76x2e]
[    9.980000] [] mt76_dma_attach+0xbf8/0xddc [mt76]
[    9.980000] 
[    9.980000] 
Code: 8e820004  00112342  3223003f  2c850005  a6020038  8e820004  90460000  306200ff 
[   10.370000] ---[ end trace 17a41f40898a1670 ]---
[   10.380000] Kernel panic - not syncing: Fatal exception in interrupt
[   10.380000] Rebooting in 1 seconds..


My diffconfig is essentially this:


CONFIG_TARGET_ramips=y
CONFIG_TARGET_ramips_mt7621=y
CONFIG_TARGET_ramips_mt7621_DEVICE_dir-860l-b1=y
CONFIG_DEVEL=y
CONFIG_BUILD_LOG=y
CONFIG_PACKAGE_ip=y
CONFIG_PACKAGE_kmod-usb-core=y
CONFIG_PACKAGE_kmod-usb-ohci=y
CONFIG_PACKAGE_kmod-usb-ohci-pci=y
CONFIG_PACKAGE_kmod-usb-serial=y
CONFIG_PACKAGE_kmod-usb-serial-ftdi=y
CONFIG_PACKAGE_kmod-usb-serial-pl2303=y
CONFIG_PACKAGE_kmod-usb2=y
CONFIG_PACKAGE_kmod-usb2-pci=y
CONFIG_PACKAGE_kmod-usb3=y
CONFIG_PACKAGE_screen=y




More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=159



More information about the lede-bugs mailing list