From owner-freebsd-current@FreeBSD.ORG Mon Aug 23 02:31:40 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 24A5D16A4CE for ; Mon, 23 Aug 2004 02:31:40 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC77643D41 for ; Mon, 23 Aug 2004 02:31:39 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id CE01872DD4; Sun, 22 Aug 2004 19:31:39 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id C88D672DCB; Sun, 22 Aug 2004 19:31:39 -0700 (PDT) Date: Sun, 22 Aug 2004 19:31:39 -0700 (PDT) From: Doug White To: Roman Kurakin In-Reply-To: <4127B8F6.9040908@cronyx.ru> Message-ID: <20040822192906.A94593@carver.gumbysoft.com> References: <41261D1B.5000003@cronyx.ru> <412640B5.9090104@cronyx.ru> <20040821133304.D84878@carver.gumbysoft.com> <4127B8F6.9040908@cronyx.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: FreeBSD Current Subject: Re: Boot code broken in some way in recent current (Was: Panic at boot) 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: Mon, 23 Aug 2004 02:31:40 -0000 On Sun, 22 Aug 2004, Roman Kurakin wrote: > >Have you tried booting without enabling ACPI? The ACPI tables seem to > >think you have two APs and no BSP. > > > Yes, but this didn't help. Interesting. > >What motherboard/system is this? > > > If I've found correct message from my archive both mainboards are listed > here: > > 1. GA-6BXD; This is a Gigabyte 440BX slotted-P2/P3 board. My daily -current builders are similar to this, although they support 133MHz FSB. > 2. MSI, I guess, 694D Pro2 ver2. This is a dual socket370 P3/celeron board. > Today I was trying to find out reason of such panic, and I've played > a bit with ddb. After step-ing a while I've pressed continue and > system went to panic in other place. This looks like some problems > with pointers. > On Monday I also want to try to locate what exact changes lead to > this problem. That shouldn't be hard since I've updated system > after two-week delay. It still looks like a bogus ACPI table to me. Certainly check for BIOS updates for these boards. > > rik > > >>GDB: no debug ports present > >>KDB: debugger backends: ddb > >>KDB: current backend: ddb > >>SMAP type=01 base=0000000000000000 len=000000000009fc00 > >>SMAP type=01 base=000000000009fc00 len=0000000000000400 > >>SMAP type=02 base=00000000000f0000 len=0000000000010000 > >>SMAP type=02 base=00000000fec00000 len=0000000000001000 > >>SMAP type=02 base=00000000fee00000 len=0000000000001000 > >>SMAP type=02 base=00000000ffff0000 len=0000000000010000 > >>SMAP type=01 base=0000000000100000 len=0000000007ef0000 > >>SMAP type=03 base=0000000007ff3000 len=000000000000d000 > >>SMAP type=04 base=0000000007ff0000 len=0000000000003000 > >>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 6.0-CURRENT #17: Fri Aug 20 10:23:42 MSD 2004 > >> root@devel15.cronyx.ru:/usr/obj/usr/src/sys/GENERIC > >>WARNING: WITNESS option enabled, expect reduced performance. > >>Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a2e000. > >>Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a2e254. > >>Calibrating clock(s) ... i8254 clock: 1193137 Hz > >>CLK_USE_I8254_CALIBRATION not specified - using default frequency > >>Timecounter "i8254" frequency 1193182 Hz quality 0 > >>Calibrating TSC clock ... TSC clock: 232751947 Hz > >>CPU: Pentium II/Pentium II Xeon/Celeron (232.75-MHz 686-class CPU) > >> Origin = "GenuineIntel" Id = 0x634 Stepping = 4 > >> > >>Features=0x80fbff >>V,MMX> > >>real memory = 134152192 (127 MB) > >>Physical memory chunk(s): > >>0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages) > >>0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages) > >>0x0000000000c29000 - 0x0000000007d7ffff, 118845440 bytes (29015 pages) > >>avail memory = 121626624 (115 MB) > >>Table 'FACP' at 0x7ff3040 > >>Table 'APIC' at 0x7ff5640 > >>Table 'APIC' at 0x7ff5640 > >>MP Configuration Table version 1.1 found at 0xc00f1400 > >>APIC: Using the MADT enumerator. > >>MADT: Found CPU APIC ID 0 ACPI ID 0: enabled > >>SMP: Added CPU 0 (AP) > >>MADT: Found CPU APIC ID 1 ACPI ID 1: enabled > >>SMP: Added CPU 1 (AP) > >>ACPI APIC Table: > >>kernel trap 12 with interrupts disabled > >> > >> > >>Fatal trap 12: page fault while in kernel mode > >>cpuid = 0; apic id = 00 > >>fault virtual address = 0x0 > >>fault code = supervisor read, page not present > >>instruction pointer = 0x8:0xc05f7f24 > >>stack pointer = 0x10:0xc0c21b6c > >>frame pointer = 0x10:0xc0c21b78 > >>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 () > >>[thread 0] > >>Stopped at _mtx_lock_flags+0x34: cmpl $0xc084ec9c,0(%ebx) > >>db> > >> > >>It seems that this problem was introduced with recent bootloader update. > >>That is all a able to tell now. > >> > >>rik > >> > >>Roman Kurakin wrote: > >> > >> > >> > >>>Hi, > >>> > >>> I've updated my current kernel/world yesterday, I've compiled and > >>>install it as > >>>usual on fast smp machine. After that I've plug my hard disk to a bit > >>>slow smp > >>>machine and get panic: > >>> > >>>Fattal trap 12 > >>> > >>>call stack: > >>> > >>>install_ap_tramp + 0x43 > >>>start_all_aps > >>>cpu_mp_start > >>>mp_start > >>>mi_startup > >>>begin > >>> > >>>It seems that install_ap_tramp + 0x43 > >>> *dst++ = *src++ (IIRC) > >>> > >>>Thats all I can tell now. > >>> > >>>Any ideas, questions? > >>> > >>>rik > >>> > >>> > >>> > >>>_______________________________________________ > >>>freebsd-current@freebsd.org mailing list > >>>http://lists.freebsd.org/mailman/listinfo/freebsd-current > >>>To unsubscribe, send any mail to > >>>"freebsd-current-unsubscribe@freebsd.org" > >>> > >>> > >>> > >>> > >> > >>_______________________________________________ > >>freebsd-current@freebsd.org mailing list > >>http://lists.freebsd.org/mailman/listinfo/freebsd-current > >>To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > >> > >> > > > -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org