From owner-freebsd-current@FreeBSD.ORG Thu Jan 29 23:20:32 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E26A16A4CE for ; Thu, 29 Jan 2004 23:20:32 -0800 (PST) Received: from hetzner.co.za (lfw.hetzner.co.za [196.7.18.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F34743D3F for ; Thu, 29 Jan 2004 23:20:29 -0800 (PST) (envelope-from ianf@hetzner.co.za) Received: from localhost ([127.0.0.1]) by hetzner.co.za with esmtp (Exim 3.36 #1) id 1AmSx0-000MlM-00 for FreeBSD-current@FreeBSD.org; Fri, 30 Jan 2004 09:20:26 +0200 To: FreeBSD-current@FreeBSD.org From: Ian Freislich X-Attribution: BOFH Date: Thu, 29 Jan 2004 19:42:21 +0200 Date: Fri, 30 Jan 2004 09:20:26 +0200 Sender: ianf@hetzner.co.za Message-Id: Subject: Panic at boot time X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2004 07:20:32 -0000 Hi I've been getting this panic at boot time for last few weeks. The last kernel that works is of around Wed Jan 7 15:23:38 SAST 2004. Random datapoints: Gigabyte 686DLX motherboard with 2 PentiumII CPUs I've noticed that ACPI has been working more and more poorly with this motherboard. I think this is related to ACPI brokenness because the working kernel panics in exactly the same way if I set hint.acpi.0.disabled="1". Here's the panic message. Sadly there is no crashdump. I have time to try things and do more debugging on request. Ian 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: Thu Jan 29 18:25:49 SAST 2004 ianf@brane-dead.freislich.nom.za:/usr/src/sys/i386/compile/BRANE-DEAD Preloaded elf kernel "/boot/kernel/kernel" at 0xc0787000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0787244. 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 real memory = 201261056 (191 MB) avail memory = 191283200 (182 MB) MPTable: 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:0xc05dcbb3 stack pointer = 0x10:0xc0821b34 frame pointer = 0x10:0xc0821c2c 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 at line 821 in file ../../../i386/i386/trap.c cpuid = 0; Stack backtrace: backtrace(c06549a9,0,335,c0672265,100) at backtrace+0x17 __panic(c0672265,335,c06501df,c06720bd,1) at __panic+0x15d trap_fatal(c0821af4,1c,1010101,1010101,c06a8a00) at trap_fatal+0x376 trap_pfault(c0821af4,0,1c,1010101,1c) at trap_pfault+0x252 trap(c0090018,c0c30010,c0c30010,c009f000,c0c3b000) at trap+0x30d calltrap() at calltrap+0x5 --- trap 0xc, eip = 0xc05dcbb3, esp = 0xc0821b34, ebp = 0xc0821c2c --- vm_fault(c0c3b000,c009f000,2,0,c06a8a00) at vm_fault+0x273 trap_pfault(c0821cac,0,c009f000,20821c88,c009f000) at trap_pfault+0x1e4 trap(18,10,7070010,18e,c069dc40) at trap+0x30d calltrap() at calltrap+0x5 --- trap 0xc, eip = 0xc061bce3, esp = 0xc0821cec, ebp = 0xc0821d00 --- install_ap_tramp(c06bd340,c06716d7,0,1,c050f3a7) at install_ap_tramp+0x53 start_all_aps(c06bd1c0,c06715cc,0,1,8) at start_all_aps+0x45 cpu_mp_start(c06b1520,c0661f3d,0,1,c0697530) at cpu_mp_start+0x21f mp_start(0,81ec00,81e000,81ec00,81e000) 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 at line 84 in file ../../../kern/kern_kthread.ccpuid = 0; Uptime: 1s This next paragraph repeats as many times as it can at 9600bps in 30 seconds 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:0xc0506e4c stack pointer = 0x10:0xc081efe8 frame pointer = 0x10:0xc081eff8 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 at line 821 in file ../../../i386/i386/trap.ccpuid = 0; Uptime: 1s -- Ian Freislich