Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2001 13:57:05 +0000
From:      Jonathan Perkin <sketchy@netcraft.com>
To:        freebsd-stable@freebsd.org
Subject:   Constantly crashing SMP box
Message-ID:  <20010212135705.F358@netcraft.com>

next in thread | raw e-mail | index | archive | help
Hey guys,

This is probably a hardware issue, but I need to make sure :/

Box is an ASUS P2B-DS with dual P3/600's and 1Gb of ram.  With a UP
kernel, the box is completely stable, but boot an SMP kernel and it
will invariably crash within a couple of minutes.

I've tried two different BIOS revisions (the latest is still nearly a
year old :/) and tweaking MPS configurations in the BIOS to no avail.

The ram is brand new, but the CPU's have been taken from
previously-working boxes.

Here's the crash dump.  It happens both on 4.2-RELEASE and -STABLE as
of last Friday.  Kernel configuration is basically GENERIC with a lot
of cruft removed as to narrow down the problem (tried various
with/without options, still the same result).  mptable looks ok.

jeeves# gdb -k /kernel.debug /var/crash/vmcore.5 
GNU gdb 4.18
[...]
This GDB was configured as "i386-unknown-freebsd"...
SMP 2 cpus
IdlePTD 2887680
initial pcb at 2468a0
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
mp_lock = 00000003; cpuid = 0; lapic.id = 01000000
fault virtual address   = 0x0
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0x0
stack pointer           = 0x10:0xdfaf9c30
frame pointer           = 0x10:0xdfaf9c30
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         = 3800 (cpp)
interrupt mask          = net bio cam  <- SMP: XXX
trap number             = 12
panic: page fault
mp_lock = 00000003; cpuid = 0; lapic.id = 01000000
boot() called on cpu#0

[...]

#0  dumpsys () at ../../kern/kern_shutdown.c:469
469             if (dumping++) {
(kgdb) where
#0  dumpsys () at ../../kern/kern_shutdown.c:469
#1  0xc014efef in boot (howto=256) at ../../kern/kern_shutdown.c:309
#2  0xc014f3b9 in panic (fmt=0xc02204ef "page fault")
    at ../../kern/kern_shutdown.c:556
#3  0xc01f1cf8 in trap_fatal (frame=0xdfaf9bf0, eva=0)
    at ../../i386/i386/trap.c:951
#4  0xc01f1969 in trap_pfault (frame=0xdfaf9bf0, usermode=0, eva=0)
    at ../../i386/i386/trap.c:844
#5  0xc01f14bf in trap (frame={tf_fs = -1062666216, tf_es =
-542179312, 
      tf_ds = -542179312, tf_edi = 0, tf_esi = -625308436, 
      tf_ebp = -542139344, tf_isp = -542139364, tf_ebx = 134692864, 
      tf_edx = -542146560, tf_ecx = 1, tf_eax = 14, tf_trapno = 12, 
      tf_err = 0, tf_eip = 0, tf_cs = 8, tf_eflags = 66118, 
      tf_esp = -542139292, tf_ss = -1071714136}) at
../../i386/i386/trap.c:443
#6  0x0 in ?? ()

443                             (void) trap_pfault(&frame, FALSE, eva);

-- 
  Jonathan Perkin  <sketchy@netcraft.com>  +44 (0)1225 867914
 Netcraft Ltd, Bradford on Avon, UK - http://www.netcraft.com/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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