From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 11 04:32:31 2009 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A99451065693; Wed, 11 Nov 2009 04:32:31 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id 761BC8FC16; Wed, 11 Nov 2009 04:32:31 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7.0-5.01 32bit (built Feb 19 2009)) id <0KSX00900GM6X000@smtpauth1.wiscmail.wisc.edu>; Tue, 10 Nov 2009 22:32:30 -0600 (CST) Received: from comporellon.tachypleus.net (adsl-75-50-88-113.dsl.mdsnwi.sbcglobal.net [75.50.88.113]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7.0-5.01 32bit (built Feb 19 2009)) with ESMTPSA id <0KSX001BCGM50I30@smtpauth1.wiscmail.wisc.edu>; Tue, 10 Nov 2009 22:32:30 -0600 (CST) Date: Tue, 10 Nov 2009 22:32:28 -0600 From: Nathan Whitehorn In-reply-to: <4AF9E9F5.8000207@freebsd.org> To: Peter Grehan Message-id: <4AFA3E5C.4060003@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=75.50.88.113 X-Spam-PmxInfo: Server=avs-12, Version=5.5.5.374460, Antispam-Engine: 2.7.1.369594, Antispam-Data: 2009.11.11.41823, SenderIP=75.50.88.113 References: <4AF219DF.2040309@freebsd.org> <4AF46399.20803@freebsd.org> <4AF575D2.5020101@freebsd.org> <4AF577F6.2080708@freebsd.org> <4AF90970.4080708@freebsd.org> <4AF9E9F5.8000207@freebsd.org> User-Agent: Thunderbird 2.0.0.23 (X11/20090905) Cc: FreeBSD PowerPC ML Subject: Re: 8.0-RC2 on Rackmac3,1 - fatal kernel trap X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Nov 2009 04:32:31 -0000 Peter Grehan wrote: > Hi Nathan, > >> This problem should be fixed now. > > Almost :) My 7,2 and 11,2 G5's now hit the panic: > > 7,2: 120 translations > > 11,2: 126 translations > > If you are concerned about BSS usage for holding the translations, it > might be possible to bump up the loader's unit of allocation from 16 > pages to 64 when on a G5. See the history of that at > > http://svn.freebsd.org/viewvc/base/head/sys/boot/ofw/libofw/ofw_copy.c?view=log > Drat. I think this is something inside OF that only applies to CD booting, since 64 was more than enough for netbooting the kernel or booting from a hard drive, so changes to the loader probably won't affect anything. Also, it is now too late to get any changes to this code into 8.0, which is unfortunate. I guess the size of the buffer just needs to be bumped to 128 (or more?). I'm a little concerned about bloating the kernel here. I think there is enough headroom in the stack that it can be moved to the local stack frame, so that's a possibility. It can't be allocated dynamically, since there is no way to add memory that OF can use at that point in the boot process. -Nathan