Fatal trap 12: page fault while in kernel mode

Gardner Bell gardnerbell at gmail.com
Mon Apr 25 23:32:36 UTC 2011


Downloading a torrent with many peers on a toshiba satellite notebook
using an Atheros AR5006 wireless nic caused the following panic.  This
is an i386 system running 8.2-STABLE from around April 06.

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0xc647a000
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc0999329
stack pointer           = 0x28:0xc51c1c18
frame pointer           = 0x28:0xc51c1c24
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         = 12 (swi4: clock)
trap number             = 12
panic: page fault
cpuid = 0
KDB: stack backtrace:
#0 0xc08e0d07 at kdb_backtrace+0x47
#1 0xc08b1dc7 at panic+0x117
#2 0xc0be4b43 at trap_fatal+0x323
#3 0xc0be4dc0 at trap_pfault+0x270
#4 0xc0be5305 at trap+0x465
#5 0xc0bcbebc at calltrap+0x6
#6 0xc08c508a at softclock+0x22a
#7 0xc088903b at intr_event_execute_handlers+0x13b
#8 0xc088a75b at ithread_loop+0x6b
#9 0xc0886d51 at fork_exit+0x91
#10 0xc0bcbf34 at fork_trampoline+0x8
Uptime: 6m15s
Physical memory: 2026 MB
Dumping 99 MB: 84 68 52 36 20 4

#0  doadump () at pcpu.h:231
231     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) #0  doadump () at pcpu.h:231
#1  0xc08b1b63 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:419
#2  0xc08b1e00 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:592
#3  0xc0be4b43 in trap_fatal (frame=0xc51c1bd8, eva=3326582784)
    at /usr/src/sys/i386/i386/trap.c:946
#4  0xc0be4dc0 in trap_pfault (frame=0xc51c1bd8, usermode=0, eva=3326582784)
    at /usr/src/sys/i386/i386/trap.c:859
#5  0xc0be5305 in trap (frame=0xc51c1bd8) at /usr/src/sys/i386/i386/trap.c:532
#6  0xc0bcbebc in calltrap () at /usr/src/sys/i386/i386/exception.s:166
#7  0xc0999329 in ieee80211_tx_mgt_timeout (arg=0xc647a000)
    at /usr/src/sys/net80211/ieee80211_output.c:2478
#8  0xc08c508a in softclock (arg=0xc0df90e0)
    at /usr/src/sys/kern/kern_timeout.c:430
#9  0xc088903b in intr_event_execute_handlers (p=0xc55497f8, ie=0xc5591d00)
    at /usr/src/sys/kern/kern_intr.c:1220
#10 0xc088a75b in ithread_loop (arg=0xc5548070)
    at /usr/src/sys/kern/kern_intr.c:1233
#11 0xc0886d51 in fork_exit (callout=0xc088a6f0 <ithread_loop>,
    arg=0xc5548070, frame=0xc51c1d28) at /usr/src/sys/kern/kern_fork.c:845
#12 0xc0bcbf34 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:273
(kgdb)


More information about the freebsd-stable mailing list