From owner-freebsd-stable Wed Mar 20 18:31: 8 2002 Delivered-To: freebsd-stable@freebsd.org Received: from bobo.thehutt.org (pcp709198pcs.alxndr01.va.comcast.net [68.49.240.9]) by hub.freebsd.org (Postfix) with ESMTP id D1E3137B404 for ; Wed, 20 Mar 2002 18:30:53 -0800 (PST) Received: from [10.0.3.13] (helo=nomad.thehutt.org ident=mailnull) by bobo.thehutt.org with esmtp (Exim 4.01) id 16nsLs-00003o-00; Wed, 20 Mar 2002 21:30:52 -0500 Received: from jerry by nomad.thehutt.org with local (Exim 4.01) id 16nsLr-0000BV-00; Wed, 20 Mar 2002 21:30:51 -0500 Date: Wed, 20 Mar 2002 21:30:50 -0500 From: Jerry A! To: John Merryweather Cooper Cc: FreeBSD Stable Subject: Re: Trap 12 stemming from ata and/or vm_pager immediatly on boot with recently built kernel Message-ID: <20020321023050.GA662@nomad.thehutt.org> Reply-To: jerry@thehutt.org References: <1016676347.647.7.camel@johncoop.MSHOME> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1016676347.647.7.camel@johncoop.MSHOME> User-Agent: Mutt/1.3.28i Organization: Broken Toys Unlimited Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Mar 20, 2002 at 06:05:46PM -0800, John Merryweather Cooper wrote: : : Hmmm . . .. : : There seems to be a problem. Just cvsup'ed and rebuilt world and kernel : about 30 minutes ago (my Athlon 1300 rips through the build now), but : the kernel panics and issues a Trap 12 very soon after the ata driver : identifies my hard drive. : : Nothing seems to have made it into dmesg or messages, but the gist of : the panic sequence is: : : 1) ad0, an IBM 60 gig IDE drive of very recent manufacturer (reputedly : without the buggy stuff) that supports tagged queing, is detected on the : VIA 686B; : 2) tagged queing and UDMA100 are reported : 3) the ata driver reports a problem about tagged=0, and resets the : controller : 4) panic occurs with a Trap 12 immediately, indicate some sort of page : fault (everything flashes by rather quickly) I've got a similar setup (VIA686B/IBM 40G/UDMA100/tagged) and I'm seeing the same problem. Turning off tagged-queuing fixes the issue. This is with a kernel cvsup'd and built today. I didn't have these problems when I was testing Soren's ATA patches, but it appears that something else that was committed recently (in addition to the new ATA stuff?) may be causing the breakage. Anyway, I'm including the output and hoping it may provide some useful information. acd0: CDROM at ata1-master UDMA33 Mounting root from ufs:/dev/ad0s1a ad0: timeout waiting for READY ad0: invalidating queued requests - resetting ata0: resetting devices .. ad0: invalidating queued requests done ad0: no request for tag=0 ad0: invalidating queued requests ad0: READ command timeout tag=0 serv=0 - resetting ad0: invalidating queued requests ata0: resetting devices .. Fatal trap 12: page fault while in kernel mode fault virtual address = 0x70 fault code = supervisor read, page not present instruction pointer = 0x8:0xc0178fe4 stack pointer = 0x10:0xc02f73bc frame pointer = 0x10:0xc02f73e0 code segment = base 0x0, limit 0xfffff, type = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, current process = Idle interrupt mask = net tty bio cam trap number = 12 panic: page fault --Jerry Open-Source software isn't a matter of life or death... ...It's much more important than that! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message