From: Catalin Drula Date: Sun, 14 Aug 2011 10:37:41 +0200 Subject: [ath9k-devel] Kernel panic with compat-wireless-2011-07-28 In-Reply-To: References: <1313099780.3444.36.camel@catalin-W520> <1313130911.3444.43.camel@catalin-W520> Message-ID: <1313311061.11208.6.camel@catalin-W520> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Hi, I've reproduced again the issue with compat-wireless-2011-08-08; this time I added some debug prints to ath9k/rc.c (as seen in the attached patch). Observations: - the rate table seems to get messed up/overwritten right before the crash; in fact, this is what causes the kernel panic - every time I've reproduced this issue so far there has been a "Failed to stop TX DMA!" message right before it happened; these messages are otherwise very rare (once every couple of hours), but whenever the crash occurs there is one such message right then Could it be that whatever leads to the "Failed to stop TX DMA!" message also causes some memory to be overwritten? --- This is the dump with debug information: Aug 13 23:38:09 192.168.50.101 RATE 7: ratekbps 18000 rate_flags 15 Aug 13 23:38:09 192.168.50.101 RATE 8: ratekbps 24000 rate_flags 15 Aug 13 23:38:09 192.168.50.101 RATE 9: ratekbps 36000 rate_flags 15 Aug 13 23:38:09 192.168.50.101 RATE 10: ratekbps 48000 rate_flags 15 Aug 13 23:38:09 192.168.50.101 best_rate: 11 Aug 13 23:38:09 192.168.50.101 [56256.513866] final rate: 11 flags: 15 Aug 13 23:38:09 192.168.50.101 [56256.513871] returning rate on case 3 Aug 13 23:38:09 192.168.50.101 rate_table_size: 12 Aug 13 23:38:09 192.168.50.101 [56256.513900] rate_max_phy: 11 Aug 13 23:38:09 192.168.50.101 [56256.513902] max_valid_rate: 10 Aug 13 23:38:09 192.168.50.101 [56256.513912] RATE 0: ratekbps 1000 rate_flags 15 Aug 13 23:38:09 192.168.50.101 RATE 1: ratekbps 2000 rate_flags 15 Aug 13 23:38:09 192.168.50.101 RATE 2: ratekbps 5500 rate_flags 15 Aug 13 23:38:09 192.168.50.101 RATE 3: ratekbps 11000 rate_flags 15 Aug 13 23:38:09 192.168.50.101 RATE 4: ratekbps 6000 rate_flags 0 Aug 13 23:38:09 192.168.50.101 RATE 5: ratekbps 9000 rate_flags 0 Aug 13 23:38:09 192.168.50.101 RATE 6: ratekbps 12000 rate_flags 15 Aug 13 23:38:09 192.168.50.101 RATE 7: ratekbps 18000 rate_flags 15 Aug 13 23:38:09 192.168.50.101 RATE 8: ratekbps 24000 rate_flags 15 Aug 13 23:38:09 192.168.50.101 RATE 9: ratekbps 36000 rate_flags 15 Aug 13 23:38:09 192.168.50.101 RATE 10: ratekbps 48000 rate_flags 15 Aug 13 23:38:09 192.168.50.101 best_rate: 11 Aug 13 23:38:09 192.168.50.101 [56256.513992] final rate: 11 flags: 15 Aug 13 23:38:09 192.168.50.101 [56256.513997] returning rate on case 3 Aug 13 23:38:09 192.168.50.101 rate_table_size: 12 Aug 13 23:38:09 192.168.50.101 [56256.518708] rate_max_phy: 11 Aug 13 23:38:09 192.168.50.101 [56256.518712] max_valid_rate: 10 Aug 13 23:38:09 192.168.50.101 [56256.518745] RATE 0: ratekbps 33554432 rate_flags 0 Aug 13 23:38:09 192.168.50.101 RATE 1: ratekbps 67174400 rate_flags 0 Aug 13 23:38:09 192.168.50.101 RATE 2: ratekbps 184680448 rate_flags 0 Aug 13 23:38:09 192.168.50.101 RATE 3: ratekbps 369295360 rate_flags 0 Aug 13 23:38:09 192.168.50.101 RATE 4: ratekbps 201588736 rate_flags 0 Aug 13 23:38:09 192.168.50.101 RATE 5: ratekbps 302317568 rate_flags 0 Aug 13 23:38:09 192.168.50.101 RATE 6: ratekbps 403046400 rate_flags 0 Aug 13 23:38:09 192.168.50.101 RATE 7: ratekbps 604438528 rate_flags 0 Aug 13 23:38:09 192.168.50.101 RATE 8: ratekbps 805830656 rate_flags 0 Aug 13 23:38:09 192.168.50.101 RATE 9: ratekbps 1208549376 rate_flags 0 Aug 13 23:38:09 192.168.50.101 RATE 10: ratekbps 1611268096 rate_flags 0 Aug 13 23:38:09 192.168.50.101 best_rate: 8 Aug 13 23:38:09 192.168.50.101 [56256.518815] final rate: 8 flags: 0 Aug 13 23:38:09 192.168.50.101 [56256.518821] ------------[ cut here ]------------ Aug 13 23:38:09 192.168.50.101 [56256.518842] WARNING: at /home/catalin/work/suitable/compat-wireless/compat-wireless-2011-08-08/drivers/net/wireless/ath/ath9k/rc.c:713 ath_get_rate+0x217/0x690 [ath9k]() Aug 13 23:38:09 192.168.50.101 [56256.518854] Hardware name: SG3-360FR Aug 13 23:38:09 192.168.50.101 [56256.518859] Modules linked in: Aug 13 23:38:09 192.168.50.101 cryptd Aug 13 23:38:09 192.168.50.101 aes_x86_64 Aug 13 23:38:09 192.168.50.101 aes_generic Aug 13 23:38:09 192.168.50.101 ath9k Aug 13 23:38:09 192.168.50.101 mac80211 Aug 13 23:38:09 192.168.50.101 ath9k_common Aug 13 23:38:09 192.168.50.101 ath9k_hw Aug 13 23:38:09 192.168.50.101 ath Aug 13 23:38:09 192.168.50.101 cfg80211 Aug 13 23:38:09 192.168.50.101 compat Aug 13 23:38:09 192.168.50.101 pcmcia_core Aug 13 23:38:09 192.168.50.101 led_class Aug 13 23:38:09 192.168.50.101 joydev Aug 13 23:38:09 192.168.50.101 hid_microsoft Aug 13 23:38:09 192.168.50.101 hid_belkin Aug 13 23:38:09 192.168.50.101 xt_tcpudp Aug 13 23:38:09 192.168.50.101 iptable_filter Aug 13 23:38:09 192.168.50.101 ip_tables Aug 13 23:38:09 192.168.50.101 x_tables Aug 13 23:38:09 192.168.50.101 binfmt_misc Aug 13 23:38:09 192.168.50.101 ppdev Aug 13 23:38:09 192.168.50.101 snd_hda_codec_realtek Aug 13 23:38:09 192.168.50.101 arc4 Aug 13 23:38:09 192.168.50.101 snd_hda_intel Aug 13 23:38:09 192.168.50.101 snd_hda_codec Aug 13 23:38:09 192.168.50.101 snd_hwdep Aug 13 23:38:09 192.168.50.101 snd_pcm_oss Aug 13 23:38:09 192.168.50.101 snd_mixer_oss Aug 13 23:38:09 192.168.50.101 snd_pcm Aug 13 23:38:09 192.168.50.101 snd_seq_dummy Aug 13 23:38:09 192.168.50.101 snd_seq_oss Aug 13 23:38:09 192.168.50.101 snd_seq_midi Aug 13 23:38:09 192.168.50.101 snd_rawmidi Aug 13 23:38:09 192.168.50.101 snd_seq_midi_event Aug 13 23:38:09 192.168.50.101 snd_seq Aug 13 23:38:09 192.168.50.101 snd_timer Aug 13 23:38:09 192.168.50.101 snd_seq_device Aug 13 23:38:09 192.168.50.101 netconsole Aug 13 23:38:09 192.168.50.101 configfs Aug 13 23:38:09 192.168.50.101 snd Aug 13 23:38:09 192.168.50.101 lp Aug 13 23:38:09 192.168.50.101 soundcore Aug 13 23:38:09 192.168.50.101 fbcon Aug 13 23:38:09 192.168.50.101 tileblit Aug 13 23:38:09 192.168.50.101 font Aug 13 23:38:09 192.168.50.101 bitblit Aug 13 23:38:09 192.168.50.101 softcursor Aug 13 23:38:09 192.168.50.101 psmouse Aug 13 23:38:09 192.168.50.101 parport Aug 13 23:38:09 192.168.50.101 snd_page_alloc Aug 13 23:38:09 192.168.50.101 edac_core Aug 13 23:38:09 192.168.50.101 edac_mce_amd Aug 13 23:38:09 192.168.50.101 fglrx(P) Aug 13 23:38:09 192.168.50.101 vga16fb Aug 13 23:38:09 192.168.50.101 vgastate Aug 13 23:38:09 192.168.50.101 serio_raw Aug 13 23:38:09 192.168.50.101 i2c_piix4 Aug 13 23:38:09 192.168.50.101 shpchp Aug 13 23:38:09 192.168.50.101 usbhid Aug 13 23:38:09 192.168.50.101 hid Aug 13 23:38:09 192.168.50.101 usb_storage Aug 13 23:38:09 192.168.50.101 r8169 Aug 13 23:38:09 192.168.50.101 mii Aug 13 23:38:09 192.168.50.101 ahci Aug 13 23:38:09 192.168.50.101 [last unloaded: led_class] Aug 13 23:38:09 192.168.50.101 Aug 13 23:38:09 192.168.50.101 [56256.519269] Pid: 4022, comm: phy1 Tainted: P W 2.6.32-33-generic #72-Ubuntu Aug 13 23:38:09 192.168.50.101 [56256.519277] Call Trace: Aug 13 23:38:09 192.168.50.101 [56256.519284] Aug 13 23:38:09 192.168.50.101 [] warn_slowpath_common +0x7b/0xc0 Aug 13 23:38:09 192.168.50.101 [56256.519313] [] warn_slowpath_null+0x14/0x20 Aug 13 23:38:09 192.168.50.101 [56256.519330] [] ath_get_rate+0x217/0x690 [ath9k] Aug 13 23:38:09 192.168.50.101 [56256.519366] [] rate_control_get_rate+0x8e/0x1b0 [mac80211] Aug 13 23:38:09 192.168.50.101 [56256.519400] [] invoke_tx_handlers+0xab2/0x12a0 [mac80211] Aug 13 23:38:09 192.168.50.101 [56256.519433] [] ieee80211_tx+0x60/0xb0 [mac80211] Aug 13 23:38:09 192.168.50.101 [56256.519465] [] ieee80211_xmit+0xb6/0x1d0 [mac80211] Aug 13 23:38:09 192.168.50.101 [56256.519496] [] ieee80211_subif_start_xmit+0x380/0x900 [mac80211] Aug 13 23:38:09 192.168.50.101 [56256.519518] [] ? rtl8169_poll+0x1f4/0x270 [r8169] Aug 13 23:38:09 192.168.50.101 [56256.519532] [] dev_hard_start_xmit+0xf2/0x210 Aug 13 23:38:09 192.168.50.101 [56256.519545] [] sch_direct_xmit+0x15f/0x1d0 Aug 13 23:38:09 192.168.50.101 [56256.519560] [] __qdisc_run+0x6b/0xe0 Aug 13 23:38:09 192.168.50.101 [56256.519572] [] net_tx_action+0x120/0x180 Aug 13 23:38:09 192.168.50.101 [56256.519583] [] __do_softirq+0xb7/0x1f0 Aug 13 23:38:09 192.168.50.101 [56256.519594] [] call_softirq+0x1c/0x30 Aug 13 23:38:09 192.168.50.101 [56256.519601] Aug 13 23:38:09 192.168.50.101 [] do_softirq+0x65/0xa0 Aug 13 23:38:09 192.168.50.101 [56256.519618] [] local_bh_enable_ip+0x98/0xa0 Aug 13 23:38:09 192.168.50.101 [56256.519630] [] _spin_unlock_bh+0x19/0x20 Aug 13 23:38:09 192.168.50.101 [56256.519647] [] ath_tx_complete_poll_work+0xaa/0x110 [ath9k] Aug 13 23:38:09 192.168.50.101 [56256.519663] [] ? ath_tx_complete_poll_work+0x0/0x110 [ath9k] Aug 13 23:38:09 192.168.50.101 [56256.519677] [] run_workqueue+0xc7/0x1a0 Aug 13 23:38:09 192.168.50.101 [56256.519780] [] worker_thread+0xa3/0x110 Aug 13 23:38:09 192.168.50.101 [56256.519794] [] ? autoremove_wake_function+0x0/0x40 Aug 13 23:38:09 192.168.50.101 [56256.519806] [] ? worker_thread+0x0/0x110 Aug 13 23:38:09 192.168.50.101 [56256.519817] [] kthread+0x96/0xa0 Aug 13 23:38:09 192.168.50.101 [56256.519828] [] child_rip+0xa/0x20 Aug 13 23:38:09 192.168.50.101 [56256.519840] [] ? kthread+0x0/0xa0 Aug 13 23:38:09 192.168.50.101 [56256.519850] [] ? child_rip+0x0/0x20 Aug 13 23:38:09 192.168.50.101 [56256.519859] ---[ end trace d2a709377781aad3 ]--- Aug 13 23:38:09 192.168.50.101 [56256.519867] Badness happened so rate = 0 Aug 13 23:38:09 192.168.50.101 [56256.519887] BUG: unable to handle kernel Aug 13 23:38:09 192.168.50.101 paging request Aug 13 23:38:09 192.168.50.101 at ffffffffee806fb0 Aug 13 23:38:09 192.168.50.101 [56256.519906] IP: Aug 13 23:38:09 192.168.50.101 [] ath_get_rate +0x40c/0x690 [ath9k] Aug 13 23:38:09 192.168.50.101 [56256.519929] PGD 1003067 Aug 13 23:38:09 192.168.50.101 PUD 1004067 Aug 13 23:38:09 192.168.50.101 PMD 0 Aug 13 23:38:09 192.168.50.101 Aug 13 23:38:09 192.168.50.101 [56256.519949] Oops: 0000 [#1] Aug 13 23:38:09 192.168.50.101 SMP Aug 13 23:38:09 192.168.50.101 Aug 13 23:38:09 192.168.50.101 [56256.519960] last sysfs file: /sys/devices/pci0000:00/0000:00:0a.0/0000:04:00.0/local_cpus Aug 13 23:38:09 192.168.50.101 [56256.519970] CPU 0 Aug 13 23:38:09 192.168.50.101 Aug 13 23:38:09 192.168.50.101 [56256.519977] Modules linked in: Aug 13 23:38:09 192.168.50.101 cryptd Aug 13 23:38:09 192.168.50.101 aes_x86_64 Aug 13 23:38:09 192.168.50.101 aes_generic Aug 13 23:38:09 192.168.50.101 ath9k Aug 13 23:38:09 192.168.50.101 mac80211 Aug 13 23:38:09 192.168.50.101 ath9k_common Aug 13 23:38:09 192.168.50.101 ath9k_hw Aug 13 23:38:09 192.168.50.101 ath Aug 13 23:38:09 192.168.50.101 cfg80211 Aug 13 23:38:09 192.168.50.101 compat Aug 13 23:38:09 192.168.50.101 pcmcia_core Aug 13 23:38:09 192.168.50.101 led_class Aug 13 23:38:09 192.168.50.101 joydev Aug 13 23:38:09 192.168.50.101 hid_microsoft Aug 13 23:38:09 192.168.50.101 hid_belkin Aug 13 23:38:09 192.168.50.101 xt_tcpudp Aug 13 23:38:09 192.168.50.101 iptable_filter Aug 13 23:38:09 192.168.50.101 ip_tables Aug 13 23:38:09 192.168.50.101 x_tables Aug 13 23:38:09 192.168.50.101 binfmt_misc Aug 13 23:38:09 192.168.50.101 ppdev Aug 13 23:38:09 192.168.50.101 snd_hda_codec_realtek Aug 13 23:38:09 192.168.50.101 arc4 Aug 13 23:38:09 192.168.50.101 snd_hda_intel Aug 13 23:38:09 192.168.50.101 snd_hda_codec Aug 13 23:38:09 192.168.50.101 snd_hwdep Aug 13 23:38:09 192.168.50.101 snd_pcm_oss Aug 13 23:38:09 192.168.50.101 snd_mixer_oss Aug 13 23:38:09 192.168.50.101 snd_pcm Aug 13 23:38:09 192.168.50.101 snd_seq_dummy Aug 13 23:38:09 192.168.50.101 snd_seq_oss Aug 13 23:38:09 192.168.50.101 snd_seq_midi Aug 13 23:38:09 192.168.50.101 snd_rawmidi Aug 13 23:38:09 192.168.50.101 snd_seq_midi_event Aug 13 23:38:09 192.168.50.101 snd_seq Aug 13 23:38:09 192.168.50.101 snd_timer Aug 13 23:38:09 192.168.50.101 snd_seq_device Aug 13 23:38:09 192.168.50.101 netconsole Aug 13 23:38:09 192.168.50.101 configfs Aug 13 23:38:09 192.168.50.101 snd Aug 13 23:38:09 192.168.50.101 lp Aug 13 23:38:09 192.168.50.101 soundcore Aug 13 23:38:09 192.168.50.101 fbcon Aug 13 23:38:09 192.168.50.101 tileblit Aug 13 23:38:09 192.168.50.101 font Aug 13 23:38:09 192.168.50.101 bitblit Aug 13 23:38:09 192.168.50.101 softcursor Aug 13 23:38:09 192.168.50.101 psmouse Aug 13 23:38:09 192.168.50.101 parport Aug 13 23:38:09 192.168.50.101 snd_page_alloc Aug 13 23:38:09 192.168.50.101 edac_core Aug 13 23:38:09 192.168.50.101 edac_mce_amd Aug 13 23:38:09 192.168.50.101 fglrx(P) Aug 13 23:38:09 192.168.50.101 vga16fb Aug 13 23:38:09 192.168.50.101 vgastate Aug 13 23:38:09 192.168.50.101 serio_raw Aug 13 23:38:09 192.168.50.101 i2c_piix4 Aug 13 23:38:09 192.168.50.101 shpchp Aug 13 23:38:09 192.168.50.101 usbhid Aug 13 23:38:09 192.168.50.101 hid Aug 13 23:38:09 192.168.50.101 usb_storage Aug 13 23:38:09 192.168.50.101 r8169 Aug 13 23:38:09 192.168.50.101 mii Aug 13 23:38:09 192.168.50.101 ahci Aug 13 23:38:09 192.168.50.101 [last unloaded: led_class] Aug 13 23:38:09 192.168.50.101 Aug 13 23:38:09 192.168.50.101 [56256.520366] Pid: 4022, comm: phy1 Tainted: P W 2.6.32-33-generic #72-Ubuntu SG3-360FR Aug 13 23:38:09 192.168.50.101 [56256.520374] RIP: 0010:[] Aug 13 23:38:09 192.168.50.101 [] ath_get_rate +0x40c/0x690 [ath9k] Aug 13 23:38:09 192.168.50.101 [56256.520396] RSP: 0018:ffff880028203b18 EFLAGS: 00010246 Aug 13 23:38:09 192.168.50.101 [56256.520403] RAX: 0000000003e80001 RBX: ffff880096709c00 RCX: 0000000003e80001 Aug 13 23:38:09 192.168.50.101 [56256.520411] RDX: 0000000013880005 RSI: 0000000000000000 RDI: ffffffffa0606f86 Aug 13 23:38:09 192.168.50.101 [56256.520419] RBP: ffff880028203b88 R08: 0000000000000000 R09: 000000000000000d Aug 13 23:38:09 192.168.50.101 [56256.520428] R10: 000000003eea4f3e R11: 0000000000000000 R12: ffff880001edd000 Aug 13 23:38:09 192.168.50.101 [56256.520435] R13: 0000000000000004 R14: 0000000000000000 R15: ffffffffa0606f86 Aug 13 23:38:09 192.168.50.101 [56256.520444] FS: 00007fffee033700(0000) GS:ffff880028200000(0000) knlGS:0000000000000000 Aug 13 23:38:09 192.168.50.101 [56256.520453] CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b Aug 13 23:38:09 192.168.50.101 [56256.520460] CR2: ffffffffee806fb0 CR3: 000000009474f000 CR4: 00000000000006f0 Aug 13 23:38:09 192.168.50.101 [56256.520468] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Aug 13 23:38:09 192.168.50.101 [56256.520476] DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400 Aug 13 23:38:09 192.168.50.101 [56256.520484] Process phy1 (pid: 4022, threadinfo ffff8800964e0000, task ffff8801067fdbc0) Aug 13 23:38:09 192.168.50.101 [56256.520491] Stack: Aug 13 23:38:09 192.168.50.101 [56256.520496] 00000000000000a0 Aug 13 23:38:09 192.168.50.101 0108000000000000 Aug 13 23:38:09 192.168.50.101 ffff88007ec9483e Aug 13 23:38:09 192.168.50.101 ffff880096709c00 Aug 13 23:38:09 192.168.50.101 Aug 13 23:38:09 192.168.50.101 [56256.520516] <0> Aug 13 23:38:09 192.168.50.101 ffff88003d882f40 Aug 13 23:38:09 192.168.50.101 ffff880001edf408 Aug 13 23:38:09 192.168.50.101 ffff88003d882f38 Aug 13 23:38:09 192.168.50.101 ffff880028203c28 Aug 13 23:38:09 192.168.50.101 Aug 13 23:38:09 192.168.50.101 [56256.520611] <0> Aug 13 23:38:09 192.168.50.101 ffff880028255d00 Aug 13 23:38:09 192.168.50.101 ffff88003d882f38 Aug 13 23:38:09 192.168.50.101 ffff880001edf000 Aug 13 23:38:09 192.168.50.101 ffff880096176680 Aug 13 23:38:09 192.168.50.101 Aug 13 23:38:09 192.168.50.101 [56256.520632] Call Trace: Aug 13 23:38:09 192.168.50.101 [56256.520637] Aug 13 23:38:09 192.168.50.101 Aug 13 23:38:09 192.168.50.101 [56256.520668] [] rate_control_get_rate+0x8e/0x1b0 [mac80211] Aug 13 23:38:09 192.168.50.101 [56256.520698] [] invoke_tx_handlers+0xab2/0x12a0 [mac80211] Aug 13 23:38:09 192.168.50.101 [56256.520728] [] ieee80211_tx+0x60/0xb0 [mac80211] Aug 13 23:38:09 192.168.50.101 [56256.520758] [] ieee80211_xmit+0xb6/0x1d0 [mac80211] Aug 13 23:38:09 192.168.50.101 [56256.520788] [] ieee80211_subif_start_xmit+0x380/0x900 [mac80211] Aug 13 23:38:09 192.168.50.101 [56256.520807] [] ? rtl8169_poll+0x1f4/0x270 [r8169] Aug 13 23:38:09 192.168.50.101 [56256.520820] [] dev_hard_start_xmit+0xf2/0x210 Aug 13 23:38:09 192.168.50.101 [56256.520831] [] sch_direct_xmit+0x15f/0x1d0 Aug 13 23:38:09 192.168.50.101 [56256.520841] [] __qdisc_run+0x6b/0xe0 Aug 13 23:38:09 192.168.50.101 [56256.520853] [] net_tx_action+0x120/0x180 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] __do_softirq+0xb7/0x1f0 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] call_softirq+0x1c/0x30 Aug 13 23:38:09 192.168.50.101 [56256.520861] Aug 13 23:38:09 192.168.50.101 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] do_softirq+0x65/0xa0 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] local_bh_enable_ip+0x98/0xa0 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] _spin_unlock_bh+0x19/0x20 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] ath_tx_complete_poll_work+0xaa/0x110 [ath9k] Aug 13 23:38:09 192.168.50.101 [56256.520861] [] ? ath_tx_complete_poll_work+0x0/0x110 [ath9k] Aug 13 23:38:09 192.168.50.101 [56256.520861] [] run_workqueue+0xc7/0x1a0 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] worker_thread+0xa3/0x110 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] ? autoremove_wake_function+0x0/0x40 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] ? worker_thread+0x0/0x110 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] kthread+0x96/0xa0 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] child_rip+0xa/0x20 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] ? kthread+0x0/0xa0 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] ? child_rip+0x0/0x20 Aug 13 23:38:09 192.168.50.101 [56256.520861] Code: Aug 13 23:38:09 192.168.50.101 78 Aug 13 23:38:09 192.168.50.101 12 Aug 13 23:38:09 192.168.50.101 00 Aug 13 23:38:09 192.168.50.101 74 Aug 13 23:38:09 192.168.50.101 0a Aug 13 23:38:09 192.168.50.101 80 Aug 13 23:38:09 192.168.50.101 78 Aug 13 23:38:09 192.168.50.101 11 Aug 13 23:38:09 192.168.50.101 00 Aug 13 23:38:09 192.168.50.101 0f Aug 13 23:38:09 192.168.50.101 89 Aug 13 23:38:09 192.168.50.101 8f Aug 13 23:38:09 192.168.50.101 01 Aug 13 23:38:09 192.168.50.101 00 Aug 13 23:38:09 192.168.50.101 00 Aug 13 23:38:09 192.168.50.101 48 Aug 13 23:38:09 192.168.50.101 83 Aug 13 23:38:09 192.168.50.101 ea Aug 13 23:38:09 192.168.50.101 01 Aug 13 23:38:09 192.168.50.101 48 Aug 13 23:38:09 192.168.50.101 83 Aug 13 23:38:09 192.168.50.101 e8 Aug 13 23:38:09 192.168.50.101 03 Aug 13 23:38:09 192.168.50.101 48 Aug 13 23:38:09 192.168.50.101 83 Aug 13 23:38:09 192.168.50.101 fa Aug 13 23:38:09 192.168.50.101 ff Aug 13 23:38:09 192.168.50.101 75 Aug 13 23:38:09 192.168.50.101 e2 Aug 13 23:38:09 192.168.50.101 31 Aug 13 23:38:09 192.168.50.101 c0 Aug 13 23:38:09 192.168.50.101 48 Aug 13 23:38:09 192.168.50.101 8b Aug 13 23:38:09 192.168.50.101 5d Aug 13 23:38:09 192.168.50.101 a8 Aug 13 23:38:09 192.168.50.101 48 Aug 13 23:38:09 192.168.50.101 98 Aug 13 23:38:09 192.168.50.101 31 Aug 13 23:38:09 192.168.50.101 f6 Aug 13 23:38:09 192.168.50.101 48 Aug 13 23:38:09 192.168.50.101 8d Aug 13 23:38:09 192.168.50.101 14 Aug 13 23:38:09 192.168.50.101 80 Aug 13 23:38:09 192.168.50.101 Aug 13 23:38:09 192.168.50.101 0f Aug 13 23:38:09 192.168.50.101 b6 Aug 13 23:38:09 192.168.50.101 4c Aug 13 23:38:09 192.168.50.101 97 Aug 13 23:38:09 192.168.50.101 16 Aug 13 23:38:09 192.168.50.101 48 Aug 13 23:38:09 192.168.50.101 8b Aug 13 23:38:09 192.168.50.101 13 Aug 13 23:38:09 192.168.50.101 48 Aug 13 23:38:09 192.168.50.101 8b Aug 13 23:38:09 192.168.50.101 5a Aug 13 23:38:09 192.168.50.101 18 Aug 13 23:38:09 192.168.50.101 8b Aug 13 23:38:09 192.168.50.101 1b Aug 13 23:38:09 192.168.50.101 85 Aug 13 23:38:09 192.168.50.101 db Aug 13 23:38:09 192.168.50.101 75 Aug 13 23:38:09 192.168.50.101 0a Aug 13 23:38:09 192.168.50.101 31 Aug 13 23:38:09 192.168.50.101 f6 Aug 13 23:38:09 192.168.50.101 Aug 13 23:38:09 192.168.50.101 [56256.520861] RIP Aug 13 23:38:09 192.168.50.101 [] ath_get_rate +0x40c/0x690 [ath9k] Aug 13 23:38:09 192.168.50.101 [56256.520861] RSP Aug 13 23:38:09 192.168.50.101 [56256.520861] CR2: ffffffffee806fb0 Aug 13 23:38:09 192.168.50.101 [56256.520861] ---[ end trace d2a709377781aad4 ]--- Aug 13 23:38:09 192.168.50.101 [56256.520861] Kernel panic - not syncing: Fatal exception in interrupt Aug 13 23:38:09 192.168.50.101 [56256.520861] Pid: 4022, comm: phy1 Tainted: P D W 2.6.32-33-generic #72-Ubuntu Aug 13 23:38:09 192.168.50.101 [56256.520861] Call Trace: Aug 13 23:38:09 192.168.50.101 [56256.520861] Aug 13 23:38:09 192.168.50.101 [] panic+0x78/0x139 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] oops_end+0xea/0xf0 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] no_context+0xf3/0x190 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] __bad_area_nosemaphore+0x125/0x1e0 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] ? release_console_sem+0x1d6/0x220 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] bad_area_nosemaphore+0x13/0x20 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] do_page_fault+0x2e4/0x3b0 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] page_fault+0x25/0x30 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] ? ath_get_rate+0x40c/0x690 [ath9k] Aug 13 23:38:09 192.168.50.101 [56256.520861] [] ? ath_get_rate+0x594/0x690 [ath9k] Aug 13 23:38:09 192.168.50.101 [56256.520861] [] rate_control_get_rate+0x8e/0x1b0 [mac80211] Aug 13 23:38:09 192.168.50.101 [56256.520861] [] invoke_tx_handlers+0xab2/0x12a0 [mac80211] Aug 13 23:38:09 192.168.50.101 [56256.520861] [] ieee80211_tx+0x60/0xb0 [mac80211] Aug 13 23:38:09 192.168.50.101 [56256.520861] [] ieee80211_xmit+0xb6/0x1d0 [mac80211] Aug 13 23:38:09 192.168.50.101 [56256.520861] [] ieee80211_subif_start_xmit+0x380/0x900 [mac80211] Aug 13 23:38:09 192.168.50.101 [56256.520861] [] ? rtl8169_poll+0x1f4/0x270 [r8169] Aug 13 23:38:09 192.168.50.101 [56256.520861] [] dev_hard_start_xmit+0xf2/0x210 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] sch_direct_xmit+0x15f/0x1d0 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] __qdisc_run+0x6b/0xe0 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] net_tx_action+0x120/0x180 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] __do_softirq+0xb7/0x1f0 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] call_softirq+0x1c/0x30 Aug 13 23:38:09 192.168.50.101 [56256.520861] Aug 13 23:38:09 192.168.50.101 [] do_softirq+0x65/0xa0 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] local_bh_enable_ip+0x98/0xa0 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] _spin_unlock_bh+0x19/0x20 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] ath_tx_complete_poll_work+0xaa/0x110 [ath9k] Aug 13 23:38:09 192.168.50.101 [56256.520861] [] ? ath_tx_complete_poll_work+0x0/0x110 [ath9k] Aug 13 23:38:09 192.168.50.101 [56256.520861] [] run_workqueue+0xc7/0x1a0 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] worker_thread+0xa3/0x110 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] ? autoremove_wake_function+0x0/0x40 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] ? worker_thread+0x0/0x110 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] kthread+0x96/0xa0 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] child_rip+0xa/0x20 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] ? kthread+0x0/0xa0 Aug 13 23:38:09 192.168.50.101 [56256.520861] [] ? child_rip+0x0/0x20 > Hi Catalin, > > I am unable to recreate the issue here. I just had tried with one > station AR9280 in a reasonably noisy environment and sending UDP > traffic. I am in wireless-testing 3.1.0-rc1-wl, compiled from the > updates obtained few days before. > i found from your lspci you have two AR9280 cards active in your > machine(may be one inbuilt?) and sending traffic, I cannot simulate > the same scenario here. I started to looking at the code and see if > there is anything missing. > i will also keep running the test. > if you are able to recreate the issue with the issue by running a > simple UDP traffic between 1 STA and 1 AP it will be great. > please try to use the bleeding edge compat-wireless > http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 > and please post the panic trace. > if you are used to compile wireless-testing, please pull the latest > version and obtain the call trace. so that I may able to get the exact > line where the kernel is getting paniced with gdb. I am just assuming > whatever call trace you had given for debugging. hope i would get the > issue here. thanks for your help! > > > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: ath9k_rc_catalin_debug.patch Type: text/x-patch Size: 2388 bytes Desc: not available Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110814/d645eab5/attachment-0001.bin