#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):

 After upgrade to trunk r43731 here we are again - the same bug appeared
 after less than a day uptime:

 {{{
 [98838.200000] irq 40: nobody cared (try booting with the "irqpoll"
 option)
 [98838.200000] CPU: 0 PID: 1408 Comm: hostapd Not tainted 3.14.26 #2
 [98838.200000] Stack : 00000006 ffffffff 00000000 00000000 00000000
 00000000 803bc8ce 00000035
 [98838.200000]    82ec0240 00000000 80301938 803521ff 00000580 803b3b5c
 82ec0240 00000000
 [98838.200000]    80340000 803051f0 80305204 802a2d8c 00000000 8020661c
 00000006 801a971c
 [98838.200000]    80305038 824a371c 00000000 00000000 00000000 00000000
 00000000 00000000
 [98838.200000]    00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000
 [98838.200000]    ...
 [98838.200000] Call Trace:
 [98838.200000] [<802489b0>] show_stack+0x48/0x70
 [98838.200000] [<800a6cb8>] __report_bad_irq.isra.7+0x44/0xf8
 [98838.200000] [<801dab98>] note_interrupt+0x224/0x2d8
 [98838.200000] [<80160dcc>] handle_irq_event_percpu+0x1b8/0x1ec
 [98838.200000] [<80160bf0>] handle_irq_event+0x3c/0x60
 [98838.200000] [<80160ee0>] handle_level_irq+0xe0/0xf8
 [98838.200000] [<80153df0>] generic_handle_irq+0x28/0x44
 [98838.200000] [<80153df0>] generic_handle_irq+0x28/0x44
 [98838.200000] [<8011c7a0>] do_IRQ+0x1c/0x2c
 [98838.200000] [<80060830>] ret_from_irq+0x0/0x4
 [98838.200000] [<8008f624>] __do_softirq+0x8c/0x228
 [98838.200000] [<8018beb4>] irq_exit+0x54/0x70
 [98838.200000] [<80060830>] ret_from_irq+0x0/0x4
 [98838.200000] [<801b4884>] lzma_main+0x24c/0xb84
 [98838.200000] [<802b7268>] xz_dec_lzma2_run+0x578/0x834
 [98838.200000] [<802b78a4>] xz_dec_run+0x324/0x8fc
 [98838.200000] [<80261e00>] squashfs_xz_uncompress+0x10c/0x1e8
 [98838.200000] [<8025d6c8>] squashfs_decompress+0x50/0x88
 [98838.200000] [<8025f394>] squashfs_read_data+0x5d0/0x73c
 [98838.200000] [<8025cf94>] squashfs_cache_get+0x1a0/0x32c
 [98838.200000] [<802614fc>] squashfs_readpage_block+0x164/0x450
 [98838.200000] [<80261224>] squashfs_readpage+0x750/0x8c4
 [98838.200000] [<8008eabc>] __do_page_cache_readahead+0x1ec/0x24c
 [98838.200000] [<80143958>] filemap_fault+0x198/0x3e8
 [98838.200000] [<8008e54c>] __do_fault+0xd0/0x454
 [98838.200000] [<801610e8>] handle_mm_fault+0x1f0/0x754
 [98838.200000] [<8008ec4c>] __do_page_fault+0x130/0x388
 [98838.200000] [<80060820>] ret_from_exception+0x0/0x10
 [98838.200000]
 [98838.200000] handlers:
 [98838.200000] [<83363864>] ath_isr [ath9k]
 [98838.200000] Disabling IRQ #40
 }}}

 And not surprisingly cat /proc/interrupts returns
 {{{
            CPU0
   3:    5091311      MIPS  ehci_hcd:usb1
   4:     875982      MIPS  eth0
   5:   64443502      MIPS  eth1
   7:   15338880      MIPS  timer
  11:         38      MISC  serial
  14:          0      MISC  ohci_hcd:usb2
  40:   49700000  AR71XX PCI  ath9k
  41:    9230325  AR71XX PCI  ath9k
 ERR:          0
 }}}

 As you can see the count of interrupts for IRQ 40 again is divisible
 exactly by 100000

 This pattern is clearly repeatable - it should help developers to find
 where this bug is hidden.

--
Ticket URL: <https://dev.openwrt.org/ticket/18483#comment:11>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to