https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203887

            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: m...@netfence.it

Hello.

My laptop just had a panic: I was not there at the time, so I just found out it
had rebooted.

kgdb says:

> Unread portion of the kernel message buffer:
> 
> 
> Fatal trap 18: integer divide fault while in kernel mode
> cpuid = 0; apic id = 00
> instruction pointer   = 0x20:0xffffffff803788bd
> stack pointer         = 0x28:0xfffffe0110e988e0
> frame pointer         = 0x28:0xfffffe0110e98930
> 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               = 11 (swi4: clock)
> trap number           = 18
> panic: integer divide fault
> cpuid = 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    
1180        ofdm_phy_err_rate =
1181            ani_state->ofdm_phy_err_count * 1000 / ani_state->listen_time;
1182        cck_phy_err_rate =
1183            ani_state->cck_phy_err_count * 1000 / ani_state->listen_time;

Probably ani_state->listen_time is zero, but kgdb won't let me check.



This is 10.1/amd64 with 

ath0@pci0:3:0:0:    class=0x028000 card=0xe052105b chip=0x0034168c rev=0x01
hdr=0x00
    vendor     = 'Atheros Communications Inc.'
    device     = 'AR9462 Wireless Network Adapter'
    class      = 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to