Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2016 21:40:42 -0400
From:      Jason Morgan <jason.w.morgan@gmail.com>
To:        freebsd-wireless@freebsd.org
Subject:   Kernel Panic with Atheros Card (TP-LINK N900)
Message-ID:  <CAC4stHxh-0=d3WyEu130K-KFDgxE_E-B8EQE-J3xmpPdWHKp8Q@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAC4stHxh-0=d3WyEu130K-KFDgxE_E-B8EQE-J3xmpPdWHKp8Q>