From owner-freebsd-ia64 Tue Feb 27 1:27:47 2001 Delivered-To: freebsd-ia64@freebsd.org Received: from anchor-post-33.mail.demon.net (anchor-post-33.mail.demon.net [194.217.242.91]) by hub.freebsd.org (Postfix) with ESMTP id C849A37B718; Tue, 27 Feb 2001 01:27:44 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from [62.49.251.130] (helo=herring.nlsystems.com) by anchor-post-33.mail.demon.net with esmtp (Exim 2.12 #1) id 14XgQ2-000KjA-0X; Tue, 27 Feb 2001 09:27:43 +0000 Received: from salmon.nlsystems.com (salmon [10.0.0.3]) by herring.nlsystems.com (8.11.2/8.11.2) with ESMTP id f1R9Rg129758; Tue, 27 Feb 2001 09:27:42 GMT (envelope-from dfr@nlsystems.com) Date: Tue, 27 Feb 2001 09:27:42 +0000 (GMT) From: Doug Rabson To: John Baldwin Cc: ia64@FreeBSD.org Subject: Re: Grrrr.. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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. -- Doug Rabson Mail: dfr@nlsystems.com Phone: +44 20 8348 6160 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message