From owner-freebsd-current@FreeBSD.ORG Sat Mar 11 02:04:14 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 77F5E16AECD for ; Sat, 11 Mar 2006 02:03:46 +0000 (GMT) (envelope-from pho@holm.cc) Received: from relay03.pair.com (relay03.pair.com [209.68.5.17]) by mx1.FreeBSD.org (Postfix) with SMTP id CEA4847BB3 for ; Fri, 10 Mar 2006 17:28:22 +0000 (GMT) (envelope-from pho@holm.cc) Received: (qmail 93560 invoked from network); 10 Mar 2006 17:28:20 -0000 Received: from unknown (HELO peter.osted.lan) (unknown) by unknown with SMTP; 10 Mar 2006 17:28:20 -0000 X-pair-Authenticated: 83.95.197.184 Received: from peter.osted.lan (localhost.osted.lan [127.0.0.1]) by peter.osted.lan (8.13.4/8.13.4) with ESMTP id k2AHSK79080372; Fri, 10 Mar 2006 18:28:20 +0100 (CET) (envelope-from pho@peter.osted.lan) Received: (from pho@localhost) by peter.osted.lan (8.13.4/8.13.4/Submit) id k2AHSKWN080371; Fri, 10 Mar 2006 18:28:20 +0100 (CET) (envelope-from pho) Date: Fri, 10 Mar 2006 18:28:19 +0100 From: Peter Holm To: John Baldwin Message-ID: <20060310172819.GA80354@peter.osted.lan> References: <20060310103845.GA75490@peter.osted.lan> <200603100859.51612.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200603100859.51612.jhb@freebsd.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org, current@freebsd.org Subject: Re: Can not boot kernel from Mar 10 07:22 UTC X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 11 Mar 2006 02:04:14 -0000 On Fri, Mar 10, 2006 at 08:59:48AM -0500, John Baldwin wrote: > On Friday 10 March 2006 05:38, Peter Holm wrote: > > > > GDB: no debug ports present > > KDB: debugger backends: ddb > > KDB: current backend: ddb > > Copyright (c) 1992-2006 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 7.0-CURRENT #1: Fri Mar 10 08:43:30 CET 2006 > > pho@current.osted.lan:/usr/src/sys/i386/compile/PHO > > WARNING: WITNESS option enabled, expect reduced performance. > > ACPI APIC Table: > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > CPU: Intel(R) Celeron(R) CPU 1.80GHz (1799.14-MHz 686-class CPU) > > Origin = "GenuineIntel" Id = 0xf13 Stepping = 3 > > Features=0x3febfbff > > real memory = 267583488 (255 MB) > > avail memory = 252137472 (240 MB) > > : > > ad0: 76319MB at ata0-master UDMA100 > > acd0: DMA limited to UDMA33, controller found non-ATA66 cable > > acd0: CDROM at ata1-master UDMA33 > > Trying to mount root from ufs:/dev/ad0s1a > > > > > > Fatal trap 12: page fault while in kernel mode > > cpuid = 0; apic id = 00 > > fault virtual address = 0x2 > > fault code = supervisor write, page not present > > instruction pointer = 0x20:0xc07887f7 > > stack pointer = 0x28:0xcbf617d4 > > frame pointer = 0x28:0xcbf618bc > > 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 = 1 (swapper) > > [thread pid 1 tid 100007 ] > > Stopped at ffs_balloc_ufs2+0x8f: movl $0,0(%edi) > > db> where > > Tracing pid 1 tid 100007 td 0xc21bd360 > > ffs_balloc_ufs2(c23f3a28,0,0,0,cbf618f8) at ffs_balloc_ufs2+0x8f > > ufsdirhash_build(c23f9dec) at ufsdirhash_build+0x3c4 > > ufs_lookup(cbf619f8,c23f3a28,cbf61c28,cbf61a34,c06b3af2) at ufs_lookup+0xf9 > > VOP_CACHEDLOOKUP_APV(c093a3e0,cbf619f8) at VOP_CACHEDLOOKUP_APV+0x9b > > vfs_cache_lookup(cbf61a94,c23f3a28,0,cbf61ab0,c06b7ce6) at vfs_cache_lookup+0xb2 > > VOP_LOOKUP_APV(c093a3e0,cbf61a94) at VOP_LOOKUP_APV+0x87 > > lookup(cbf61c00,3,0,c21bd360,c068a77d) at lookup+0x402 > > namei(cbf61c00,9,0,0,0) at namei+0x382 > > do_execve(c21bd360,cbf61c90,0,cbf61c90,bfbffff2) at do_execve+0x159 > > kern_execve(c21bd360,cbf61c90,0) at kern_execve+0x7c > > execve(c21bd360,cbf61cf0,bfbfffe4,bfbffff2,bfbfffe8,bfbffffd,...) at execve+0x2f > > start_init(0,cbf61d38) at start_init+0x20b > > fork_exit(c063bc9c,0,cbf61d38) at fork_exit+0xa4 > > fork_trampoline() at fork_trampoline+0x8 > > --- trap 0x1, eip = 0, esp = 0xcbf61d6c, ebp = 0 --- > > db> reset > > Is there a missing frame or something? It doesn't look like > ufsdirhash_build() ever calls UFS_BALLOC() (which would end up being > a call to ffs_balloc_ufs2()). > Sorry! False alarm. A total rebuild fixed the problem. - Peter > -- > John Baldwin <>< http://www.FreeBSD.org/~jhb/ > "Power Users Use the Power to Serve" = http://www.FreeBSD.org -- Peter Holm