From owner-freebsd-ppc@FreeBSD.ORG Mon Jul 21 23:08:32 2008 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 7E1FD106567F for ; Mon, 21 Jul 2008 23:08:32 +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 4D5F88FC2D for ; Mon, 21 Jul 2008 23:08:32 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) 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 6.3-5.02 (built Oct 12 2007; 32bit)) id <0K4D00113PM7OA00@smtpauth1.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Mon, 21 Jul 2008 18:08:31 -0500 (CDT) Received: from trantor.tachypleus.net (adsl-99-153-133-60.dsl.mdsnwi.sbcglobal.net [99.153.133.60]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)) with ESMTPSA id <0K4D00A2CPLHPO80@smtpauth1.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Mon, 21 Jul 2008 18:08:05 -0500 (CDT) Date: Mon, 21 Jul 2008 18:10:36 -0500 From: Nathan Whitehorn To: freebsd-ppc@freebsd.org Message-id: <4885176C.8000206@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=99.153.133.60 X-Spam-PmxInfo: Server=avs-12, Version=5.4.1.325704, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2008.7.21.225514, SenderIP=99.153.133.60 User-Agent: Thunderbird 2.0.0.14 (X11/20080628) Subject: G5 boots multi-user! 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: Mon, 21 Jul 2008 23:08:32 -0000 There appears to be a bug in NFS not using using copyin() to get the hostname from its arguments when a mount is being updating. Fixing that with an #if 0 sledgehammer produces the following patch: http://people.freebsd.org/~nwhitehorn/nfs_vfsops.diff Combine that with the main G5 patch: http://people.freebsd.org/~nwhitehorn/g5.diff This produces a system that will boot multiuser on my iMac G5. It still has plenty of bugs, to whit: 1) The system is extremely slow. Measured CPU clock speed is 50 MHz, which is about what it feels like. I think it is in a low-power mode, but IBM docs say it can only run at 1800 and 900 MHz. So this is probably an inefficiency in the MMU module. 2) There remain several nasty panics. The system is not especially stable yet. -Nathan