From owner-freebsd-wireless@freebsd.org Tue Oct 20 10:19:24 2015 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 6CF58A1852F for ; Tue, 20 Oct 2015 10:19:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 516DF850 for ; Tue, 20 Oct 2015 10:19:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9KAJO1V060561 for ; Tue, 20 Oct 2015 10:19:24 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 203887] Integer divide panic Date: Tue, 20 Oct 2015 10:19:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ml@netfence.it X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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, 20 Oct 2015 10:19:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203887 Bug ID: 203887 Summary: Integer divide panic Product: Base System Version: 10.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: wireless Assignee: freebsd-wireless@FreeBSD.org Reporter: ml@netfence.it Hello. My laptop just had a panic: I was not there at the time, so I just found ou= t it had rebooted. kgdb says: > Unread portion of the kernel message buffer: >=20 >=20 > Fatal trap 18: integer divide fault while in kernel mode > cpuid =3D 0; apic id =3D 00 > instruction pointer =3D 0x20:0xffffffff803788bd > stack pointer =3D 0x28:0xfffffe0110e988e0 > frame pointer =3D 0x28:0xfffffe0110e98930 > code segment =3D base 0x0, limit 0xfffff, type 0x1b > =3D DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags =3D interrupt enabled, resume, IOPL =3D 0 > current process =3D 11 (swi4: clock) > trap number =3D 18 > panic: integer divide fault > cpuid =3D 0 > KDB: stack backtrace: > #0 0xffffffff8056ef60 at kdb_backtrace+0x60 > #1 0xffffffff80537685 at panic+0x155 > #2 0xffffffff807cc2bf at trap_fatal+0x38f > #3 0xffffffff807cbf1c at trap+0x75c > #4 0xffffffff807b1df2 at calltrap+0x8 > #5 0xffffffff803824e8 at ar9300_ani_poll_freebsd+0x48 > #6 0xffffffff80330676 at ath_calibrate+0xf6 > #7 0xffffffff8054c747 at softclock_call_cc+0x177 > #8 0xffffffff8054cb84 at softclock+0x94 > #9 0xffffffff8050b7eb at intr_event_execute_handlers+0xab > #10 0xffffffff8050bc36 at ithread_loop+0x96 > #11 0xffffffff8050940a at fork_exit+0x9a > #12 0xffffffff807b232e at fork_trampoline+0xe > Uptime: 3h0m33s I guess the problem is in /usr/src/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_ani.c:1180: 1175 */ 1176 if (!DO_ANI(ah)) { 1177 return; 1178 } 1179=20=20=20=20 1180 ofdm_phy_err_rate =3D 1181 ani_state->ofdm_phy_err_count * 1000 / ani_state->listen_ti= me; 1182 cck_phy_err_rate =3D 1183 ani_state->cck_phy_err_count * 1000 / ani_state->listen_tim= e; Probably ani_state->listen_time is zero, but kgdb won't let me check. This is 10.1/amd64 with=20 ath0@pci0:3:0:0: class=3D0x028000 card=3D0xe052105b chip=3D0x0034168c re= v=3D0x01 hdr=3D0x00 vendor =3D 'Atheros Communications Inc.' device =3D 'AR9462 Wireless Network Adapter' class =3D network Hope this is the needed info to track this down; otherwise, I'm willing to provide. This crash is quite rare, since my laptop usually works fine. --=20 You are receiving this mail because: You are the assignee for the bug.=