From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 22 23:23:39 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 376F01065679 for ; Tue, 22 Jul 2008 23:23:39 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from agogare.doit.wisc.edu (agogare.doit.wisc.edu [144.92.197.211]) by mx1.freebsd.org (Postfix) with ESMTP id 1907E8FC25 for ; Tue, 22 Jul 2008 23:23:38 +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.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)) id <0K4F00200KZE6A00@smtpauth2.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Tue, 22 Jul 2008 18:23:38 -0500 (CDT) Received: from trantor.tachypleus.net (adsl-99-153-133-60.dsl.mdsnwi.sbcglobal.net [99.153.133.60]) by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)) with ESMTPSA id <0K4F00JO4KZDRR20@smtpauth2.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Tue, 22 Jul 2008 18:23:37 -0500 (CDT) Date: Tue, 22 Jul 2008 18:26:08 -0500 From: Nathan Whitehorn In-reply-to: <4885176C.8000206@freebsd.org> To: freebsd-ppc@freebsd.org Message-id: <48866C90.2010800@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=99.153.133.60 X-Spam-PmxInfo: Server=avs-7, Version=5.4.1.325704, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2008.7.22.231354, SenderIP=99.153.133.60 References: <4885176C.8000206@freebsd.org> User-Agent: Thunderbird 2.0.0.14 (X11/20080628) Subject: Re: 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: Tue, 22 Jul 2008 23:23:39 -0000 I've fixed the crashing bugs and some issues with TLB invalidation, and my G5 now runs stably. I can build ports, etc., and it is reasonably fast. Updated patch here: http://people.freebsd.org/~nwhitehorn/g5.diff Known bugs: 1. World builds are broken due to changes to CACHELINESIZE, so build world first. 2. ATA controller does not work on my iMac because of a bug with the controller's interrupt property. 3. The patch touches some things it shouldn't in the MI UMA allocator that require a better solution. Seems mostly harmless, though. 4. The patch touches some things it shouldn't in the NFS client to fix the bug mentioned in my last email. This breaks NFS locking. 5. No thermal or fan control. 6. No SMP. 7. CPC 945 (PCI Express) systems are untested. 8. /dev/mem does not work, so no X. Aside from that, any single CPU G5 machine with AGP (single CPU Powermac G5s and iMacs) should work without noticeable problems aside from the broken NFS locking. Please let me know if this isn't true. -Nathan