Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 2002 21:30:50 -0500
From:      Jerry A! <jerry@thehutt.org>
To:        John Merryweather Cooper <john_m_cooper@yahoo.com>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
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>
In-Reply-To: <1016676347.647.7.camel@johncoop.MSHOME>
References:  <1016676347.647.7.camel@johncoop.MSHOME>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <CD-ROM Drive/F5E> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020321023050.GA662>