MPTABLE or Interrupt problem?

Ian Freislich ianf at za.uu.net
Wed Dec 10 00:03:22 PST 2003


Hi

My 5.2 machine no longer boots.  The following is the output from
my serial console.  Fatal trap 12 repeats many times and finally
breaks the console.  Hardware is a Gigabyte GA-686DLX with 2x
PII-266.  Sadly this kernel install trashed my working kernel so
it will be a few days before I can do any debugging requested by
folks here.

Ian

Booting [/boot/kernel/kernel]...               
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.2-CURRENT #3: Mon Dec  8 15:55:49 SAST 2003
    ianf at brane-dead.freislich.nom.za:/usr/src/sys/i386/compile/BRANE-DEAD
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0764000.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium II/Pentium II Xeon/Celeron (267.27-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x634  Stepping = 4
  Features=0x80fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMO
V,MMX>
real memory  = 201261056 (191 MB)
avail memory = 189890560 (181 MB)
MPTable: <OEM00000 PROD00000000>
kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x1c
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc0602d2a
stack pointer           = 0x10:0xc0821b38
frame pointer           = 0x10:0xc0821c30
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Stack backtrace:
backtrace(c067e9cd,0,c0675fee,c0821a48,100) at backtrace+0x17
panic(c0675fee,c0697987,c06cfc14,1,1) at panic+0x141
trap_fatal(c0821af8,1c,1010101,1010101,c06cfca0) at trap_fatal+0x366
trap_pfault(c0821af8,0,1c,1010101,1c) at trap_pfault+0x252
trap(c0090018,c0c20010,c0c20010,c009f000,c0c31000) at trap+0x2fd
calltrap() at calltrap+0x5
--- trap 0xc, eip = 0xc0602d2a, esp = 0xc0821b38, ebp = 0xc0821c30 ---
vm_fault(c0c31000,c009f000,2,0,c06cfca0) at vm_fault+0x23a
trap_pfault(c0821cb0,0,c009f000,20821c8c,c009f000) at trap_pfault+0x1e4
trap(18,10,7070010,18e,c06c4600) at trap+0x2fd
calltrap() at calltrap+0x5
--- trap 0xc, eip = 0xc0643e83, esp = 0xc0821cf0, ebp = 0xc0821d04 ---
install_ap_tramp(c06e2b00,c0697035,0,1,c0534157) at install_ap_tramp+0x53
start_all_aps(c06e2980,c0696f4a,0,1,8) at start_all_aps+0x45
cpu_mp_start(c06d6740,c06879a3,0,1,c06bdc10) at cpu_mp_start+0x21f
mp_start(0,81e000,81ec00,81e000,0) at mp_start+0x60
mi_startup() at mi_startup+0xb5
begin() at begin+0x2c
Uptime: 1s
WARNING: Driver mistake: make_dev(geom.ctl) called before SI_SUB_DRIVERS
panic: kthread_create called too soon
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc082186c
frame pointer           = 0x10:0xc082187c
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc08216bc
frame pointer           = 0x10:0xc08216cc
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc082150c
frame pointer           = 0x10:0xc082151c
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc082135c
frame pointer           = 0x10:0xc082136c
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc08211ac
frame pointer           = 0x10:0xc08211bc
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc0820ffc
frame pointer           = 0x10:0xc082100c
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc0820e4c
frame pointer           = 0x10:0xc0820e5c
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc0820c9c
frame pointer           = 0x10:0xc0820cac
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc0820aec
frame pointer           = 0x10:0xc0820afc
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc082093c
frame pointer           = 0x10:0xc082094c
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc082078c
frame pointer           = 0x10:0xc082079c
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc08205dc
frame pointer           = 0x10:0xc08205ec
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc082042c
frame pointer           = 0x10:0xc082043c
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc082027c
frame pointer           = 0x10:0xc082028c
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc08200cc
frame pointer           = 0x10:0xc08200dc
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc081ff1c
frame pointer           = 0x10:0xc081ff2c
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc081fd6c
frame pointer           = 0x10:0xc081fd7c
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc081fbbc
frame pointer           = 0x10:0xc081fbcc
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc081fa0c
frame pointer           = 0x10:0xc081fa1c
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc081f85c
frame pointer           = 0x10:0xc081f86c
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc081f6ac
frame pointer           = 0x10:0xc081f6bc
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc081f4fc
frame pointer           = 0x10:0xc081f50c
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc081f34c
frame pointer           = 0x10:0xc081f35c
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc081f19c
frame pointer           = 0x10:0xc081f1ac
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc081efec
frame pointer           = 0x10:0xc081effc
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc081ee3c
frame pointer           = 0x10:0xc081ee4c
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc081ec8c
frame pointer           = 0x10:0xc081ec9c
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc081eadc
frame pointer           = 0x10:0xc081eaec
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc081e92c
frame pointer           = 0x10:0xc081e93c
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0x10:0xc081e77c
frame pointer           = 0x10:0xc081e78c
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         = 0 ()
trap number             = 12
panic: page fault
cpuid = 0; 
Uptime: 1s


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc052bc7c
stack pointer           = 0
kkkkkkkkkkkkkkk


More information about the freebsd-smp mailing list