From owner-freebsd-ppc@FreeBSD.ORG Wed Jul 23 19:14:43 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 466BD1065673 for ; Wed, 23 Jul 2008 19:14:43 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (ice.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id 1DE3E8FC1F for ; Wed, 23 Jul 2008 19:14:42 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 520A586D86; Wed, 23 Jul 2008 14:14:42 -0500 (CDT) Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (ice.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 26769-01; Wed, 23 Jul 2008 14:14:41 -0500 (CDT) Received: from wanderer.tachypleus.net (i3-dhcp-172-16-223-188.icecube.wisc.edu [172.16.223.188]) by mail.icecube.wisc.edu (Postfix) with ESMTP id A2B8C86CCB; Wed, 23 Jul 2008 14:14:41 -0500 (CDT) Message-ID: <4887831E.2000806@freebsd.org> Date: Wed, 23 Jul 2008 14:14:38 -0500 From: Nathan Whitehorn User-Agent: Thunderbird 2.0.0.14 (X11/20080609) MIME-Version: 1.0 To: Garance A Drosehn References: <4885176C.8000206@freebsd.org> <48866C90.2010800@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at ice.icecube.wisc.edu Cc: freebsd-ppc@FreeBSD.org 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: Wed, 23 Jul 2008 19:14:43 -0000 Garance A Drosehn wrote: > At 6:26 PM -0500 7/22/08, Nathan Whitehorn wrote: >> 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. > > I don't understand what you mean by this... Or does this mean one has > to do a cross-build (from a different platform) for 'make buildworld'? You just have to have built a world before applying the patch, since loader wants CACHELINESIZE defined for standalone executables, and it varies depending on CPU model. Any PowerPC world that was built without applying the patch will work fine on G5. >> 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. > > I can't easily test this right now, but this is very encouraging > progress! The guy down the hall from me will probably be unhappy > though. I was going to give him my old G5, but if FreeBSD runs > on that then I'd much rather use that than my Mac mini! Oh well :P Assuming it's a dual-CPU machine, it will take a little more time before that is supported at all, and any G5 will be very loud because we don't have fan control yet. It will also be a while until X is supported because we no longer have a direct physical memory mappping. I'm going to have a stab at SMP support before the week is out. -Nathan