From: Mark Shroyer Date: Sun, 16 Sep 2012 22:56:50 -0400 Subject: [ath9k-devel] "No free RX buffer" with AR9271 + kernel oops Message-ID: <20120917025650.GX4258@mshroyer-d> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org I'm attempting to use an AR9271-based USB adapter on Linux 3.2.23 (arm) with ath9k_htc from compat-wireless 2012-04-17 and 2012-09-07, but I'm having trouble when I run the adapter in AP mode and dump traffic across it (e.g. with iperf): I start out seeing good performance, but after running the test for several minutes the throughput will drop to about 1.5 mbit/s, around which point the dmesg buffer shows the repeated message: [ 810.832427] ath: phy0: No free RX buffer And if I continue this test I eventually see the attached kernel oops message. Can anybody offer troubleshooting advice on this? And I'll be happy to provide any additional information required of course. Thanks, Mark -------------- next part -------------- root at foo:/# [ 851.519958] ------------[ cut here ]------------ [ 851.524810] Kernel BUG at bf1d5abc [verbose debug info unavailable] [ 851.531341] Internal error: Oops - undefined instruction: 0 [#1] [ 851.537597] Modules linked in: ath9k_htc(O) nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_c [ 851.580261] CPU: 0 Tainted: G O (3.2.23 #1) [ 851.585906] PC is at ath9k_hif_usb_firmware_cb+0x29c/0x428 [ath9k_htc] [ 851.592712] LR is at 0x6d18715c [ 851.596008] pc : [] lr : [<6d18715c>] psr: 60000113 [ 851.596008] sp : cfa59f18 ip : 0000001c fp : cf01ada8 [ 851.607971] r10: 00000003 r9 : 00000002 r8 : 00000000 [ 851.613403] r7 : 00000002 r6 : cf01ada8 r5 : cf01ad80 r4 : cfb2399c [ 851.620208] r3 : cf999880 r2 : 0003e6b6 r1 : 00000088 r0 : cf1e008c [ 851.627014] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel [ 851.634613] Control: 10c5387d Table: 8f330019 DAC: 00000015 [ 851.640625] Process kworker/u:2 (pid: 42, stack limit = 0xcfa582f0) [ 851.647155] Stack: (0xcfa59f18 to 0xcfa5a000) [ 851.651672] 9f00: cf01ad80 cfb23c [ 851.660217] 9f20: cfb2399c cfb239c0 cf01ad80 00000001 cfb239cc 00000000 c0275c94 000000 [ 851.668731] 9f40: cf91cc05 bf1d5df0 cf01a9c0 00000000 c05c6b6c cf91cc00 cfa3c810 c025a8 [ 851.677276] 9f60: 60000113 cf946000 cf9460f0 c0275cb0 60000113 cfa3c800 cf9462ec c0049c [ 851.685791] 9f80: cf91cc05 cfa3c800 cfa58000 c05c6b6c c05c6b68 cfa3c810 00000089 c05774 [ 851.694335] 9fa0: c05c6b6c c004a654 00000000 cf83ff28 cfa3c800 c004a4bc 00000013 000000 [ 851.702850] 9fc0: 00000000 00000000 00000000 c004d848 00000000 00000000 cfa3c800 000000 [ 851.711364] 9fe0: cfa59fe0 cfa59fe0 cf83ff28 c004d7cc c000de58 c000de58 f976ee7f 70efbb [ 851.719970] [] (ath9k_hif_usb_firmware_cb+0x29c/0x428 [ath9k_htc]) from [] (hif_usb_tx_cb+0x1a8/0x1c0 [ath9k_htc]) from [] (us) [ 851.743469] [] (usb_hcd_giveback_urb+0x70/0xb8) from [] (musb_gb_w) [ 851.753021] [] (musb_gb_work+0x1c/0x30) from [] (process_one_work+) [ 851.762359] [] (process_one_work+0x1cc/0x318) from [] (worker_thre) [ 851.772003] [] (worker_thread+0x198/0x29c) from [] (kthread+0x7c/0) [ 851.780609] [] (kthread+0x7c/0x84) from [] (kernel_thread_exit+0x0) [ 851.789337] Code: e6ff3073 e14431b8 ba000001 ea000007 (e7f001f2) [ 851.797851] ---[ end trace 721f637bff5b1da3 ]---