From owner-freebsd-ia64 Tue Feb 27 11:28:57 2001 Delivered-To: freebsd-ia64@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 82A3937B719 for ; Tue, 27 Feb 2001 11:28:55 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f1RJPLl80802; Tue, 27 Feb 2001 11:25:21 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Tue, 27 Feb 2001 11:28:37 -0800 (PST) From: John Baldwin To: Doug Rabson Subject: Re: Grrrr.. Cc: ia64@FreeBSD.org Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 -- 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