My PCI WiFi card is installed as AP, lspci shows: Network controller: Atheros Communications Inc. Device 0029 (rev 01) Subsystem: Atheros Communications Inc. Device 2093 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 168, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 16 Region 0: Memory at fddf0000 (32-bit, non-prefetchable) [size=64K] Capabilities: [44] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=100mA PME(D0+,D1-,D2-,D3hot+,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- Kernel driver in use: ath9k Kernel modules: ath9k I'm using hostapd to set up the AP. I'm using version 2.6.32-rc7 stable as ath9k driver. In dmesg (debug of ath9k) this is printed: [151191.797087] ------------[ cut here ]------------ [151191.797110] WARNING: at /work/wifi/compat-wireless-2.6.32-rc7/net/mac80211/rx.c:2486 ieee80211_rx+0xdf/0x579 [mac80211]() [151191.797113] Hardware name: Crestline [151191.797114] Modules linked in: ath9k mac80211 ath cfg80211 rfkill_backport rfcomm l2cap loop arc4 ecb evdev led_class serio_raw snd_pcsp i2c_i801 i2c_core iTCO_wdt snd_hda_codec_realtek btusb asix usbnet mii bluetooth rt73 processor button snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_timer snd soundcore snd_page_alloc intel_agp agpgart ext3 jbd mbcache ide_gd_mod ata_generic ata_piix libata scsi_mod piix ide_pci_generic ide_core ehci_hcd uhci_hcd usbcore thermal fan thermal_sys [last unloaded: rfkill_backport] [151191.797162] Pid: 1082, comm: ffmpeg-0.5 Tainted: G W 2.6.30-bpo.1-686-bigmem #1 [151191.797165] Call Trace: [151191.797171] [<c012c79c>] ? warn_slowpath_common+0x5e/0x8a [151191.797175] [<c012c7d2>] ? warn_slowpath_null+0xa/0xc [151191.797188] [<f8aa4382>] ? ieee80211_rx+0xdf/0x579 [mac80211] [151191.797203] [<f8bba362>] ? ath_rx_tasklet+0x813/0x85e [ath9k] [151191.797207] [<c0161a77>] ? handle_fasteoi_irq+0x90/0x97 [151191.797211] [<c0108080>] ? xen_do_upcall+0x0/0xc [151191.797214] [<c0130a5a>] ? irq_exit+0x31/0x53 [151191.797217] [<c0109002>] ? do_IRQ+0x65/0x76 [151191.797227] [<f82bec0f>] ? ehci_watchdog+0x0/0x37 [ehci_hcd] [151191.797230] [<c0107c49>] ? common_interrupt+0x29/0x30 [151191.797242] [<f8bb87f1>] ? ath9k_tasklet+0x44/0xbf [ath9k] [151191.797245] [<c013038f>] ? tasklet_action+0x63/0xa8 [151191.797249] [<c0130897>] ? __do_softirq+0x8e/0x135 [151191.797252] [<c013096c>] ? do_softirq+0x2e/0x38 [151191.797255] [<c0130a4f>] ? irq_exit+0x26/0x53 [151191.797257] [<c0109002>] ? do_IRQ+0x65/0x76 [151191.797260] [<c0107c49>] ? common_interrupt+0x29/0x30 [151191.797263] ---[ end trace 54b419758ff7dbbb ]--- [151418.421793] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x40000020 [157047.064720] ------------[ cut here ]------------ [157047.064752] WARNING: at /work/wifi/compat-wireless-2.6.32-rc7/net/mac80211/rx.c:2486 ieee80211_rx+0xdf/0x579 [mac80211]() [157047.064757] Hardware name: Crestline [157047.064760] Modules linked in: ath9k mac80211 ath cfg80211 rfkill_backport rfcomm l2cap loop arc4 ecb evdev led_class serio_raw snd_pcsp i2c_i801 i2c_core iTCO_wdt snd_hda_codec_realtek btusb asix usbnet mii bluetooth rt73 processor button snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_timer snd soundcore snd_page_alloc intel_agp agpgart ext3 jbd mbcache ide_gd_mod ata_generic ata_piix libata scsi_mod piix ide_pci_generic ide_core ehci_hcd uhci_hcd usbcore thermal fan thermal_sys [last unloaded: rfkill_backport] [157047.064833] Pid: 0, comm: swapper Tainted: G W 2.6.30-bpo.1-686-bigmem #1 [157047.064835] Call Trace: [157047.064842] [<c012c79c>] ? warn_slowpath_common+0x5e/0x8a [157047.064845] [<c012c7d2>] ? warn_slowpath_null+0xa/0xc [157047.064859] [<f8aa4382>] ? ieee80211_rx+0xdf/0x579 [mac80211] [157047.064872] [<f8bb9ace>] ? ath_rx_send_to_mac80211+0x94/0xa2 [ath9k] [157047.064884] [<f8bba362>] ? ath_rx_tasklet+0x813/0x85e [ath9k] [157047.064889] [<c01461f4>] ? tick_dev_program_event+0x1e/0x81 [157047.064901] [<f8bb87f1>] ? ath9k_tasklet+0x44/0xbf [ath9k] [157047.064904] [<c013038f>] ? tasklet_action+0x63/0xa8 [157047.064907] [<c0130897>] ? __do_softirq+0x8e/0x135 [157047.064910] [<c013096c>] ? do_softirq+0x2e/0x38 [157047.064913] [<c0130a4f>] ? irq_exit+0x26/0x53 [157047.064917] [<c0109002>] ? do_IRQ+0x65/0x76 [157047.064920] [<c0107c49>] ? common_interrupt+0x29/0x30 [157047.064923] [<c010d1a9>] ? mwait_idle+0x67/0x83 [157047.064928] [<c010691a>] ? cpu_idle+0x46/0x60 [157047.064933] [<c045877e>] ? start_kernel+0x2c2/0x2c5 [157047.064935] ---[ end trace 54b419758ff7dbbc ]--- [159053.727654] ath9k: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x40000020 But everything seems to be working after these warnings.
I'm having the same warnings occasionally. Using pretty the same setup: ath9k driver with device 00:14.0 Network controller: Atheros Communications Inc. Device 0029 (rev 01) in AP-mode (hostap). Dec 2 01:05:24 homeserver kernel: ------------[ cut here ]------------ Dec 2 01:05:24 homeserver kernel: WARNING: at net/mac80211/rx.c:2486 ieee80211_rx+0xdc/0x578() Dec 2 01:05:24 homeserver kernel: Hardware name: CN400-8237 Dec 2 01:05:24 homeserver kernel: Modules linked in: padlock_aes via_rng vfat fat pppoe pppox ppp_generic slhc bridge stp llc w83627hf hwmon_vid w83697hf_wdt ath9k ath led_class i2c_viapro via_rhine Dec 2 01:05:24 homeserver kernel: Pid: 0, comm: swapper Tainted: G W 2.6.32-rc8-homeserver #1 Dec 2 01:05:24 homeserver kernel: Call Trace: Dec 2 01:05:24 homeserver kernel: [<c101b393>] ? warn_slowpath_common+0x5e/0x8a Dec 2 01:05:24 homeserver kernel: [<c101b3c9>] ? warn_slowpath_null+0xa/0xc Dec 2 01:05:24 homeserver kernel: [<c126c418>] ? ieee80211_rx+0xdc/0x578 Dec 2 01:05:24 homeserver kernel: [<cf893ec0>] ? ath_rx_tasklet+0x741/0x788 [ath9k] Dec 2 01:05:24 homeserver kernel: [<cf88ff06>] ? ath_beacon_setup+0xe2/0xea [ath9k] Dec 2 01:05:24 homeserver kernel: [<c10220e0>] ? get_next_timer_interrupt+0x15d/0x1c9 Dec 2 01:05:24 homeserver kernel: [<cf892451>] ? ath9k_tasklet+0x38/0x9d [ath9k] Dec 2 01:05:24 homeserver kernel: [<c101e74d>] ? tasklet_action+0x3f/0x65 Dec 2 01:05:24 homeserver kernel: [<c101eb13>] ? __do_softirq+0x5d/0xc4 Dec 2 01:05:24 homeserver kernel: [<c101eb9c>] ? do_softirq+0x22/0x26 Dec 2 01:05:24 homeserver kernel: [<c101ec54>] ? irq_exit+0x25/0x53 Dec 2 01:05:24 homeserver kernel: [<c1003d40>] ? do_IRQ+0x66/0x76 Dec 2 01:05:24 homeserver kernel: [<c1002da9>] ? common_interrupt+0x29/0x30 Dec 2 01:05:24 homeserver kernel: [<c1007238>] ? default_idle+0x25/0x38 Dec 2 01:05:24 homeserver kernel: [<c1001b53>] ? cpu_idle+0x23/0x3c Dec 2 01:05:24 homeserver kernel: [<c13e465d>] ? start_kernel+0x24e/0x251 Dec 2 01:05:24 homeserver kernel: ---[ end trace b4e9e9f197d615e5 ]--- Let me know whether more information is needed or what kind of debugging is recommended.
This bug is also affecting some ubuntu users as show in https://bugs.launchpad.net/linux/+bug/548813 I'm using 2.6.32-21-386 right now and having this exactly same problem.
I downloaded the latest compat-wireless source, built the modules and the problem goes away.