Hi!
I'm trying to get an Ar9385 mini-pcie module work on a Marvell Kirkwood 
board.
When adding the PCI ID, the card is detected as AR9300, properly claims 
to support MCS rates up to 23 and seems to work at first. As soon as any 
traffic goes over the interface, I previously got
ath: DMA failed to stop...
ath: Could not stop RX...
messages after a while and the card stopped working.
Now with more recent compat-wireless (2010-08-10 + OpenWrt patches) it 
looks like this:


BUG: soft lockup - CPU#0 stuck for 22s! [iperf:4363]
Modules linked in: gpio_keys_polled leds_gpio ip6t_REJECT ip6t_LOG 
ip6t_rt ip6t_hbh ip6t_mh ip6t_ipv6header ip6t_frag ip6t_eui64 ip6t_ah 
ip6table_raw ip6_queue ip6tabl6
irq event stamp: 0
hardirqs last  enabled at (0): [<  (null)>]   (null)
hardirqs last disabled at (0): [<c02f5640>] copy_process+0x34c/0xe1c
softirqs last  enabled at (0): [<c02f5640>] copy_process+0x34c/0xe1c
softirqs last disabled at (0): [<  (null)>]   (null)

Pid: 4363, comm:                iperf
CPU: 0    Tainted: G        W    (3.0.0 #17)
PC is at ___dma_single_dev_to_cpu+0x34/0xbc
LR is at dma_async_memcpy_buf_to_pg+0xa0/0x104
pc : [<c02e9044>]    lr : [<c04734e8>]    psr: 80000013
sp : c6777c40  ip : c6777c60  fp : c6777c5c
r10: 0014b000  r9 : c79f7d80  r8 : 0000014b
r7 : c0bd2a98  r6 : 00000001  r5 : 00000028  r4 : c667c628
r3 : c0bd2ab0  r2 : c8000000  r1 : 00000028  r0 : c667c628
Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 0005397f  Table: 067a8000  DAC: 00000015
[<c02e4e94>] (show_regs+0x0/0x58) from [<c033901c>] 
(watchdog_timer_fn+0x110/0x164)
  r4:c6776000 r3:60000093
[<c0338f0c>] (watchdog_timer_fn+0x0/0x164) from [<c031a2c0>] 
(__run_hrtimer+0xe4/0x1b4)
[<c031a1dc>] (__run_hrtimer+0x0/0x1b4) from [<c031adbc>] 
(hrtimer_interrupt+0x114/0x254)
[<c031aca8>] (hrtimer_interrupt+0x0/0x254) from [<c02ed2a8>] 
(orion_timer_interrupt+0x34/0x44)
  r9:c06b7cc0 r8:00000000 r7:00000001 r6:c0698f60 r5:c069f888
r4:c0698f60
[<c02ed274>] (orion_timer_interrupt+0x0/0x44) from [<c03399cc>] 
(handle_irq_event_percpu+0x80/0x238)
[<c033994c>] (handle_irq_event_percpu+0x0/0x238) from [<c0339bd0>] 
(handle_irq_event+0x4c/0x6c)
[<c0339b84>] (handle_irq_event+0x0/0x6c) from [<c033b780>] 
(handle_level_irq+0xc8/0x114)
  r6:00000000 r5:c069f888 r4:c069f840 r3:00022000
[<c033b6b8>] (handle_level_irq+0x0/0x114) from [<c033935c>] 
(generic_handle_irq+0x40/0x54)
  r5:00000001 r4:c06aa304
[<c033931c>] (generic_handle_irq+0x0/0x54) from [<c02e32d0>] 
(asm_do_IRQ+0x70/0x90)
[<c02e3260>] (asm_do_IRQ+0x0/0x90) from [<c02e3b58>] (__irq_svc+0x38/0xa0)
Exception stack(0xc6777bf8 to 0xc6777c40)
7be0:                                                       c667c628 
00000028
7c00: c8000000 c0bd2ab0 c667c628 00000028 00000001 c0bd2a98 0000014b 
c79f7d80
7c20: 0014b000 c6777c5c c6777c60 c6777c40 c04734e8 c02e9044 80000013 
ffffffff
  r6:0000001e r5:fed20200 r4:ffffffff r3:00000000
[<c02e9010>] (___dma_single_dev_to_cpu+0x0/0xbc) from [<c04734e8>] 
(dma_async_memcpy_buf_to_pg+0xa0/0x104)
  r6:c667c628 r5:00000028 r4:c79f7cf8 r3:00000000
[<c0473448>] (dma_async_memcpy_buf_to_pg+0x0/0x104) from [<c0474a18>] 
(dma_memcpy_to_iovec+0xdc/0x170)
[<c047493c>] (dma_memcpy_to_iovec+0x0/0x170) from [<c0536564>] 
(dma_skb_copy_datagram_iovec+0x7c/0x230)
[<c05364e8>] (dma_skb_copy_datagram_iovec+0x0/0x230) from [<c055c924>] 
(tcp_recvmsg+0x618/0xa58)
[<c055c30c>] (tcp_recvmsg+0x0/0xa58) from [<c057cccc>] 
(inet_recvmsg+0x50/0x64)
[<c057cc7c>] (inet_recvmsg+0x0/0x64) from [<c050d9a8>] 
(sock_recvmsg+0xac/0xc0)
  r5:00000000 r4:00000000
[<c050d8fc>] (sock_recvmsg+0x0/0xc0) from [<c0510254>] 
(sys_recvfrom+0x98/0xf0)
  r8:01393df0 r7:c6777ebc r6:00000000 r5:c779f860 r4:00020000
[<c05101bc>] (sys_recvfrom+0x0/0xf0) from [<c05102d4>] (sys_recv+0x28/0x30)
[<c05102ac>] (sys_recv+0x0/0x30) from [<c02e3f60>] 
(ret_fast_syscall+0x0/0x38)
Kernel panic - not syncing: softlockup: hung tasks
Backtrace:
[<c02e70e8>] (dump_backtrace+0x0/0x11c) from [<c05b5098>] 
(dump_stack+0x20/0x24)
  r6:c069f760 r5:00000000 r4:c06b8dc8 r3:60000093
[<c05b5078>] (dump_stack+0x0/0x24) from [<c05b5104>] (panic+0x68/0x1a0)
[<c05b509c>] (panic+0x0/0x1a0) from [<c0339040>] 
(watchdog_timer_fn+0x134/0x164)
  r3:00000001 r2:00000000 r1:e92dd800 r0:c0644b70
  r7:c069f770
[<c0338f0c>] (watchdog_timer_fn+0x0/0x164) from [<c031a2c0>] 
(__run_hrtimer+0xe4/0x1b4)
[<c031a1dc>] (__run_hrtimer+0x0/0x1b4) from [<c031adbc>] 
(hrtimer_interrupt+0x114/0x254)
[<c031aca8>] (hrtimer_interrupt+0x0/0x254) from [<c02ed2a8>] 
(orion_timer_interrupt+0x34/0x44)
  r9:c06b7cc0 r8:00000000 r7:00000001 r6:c0698f60 r5:c069f888
r4:c0698f60
[<c02ed274>] (orion_timer_interrupt+0x0/0x44) from [<c03399cc>] 
(handle_irq_event_percpu+0x80/0x238)
[<c033994c>] (handle_irq_event_percpu+0x0/0x238) from [<c0339bd0>] 
(handle_irq_event+0x4c/0x6c)
[<c0339b84>] (handle_irq_event+0x0/0x6c) from [<c033b780>] 
(handle_level_irq+0xc8/0x114)
  r6:00000000 r5:c069f888 r4:c069f840 r3:00022000
[<c033b6b8>] (handle_level_irq+0x0/0x114) from [<c033935c>] 
(generic_handle_irq+0x40/0x54)
  r5:00000001 r4:c06aa304
[<c033931c>] (generic_handle_irq+0x0/0x54) from [<c02e32d0>] 
(asm_do_IRQ+0x70/0x90)
[<c02e3260>] (asm_do_IRQ+0x0/0x90) from [<c02e3b58>] (__irq_svc+0x38/0xa0)
Exception stack(0xc6777bf8 to 0xc6777c40)
7be0:                                                       c667c628 
00000028
7c00: c8000000 c0bd2ab0 c667c628 00000028 00000001 c0bd2a98 0000014b 
c79f7d80
7c20: 0014b000 c6777c5c c6777c60 c6777c40 c04734e8 c02e9044 80000013 
ffffffff
  r6:0000001e r5:fed20200 r4:ffffffff r3:00000000
[<c02e9010>] (___dma_single_dev_to_cpu+0x0/0xbc) from [<c04734e8>] 
(dma_async_memcpy_buf_to_pg+0xa0/0x104)
  r6:c667c628 r5:00000028 r4:c79f7cf8 r3:00000000
[<c0473448>] (dma_async_memcpy_buf_to_pg+0x0/0x104) from [<c0474a18>] 
(dma_memcpy_to_iovec+0xdc/0x170)
[<c047493c>] (dma_memcpy_to_iovec+0x0/0x170) from [<c0536564>] 
(dma_skb_copy_datagram_iovec+0x7c/0x230)
[<c05364e8>] (dma_skb_copy_datagram_iovec+0x0/0x230) from [<c055c924>] 
(tcp_recvmsg+0x618/0xa58)
[<c055c30c>] (tcp_recvmsg+0x0/0xa58) from [<c057cccc>] 
(inet_recvmsg+0x50/0x64)
[<c057cc7c>] (inet_recvmsg+0x0/0x64) from [<c050d9a8>] 
(sock_recvmsg+0xac/0xc0)
  r5:00000000 r4:00000000
[<c050d8fc>] (sock_recvmsg+0x0/0xc0) from [<c0510254>] 
(sys_recvfrom+0x98/0xf0)
  r8:01393df0 r7:c6777ebc r6:00000000 r5:c779f860 r4:00020000
[<c05101bc>] (sys_recvfrom+0x0/0xf0) from [<c05102d4>] (sys_recv+0x28/0x30)
[<c05102ac>] (sys_recv+0x0/0x30) from [<c02e3f60>] 
(ret_fast_syscall+0x0/0x38)

Any ideas?

_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to