#18483: DIR-825 running CC r43485 - WIFI cannot handle IRQ 40
-----------------------+------------------------
Reporter: papaj0e | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: packages | Version: Trunk
Resolution: | Keywords:
-----------------------+------------------------
Comment (by papaj0e):
I am pretty sure it is not coincidence that IRQ 40 interrupt counter is
always divisible by 100000 - once again my router hit the bug and see the
statistics:
{{{
root@OpenWrt:~# cat /proc/interrupts
CPU0
3: 11259327 MIPS ehci_hcd:usb1
4: 8662071 MIPS eth0
5: 154312243 MIPS eth1
7: 37271673 MIPS timer
11: 54 MISC serial
14: 0 MISC ohci_hcd:usb2
40: 115900000 AR71XX PCI ath9k
41: 21295825 AR71XX PCI ath9k
ERR: 0
}}}
And the bug itself in the kernel log:
{{{
[251441.410000] irq 40: nobody cared (try booting with the "irqpoll"
option)
[251441.410000] CPU: 0 PID: 27067 Comm: sh Not tainted 3.14.26 #3
[251441.410000] Stack : 00000006 ffffffff 00000000 00000000 00000000
00000000 803bc8ce 00000031
[251441.410000] 824b3210 00000000 80301938 803521ff 000069bb
803b3b5c 824b3210 00000000
[251441.410000] 80340000 803051f0 80305204 802a2d5c 00000000
802065ec 00000006 801a96ec
[251441.410000] 80305038 81d135a4 00000000 00000000 00000000
00000000 00000000 00000000
[251441.410000] 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000
[251441.410000] ...
[251441.410000] Call Trace:
[251441.410000] [<80248980>] show_stack+0x48/0x70
[251441.410000] [<800a6cb8>] __report_bad_irq.isra.7+0x44/0xf8
[251441.410000] [<801dab68>] note_interrupt+0x224/0x2d8
[251441.410000] [<80160d9c>] handle_irq_event_percpu+0x1b8/0x1ec
[251441.410000] [<80160bc0>] handle_irq_event+0x3c/0x60
[251441.410000] [<80160eb0>] handle_level_irq+0xe0/0xf8
[251441.410000] [<80153dc0>] generic_handle_irq+0x28/0x44
[251441.410000] [<80153dc0>] generic_handle_irq+0x28/0x44
[251441.410000] [<8011c770>] do_IRQ+0x1c/0x2c
[251441.410000] [<80060830>] ret_from_irq+0x0/0x4
[251441.410000] [<8008f624>] __do_softirq+0x8c/0x228
[251441.410000] [<8018be84>] irq_exit+0x54/0x70
[251441.410000] [<80060830>] ret_from_irq+0x0/0x4
[251441.410000] [<801b49c0>] lzma_main+0x3b8/0xb84
[251441.410000] [<802b7238>] xz_dec_lzma2_run+0x578/0x834
[251441.410000] [<802b7874>] xz_dec_run+0x324/0x8fc
[251441.410000] [<80261dd0>] squashfs_xz_uncompress+0x10c/0x1e8
[251441.410000] [<8025d698>] squashfs_decompress+0x50/0x88
[251441.410000] [<8025f364>] squashfs_read_data+0x5d0/0x73c
[251441.410000] [<8025cf64>] squashfs_cache_get+0x1a0/0x32c
[251441.410000] [<80261220>] squashfs_readpage+0x77c/0x8c4
[251441.410000] [<8008eabc>] __do_page_cache_readahead+0x1ec/0x24c
[251441.410000] [<80143928>] filemap_fault+0x198/0x3e8
[251441.410000] [<8008e54c>] __do_fault+0xd0/0x454
[251441.410000] [<801610b8>] handle_mm_fault+0x1f0/0x754
[251441.410000] [<8008ec4c>] __do_page_fault+0x130/0x388
[251441.410000] [<80060820>] ret_from_exception+0x0/0x10
[251441.410000] [<80064b74>] __bzero+0x38/0x164
[251441.410000] [<801e5f8c>] padzero+0x4c/0x70
[251441.410000] [<801ae86c>] load_elf_binary+0xaec/0x124c
[251441.410000] [<80234ab8>] search_binary_handler+0x90/0x1d0
[251441.410000] [<8011f814>] do_execve+0x334/0x4c8
[251441.410000] [<8006283c>] handle_sys+0x11c/0x140
[251441.410000]
[251441.410000] handlers:
[251441.410000] [<80403864>] ath_isr [ath9k]
[251441.410000] Disabling IRQ #40
}}}
I'm recovering from this error by full reload of the wireless network
stack using this script:
{{{
#!/bin/sh
rmmod ath9k; rmmod ath9k_common; rmmod ath9k_hw; rmmod ath; rmmod
mac80211; rmmod cfg80211; rmmod compat; modprobe ath9k; wifi
}}}
Hope this information would help resolving this bug.
--
Ticket URL: <https://dev.openwrt.org/ticket/18483#comment:8>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets