ath10k oops on debug_mask

Dirk Neukirchen dirkneukirchen at web.de
Mon May 16 07:41:58 PDT 2016


HW: Sitecom WLR-8100

Trying to fix some issues that popped up recently on that device-
in 55-ath10k in modules.d i have the lines

ath10k_core debug_mask=0x00000020
ath10k_pci

to enable debug msg during firmware loading

A recent trunk of LEDE w. 4.4.10 bootlog snippet is:


[   11.287977] procd: - init -
Please press Enter to activate this console.
[   12.725282] zram: Added device: zram0
[   12.746688] tun: Universal TUN/TAP device driver, 1.6
[   12.751819] tun: (C) 1999-2004 Max Krasnyansky <maxk at qualcomm.com>
[   12.778617] sit: IPv6 over IPv4 tunneling driver
[   12.804016] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   12.882570] Loading modules backported from Linux version wt-2016-05-12-0-g7a54796
[   12.890295] Backport generated by backports.git backports-20160216-0-ge3c56e4
[   12.990872] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[   12.996815] ath10k_pci 0000:01:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   13.250480] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:01:00.0.bin failed with error -2
[   13.261372] ath10k_pci 0000:01:00.0: Falling back to user helper
[   13.336990] firmware ath10k!pre-cal-pci-0000:01:00.0.bin: firmware_loading_store: map pages failed
[   13.346353] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/cal-pci-0000:01:00.0.bin failed with error -2
[   13.356885] ath10k_pci 0000:01:00.0: Falling back to user helper
[   13.501649] firmware ath10k!cal-pci-0000:01:00.0.bin: firmware_loading_store: map pages failed
[   13.828704] CPU 0 Unable to handle kernel paging request at virtual address 00000030, epc == 801b8c04, ra == 8738f594
[   13.839497] Oops[#1]:
[   13.841810] CPU: 0 PID: 6 Comm: kworker/u2:0 Not tainted 4.4.10 #1
[   13.848118] Workqueue: ath10k_wq ath10k_core_stop [ath10k_core]
[   13.854126] task: 87829900 ti: 8784a000 task.ti: 8784a000
[   13.859596] $ 0   : 00000000 0000006e 00000002 00000000
[   13.864929] $ 4   : 00000030 8784bc16 00000000 803bd9f8
[   13.870262] $ 8   : 00000020 00000000 00000020 75726573
[   13.875595] $12   : 00000000 00000100 00000000 302e303a
[   13.880928] $16   : 00000001 00000000 8784bc16 00000004
[   13.886260] $20   : 00000030 000000f6 00000030 00000004
[   13.891593] $24   : 00000000 038e0fb2                  
[   13.896925] $28   : 8784a000 8784bb90 873b0000 8738f594
[   13.902259] Hi    : 00000000
[   13.905181] Lo    : 00000010
[   13.908106] epc   : 801b8c04 hex_dump_to_buffer+0x280/0x404
[   13.913766] ra    : 8738f594 ath10k_dbg+0x2a8/0x308 [ath10k_core]
[   13.919938] Status: 1100fc03	KERNEL EXL IE 
[   13.924208] Cause : 00800008 (ExcCode 02)
[   13.928272] BadVA : 00000030
[   13.931185] PrId  : 00019750 (MIPS 74Kc)
[   13.935161] Modules linked in: ath10k_pci(+) ath10k_core ath mac80211 cfg80211 compat ledtrig_usbdev ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables ifb sit tunnel4 ip_tunnel tun vfat fat zram lzo_decompress lzo_compress lz4_decompress lz4_compress zsmalloc usb_storage xhci_plat_hcd xhci_pci xhci_hcd ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc16 crypto_hash
[   13.979502] Process kworker/u2:0 (pid: 6, threadinfo=8784a000, task=87829900, tls=00000000)
[   13.987961] Stack : 873b94b4 873b79f8 873b79f0 00000030 00000030 872193e0 873b0000 00000031
	  00000001 8784bbac 0000000e 8738f33c 00000010 80400000 873b94b4 873b79f8
	  873b79f0 00000030 00000030 872193e0 873b0000 8738f594 8710e300 803c0f98
	  803c29fc 873b94b4 8784bc16 000000f6 00000001 4d3d7063 69004445 30303030
	  30303030 3a200030 30303a30 313a3030 2e3000b4 803c348c c03d2000 0003c788
	  ...
[   14.024288] Call Trace:
[   14.026767] [<801b8c04>] hex_dump_to_buffer+0x280/0x404
[   14.032077] [<8738f594>] ath10k_dbg+0x2a8/0x308 [ath10k_core]
[   14.037912] 
[   14.039424] 
Code: 02b1f023  1000001e  8fa20020 <90840000> 00044102  01074021  91080000  a0a80000  24680003 
[   14.049577] ---[ end trace b882fdc84557912b ]---
[   14.056266] Fatal exception: panic in 5 seconds

a more complete serial boot log with crash, 
normal fail (missing caldata/art extracted file) and skip_otp
module param  is available at: https://github.com/plntyk/wlr8100





More information about the ath10k mailing list