From owner-freebsd-ppc@FreeBSD.ORG Sun Mar 20 19:50:14 2011 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 E0E181065676 for ; Sun, 20 Mar 2011 19:50:14 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id A7EEA8FC1C for ; Sun, 20 Mar 2011 19:50:14 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 3A0B25811D for ; Sun, 20 Mar 2011 14:50:14 -0500 (CDT) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id U6IDM5RQfPQ3 for ; Sun, 20 Mar 2011 14:50:14 -0500 (CDT) Received: from wanderer.tachypleus.net (unknown [76.210.65.155]) by mail.icecube.wisc.edu (Postfix) with ESMTP id CF3365811B for ; Sun, 20 Mar 2011 14:50:13 -0500 (CDT) Message-ID: <4D865A74.3020201@freebsd.org> Date: Sun, 20 Mar 2011 14:50:12 -0500 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110317 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-ppc@freebsd.org References: <20110320203841.a90702bf.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20110320203841.a90702bf.torfinn.ingolfsen@broadpark.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: G5 Mac and powerpc64? 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: Sun, 20 Mar 2011 19:50:15 -0000 On 03/20/11 14:38, Torfinn Ingolfsen wrote: > Ok, so now my Mac G5 quad runs FreeBSD 8.2-release: > root@kg-g5# uname -a > FreeBSD kg-g5.kg4.no 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Sat Feb 19 > 01:18:47 UTC 2011 > root@xserve.lan.xcllnt.net:/usr/obj/usr/src/sys/GENERIC powerpc > > However, since this is 32-bits, it only sees 2 GB of the memory: > root@kg-g5# dmesg | head -19 > Copyright (c) 1992-2011 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights > reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 8.2-RELEASE #0: Sat Feb 19 01:18:47 UTC 2011 > root@xserve.lan.xcllnt.net:/usr/obj/usr/src/sys/GENERIC powerpc > Preloaded elf kernel "/boot/kernel/kernel" at 0x95d000. > cpu0: IBM PowerPC 970MP revision 1.1, 18446744071914.99 MHz > cpu0: Features dc000000 > cpu0: HID0 1511081 > real memory = 2127781888 (2029 MB) > available KVA = 490659839 (467 MB) > Physical memory chunk(s): > 0x00018000 - 0x000fffff, 950272 bytes (232 pages) > 0x017ec000 - 0x017fffff, 81920 bytes (20 pages) > 0x01813000 - 0x01bfffff, 4116480 bytes (1005 pages) > 0x01c3a000 - 0x03ffffff, 37511168 bytes (9158 pages) > 0x08000000 - 0x7c9f6fff, 1956605952 bytes (477687 pages) > avail memory = 1996570624 (1904 MB) > > > Is there a way to get a 64-bits version of FreeBSD 8.2 onto this > machine? (I couldn't find a 8.2 powerpc64 image) 64-bit PPC is a new platform in 9.0, so the reason you couldn't find an 8.2 image is because there aren't any :) If you want to upgrade to 64-bit, you have two options. One is that you can reinstall with 9.0 (http://people.freebsd.org/~nwhitehorn/bsdinstall-powerpc64-20110308.iso.bz2). The other is you can try to do an in-place update from source code. You can probably find some tutorials on the web for doing that on i386->amd64 (the procedure is the same). The basic idea is: cd /usr/src (updated to 9.0) make -j5 buildworld buildkernel TARGET=powerpc TARGET_ARCH=powerpc64 make installkernel TARGET=powerpc TARGET_ARCH=powerpc64 DESTDIR=/ cp /usr/obj/powerpc.powerpc64/usr/src/sys/boot/powerpc/ofw/loader /boot cd /usr/src export UNAME_p=powerpc make installworld TARGET=powerpc TARGET_ARCH=powerpc64 DESTDIR=/ mergemaster -Ui The worst that happens with that is that you miss a step and totally hose your system, in which case you need to reinstall and end up in the same place you already were. -Nathan