Код: Выделить всё
serv# kgdb -c /var/crash/vmcore.0 /boot/kernel/kernel
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
Unread portion of the kernel message buffer:
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0xffffffc61f003000
fault code = supervisor read data, page not present
instruction pointer = 0x8:0xffffffff807c7110
stack pointer = 0x10:0xffffffff1f5a8860
frame pointer = 0x10:0xffffff0005a285f0
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 = 45737 (make)
trap number = 12
panic: page fault
cpuid = 0
Uptime: 2h12m16s
Physical memory: 5875 MB
Dumping 717 MB: 702 686 670 654 638 622 606 590 574 558 542 526 510 494 478 462 446 430 414 398 382 366 350 334 318 302 286 270 254 238 222 206 190 174 158 142 126 110 94 78 62 46 30 14
#0 doadump () at pcpu.h:195
195 pcpu.h: No such file or directory.
in pcpu.h
(kgdb) bt
#0 doadump () at pcpu.h:195
#1 0x0000000000000004 in ?? ()
#2 0xffffffff8050df19 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#3 0xffffffff8050e322 in panic (fmt=0x104 <Address 0x104 out of bounds>) at /usr/src/sys/kern/kern_shutdown.c:574
#4 0xffffffff807d2193 in trap_fatal (frame=0xffffff000591d6e0, eva=Variable "eva" is not available.
) at /usr/src/sys/amd64/amd64/trap.c:757
#5 0xffffffff807d2565 in trap_pfault (frame=0xffffffff1f5a87b0, usermode=0) at /usr/src/sys/amd64/amd64/trap.c:673
#6 0xffffffff807d2ea4 in trap (frame=0xffffffff1f5a87b0) at /usr/src/sys/amd64/amd64/trap.c:444
#7 0xffffffff807b700e in calltrap () at /usr/src/sys/amd64/amd64/exception.S:209
#8 0xffffffff807c7110 in pmap_allocpte (pmap=0xffffff0005a285f0, va=4210688, flags=2) at /usr/src/sys/amd64/amd64/pmap.c:362
#9 0xffffffff807c9f51 in pmap_enter (pmap=0xffffff0005a285f0, va=4210688, access=4 '\004', m=0xffffff00b76dae90, prot=5 '\005', wired=0)
at /usr/src/sys/amd64/amd64/pmap.c:2916
#10 0xffffffff80736e1a in vm_fault (map=0xffffff0005a284f8, vaddr=4210688, fault_type=4 '\004', fault_flags=Variable "fault_flags" is not available.
) at /usr/src/sys/vm/vm_fault.c:891
#11 0xffffffff807d23ff in trap_pfault (frame=0xffffffff1f5a8c80, usermode=1) at /usr/src/sys/amd64/amd64/trap.c:650
#12 0xffffffff807d3020 in trap (frame=0xffffffff1f5a8c80) at /usr/src/sys/amd64/amd64/trap.c:348
#13 0xffffffff807b700e in calltrap () at /usr/src/sys/amd64/amd64/exception.S:209
#14 0x0000000000404f70 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb)