From owner-freebsd-wireless@freebsd.org Tue May 17 02:30:13 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 4148FB3EDE2 for ; Tue, 17 May 2016 02:30:13 +0000 (UTC) (envelope-from jason.w.morgan@gmail.com) Received: from mail-io0-x22a.google.com (mail-io0-x22a.google.com [IPv6:2607:f8b0:4001:c06::22a]) (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 0A3021AFB; Tue, 17 May 2016 02:30:13 +0000 (UTC) (envelope-from jason.w.morgan@gmail.com) Received: by mail-io0-x22a.google.com with SMTP id f89so6751097ioi.0; Mon, 16 May 2016 19:30:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=D/KbSALewMZpJg4w2yRH+0aq8bY58ds6dkUWRrmpy0s=; b=p4MZBtd/13AWwggOzrbLIWNP8Yv/0ElhJhOSp1me0FYAEjEjk9PLrtNY15jQR3WCif 7JbGJASRVMCoyEoptLv+V1dhJTsRUQxqmCZAjiwU5mtUEeNt9ciCqP5fdtDbVlfoNWil ms6EFLRTms0FBdhnjcX6j4fCMi7W6Xu42LD7wPi1xfcZHfKBv93LU6GVg+pIrvHYFRLg NFlqxqwl/FFJv9///zNvhb8azQGwgi/86DlEQSNohvZvrYapSFH5HvXNTsP9eD2g2d2T Yb0CorxERwRE9ZsFWkPzeD9QskJtuCpP5VkW8vI//hd1x5VgGuBc1H9vXlLtkJio/Odv 3DMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=D/KbSALewMZpJg4w2yRH+0aq8bY58ds6dkUWRrmpy0s=; b=jXRNzEX8kFmrHEm5xoRwAZBedFLiTgczA1BBBuo94ao+B25iAsngGi2Qtz1iVLN7cu BymBKi6PKdxfKH+i7vGmtTDAcT3tXBPP81Oq2vb1JPXE6M1+fo+uCxEfiFvT8KVJ+9Dg j6qfPQn/y3dBMgJsna+UuLoHvgJW5e3gYGGls8LM9bH6c5SUbTDMHdP8J7TXTxzdpA9s 8PVRqK9J+Wyv88nk/SM9sAS68BnAcdj5Mv2TiwsFJSEK6nvR71/Ub1DafuHo3DcaJByv 8wdFr+ChnP52U89CGvRG0/CJYsoPDObbwCbxf8uhnesLxakTmsZb9IXbZbRQ4d5peldd v0UA== X-Gm-Message-State: AOPr4FVQZ/nZODdO0x06SM8dTWOXiyWRqD1cQQvmaXhEzdRACTj/dhzrMrCtXA3bH6POlyArh7XAlYqgtCiBJA== MIME-Version: 1.0 X-Received: by 10.36.111.76 with SMTP id x73mr11212079itb.59.1463452212327; Mon, 16 May 2016 19:30:12 -0700 (PDT) Received: by 10.79.114.88 with HTTP; Mon, 16 May 2016 19:30:12 -0700 (PDT) Received: by 10.79.114.88 with HTTP; Mon, 16 May 2016 19:30:12 -0700 (PDT) In-Reply-To: References: Date: Mon, 16 May 2016 22:30:12 -0400 Message-ID: Subject: Re: Kernel Panic with Atheros Card (TP-LINK N900) From: Jason Morgan To: Adrian Chadd 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 02:30:13 -0000 Ok. Thank you. And thanks for the quick response. On May 16, 2016 10:16 PM, "Adrian Chadd" wrote: > hi, > > You'll need to update the whole system. No-one currently keeps the > stable branches up to date with all the wifi changes / fixes we put > into -HEAD. > > > > -adrian > > > On 16 May 2016 at 18:47, Jason Morgan wrote: > > Thank you, Adrian. Do I need to upgrade the whole system or just the > driver? > > I was hoping to keep the system on RELEASE. > > > > On May 16, 2016 9:44 PM, "Adrian Chadd" wrote: > >> > >> 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" >