From owner-freebsd-questions Thu Jan 8 08:47:15 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA01379 for questions-outgoing; Thu, 8 Jan 1998 08:47:15 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from ady.warpnet.ro (ady.warpnet.ro [193.230.201.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA01354; Thu, 8 Jan 1998 08:46:51 -0800 (PST) (envelope-from ady@warp.starnets.ro) Received: from localhost (ady@localhost) by ady.warpnet.ro (8.8.8/8.8.8) with SMTP id SAA01248; Thu, 8 Jan 1998 18:46:24 +0200 (EET) (envelope-from ady@warp.starnets.ro) Date: Thu, 8 Jan 1998 18:46:24 +0200 (EET) From: Penisoara Adrian X-Sender: ady@ady.warpnet.ro To: freebsd-current@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Fatal trap 12 & debugging info ?? [REPOST] Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk [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 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: rev 0x03 on pci0.0.0 chip1: rev 0x01 on pci0.7.0 ide_pci0: rev 0x00 on pci0.7.1 ed1: rev 0x00 int a irq 19 on pci0.17.0 ed1: address 00:00:21:45:df:7b, type NE2000 (16 bit) ed2: rev 0x00 int a irq 18 on pci0.18.0 ed2: address 00:00:21:45:df:7c, type NE2000 (16 bit) vga0: rev 0x00 int a irq 17 on pci0.19.0 ahc0: 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: 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