Re: Fatal trap 12: page fault while in kernel mode

From: Joseph Koshy <joseph.koshy_at_gmail.com>
Date: Fri, 5 Dec 2008 22:10:10 +0530
> Fatal trap 12: page fault while in kernel mode
> cpuid = 0; apic id = 00
> fault virtual address   = 0x0
> fault code              = supervisor read, page not present
> instruction pointer     = 0x20:0xc0a57285

> Why this occurs and what do I have to check?

The trap is being caused by a null pointer access.

You may want to take a full dump and use kgdb(1) to investigate the matter:

  ddb> call doadump
  ddb> reset

and after the reboot finishes,

  # kgdb /boot/kernel/kernel /var/crash/vmcore.N

where "vmcore.N" is the name of the dump file saved by savecore(8).

Koshy
Received on Fri Dec 05 2008 - 16:04:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:38 UTC