From owner-freebsd-wireless@freebsd.org Tue May 17 01:44:22 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 00C78B3DE72 for ; Tue, 17 May 2016 01:44:22 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BEA9F1517 for ; Tue, 17 May 2016 01:44:21 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-ig0-x235.google.com with SMTP id s8so2409027ign.0 for ; Mon, 16 May 2016 18:44:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=tawArOkXWNE4fr2fUeAdw182Cd/7yca2ubR9MGLGHxs=; b=SmhSmhEZNEvIYOAgRh3QoGI/eSthHTL1PGtNxY09c3/kJp6mLBn4ymJoRhC7npwInm 4si6uMurBe0RcSzETcDIV7qH0I+vKOr3wtdDVqyNsPjvBT5BMlHkFrTo55/lzejLNFTt iw7ukKs+hPhdLBzcHp44x0f3ZlBKkHOAzRLGE0cVS8yDHEtPXX8ImWQtX7XcoqXYbPZ/ 3DysrpvRIhwV7d47WCPrRdzAkNjnoEPSV6q5mi3BlkjgmtrKmHr+ISDe7sN/wsCnDcpy kDse3XmP+a7YjWc2y3VW8zvjuJBOwdfkG4d58gcuVuGoLV16IG9EB1gVRDsS5xwLrwSB 6Jpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=tawArOkXWNE4fr2fUeAdw182Cd/7yca2ubR9MGLGHxs=; b=awFMEOipvzLyvGJi8KOlTw7seMFM+94/S1OcnpZEWukI6VQdp9RAX/TkXpqDKc3B58 AbtOmlKuEYUYQUrfdMowk9OMs4+WK/H5P/XmDo93kIVbLXfths7K70+AOCzoaOZukyrA UbxWuVo/pCKmN+5IpaWp5euiUcjSm1PLqgK+0H83jIMUaqy19FyeMd1r5iKRL6WfIRBF TFQaipVhMi6csEp2AO0wpISlC1E9MphRsMGogPVzmftpsAyEFS6qiFXZyd7t5j+lVCyH sKpPcchaAb15y65yJ3ncjiD5pgP5UJWciMpenBJxNksQlu2RMaIGhJUYkSiDT5pGHj7h BC4w== X-Gm-Message-State: AOPr4FU0pEEWZoXX9nWIyVBd5stMtFaWwsv1HqX+dfJy6nXrlhk7dx8xnJKORjCu+6tLqxOBlp/suelUY/sA1g== MIME-Version: 1.0 X-Received: by 10.50.42.132 with SMTP id o4mr13123550igl.37.1463449461216; Mon, 16 May 2016 18:44:21 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.113.3 with HTTP; Mon, 16 May 2016 18:44:20 -0700 (PDT) Received: by 10.36.113.3 with HTTP; Mon, 16 May 2016 18:44:20 -0700 (PDT) In-Reply-To: References: Date: Mon, 16 May 2016 18:44:20 -0700 X-Google-Sender-Auth: jbfK--lKCPoQ5S_U0rbp96wnaf4 Message-ID: Subject: Re: Kernel Panic with Atheros Card (TP-LINK N900) From: Adrian Chadd To: Jason Morgan Cc: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2016 01:44:22 -0000 Hi, I think I've fixed this in head. Would you mind testing that out? Thanks! A On May 16, 2016 6:40 PM, "Jason Morgan" wrote: > Dear List, > > I am experiencing multiple kernel panics a day and I believe it's > related to a Atheros card I recently installed. Here is some detail I > got from dmesg after the last panic. > > ... > ath0: stuck beacon; resetting (bmiss count 0) > ath0: stuck beacon; resetting (bmiss count 4) > ath0: stuck beacon; resetting (bmiss count 4) > ath0: stuck beacon; resetting (bmiss count 0) > ath0: stuck beacon; resetting (bmiss count 4) > ath0: stuck beacon; resetting (bmiss count 0) > ath0: stuck beacon; resetting (bmiss count 4) > ath0: stuck beacon; resetting (bmiss count 4) > ath0: stuck beacon; resetting (bmiss count 0) > ath0: stuck beacon; resetting (bmiss count 4) > ath0: stuck beacon; resetting (bmiss count 0) > ath0: stuck beacon; resetting (bmiss count 4) > Fatal trap 18: integer divide fault while in kernel mode > ath0: stuck beacon; resetting (bmiss count 5) > cpuid = 1; apic id = 01 > instruction pointer = 0x20:0xffffffff8045db0d > stack pointer = 0x28:0xfffffe01a609a920 > frame pointer = 0x28:0xfffffe01a609a970 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 12 (swi4: clock) > trap number = 18 > panic: integer divide fault > cpuid = 1 > KDB: stack backtrace: > #0 0xffffffff80984ef0 at kdb_backtrace+0x60 > #1 0xffffffff80948aa6 at vpanic+0x126 > #2 0xffffffff80948973 at panic+0x43 > #3 0xffffffff80d4aacb at trap_fatal+0x36b > #4 0xffffffff80d4a74c at trap+0x75c > #5 0xffffffff80d307e2 at calltrap+0x8 > #6 0xffffffff80467738 at ar9300_ani_poll_freebsd+0x48 > #7 0xffffffff804158c6 at ath_calibrate+0xf6 > #8 0xffffffff8095e50b at softclock_call_cc+0x17b > #9 0xffffffff8095e934 at softclock+0x94 > #10 0xffffffff8091485b at intr_event_execute_handlers+0xab > #11 0xffffffff80914ca6 at ithread_loop+0x96 > #12 0xffffffff8091247a at fork_exit+0x9a > #13 0xffffffff80d30d1e at fork_trampoline+0xe > Uptime: 1h53m50s > > And here are some details on my system and the card: > > $ uname -a > FreeBSD pilot.skepsi.net 10.2-RELEASE-p14 FreeBSD 10.2-RELEASE-p14 #0: > Wed Mar 16 20:46:12 UTC 2016 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > > $ ifconfig | grep -B3 -i wireless > ath0: flags=8843 metric 0 mtu 2290 > ether 30:b5:c2:05:c0:fe > nd6 options=21 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng > -- > ether 30:b5:c2:05:c0:fe > inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255 > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng > > $ ifconfig wlan0 list caps > > drivercaps=4f85ed01 > cryptocaps=1f > htcaps=701ee > > I am happy to provide any information I can to try to get to the > bottom of this. I have kernel dumps, etc, if that would help. > > Thanks! > > -- > ~ Jason Morgan > > "Those who have had no share in the good fortunes of the mighty > Often have a share in their misfortunes." > -- Bertolt Brecht, "Der Kaukasische Kreidekreis" > (The Caucasian Chalk Circle) > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org > " >