Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jul 2004 22:10:40 -1000
From:      Randy Bush <randy@psg.com>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   trap 12 but can't debug
Message-ID:  <16644.48256.571265.265033@roam.psg.com>

next in thread | raw e-mail | index | archive | help
current as of 2004.07.25 01:20

on the serial console, i get

    Fatal trap 12: page fault while in kernel mode
    cpuid = 0; apic id = 00
    fault virtual address   = 0x10
    fault code              = supervisor write, page not present
    instruction pointer     = 0x8:0xc04df9dc
    stack pointer           = 0x10:0xdf0c4ae0
    frame pointer           = 0x10:0xdf0c4b00
    code segment            = base 0x0, limit 0xfffff, type 0x1b
			    = DPL 0, pres 1, def32 1, gran 1
    processor eflags        = resume, IOPL = 0
    current process         = 50966 (mysqld)

but the real pain and question is that it does not fall into
kdb.  and hence i had to get remote hands to go into colo and hit
the reset.  this costs money!

kernel is built as

    options         KDB                     # Enable kernel debugger support.
    options         DDB                     # Support DDB.
    options         GDB                     # Support remote GDB.

what am i doing wrongly?

randy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16644.48256.571265.265033>