Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jan 1998 18:46:24 +0200 (EET)
From:      Penisoara Adrian <ady@warp.starnets.ro>
To:        freebsd-current@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG
Subject:   Fatal trap 12 & debugging info ?? [REPOST]
Message-ID:  <Pine.BSF.3.96.980108184342.1046E-100000@ady.warpnet.ro>

next in thread | raw e-mail | index | archive | help
[Seems it didn't make it to the lists ?!? Might be my new e-mail address]

Hi,

 For quite a while I'm bugged by sudden panics/reboots (all of them are
'fatal trap 12'); here it is the last one I had (hand rewritten):

============================================================

Fatal trap 12: page fault while in kernel mode
mp_lock = 00000002; cpuid = 0; lapic.id = 00000000
fault virtual address   = 0x0
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xf01a9273
stack pointer           = 0x10:0xf49cbe48
frame pointer           = 0x10:0xf49cbe54
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         = 1594 (cron)
interrupt mask          = net tty bio cam  <- SMP:XXX
trap number             = 12
panic: page fault
mp_lock = 00000002; cpuid = 0; lapic.id = 00000000
boot called on cpu#0

syncing disks...

====================================================

uname -a:
FreeBSD ady.warpnet.ro 3.0-971117-SNAP FreeBSD 3.0-971117-SNAP #0: Sun Nov
23 16:02:37 EET 1997
    root@ady.warpnet.ro:/usr/src/sys/compile/ADY-SMP i386

====================================================

dmesg:
Copyright (c) 1992-1997 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 3.0-971117-SNAP #0: Sun Nov 23 16:02:37 EET 1997
    root@ady.warpnet.ro:/usr/src/sys/compile/ADY-SMP
CPU: Pentium (586-class CPU)
  Origin = "GenuineIntel"  Id = 0x526  Stepping=6
  Features=0x3bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC>
real memory  = 67108864 (65536K bytes)
avail memory = 63246336 (61764K bytes)
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00030010, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00030010, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Probing for devices on PCI bus 0:
chip0: <Intel 82439> rev 0x03 on pci0.0.0
chip1: <Intel 82371SB PCI to ISA bridge> rev 0x01 on pci0.7.0
ide_pci0: <Intel PIIX3 Bus-master IDE controller> rev 0x00 on pci0.7.1
ed1: <NE2000 PCI Ethernet (RealTek 8029)> rev 0x00 int a irq 19 on pci0.17.0
ed1: address 00:00:21:45:df:7b, type NE2000 (16 bit) 
ed2: <NE2000 PCI Ethernet (RealTek 8029)> rev 0x00 int a irq 18 on pci0.18.0
ed2: address 00:00:21:45:df:7c, type NE2000 (16 bit) 
vga0: <S3 Trio graphics accelerator> rev 0x00 int a irq 17 on pci0.19.0
ahc0: <Adaptec 2940A Ultra SCSI host adapter> rev 0x01 int a irq 16 on pci0.20.0
ahc0: aic7860 Single Channel, SCSI Id=7, 3/8 SCBs
ahc0: waiting for scsi devices to settle
scbus0 at ahc0 bus 0
ahc0: target 4 Tagged Queuing Device
sd0 at scbus0 target 4 lun 0
sd0: <Quantum VP32170 89TC> type 0 fixed SCSI 2
sd0: Direct-Access 2069MB (4238640 512 byte sectors)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
npx0 on motherboard
npx0: INT 16 interface
APIC_IO: routing 8254 via 8259 on pin 0
SMP: AP CPU #1 Launched!
WARNING: / was not properly dismounted.

===========================================


  I need to solve this problem whatever it would take for (BTW, the
machine is a production server - I know, 3.0-current is unstable, but I
need to go for SMP). One way would be to upgrade to a newer SNAP, but this
seems to be not such a good ideea (at least what I saw on the -current
list gave me fears, much part of the code seems to be pretty broken now);
the other way would be to debug this thingy, somthing I neved did before
:(...

 So please give me some suggestions, like what SNAP would be a better
choice or links to docs for debugging; even flames would be accepted
(mailed directly to me, of course)...

 TIA and forgive me for crossposting.
 Ady (@warpnet.ro)
 Warp Net Technologies





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980108184342.1046E-100000>