4.15-rc5 was ath5k: WARN_ON in ieee80211_rx_napi()

From: Pavel Machek
Date: Sat Dec 30 2017 - 14:04:41 EST


Hi!

I'm getting WARN_ON() on heavy wifi use, thinkpad T40p... Any ideas?

BTW can we get rid of the ath5k: ath5k_hw_get_isr: ISR: 0x00000080
IMR: 0x80081035 debugging print?

Thanks,
Pavel

[ 0.000000] Linux version 4.15.0-rc5autobisect1514286372+ (pavel@duo) (gcc version 4.9.2 (Debian 4.9.2-10)) #493 SMP Tue Dec 26 12:06:29 CET 2017
[ 0.000000] x86/fpu: x87 FPU will use FXSAVE
..
[ 0.802875] CSLIP: code copyright 1989 Regents of the University of California.
[ 0.803844] ath5k 0000:02:02.0: registered as 'phy0'
[ 0.960567] ata2.00: ATAPI: UJDA765 DVD/CDRW, 1.70, max UDMA/33
[ 0.961465] ata1.00: ATA-7: SAMSUNG MP0402H, UC200-16, max UDMA/100
...
[ 1.095641] sr 1:0:0:0: Attached scsi generic sg1 type 5
[ 1.472208] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x170ac2bcf87, max_idle_ns: 440795227634 ns
[ 4.956138] ath: EEPROM regdomain: 0x61
[ 4.956142] ath: EEPROM indicates we should expect a direct regpair map
[ 4.956148] ath: Country alpha2 being used: 00
[ 4.956151] ath: Regpair used: 0x61
[ 4.956769] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 4.958141] ath5k: phy0: Atheros AR5211 chip found (MAC: 0x42, PHY: 0x30)
[ 4.969935] ath5k: phy0: RF5111 5GHz radio found (0x17)
[ 4.981728] ath5k: phy0: RF2111 2GHz radio found (0x23)
[ 4.993632] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network
Connection driver for Linux, in-tree:ds
...[ 30.540578] systemd-journald[2185]: Received request to flush runtime journal from PID 1
[ 39.654431] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[ 39.687498] NFSD: starting 90-second grace period (net f0000099)
[ 62.825074] ath5k: ath5k_hw_get_isr: ISR: 0x00000400 IMR: 0x80081035
[ 66.904118] wlan1: authenticate with 00:33:13:01:31:45
[ 66.941152] wlan1: send auth to 00:33:13:01:31:45 (try 1/3)
[ 66.942793] wlan1: authenticated
[ 66.948493] wlan1: associate with 00:33:13:01:31:45 (try 1/3)
[ 66.950754] wlan1: RX AssocResp from 00:33:13:01:31:45 (capab=0x1 status=0 aid=7)
[ 66.951133] wlan1: associated
[ 88.984630] ath5k: ath5k_hw_get_isr: ISR: 0x00000080 IMR: 0x80081035
[ 119.009541] ath5k: ath5k_hw_get_isr: ISR: 0x00000080 IMR:
0x80081035
...
[ 725.530201] WARNING: CPU: 0 PID: 0 at net/mac80211/rx.c:629 ieee80211_rx_napi+0x8b0/0x9d0
[ 725.530221] Modules linked in:
[ 725.530248] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.15.0-rc5autobisect1514286372+ #493
[ 725.530261] Hardware name: IBM 2373G3U/2373G3U, BIOS 1RETDNWW (3.19 ) 10/13/2005
[ 725.530279] EIP: ieee80211_rx_napi+0x8b0/0x9d0
[ 725.530292] EFLAGS: 00210246 CPU: 0
[ 725.530306] EAX: 00000004 EBX: 00000000 ECX: 00010000 EDX: 00000000
[ 725.530320] ESI: f0167780 EDI: 00000000 EBP: f680ff68 ESP: f680ff00
[ 725.530334] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 725.530348] CR0: 80050033 CR2: 080c5fb0 CR3: 35a45ca0 CR4: 000006b0
[ 725.530361] Call Trace:
[ 725.530376] <SOFTIRQ>
[ 725.530398] ? __build_skb+0x21/0xd0
[ 725.530417] ? nommu_map_page+0x47/0x80
[ 725.530439] ? ath5k_rx_skb_alloc+0x6c/0x140
[ 725.530455] ath5k_tasklet_rx+0x2b8/0x660
[ 725.530475] tasklet_action+0x8e/0xa0
[ 725.530494] __do_softirq+0xcf/0x1a8
[ 725.530511] ? __irqentry_text_end+0x7/0x7
[ 725.530529] do_softirq_own_stack+0x1d/0x30
[ 725.530542] </SOFTIRQ>
[ 725.530557] irq_exit+0x87/0xa0
[ 725.530572] do_IRQ+0x40/0xb0
[ 725.530589] common_interrupt+0x38/0x40
[ 725.530605] EIP: cpuidle_enter_state+0xa4/0x220
[ 725.530618] EFLAGS: 00200282 CPU: 0
[ 725.530632] EAX: ecf4d461 EBX: ecf4d461 ECX: ecf4d2b8 EDX: f6df2540
[ 725.530646] ESI: 000000a8 EDI: 00000002 EBP: c4fc3f20 ESP: c4fc3f04
[ 725.530660] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 725.530678] cpuidle_enter+0xf/0x20
[ 725.530698] call_cpuidle+0x23/0x40
[ 725.530714] do_idle+0x174/0x1b0
[ 725.530730] cpu_startup_entry+0x55/0x60
[ 725.530748] rest_init+0xef/0x100
[ 725.530767] start_kernel+0x31e/0x325
[ 725.530783] i386_start_kernel+0x8a/0x8e
[ 725.530798] startup_32_smp+0x164/0x168
[ 725.530812] Code: ff 8d 76 00 8d bc 27 00 00 00 00 89 f7 8b 75 98 e9 30 ff ff ff 8d b6 00 00 00 00 c6 45 a3 00 e9 ff fa ff ff 8d b4 26 00 00 00 00 <0f> ff 89 f0 e8 97 30 e6 ff e9 b6 fa ff ff 66 90 0f ff e9 71 fa
[ 725.531328] ---[ end trace fd7bd3f8fba6af4c ]---
[ 725.531418] WARNING: CPU: 0 PID: 0 at net/mac80211/rx.c:629 ieee80211_rx_napi+0x8b0/0x9d0
[ 725.531429] Modules linked in:
[ 725.531454] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 4.15.0-rc5autobisect1514286372+ #493
[ 725.531467] Hardware name: IBM 2373G3U/2373G3U, BIOS 1RETDNWW (3.19 ) 10/13/2005
[ 725.531482] EIP: ieee80211_rx_napi+0x8b0/0x9d0
[ 725.531495] EFLAGS: 00210246 CPU: 0
[ 725.531508] EAX: 00000004 EBX: 00000000 ECX: 00010000 EDX: 00000000
[ 725.531522] ESI: f3a23600 EDI: 00000000 EBP: f680ff68 ESP: f680ff00
[ 725.531536] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 725.531551] CR0: 80050033 CR2: 080c5fb0 CR3: 35a45ca0 CR4: 000006b0
[ 725.531563] Call Trace:
[ 725.531575] <SOFTIRQ>
[ 725.531592] ? __build_skb+0x21/0xd0
[ 725.531607] ? nommu_map_page+0x47/0x80
[ 725.531625] ? ath5k_rx_skb_alloc+0x6c/0x140
[ 725.531641] ath5k_tasklet_rx+0x2b8/0x660
[ 725.531658] tasklet_action+0x8e/0xa0
[ 725.531675] __do_softirq+0xcf/0x1a8
[ 725.531691] ? __irqentry_text_end+0x7/0x7
[ 725.531708] do_softirq_own_stack+0x1d/0x30
[ 725.531720] </SOFTIRQ>
[ 725.531735] irq_exit+0x87/0xa0
[ 725.531750] do_IRQ+0x40/0xb0
[ 725.531766] common_interrupt+0x38/0x40
[ 725.531781] EIP: cpuidle_enter_state+0xa4/0x220
[ 725.531793] EFLAGS: 00200282 CPU: 0
[ 725.531807] EAX: ecf4d461 EBX: ecf4d461 ECX: ecf4d2b8 EDX: f6df2540
[ 725.531821] ESI: 000000a8 EDI: 00000002 EBP: c4fc3f20 ESP: c4fc3f04
[ 725.531835] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 725.531853] cpuidle_enter+0xf/0x20
[ 725.531869] call_cpuidle+0x23/0x40
[ 725.531885] do_idle+0x174/0x1b0
[ 725.531900] cpu_startup_entry+0x55/0x60
[ 725.531917] rest_init+0xef/0x100
[ 725.531932] start_kernel+0x31e/0x325
[ 725.531948] i386_start_kernel+0x8a/0x8e
[ 725.531963] startup_32_smp+0x164/0x168
[ 725.531976] Code: ff 8d 76 00 8d bc 27 00 00 00 00 89 f7 8b 75 98 e9 30 ff ff ff 8d b6 00 00 00 00 c6 45 a3 00 e9 ff fa ff ff 8d b4 26 00 00 00 00 <0f> ff 89 f0 e8 97 30 e6 ff e9 b6 fa ff ff 66 90 0f ff e9 71 fa
[ 725.532489] ---[ end trace fd7bd3f8fba6af4d ]---
[ 725.532652] WARNING: CPU: 0 PID: 0 at net/mac80211/rx.c:629 ieee80211_rx_napi+0x8b0/0x9d0
[ 725.532665] Modules linked in:
[ 725.532688] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 4.15.0-rc5autobisect1514286372+ #493
[ 725.532701] Hardware name: IBM 2373G3U/2373G3U, BIOS 1RETDNWW (3.19 ) 10/13/2005
[ 725.532716] EIP: ieee80211_rx_napi+0x8b0/0x9d0
[ 725.532729] EFLAGS: 00210246 CPU: 0
[ 725.532743] EAX: 00000004 EBX: 00000000 ECX: 00010000 EDX: 00000000
[ 725.532757] ESI: f540d840 EDI: 00000000 EBP: f680ff68 ESP: f680ff00
[ 725.532771] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 725.532785] CR0: 80050033 CR2: 080c5fb0 CR3: 35a45ca0 CR4: 000006b0
[ 725.532797] Call Trace:
[ 725.532810] <SOFTIRQ>
[ 725.532827] ? __build_skb+0x21/0xd0
[ 725.532842] ? nommu_map_page+0x47/0x80
[ 725.532860] ? ath5k_rx_skb_alloc+0x6c/0x140
[ 725.532875] ath5k_tasklet_rx+0x2b8/0x660
[ 725.532892] tasklet_action+0x8e/0xa0
[ 725.532909] __do_softirq+0xcf/0x1a8
[ 725.532926] ? __irqentry_text_end+0x7/0x7
[ 725.532942] do_softirq_own_stack+0x1d/0x30
[ 725.532954] </SOFTIRQ>
[ 725.532969] irq_exit+0x87/0xa0
[ 725.532984] do_IRQ+0x40/0xb0
[ 725.533000] common_interrupt+0x38/0x40
[ 725.533015] EIP: cpuidle_enter_state+0xa4/0x220
[ 725.533027] EFLAGS: 00200282 CPU: 0
[ 725.533041] EAX: ecf4d461 EBX: ecf4d461 ECX: ecf4d2b8 EDX: f6df2540
[ 725.533055] ESI: 000000a8 EDI: 00000002 EBP: c4fc3f20 ESP: c4fc3f04
[ 725.533069] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 725.533086] cpuidle_enter+0xf/0x20
[ 725.533103] call_cpuidle+0x23/0x40
[ 725.533119] do_idle+0x174/0x1b0
[ 725.533134] cpu_startup_entry+0x55/0x60
[ 725.533150] rest_init+0xef/0x100
[ 725.533166] start_kernel+0x31e/0x325
[ 725.533182] i386_start_kernel+0x8a/0x8e
[ 725.533197] startup_32_smp+0x164/0x168
[ 725.533210] Code: ff 8d 76 00 8d bc 27 00 00 00 00 89 f7 8b 75 98 e9 30 ff ff ff 8d b6 00 00 00 00 c6 45 a3 00 e9 ff fa ff ff 8d b4 26 00 00 00 00 <0f> ff 89 f0 e8 97 30 e6 ff e9 b6 fa ff ff 66 90 0f ff e9 71 fa
[ 725.533723] ---[ end trace fd7bd3f8fba6af4e ]---
[ 730.993175] ath5k: ath5k_hw_get_isr: ISR: 0x00000080 IMR: 0x80081035
[ 732.905496] ath5k: ath5k_hw_get_isr: ISR: 0x00000080 IMR: 0x80081035
[ 733.865293] ath5k: ath5k_hw_get_isr: ISR: 0x00000080 IMR: 0x80081035
[ 744.433023] ath5k: ath5k_hw_get_isr: ISR: 0x00000080 IMR: 0x80081035

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: delme.gz
Description: application/gzip

Attachment: signature.asc
Description: Digital signature