From owner-freebsd-stable@FreeBSD.ORG Wed Apr 18 04:31:07 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 60FF3106566B for ; Wed, 18 Apr 2012 04:31:07 +0000 (UTC) (envelope-from chad@psys.us) Received: from p3plsmtpa07-08.prod.phx3.secureserver.net (p3plsmtpa07-08.prod.phx3.secureserver.net [173.201.192.237]) by mx1.freebsd.org (Postfix) with SMTP id 3C0108FC19 for ; Wed, 18 Apr 2012 04:31:07 +0000 (UTC) Received: (qmail 29111 invoked from network); 18 Apr 2012 04:24:27 -0000 Received: from unknown (98.185.17.217) by p3plsmtpa07-08.prod.phx3.secureserver.net (173.201.192.237) with ESMTP; 18 Apr 2012 04:24:27 -0000 Message-ID: <4F8E41F1.3000500@psys.us> Date: Wed, 18 Apr 2012 00:24:17 -0400 From: Chad C User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <4F8D9FCC.6000705@psys.us> <20120417191603.GO2358@deviant.kiev.zoral.com.ua> In-Reply-To: <20120417191603.GO2358@deviant.kiev.zoral.com.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: kernel panic while detecting cpu in FreeBSD 9 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2012 04:31:07 -0000 Updated the mainboard UEFI to latest version but am still getting the same kernel page fault. I compiled "options DDB" and "options GDB" into the generic kernel. After rebooting and entering DDB I get the following from various commands: On bootup I am now getting the following: real memory = 8589934592 (8192 MB) avail memory = 8198332416 (7818 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: panic: AP #2 (PHY# 4) failed! cpuid = 0 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a kdb_backtrace() at KDB_backtrace+0x37 panic() at panic+0x187 cpu_mp_start() at cpu_mp_start+0x589 mp_start() at mp_start+0x85 mi_startup() at mi_startup+0x77 btext() at btext+0x2c KDB: enter: panic [ thread pid 0 tid 0 ] Stopped at kdb_enter+0x3b: movq $0,0x905dc2(%rip) db> Typing "s" and "c" at the db prompt gives the following: db> s [ thread pid 0 tid 0 ] Stopped at kdb_enter+0x46: addq $0x8,%rsp db> c kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x18 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff808316e8 stack pointer = 0x28:0xffffffff81412ab0 frame pointer = 0x28:0xffffffff81412af0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = trace trap, resume, IOPL = 0 current process = 0 () [ thread pid 0 tid 0 ] Stopped at _thread_lock_flags+0x28: movq 0x18(%r12),%rax And trace gives me the following output: db> trace Tracing pid 0 tid 0 td 0xffffffff8112f830 _thread_lock_flags() at _thread_lock_flags+0x28 kern_reboot() at kern_reboot+0x33 panic() at panic+0x171 cpu_mp_start() at cpu_mp_start+0x589 mp_start() at mp_start+0x85 mi_startup() at mi_startup+0x77 btext() at btext+0x2c -Chad