kern/117591: Kernel panic on hot battery insertion

Jessica Mahoney root at
Sun Oct 28 00:30:00 PDT 2007

>Number:         117591
>Category:       kern
>Synopsis:       Kernel panic on hot battery insertion
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 28 07:30:00 UTC 2007
>Originator:     Jessica Mahoney
>Release:        7.0-BETA1
FreeBSD panther 7.0-BETA1 FreeBSD 7.0-BETA1 #2: Fri Oct 26 16:51:43 EDT 2007     root at panther:/usr/obj/usr/src/sys/PANTHER  i386
I removed the battery from my laptop while it was running, then put it back in the laptop.  Kernel fall down go boom (panic).  First happened while I had Xorg+KDE running.  Panic occurred immediately, probably from KLaptopDaemon as I didn't have any terminal windows open.  Secondary test to confirm the issue was done without Xorg, running "acpiconf -i batt".

Fatal trap 18: integer divide fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer
stack pointer           = 0x20:0xc0ecc472
frame pointer           = 0x28:0xe3217ba0
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 936 (acpiconf)
trap number             = 18
panic: integer divide fault
While laptop is on, remove the battery, reinsert the battery, and get battery information.


More information about the freebsd-bugs mailing list