Skip site navigation (1)Skip section navigation (2)
Date:      20 Mar 2002 18:36:36 -0800
From:      John Merryweather Cooper <john_m_cooper@yahoo.com>
To:        jerry@thehutt.org
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:  <1016678198.647.10.camel@johncoop.MSHOME>
In-Reply-To: <20020321023050.GA662@nomad.thehutt.org>
References:  <1016676347.647.7.camel@johncoop.MSHOME>  <20020321023050.GA662@nomad.thehutt.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Except for the pointer values and slightly different hardware (bigger
drive, Pioneer DVD instead of the CD-ROM), the values Jerry got are
identical to mine, I'll try disabling tagged queing and see if that
helps.  :)

On Wed, 2002-03-20 at 18:30, Jerry A! wrote:
> 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!
-- 
         _
  | |V| / '                       ||  MacroHard --                   \
\_| | | \_,                       ||     the perfection of form over |
----------------------------------||     substance, marketing over   |
Web:  http://www.borgsdemons.com  ||     performance, and greed over |
AIM:  johnmcooper                 ||     design . . .                |
=====================================================================/
Public Key:  http://www.borgsdemons.com/Personal/pgpkey.asc          |
=====================================================================\


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?1016678198.647.10.camel>