From owner-freebsd-current@FreeBSD.ORG Thu Jul 1 18:57:54 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from green.homeunix.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 01D6E16A4CE for ; Thu, 1 Jul 2004 18:57:54 +0000 (GMT) Received: from green.homeunix.org (green@localhost [127.0.0.1]) by green.homeunix.org (8.12.11/8.12.11) with ESMTP id i61Ivruj005761 for ; Thu, 1 Jul 2004 14:57:53 -0400 (EDT) (envelope-from green@green.homeunix.org) Received: (from green@localhost) by green.homeunix.org (8.12.11/8.12.11/Submit) id i61Ivr5n005760 for current@freebsd.org; Thu, 1 Jul 2004 14:57:53 -0400 (EDT) (envelope-from green) Date: Thu, 1 Jul 2004 14:57:52 -0400 From: Brian Fundakowski Feldman To: current@freebsd.org Message-ID: <20040701185752.GE1034@green.homeunix.org> References: <20040701155459.GB34978@afflictions.org> <20040701170015.GA29451@afflictions.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040701170015.GA29451@afflictions.org> User-Agent: Mutt/1.5.6i Subject: Re: Panic in g_up (bg_fsck/cdparanoia interaction issues?) 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: Thu, 01 Jul 2004 18:57:54 -0000 On Thu, Jul 01, 2004 at 01:00:15PM -0400, Damian Gerow wrote: > After a crash and reboot, I start ripping the latter half of the CD, > trying to reproduce the panic: > > % cdparanoia -Z -B "7-14[3:21.14]" > > It got 3/4 of the way through track 13 before a panic. Note that bg_fsck > has finished processing ad1s1d (/home), and is now working on ad1s1e > (/usr). I am writing to ad1s1d: > > Fatal trap 12 = page fault while in kernel mode > cpuid = 0; apic id = 00 > > fault virtual address = 0xa00000a > fault code = supervisor read, page not present > instruction pointer = 0x8:0xc067b104 > stack pointer = 0x10:0xd4293b98 > frame pointer = 0x10:0xd4293ba8 > code segment = base 0xa0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, dev32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 3 (g_up) > kernel: type 12 trap, code=0 > Stopped at handle_allocindir_partdone+0x40: testb $0x2,0xa(%ecx) > db> panic It seems like aip->ai_indirdep became 0xa000000 somehow. It would be interesting to print out the whole *aip from gdb if you can get this to happen again and get a crashdump. (Referencing src/sys/ufs/ffs/ffs_softdep.c:handle_allocindir_partdone()) -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\