From owner-freebsd-current Sun Mar 16 7:55:50 2003 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 7791137B404 for ; Sun, 16 Mar 2003 07:55:48 -0800 (PST) Received: from antares.student.iastate.edu (antares.student.iastate.edu [64.113.65.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 501AB43F93 for ; Sun, 16 Mar 2003 07:55:47 -0800 (PST) (envelope-from kparz@antares.student.iastate.edu) Received: from antares.student.iastate.edu (localhost [127.0.0.1]) by antares.student.iastate.edu (8.12.8/8.12.8) with ESMTP id h2GFtkff060177; Sun, 16 Mar 2003 09:55:46 -0600 (CST) (envelope-from kparz@antares.student.iastate.edu) Received: (from kparz@localhost) by antares.student.iastate.edu (8.12.8/8.12.8/Submit) id h2GFtf1Z060176; Sun, 16 Mar 2003 09:55:41 -0600 (CST) Date: Sun, 16 Mar 2003 09:55:41 -0600 From: Krzysztof Parzyszek To: Poul-Henning Kamp Cc: Bryan Liesner , Shizuka Kudo , freebsd-current@FreeBSD.ORG Subject: Re: panic on boot (devfs_find) Message-ID: <20030316155541.GA60143@antares.student.iastate.edu> Reply-To: kristof@swissmail.org References: <20030316012828.Q460@gravy.kishka.net> <4708.1047803355@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: <4708.1047803355@critter.freebsd.dk> User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Mar 16, 2003 at 09:29:15AM +0100, Poul-Henning Kamp wrote: > > I don't think I'll stand a chance on this one until I can reproduce it > on one of my machines :-( I'm not sure if that helps, but on my machine it it enough to take GENERIC kernconf file, add all GEOM_ options and comment out INVARIANTS and WITNESSES. I don't thing this it the least amount of changes, but it reliably causes trap 12: Mounting root from ufs:/dev/ad1s1a Fatal trap 12: page fault while in kernel mode fault virtual address = 0x7 fault code = supervisor read, page not present instruction pointer = 0x8:0xc02b0ae3 stack pointer = 0x10:0xd5279934 frame pointer = 0x10:0xd527994c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32, gran 1 processor eflags = interrupt enabled, resumr, IOPL = 0 current process = 45 (init) kernel: type 12 trap, code=0 Stopped at devfs_find+0x23: movzbl 0x7(%eax),%eax db> trace devfs_find(c3b15300,c058d4a0,2,c38cd3c0,2) at devfs_find+0x23 devfs_populate(c3bac200,0,c38cd3c0,0,0) at devfs_populate+0x1ea devfs_lookupx(d5279b08,1,0,c38cd3c0,6) at defvs_lookupx+0x22e devfs_lookup(d5279b08,c38cd3c0,0,c38cd3c0,c38cd3c0) at defvs_lookup+0x4b lookup(d5279c08,c3c5f400,400,d5279c24,c38cd3c0) at lookup+0x302 namei(d5279c08,0,0,0,0) at namei+0x20b revoke(c38cd3c0,d5279d10,4,c38cd3c0,1) at revoke+0x52 syscall(2f,2f,2f,bfbffdf8,0) at syscall+0x2aa Xint0x80_syscall() at Xint0x80_syscall+0x1d --- syscall (56, FreeBSD ELF32, revoke), eip = 0x8052c23, esp = 0xbfbffc6c, ebp = 0xbfbffc88 --- This was all copied from the screen by hand, but I hope there are no mistakes. I was unable to generate a crash dump, despite many attempts... :( Krzysztof To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message