Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2016 21:47:32 -0400
From:      Jason Morgan <jason.w.morgan@gmail.com>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: Kernel Panic with Atheros Card (TP-LINK N900)
Message-ID:  <CAC4stHx6a62BMn22VQnafBccJhp5KOqfeU45AS2vZyJHu9ACqQ@mail.gmail.com>
In-Reply-To: <CAJ-Vmombv3ZRijQp83RmPZ=t0txJPH-2AgwQhsB0-5xoDTKpZw@mail.gmail.com>
References:  <CAC4stHxh-0=d3WyEu130K-KFDgxE_E-B8EQE-J3xmpPdWHKp8Q@mail.gmail.com> <CAJ-Vmombv3ZRijQp83RmPZ=t0txJPH-2AgwQhsB0-5xoDTKpZw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <adrian@freebsd.org> 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" <jason.w.morgan@gmail.com> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
>> ether 30:b5:c2:05:c0:fe
>> nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng <hostap>
>> --
>> ether 30:b5:c2:05:c0:fe
>> inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
>> nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng <hostap>
>>
>> $ ifconfig wlan0 list caps
>>
>> drivercaps=4f85ed01<STA,IBSS,HOSTAP,AHDEMO,TXPMGT,SHSLOT,SHPREAMBLE,MONITOR,MBSS,WPA1,WPA2,BURST,WME,WDS,TXFRAG>
>> cryptocaps=1f<WEP,TKIP,AES,AES_CCM,TKIPMIC>
>> htcaps=701ee<CHWIDTH40,SHORTGI20,SHORTGI40,TXSTBC>
>>
>> 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"
>>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAC4stHx6a62BMn22VQnafBccJhp5KOqfeU45AS2vZyJHu9ACqQ>