[FS#513] ath5k crash at ath5k_debug_printtxbuf on load

LEDE Bugs lede-bugs at lists.infradead.org
Tue Feb 14 10:16:13 PST 2017


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

User who did this - Xuefer (xuefer) 

Attached to Project - LEDE Project
Summary - ath5k crash at ath5k_debug_printtxbuf on load
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 - [   25.728718] CPU 0 Unable to handle kernel paging request at virtual address c0442040, epc == c0442040, ra == c0452180
[   25.739808] Oops[#1]:
[   25.742212] CPU: 0 PID: 411 Comm: kmodloader Not tainted 4.4.47 #0
[   25.748485] task: 808c8000 ti: 8074c000 task.ti: 8074c000
[   25.753932] $ 0   : 00000000 1000b400 00000005 00000005
[   25.759287] $ 4   : c04a85f4 000067a8 00000000 ffffffff
[   25.764625] $ 8   : 00000002 0000001c 00000010 00000001
[   25.769964] $12   : ffffff80 8041bb14 00000000 2f736269
[   25.775302] $16   : 803a6170 c0540b7c 00000000 803a6160
[   25.780642] $20   : 803e2058 b0000000 00000003 024000c0
[   25.785980] $24   : 00000010 801dfcc0
[   25.791319] $28   : 8074c000 8074dbd8 800a0d50 c0452180
[   25.796664] Hi    : 00000000
[   25.799594] Lo    : 0000001c
[   25.802605] epc   : c0442040 0xc0442040
[   25.806915] ra    : c0452180 ieee80211_alloc_hw_nm+0x120/0x6b4 [mac80211]
[   25.813780] Status: 1000b403 KERNEL EXL IE
[   25.818069] Cause : 10800008 (ExcCode 02)
[   25.822128] BadVA : c0442040
[   25.825062] PrId  : 00019064 (MIPS 4KEc)
[   25.829033] Modules linked in: ath5k(+) ath pppox ppp_generic nf_conntrack_netlink nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss x$
_string xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt$
TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CLASSIFY ts_kmp ts_fsm ts_bm slhc nfnetlink nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_f$
p nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_ftp iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat act_connmark nf_conntrack act_skbedi
t act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip
6_tables x_tables ifb tun zram lzo_decompress lzo_compress lz4_decompress lz4_compress zsmalloc gpio_button_hotplug aead cryptomgr crypto_null crypto_hash
[   25.927022] Process kmodloader (pid: 411, threadinfo=8074c000, task=808c8000, tls=770ccd48)
[   25.935424] Stack : 80e8e5f0 8089fdc0 80e8e5f0 80e8e690 8089fdc0 803a6170 803a6170 80410000
          803a6160 c053a138 800a0d50 801383f4 c0543ef4 8007848c 803a6170 c0543ef4
          80410000 c0543ef4 80410000 00000002 00000017 801e0418 80837a88 8013812c
          00000000 800e0764 803a6170 803a6170 803a61a4 801dea5c 80926db0 801dd63c
          00000000 802f9fc0 80536d14 803a6170 803a61a4 c0543ef4 803b1184 00000000
          ...
[   25.971787] Call Trace:
[  254.353339] [] ath5k_debug_printtxbuf+0x354/0x46c [ath5k]
[  254.359753] [] module_sect_show+0x0/0x18
[  254.364678] [] sysfs_do_create_link_sd.isra.0+0x6c/0xc4
[  254.370893] [] blocking_notifier_call_chain+0x14/0x20
[  254.376948] [] platform_drv_probe+0x28/0x6c
[  254.382108] [] sysfs_create_dir_ns+0x48/0xa0
[  254.387341] [] driver_probe_device+0x198/0x284
[  254.392744] [] klist_devices_put+0x0/0x8
[  254.397662] [] klist_next+0x40/0x110
[  254.402202] [] __driver_attach+0x54/0xb4
[  254.407080] [] next_device+0x10/0x30
[  254.411617] [] __driver_attach+0x0/0xb4
[  254.416402] [] bus_for_each_dev+0x98/0xa8
[  254.421376] [] klist_add_tail+0x24/0x50
[  254.426536] [] init_module+0x0/0x2c [ath5k]
[  254.431705] [] bus_get+0x28/0x3c
[  254.435905] [] bus_add_driver+0x1a0/0x1f8
[  254.440897] [] module_sect_show+0x0/0x18
[  254.445789] [] kvasprintf+0x70/0x94
[  254.450554] [] init_module+0x0/0x2c [ath5k]
[  254.455743] [] driver_find+0x1c/0x48
[  254.460557] [] init_module+0x0/0x2c [ath5k]
[  254.465739] [] driver_register+0xbc/0xfc
[  254.470909] [] init_module+0x0/0x2c [ath5k]
[  254.476314] [] init_module+0x0/0x2c [ath5k]
[  254.481492] [] do_one_initcall+0x8c/0x230
[  254.486707] [] init_module+0x0/0x2c [ath5k]
[  254.491876] [] call_usermodehelper_exec+0x150/0x160
[  254.497772] [] do_init_module+0x74/0x1c8
[  254.502702] [] __vunmap+0xac/0x114
[  254.507072] [] load_module+0x155c/0x1b70
[  254.511959] [] unknown_module_param_cb+0x0/0xac
[  254.517465] [] preempt_schedule_common+0x10/0x28
[  254.523044] [] SyS_init_module+0x7c/0x168
[  254.528020] [] SyS_init_module+0x104/0x168
[  254.533113] [] syscall_common+0x30/0x54
[  254.537918] [] __bzero+0xbc/0x164


(gdb) l *ath5k_debug_printtxbuf+0x354
0x19168 is in ath_ahb_probe (/home/xuefer/src/lede/source/build_dir/target-mips_mips32_musl/linux-ath25/compat-wireless-2017-01-31/drivers/net/wireless/ath/ath5k/ahb.c:126).
119                     ret = -ENXIO;
120                     goto err_iounmap;
121             }
122
123             irq = res->start;
124
125             hw = ieee80211_alloc_hw(sizeof(struct ath5k_hw), &ath5k_hw_ops);
126             if (hw == NULL) {
127                     dev_err(&pdev->dev, "no memory for ieee80211_hw\n");
128                     ret = -ENOMEM;
129                     goto err_iounmap;
130             }
131
132             ah = hw->priv;
133             ah->hw = hw;
(gdb)

version: lede master
Fon 2201 (atheores)

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



More information about the lede-bugs mailing list