From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 7 21:48:54 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60705106564A for ; Fri, 7 Jan 2011 21:48:54 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id F313C8FC18 for ; Fri, 7 Jan 2011 21:48:53 +0000 (UTC) Received: by bwz12 with SMTP id 12so10402936bwz.13 for ; Fri, 07 Jan 2011 13:48:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.140.208 with SMTP id j16mr1363326bku.151.1294435234801; Fri, 07 Jan 2011 13:20:34 -0800 (PST) Received: by 10.204.151.212 with HTTP; Fri, 7 Jan 2011 13:20:34 -0800 (PST) X-Originating-IP: [209.66.78.50] Date: Fri, 7 Jan 2011 16:20:34 -0500 Message-ID: From: Mark Saad To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: With out ddb and kdb set 7.3-RELEASE amd64 does not boot. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jan 2011 21:48:54 -0000 Hello hackers@, I have a good question that I cant find an answer for. I believe found a kernel bug in 7.3-RELEASE that prevents me from booting 64-bit kernels on HP's DL360 G4p . The kernel dies with "Fatal trap 12: page fault while in kernel mode " . The hardware works fine in 7.2-RELEASE amd64, 7.1-RELEASE amd64, and 6.4-RELEASE amd64 . In 7.3-RELEASE amd64 I can not boot from cd or pxe correctly using the stock 7.3-RELEASE amd64 kernel however i386 works fine. To see if this issue was some how fixed in 7.3-RELEASE-p4 amd64 I rebuilt a GENERIC kernel using patches sources and tried to boot and I got the same crash. Next I rebuilt the kernel with KDB and DDB to see if I could get a core-dump of the system. I also set loader.conf to kernel="kernel.DEBUG" kern.dumpdev="/dev/da0s1b" Next I pxebooted the box and the system does not crash on boot up, it will easily load a nfs root and work fine. So I copied my debug kernel, and loader.conf to the local disk and rebooted and it boots fine from the local disk . Rebooting the server and running off the local disks and debug kernel, I cant find any issues. Reboot the box into a GENERIC 7.3-RELEASE-p4 kernel and it crashes With this error Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x0 fault code = supervisor write data, page not present instruction pointer = 0x8:0xffffffff800070fa stack pointer = 0x10:0xffffffff8153cbe0 frame pointer = 0x10:0xffffffff8153cc50 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 (swapper) [thread pid 0 tid 100000 ] Stopped at bzero+0xa: repe stosq %es:(%rdi) What do I do , has anyone else seen anything like this ? -- mark saad | nonesuch@longcount.org