Kernel trap 12; panic

From: Terrence Koeman <root_at_mediamonks.net>
Date: Wed, 14 Jul 2004 13:02:10 +0200
Hi,

I have installed 5.2-CURRENT on a computer to see what 5.x is like, and I'm
having a weird problem.

At random intervals the server just 'disappeared' (it is remote). I enabled
every debug feature I could find, but the logs show nothing at all. In the
end I connected a serial console to see if something was showing there and
see if it wasn't just network access that dropped, and this was on it:

******************
kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0xde00eab4
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc04bccc4
stack pointer           = 0x10:0xde40eaa0
frame pointer           = 0x10:0xde00eabc
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = resume, IOPL = 0
current process         = 6911 (httpd)
trap number             = 12
panic: page fault
cpuid = 0; 
spin lock sched lock held by 0xc3001840 for > 5 seconds
panic: spin lock held too long
cpuid = 0;
******************

It seems to have something to do with apache, but I have no idea. Can
someone help me out here? What is this and how do I fix it?

If more information is required I will be happy to provide it, thanks in
advance.

-- 
Regards,
Terrence Koeman
 
MediaMonks B.V. (www.mediamonks.com)
Please quote all replies in correspondence.  



My dmesg:
******************
Copyright (c) 1992-2004 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 #5: Tue Jun 29 15:58:22 CEST 2004
    root_at_horray.mediamonks.net:/usr/obj/usr/src/sys/HORRAY
WARNING: WITNESS option enabled, expect reduced performance.
WARNING: DIAGNOSTIC option enabled, expect reduced performance.
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0759000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc07591f4.
ACPI APIC Table: <IntelR AWRDACPI>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) CPU 2.60GHz (2600.45-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
 
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA
,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
real memory  = 528416768 (503 MB)
avail memory = 511705088 (488 MB)
ioapic0 <Version 2.0> irqs 0-23 on motherboard
random: <entropy source, Software, Yarrow>
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <IntelR AWRDACPI> on motherboard
acpi0: [GIANT-LOCKED]
pcibios: BIOS version 2.10
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82845G (845G GMCH) SVGA controller> mem
0xec100000-0xec17ffff,0xe0000000-0xe7ffffff irq 16 at device 2.0 on pci0
agp0: detected 8060k stolen memory
agp0: aperture size is 128M
pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib1
atapci0: <Promise PDC20271 UDMA133 controller> port
0xa000-0xa00f,0x9c00-0x9c03,0x9800-0x9807,0x9400-0x9403,0x9000-0x9007 mem
0xec040000-0xec04ffff irq 17 at device 0.0 on pci1
ata2: at 0x9000 on atapci0
ata3: at 0x9800 on atapci0
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.25> port
0xa400-0xa43f mem 0xec000000-0xec01ffff irq 22 at device 5.0 on pci1
em0: [GIANT-LOCKED]
em0: Ethernet address: 00:30:48:42:96:0e
em0:  Speed:N/A  Duplex:N/A
em1: <Intel(R) PRO/1000 Network Connection, Version - 1.7.25> port
0xa800-0xa83f mem 0xec020000-0xec03ffff irq 23 at device 6.0 on pci1
em1: [GIANT-LOCKED]
em1: Ethernet address: 00:30:48:42:96:0f
em1:  Speed:N/A  Duplex:N/A
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <Intel ICH4 UDMA100 controller> port
0xcc00-0xcc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci1
ata1: at 0x170 irq 15 on atapci1
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A, console
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
orm0: <Option ROM> at iomem 0xcc000-0xd57ff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 2600451508 Hz quality 800
Timecounters tick every 1.000 msec
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default
to accept, logging limited to 20 packets/entry by default
acd0: CDROM <CD-224E> at ata0-master PIO4
ad4: 156334MB <Maxtor 6Y160P0> [317632/16/63] at ata2-master UDMA133
ad6: 156334MB <Maxtor 6Y160P0> [317632/16/63] at ata3-master UDMA133
ar0: 156334MB <ATA RAID1 array> [19929/255/63] status: READY subdisks:
 disk0 READY on ad4 at ata2-master
 disk1 READY on ad6 at ata3-master
Mounting root from ufs:/dev/ar0s1a
em0: Link is up 100 Mbps Full Duplex
Expensive timeout(9) function: 0xc052f7a0(0) 0.007335848 s
em1: Link is up 100 Mbps Full Duplex
  

Received on Wed Jul 14 2004 - 09:02:24 UTC

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