[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-ia64
Subject:    Re: Grrrr..
From:       John Baldwin <jhb () FreeBSD ! org>
Date:       2001-02-27 19:28:37
[Download RAW message or body]


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic