Return-path: Received: from mail-wy0-f174.google.com ([74.125.82.174]:47321 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751963Ab0JZGFF convert rfc822-to-8bit (ORCPT ); Tue, 26 Oct 2010 02:05:05 -0400 Received: by wyf28 with SMTP id 28so4227325wyf.19 for ; Mon, 25 Oct 2010 23:05:03 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 26 Oct 2010 11:35:03 +0530 Message-ID: Subject: Re: ath9k crashing the kernel From: Mohammed Shafi To: Jaswinder Singh Cc: linux-wireless@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, Oct 26, 2010 at 11:04 AM, Mohammed Shafi wrote: > On Tue, Oct 26, 2010 at 10:36 AM, Jaswinder Singh > wrote: >> Hello, >> >> ath9k is crashing the kernel : >> >> [ ? 21.276554] BUG: spinlock bad magic on CPU#1, NetworkManager/1056 >> [ ? 21.277015] ?lock: f5be80a8, .magic: 00000000, .owner: /-1, >> .owner_cpu: 0 >> [ ? 21.277015] Pid: 1056, comm: NetworkManager Not tainted 2.6.36-netbook+ #20 >> [ ? 21.277015] Call Trace: >> [ ? 21.277015] ?[] ? printk+0xf/0x11 >> [ ? 21.277015] ?[] spin_bug+0x7c/0x87 >> [ ? 21.301365] ?[] do_raw_spin_lock+0x1e/0x125 >> [ ? 21.301365] ?[] ? _raw_spin_unlock_bh+0x1a/0x1c >> [ ? 21.301365] ?[] _raw_spin_lock_irqsave+0x17/0x1c >> [ ? 21.318857] ?[] ath9k_config+0x255/0x38b >> [ ? 21.318857] ?[] ieee80211_hw_config+0x10a/0x114 >> [ ? 21.328034] ?[] ieee80211_do_open+0x3de/0x4cf >> [ ? 21.328034] ?[] ? ieee80211_check_concurrent_iface+0x21/0x13a >> [ ? 21.328034] ?[] ? raw_notifier_call_chain+0xc/0xe >> [ ? 21.328034] ?[] ieee80211_open+0x5b/0x5e >> [ ? 21.328034] ?[] __dev_open+0x80/0xa9 >> [ ? 21.328034] ?[] __dev_change_flags+0xa1/0x116 >> [ ? 21.328034] ?[] dev_change_flags+0x13/0x3f >> [ ? 21.328034] ?[] do_setlink+0x226/0x507 >> [ ? 21.328034] ?[] rtnl_setlink+0xce/0xd4 >> [ ? 21.328034] ?[] ? copy_to_user+0x3a/0x118 >> [ ? 21.328034] ?[] ? rtnl_setlink+0x0/0xd4 >> [ ? 21.328034] ?[] rtnetlink_rcv_msg+0x17e/0x194 >> [ ? 21.328034] ?[] ? rtnetlink_rcv_msg+0x0/0x194 >> [ ? 21.328034] ?[] netlink_rcv_skb+0x30/0x76 >> [ ? 21.328034] ?[] rtnetlink_rcv+0x1b/0x22 >> [ ? 21.328034] ?[] netlink_unicast+0x1aa/0x20b >> [ ? 21.328034] ?[] netlink_sendmsg+0x22c/0x27a >> [ ? 21.328034] ?[] sock_sendmsg+0xa5/0xbb >> [ ? 21.328034] ?[] ? sock_sendmsg+0xa5/0xbb >> [ ? 21.328034] ?[] ? verify_iovec+0x3e/0x6b >> [ ? 21.328034] ?[] sys_sendmsg+0x149/0x196 >> [ ? 21.328034] ?[] ? unlock_page+0x40/0x43 >> [ ? 21.328034] ?[] ? __do_fault+0x367/0x393 >> [ ? 21.328034] ?[] ? handle_mm_fault+0x3bd/0x77a >> [ ? 21.328034] ?[] ? destroy_inode+0x1f/0x30 >> [ ? 21.328034] ?[] ? sys_recvmsg+0x2b/0x46 >> [ ? 21.328034] ?[] sys_socketcall+0x146/0x18b >> [ ? 21.328034] ?[] sysenter_do_call+0x12/0x26 >> [ ? 21.344846] ADDRCONF(NETDEV_UP): wlan0: link is not ready >> [ ? 21.487994] atl1c 0000:03:00.0: irq 42 for MSI/MSI-X >> [ ? 21.543870] ADDRCONF(NETDEV_UP): eth0: link is not ready >> >> >> Linux 2.6.36 f6f94e2ab1 is good >> and >> 229aebb873e2972 is bad >> >> I am trying to bisect it but I am getting compilation error : >> >> ?LD ? ? ?.tmp_vmlinux1 >> drivers/built-in.o: In function `ath_do_set_opmode': >> /home/jaswinder/jaswinder-git/linux-2.6/drivers/net/wireless/ath/ath5k/base.c:567: >> undefined reference to `ath_opmode_to_string' >> /home/jaswinder/jaswinder-git/linux-2.6/drivers/net/wireless/ath/ath5k/base.c:568: >> undefined reference to `ath_opmode_to_string' >> make: *** [.tmp_vmlinux1] Error 1 >> [jaswinder@ linux-2.6]$ >> >> Thanks, >> -- >> Jaswinder Singh. >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at ?http://vger.kernel.org/majordomo-info.html >> > Hi Jaswinder, > ? ? ? ? ? ? ? ?Could you please give some more detailed information > regarding this like the card you are using and the scenario under > which the ath9k is crashing. > thanks, > shafi >