Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Sep 2000 11:08:13 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        mjacob@feral.com
Cc:        alpha@FreeBSD.ORG
Subject:   Re: so much for *that* idea.....
Message-ID:  <14780.62432.185970.793919@grasshopper.cs.duke.edu>
In-Reply-To: <Pine.LNX.4.21.0009101704170.23495-100000@zeppo.feral.com>
References:  <Pine.LNX.4.21.0009101704170.23495-100000@zeppo.feral.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Matthew Jacob writes:
 > 
 > I did a build from more or less top of tree- I had had a clean buildworld, so
 > I built a kernel and did the installworld and did mergemaster and did
 > disklabel -B, and got:

<...>

 > halt code = 2
 > kernel stack not valid halt
 > PC = 200000000       
 > 
 > for my pains. Tsk.

This typically means you're faulting very early in the boot process.
Thus is typically caused by trap'ing & then calling vm_map_lookup()
out of vm_fault() prior to setting up the vm maps.  The
vm_map_lookup() faults & you get caught in an infinate recursion
ending in a ksp not valid.

First thing I'd try is temporarily making the ALPHA_MMCSR_ACCESS case
in trap() always fatal for a kernel-mode trap.  This should catch the
initial trap & give you a clue as to what's going wrong.

Sorry for my delayed reply.  My wife & I just moved into our new
place.  No phone service yet, much less DSL.   Blah.

Drew




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




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