From owner-freebsd-ppc@FreeBSD.ORG Sat Nov 12 11:13:22 2005 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A36E16A41F for ; Sat, 12 Nov 2005 11:13:22 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from cayenne.onthenet.com.au (cacheflow.OntheNet.com.au [203.22.124.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26E7B43D49 for ; Sat, 12 Nov 2005 11:13:21 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [203.144.17.160] (CPE-203-144-17-160.dsl.OntheNet.net [203.144.17.160]) by cayenne.onthenet.com.au (Postfix) with ESMTP id 063FC75903C; Sat, 12 Nov 2005 21:13:20 +1000 (EST) Message-ID: <4375CE69.3040007@freebsd.org> Date: Sat, 12 Nov 2005 21:13:45 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Christopher Illies References: <20051112103316.GA59950@Klabautermann.ks.se> In-Reply-To: <20051112103316.GA59950@Klabautermann.ks.se> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: 7.0-snap on iBook G4 + few questions 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: Sat, 12 Nov 2005 11:13:22 -0000 Hi Christopher, > I am now trying to make the system more useful, i.e. install some > ports. The lynx package that was on the web works well, even though I > assume it was compiled for 6.0 (?). It was for an early version of 6.0. I haven't done binary packages for quite a while - you're best bet is to build ports from source. > Anyway, how do I install the ports collection? Using sysinstall gives > the following error message: Warning: Can't find the > `7.0-20051105-SNAP' distribution on this FTP server... > And cvsup is obviously not an option either. I am probably missing > something obvious. You should just grab the ports collection, untar it, and manually build the ones you want: ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports/ports.tar.gz > Second question: My iBook has a radeon graphics card. According to the > the freebsd ppc web site a special driver (radeon_driver.c) is needed. > Where should this file be put to be compiled? In the xorg source tree? In the /usr/ports/x11-servers/xorg-server/ port, do a 'make patch'. Then drop radeo_driver.c into work/xc/programs/Xserver/hw/xfree86/drivers/ati/ ... and 'make' as per normal. The patch was done a while back: I hope that it still does the right thing, since the Xorg port has probably changed since then. > Related to that question: For the radeon driver to work the sysctl > hw.ofwfb.relax_mmap should be changed to relax ofw syscon range checks. > What kind af values are sensible to try? It's a boolean so anything > 0 will set it. later, Peter.