From owner-freebsd-wireless@freebsd.org Tue May 17 02:16:49 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 8A30CB3EA41 for ; Tue, 17 May 2016 02:16:49 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::233]) (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 54D9016F4 for ; Tue, 17 May 2016 02:16:49 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x233.google.com with SMTP id f89so6475669ioi.0 for ; Mon, 16 May 2016 19:16:49 -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=zcXG6fvfpgW8LSJL9/tf5H9U+u9cidH85WMt7dZe2hk=; b=PCiNAdhbqvAhX5daVTKtEyc+JXcdrvPlh6c4aV3hcuJUU1Ow34Q1dbjCtRvWt7WnKR tXUzDHxrOp9dA24jqSNt+9GphjZ4qsROcfsjr+umzE0k5QANAuXHnPl6ENTwCmJyLJ2k uxbKLhtdp3ntL7kEy2ZfMSpMY8j5u4EKzlVOhEl8SavEOX10vT5jDKCE45D1KSRld4IB mtUXBTHytuEKUPGt2dJKvPipB5V/qgBPutzg0nVDMnnIpMIfSVcUgsLUb8lcuWvX3w0d DhT7diQDpkZgqiqv+qcLGE7I554JuHc02hEMUnfs0RPy4zUTns+pg7X9e3pR5lLm5OZ2 03FA== 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=zcXG6fvfpgW8LSJL9/tf5H9U+u9cidH85WMt7dZe2hk=; b=G8Q+e0h6FM1e423vkNiYOIPq+DoFO2KdbbAHxfnLZueo5BuOpCGehXbR7qkuQfLsbs 3ei9U+6rXeeU7ahhZzTcVlKqV6hRJe5ZLJyLLuBIjs8Lpagu8dZjcn2Q03vGTqvw3nu3 eXRGeS6NPS2AxXcH1gcep8M9gaCi142uK1x0ZLelGw9plsCSb+NeSMPA5o5oMjCh1O7s MQ2TZ8CXCswAZvMC0R9onUht6JS23UJ4Uqs64ngzw0lFLC7yapnOK4iN2Wp3PyVzvOkA NB2GV4EZUPwXDEJfVlJi8SqIphtdtvUvmslvSYGYy0gTXjGLRDm2Y+tffAfio3iS2ScA M2bA== X-Gm-Message-State: AOPr4FV+OCPYS61kCzNR6yCB96o3g/tYQPk3Sa2+feQg/4Wb0uPMq0DUwm+ldNciB1UdoiFuUJXY+kBW+LWScQ== MIME-Version: 1.0 X-Received: by 10.36.73.164 with SMTP id e36mr11582904itd.80.1463451408564; Mon, 16 May 2016 19:16:48 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.113.3 with HTTP; Mon, 16 May 2016 19:16:48 -0700 (PDT) In-Reply-To: References: Date: Mon, 16 May 2016 19:16:48 -0700 X-Google-Sender-Auth: 60a0NmNIzl6sz5EkmEN4ZLJP1u4 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-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:16:49 -0000 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"