From owner-freebsd-current@FreeBSD.ORG Mon Aug 23 12:50:30 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 7CE2616A4CE for ; Mon, 23 Aug 2004 12:50:30 +0000 (GMT) Received: from hanoi.cronyx.ru (hanoi.cronyx.ru [144.206.181.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAACC43D2D for ; Mon, 23 Aug 2004 12:50:29 +0000 (GMT) (envelope-from rik@cronyx.ru) Received: (from root@localhost) by hanoi.cronyx.ru id i7NClJ14036570 for freebsd-current@freebsd.org.checked; (8.12.8/vak/2.1) Mon, 23 Aug 2004 16:47:19 +0400 (MSD) (envelope-from rik@cronyx.ru) Received: from cronyx.ru (hi.cronyx.ru [144.206.181.94]) by hanoi.cronyx.ru with ESMTP id i7NCiJGd036272; (8.12.8/vak/2.1) Mon, 23 Aug 2004 16:44:19 +0400 (MSD) (envelope-from rik@cronyx.ru) Message-ID: <4129E6F4.4060602@cronyx.ru> Date: Mon, 23 Aug 2004 16:45:40 +0400 From: Roman Kurakin User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031208 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Roman Kurakin References: <41261D1B.5000003@cronyx.ru> <412640B5.9090104@cronyx.ru> <20040821133304.D84878@carver.gumbysoft.com> <4127B8F6.9040908@cronyx.ru> <20040822192906.A94593@carver.gumbysoft.com> <41299E02.2080207@cronyx.ru> In-Reply-To: <41299E02.2080207@cronyx.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 12:50:30 -0000 One more thing: I've just booted with safe mode! It looks very strange, since I've diffed kenv vs. /boot/device.hints and only major difference is ACPI. PS. upgrating to VF4.b didn't help at all. MPTable seems to be 1.4 rik Roman Kurakin wrote: > Hi, > > Doug White wrote: > >> 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. >> >> > One more interesting thing that I've forgot to say. I am unable to > boot with old kernel, > panic in the same place. > >>>> 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. >> >> > My current bios version V.F4a. V.F4b has the same date and I do no see > by description what is > the difference. Which version do you have? > >>> 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" >>>>> >>>>> >>>>> >>>> >>> >>> >> >> >> >> > > > > _______________________________________________ > 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" > >