Date: Tue, 20 Oct 2015 10:19:24 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 203887] Integer divide panic Message-ID: <bug-203887-21060@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203887-21060>