Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2001 11:28:37 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        ia64@FreeBSD.org
Subject:   Re: Grrrr..
Message-ID:  <XFMail.010227112837.jhb@FreeBSD.org>
In-Reply-To: <Pine.BSF.4.21.0102270925270.90317-100000@salmon.nlsystems.com>

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

On 27-Feb-01 Doug Rabson wrote:
> On Mon, 26 Feb 2001, John Baldwin wrote:
> 
>> Ok, I've got ski up and running, and the kernel panics very early in boot
>> because it tries to initialize a mutex for a zalloc zone far too early.  The
>> problem is due to pmap_bootstrap() using a zbootinit()'d zone.  Now, I could
>> just hack around this if we need that zalloc zone, but pmap_bootstrap has
>> this
>> comment above the code in question:
>> 
>>         /*
>>          * We need some PVs to cope with pmap_kenter() calls prior to
>>          * pmap_init(). This is all a bit flaky and needs to be
>>          * rethought, probably by avoiding the zone allocator
>>          * entirely.
>>          */
>> 
>> so I'm wondering if it might not be better to try and fix it as the comment
>> suggests instead?
> 
> I think it would be a good idea. Basically, we need to be able to cope
> with the calls to pmap_map() which the VM system makes during
> initialisation. I'm not sure exactly how many there are - perhaps we can
> map them all using translation registers, which would be nice.

That would be ideal, yes. :)  I guess I'll read up some more on the VM stuff in
the ia64 docco and see if I can make some sense of it.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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




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