From owner-freebsd-ppc@FreeBSD.ORG Sun Nov 6 07:39:02 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 156E716A41F; Sun, 6 Nov 2005 07:39:02 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB8B043D46; Sun, 6 Nov 2005 07:39:01 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.3/8.13.3) with ESMTP id jA67axsI049394; Sun, 6 Nov 2005 00:36:59 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 06 Nov 2005 00:37:24 -0700 (MST) Message-Id: <20051106.003724.97293247.imp@bsdimp.com> To: grehan@freebsd.org From: "M. Warner Losh" In-Reply-To: <436D34F4.50609@freebsd.org> References: <20051105.151124.27231338.imp@bsdimp.com> <436D34F4.50609@freebsd.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Sun, 06 Nov 2005 00:36:59 -0700 (MST) Cc: freebsd-ppc@freebsd.org Subject: Re: iMac Bondi 233 and 6.0 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, 06 Nov 2005 07:39:02 -0000 In message: <436D34F4.50609@freebsd.org> Peter Grehan writes: : > [thread pid 0 tid 0 ] : > stopped at 0x3d8f40: isync : > db> : > : > This is on an iMac bondi (G3 233MHz) that was running MAC OS 8.1. : > : > ideas? : : Aargh I though I had that fixed in RC1 :( :( Didn't test -RELEASE on : a G3 :( It's in pmap_bootstrap when doing the cut-over from : OpenFirmware's management of VM to FreeBSD's. I thought it was : instruction cache-alignment related but maybe not. : : Would you be able to try RC1 ? : : http://people.freebsd.org/~grehan/ppc_iso/6.0-RC1-powerpc-disc1.iso Well, 7.0-20051105-current.iso worked, so I'll likely try to install from that... I need to tear apart the machine I got and install a bigger hard disk first.. : > but I can't interact with the debugger at all. : : The keyboard doesn't work with the debugger that early in the boot : since it's USB and hasn't been probed yet. I've thought in the past : about modifying syscons so that the PROM could be used until USB is : probed, but it's not pretty. However, it does allow 'boot -d' and : diagnosis for these types of panics. Yea. That would be cool. Warner From owner-freebsd-ppc@FreeBSD.ORG Sun Nov 6 10:10:01 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 E9FC316A41F for ; Sun, 6 Nov 2005 10:10:01 +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 7A86243D48 for ; Sun, 6 Nov 2005 10:10:01 +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 95DC0759086; Sun, 6 Nov 2005 20:09:59 +1000 (EST) Message-ID: <436DD693.1060902@freebsd.org> Date: Sun, 06 Nov 2005 20:10:27 +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: "M. Warner Losh" References: <20051105.151124.27231338.imp@bsdimp.com> <436D34F4.50609@freebsd.org> <20051106.003724.97293247.imp@bsdimp.com> In-Reply-To: <20051106.003724.97293247.imp@bsdimp.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: iMac Bondi 233 and 6.0 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, 06 Nov 2005 10:10:02 -0000 > Well, 7.0-20051105-current.iso worked, so I'll likely try to install > from that... I need to tear apart the machine I got and install a > bigger hard disk first.. Note that the bmac ethernet driver isn't supported :( I did some work on this a long while back (the mii interface works fine), but it's a complicated beast since it relies on the general-purpose DMA engine provided in the parent macio ASIC. I did try an SMC USB ethernet part but that didn't work on first try, and I didn't spend much time diagnosing it. > : The keyboard doesn't work with the debugger that early in the boot > : since it's USB and hasn't been probed yet. I've thought in the past > : about modifying syscons so that the PROM could be used until USB is > : probed, but it's not pretty. However, it does allow 'boot -d' and > : diagnosis for these types of panics. > > Yea. That would be cool. I'll dig up some patches. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Sun Nov 6 17:58:07 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 2D3B716A41F for ; Sun, 6 Nov 2005 17:58:07 +0000 (GMT) (envelope-from leeg@teaching.physics.ox.ac.uk) Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA10243D46 for ; Sun, 6 Nov 2005 17:58:06 +0000 (GMT) (envelope-from leeg@teaching.physics.ox.ac.uk) Received: from [192.168.1.2] (84-51-133-9.oxford903.adsl.metronet.co.uk [84.51.133.9]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id 5C18A40BF96 for ; Sun, 6 Nov 2005 17:57:52 +0000 (GMT) Message-ID: <436E442C.4090507@teaching.physics.ox.ac.uk> Date: Sun, 06 Nov 2005 17:58:04 +0000 From: Graham J Lee User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ppc@freebsd.org References: <436CB6EB.4080402@freebsd.org> In-Reply-To: <436CB6EB.4080402@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: 7.0-snap available 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, 06 Nov 2005 17:58:07 -0000 Peter Grehan wrote: > http://www.freebsd.org/~grehan/ppc_iso/7.0-20051105-SNAP-powerpc-disc1.iso > > This contains the fix for the G4 powermacs that won't boot with > 6.0-RELEASE. > Great! That gets me to sysinstall. Unfortunately the Quantum Atlas on my ATTO SCSI card is not recognised, so I had to rejig things to get data [oh, OK, my iTunes library ;-)] off of an IDE-attached Maxtor so that I could partition that. Did so (two partitions in Darwin - disk1s3 for FreeBSD and disk1s5 for swap). Chose the automagic option in the disklabel editor - this chose to put a few mounts (/, /usr, /var, swap IIRC) in ad1s3 and didn't work. Went back to disklabel editor and chose a new layout: ad1s3 / 18508MB UFS2 Y ad1s5 swap 1015MB SWAP However, I still get errors: WARNING! Unable to swap to /dev/ad1s5: Device busy Error mounting /dev/ad1s3 on /mnt : Operation not permitted Unable to mount the root file system on /dev/ad1s3! Giving up. If I look at VTY2, I see: [fsck info for /dev/ad1s3] DEBUG: Scanning disk ad1 for root filesystem DEBUG: Scanning disk ad1 for swap partitions fstab: /etc/fstab:0: No such file or directory so where to go from here...? :) Cheers, Graham. -- Graham Lee UNIX Systems Manager, Oxford Physics Practical Course http://users.ox.ac.uk/~wadh1342 From owner-freebsd-ppc@FreeBSD.ORG Sun Nov 6 19:36:45 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 8A97A16A41F for ; Sun, 6 Nov 2005 19:36:45 +0000 (GMT) (envelope-from sidolin@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9ED6343D53 for ; Sun, 6 Nov 2005 19:36:44 +0000 (GMT) (envelope-from sidolin@gmail.com) Received: by zproxy.gmail.com with SMTP id 9so11646nzo for ; Sun, 06 Nov 2005 11:36:44 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=MAZNN3KtB/bRzMEMWuwB9Lh7wccQg2BY2cFFqALVJCpXYZf8xGBYjSXHXqy2WqEzlhGm78Q6QcdMd8K0p8XXbn5HARI3fWabhLL2INH9T5cV9Db/U2p08lQscH7mvqPBXpDXMVTbBpSHhnLL61pcn+qxACLuZHOJ25zSviHNL4s= Received: by 10.36.135.13 with SMTP id i13mr658420nzd; Sun, 06 Nov 2005 11:36:44 -0800 (PST) Received: by 10.36.50.12 with HTTP; Sun, 6 Nov 2005 11:36:44 -0800 (PST) Message-ID: <44a1b7810511061136h73dea73q@mail.gmail.com> Date: Sun, 6 Nov 2005 19:36:44 +0000 From: Andreas Heider To: freebsd-ppc@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: How to compile my own kernel? 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, 06 Nov 2005 19:36:45 -0000 Hi, today i sucessfully installed the new fbsd 7 on my powermac g4. It was very easy to install and even boots after installing. (I had some problems with netbsd ;)) But i want to use the mac as a isdn router, i tried netbsd and linux before, but they had no isdn support for big endian machines. Only the linux hisax drivers worked a little bit, they dont like the telephone system here, i had even on x86 problems with them. So i tried to use the new freebsd isdn drivers (http://lists.freebsd.org/pipermail/freebsd-isdn/2005-August/000420.html) , i only added a few things in the configuration, (http://home.c2i.net/hselasky/isdn4bsd/privat/temporary/155/Makefile search for help) everything worked except options IPR_VJ, so i deleted it. Then everything compiled fine, but the kernel doesnt even boot. I get KDB: debugger backend: ddb KDB: current backend: ddb and nothing else. Is there any chance to get isdn working on bsd? Isdn on netbsd doesnt even compile, it seems not to work with ppc. How can i boot my old kernel? And how can i get the new kernel booting? Thanks, Andreas Heider From owner-freebsd-ppc@FreeBSD.ORG Sun Nov 6 22:07:37 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 9622716A444 for ; Sun, 6 Nov 2005 22:07:37 +0000 (GMT) (envelope-from arun@sharma-home.net) Received: from eagle.sharma-home.net (cpe-24-221-178-208.ca.sprintbbd.net [24.221.178.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CDE243D46 for ; Sun, 6 Nov 2005 22:07:34 +0000 (GMT) (envelope-from arun@sharma-home.net) Received: from [192.168.1.229] (unknown [192.168.1.229]) by eagle.sharma-home.net (Postfix) with ESMTP id 53CD21F8F1 for ; Sun, 6 Nov 2005 14:07:34 -0800 (PST) Message-ID: <436E7EA6.7020501@sharma-home.net> Date: Sun, 06 Nov 2005 14:07:34 -0800 From: =?UTF-8?B?IkFydW4gU2hhcm1hICjgpIXgpLDgpYHgpKMpIg==?= User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Booting FreeBSD after first boot 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, 06 Nov 2005 22:07:37 -0000 As suggested in the release notes, I used: 0 > boot cd:,\boot\loader hd:xx to boot FreeBSD 6.0 the first time. But I'd like to boot FreeBSD without the CD. Since OF can't boot from UFS2, I created a small (1GB) HFS partition using the Apple disk utility. Now, how do I transfer /boot/loader into that partition, so that I can boot FreeBSD without using a CD? Any other suggestions on how to boot FreeBSD on a Mac? -Arun From owner-freebsd-ppc@FreeBSD.ORG Sun Nov 6 23:14:28 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 A4DEE16A41F for ; Sun, 6 Nov 2005 23:14:28 +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 1927243D49 for ; Sun, 6 Nov 2005 23:14:27 +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 0C23275907C; Mon, 7 Nov 2005 09:14:26 +1000 (EST) Message-ID: <436E8E6D.80008@freebsd.org> Date: Mon, 07 Nov 2005 09:14:53 +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: Graham J Lee References: <436CB6EB.4080402@freebsd.org> <436E442C.4090507@teaching.physics.ox.ac.uk> In-Reply-To: <436E442C.4090507@teaching.physics.ox.ac.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: 7.0-snap available 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, 06 Nov 2005 23:14:28 -0000 Hi Graham, > Unfortunately the Quantum Atlas on my ATTO SCSI card is not recognised, > so I had to rejig things to get data [oh, OK, my iTunes library ;-)] off > of an IDE-attached Maxtor so that I could partition that. Did so (two > partitions in Darwin - disk1s3 for FreeBSD and disk1s5 for swap). Chose > the automagic option in the disklabel editor - this chose to put a few > mounts (/, /usr, /var, swap IIRC) in ad1s3 and didn't work. Went back > to disklabel editor and chose a new layout: > ad1s3 / 18508MB UFS2 Y > ad1s5 swap 1015MB SWAP > > However, I still get errors: > WARNING! Unable to swap to /dev/ad1s5: Device busy I think once the 'auto' option was selected, it isn't possible to roll back to using partitions underneath those slices. I even suspect the same would happen on i386. > so where to go from here...? :) Reboot, do the install again, and go straight to your selected disk layout this time. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Sun Nov 6 23:35:07 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 DEEA216A420 for ; Sun, 6 Nov 2005 23:35:07 +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 49FB043D6B for ; Sun, 6 Nov 2005 23:35:04 +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 8E7A27590CE; Mon, 7 Nov 2005 09:35:02 +1000 (EST) Message-ID: <436E9342.4030103@freebsd.org> Date: Mon, 07 Nov 2005 09:35:30 +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: =?UTF-8?B?IkFydW4gU2hhcm1hICjgpIXgpLDgpYHgpKMpIg==?= References: <436E7EA6.7020501@sharma-home.net> In-Reply-To: <436E7EA6.7020501@sharma-home.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: Booting FreeBSD after first boot 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, 06 Nov 2005 23:35:08 -0000 Hi Arun, > As suggested in the release notes, I used: > 0 > boot cd:,\boot\loader hd:xx > > to boot FreeBSD 6.0 the first time. But I'd like to boot FreeBSD without > the CD. Since OF can't boot from UFS2, I created a small (1GB) HFS > partition using the Apple disk utility. > > Now, how do I transfer /boot/loader into that partition, so that I can > boot FreeBSD without using a CD? I guess I dual-boot all my machines and copy the file into '/' from the CD when in OSX. And then it's 0 > boot hd:loader hd:xx > Any other suggestions on how to boot FreeBSD on a Mac? For an automatic boot, you have to create a CHRP bootscript (an XML text file) that will reside on the HFS partition. There's been a bit of discussion about this on the list e.g. see: http://docs.freebsd.org/cgi/mid.cgi?4352E005.4040203 later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Mon Nov 7 03:16:02 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 AA7B216A41F for ; Mon, 7 Nov 2005 03:16:02 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from hummer.onthenet.com.au (hummer.OntheNet.com.au [203.13.68.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 484B643D48 for ; Mon, 7 Nov 2005 03:16:02 +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 hummer.onthenet.com.au (Postfix) with ESMTP id 7C83E19FB8F; Mon, 7 Nov 2005 13:16:00 +1000 (EST) Message-ID: <436EC70C.1030508@freebsd.org> Date: Mon, 07 Nov 2005 13:16:28 +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: Andreas Heider References: <44a1b7810511061136h73dea73q@mail.gmail.com> In-Reply-To: <44a1b7810511061136h73dea73q@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: How to compile my own kernel? 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, 07 Nov 2005 03:16:02 -0000 Hi Andreas, > today i sucessfully installed the new fbsd 7 on my powermac g4. It was > very easy to install and even boots after installing. Good to hear :) > So i tried to use the new freebsd isdn drivers > (http://lists.freebsd.org/pipermail/freebsd-isdn/2005-August/000420.html) > , i only added a few things in the configuration, > (http://home.c2i.net/hselasky/isdn4bsd/privat/temporary/155/Makefile > search for help) everything worked except options IPR_VJ, so i deleted > it. Then everything compiled fine, but the kernel doesnt even boot. I > get KDB: debugger backend: ddb > KDB: current backend: ddb > and nothing else. > Is there any chance to get isdn working on bsd? Isdn on netbsd doesnt > even compile, it seems not to work with ppc. That's quite possible. It may be endian-related. > How can i boot my old kernel? And how can i get the new kernel booting? First test is to break into the loader and 'boot -v' - that may give more of an idea as to where things are going wrong with the ISDN code. In theory, the way to boot the old kernel is to break into the loader, unload the selected kernel, manually load a different one and boot i.e. ok unload kernel ok load kernel.orig ok boot There have been a few problems reported doing this, so the slightly-complicated workaround is to give the loader a non-existent partition or device: OK > boot hd:loader hd:29 .... (various error messages) ok set currdev hd:xx (where xx is the real partitions) ok load kernel.orig ok boot later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Mon Nov 7 07:27:14 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 EFCA616A41F; Mon, 7 Nov 2005 07:27:14 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6083E43D46; Mon, 7 Nov 2005 07:27:14 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.3/8.13.3) with ESMTP id jA77PxlR003944; Mon, 7 Nov 2005 00:25:59 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Mon, 07 Nov 2005 00:26:26 -0700 (MST) Message-Id: <20051107.002626.123446128.imp@bsdimp.com> To: grehan@freebsd.org From: "M. Warner Losh" In-Reply-To: <436DD693.1060902@freebsd.org> References: <436D34F4.50609@freebsd.org> <20051106.003724.97293247.imp@bsdimp.com> <436DD693.1060902@freebsd.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Mon, 07 Nov 2005 00:25:59 -0700 (MST) Cc: freebsd-ppc@freebsd.org Subject: Re: iMac Bondi 233 and 6.0 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, 07 Nov 2005 07:27:15 -0000 In message: <436DD693.1060902@freebsd.org> Peter Grehan writes: : > Well, 7.0-20051105-current.iso worked, so I'll likely try to install : > from that... I need to tear apart the machine I got and install a : > bigger hard disk first.. : : Note that the bmac ethernet driver isn't supported :( I did some work : on this a long while back (the mii interface works fine), but it's a : complicated beast since it relies on the general-purpose DMA engine : provided in the parent macio ASIC. Hmmm, yummy. I think a coworker had a contract to port the OSX driver to Linux at one point, complete with workarounds for ugly DMA bugs... : I did try an SMC USB ethernet part but that didn't work on first try, : and I didn't spend much time diagnosing it. I have a few different ones. I'll try my SMC 2202USB/ETH and see if it works. : > : The keyboard doesn't work with the debugger that early in the boot : > : since it's USB and hasn't been probed yet. I've thought in the past : > : about modifying syscons so that the PROM could be used until USB is : > : probed, but it's not pretty. However, it does allow 'boot -d' and : > : diagnosis for these types of panics. : > : > Yea. That would be cool. : : I'll dig up some patches. Cool. My 7.0 install is chugging along. I've been getting 114KByte/s on the install. I'll be waiting a while. Maybe I should upgrade the 4G drive that's in there... Warner From owner-freebsd-ppc@FreeBSD.ORG Mon Nov 7 16:10:16 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 6A9AF16A41F for ; Mon, 7 Nov 2005 16:10:16 +0000 (GMT) (envelope-from vincent@delamainit.com) Received: from lax.l-calh-stingco.net (lax.l-calh-stingco.net [70.85.101.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EA3243D45 for ; Mon, 7 Nov 2005 16:10:15 +0000 (GMT) (envelope-from vincent@delamainit.com) Received: from host86-129-75-56.range86-129.btcentralplus.com ([86.129.75.56] helo=[192.168.0.4]) by lax.l-calh-stingco.net with esmtp (Exim 4.52) id 1EZ9ZX-0004aJ-2X for freebsd-ppc@freebsd.org; Mon, 07 Nov 2005 10:10:15 -0600 Mime-Version: 1.0 (Apple Message framework v746.2) Content-Transfer-Encoding: 7bit Message-Id: <1C5C9BD1-EB71-4C6C-B576-F11F0A2AB1B0@delamainit.com> Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-ppc@freebsd.org From: Vincent Roman Date: Mon, 7 Nov 2005 16:10:10 +0000 X-Mailer: Apple Mail (2.746.2) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - lax.l-calh-stingco.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - delamainit.com X-Source: X-Source-Args: X-Source-Dir: Subject: test 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, 07 Nov 2005 16:10:16 -0000 test From owner-freebsd-ppc@FreeBSD.ORG Mon Nov 7 16:11:39 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 1E43F16A420 for ; Mon, 7 Nov 2005 16:11:39 +0000 (GMT) (envelope-from guertin@brucemaudesign.com) Received: from lax.l-calh-stingco.net (lax.l-calh-stingco.net [70.85.101.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4FAC43D73 for ; Mon, 7 Nov 2005 16:11:38 +0000 (GMT) (envelope-from guertin@brucemaudesign.com) Received: from h54.c17.b96.tor.eicat.ca ([66.96.17.54] helo=[192.168.0.105]) by lax.l-calh-stingco.net with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.52) id 1EZ9ar-0004b9-Uj for freebsd-ppc@freebsd.org; Mon, 07 Nov 2005 10:11:38 -0600 Mime-Version: 1.0 (Apple Message framework v746.2) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-ppc@freebsd.org From: Mark Guertin Date: Mon, 7 Nov 2005 11:11:45 -0500 X-Mailer: Apple Mail (2.746.2) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - lax.l-calh-stingco.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - brucemaudesign.com X-Source: X-Source-Args: X-Source-Dir: Subject: test, please ignore 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, 07 Nov 2005 16:11:39 -0000 Sorry for the spam, need to test this as my last handful of list messages bounced and ISP has assured me it's fixed! :) Mark From owner-freebsd-ppc@FreeBSD.ORG Mon Nov 7 17:19:31 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 44D8F16A41F; Mon, 7 Nov 2005 17:19:31 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail5.speedfactory.net [66.23.216.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8099B43D49; Mon, 7 Nov 2005 17:19:30 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.5b3) with ESMTP id 1526904 for multiple; Mon, 07 Nov 2005 12:21:33 -0500 Received: from localhost.baldwin.cx (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id jA7HJQQK011800; Mon, 7 Nov 2005 12:19:26 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-ppc@freebsd.org Date: Mon, 7 Nov 2005 11:41:15 -0500 User-Agent: KMail/1.8.2 References: <436CB6EB.4080402@freebsd.org> <436E442C.4090507@teaching.physics.ox.ac.uk> <436E8E6D.80008@freebsd.org> In-Reply-To: <436E8E6D.80008@freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200511071141.16445.jhb@freebsd.org> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx X-Server: High Performance Mail Server - http://surgemail.com r=1653887525 Cc: Peter Grehan Subject: Re: 7.0-snap available 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, 07 Nov 2005 17:19:31 -0000 On Sunday 06 November 2005 06:14 pm, Peter Grehan wrote: > Hi Graham, > > > Unfortunately the Quantum Atlas on my ATTO SCSI card is not recognised, > > so I had to rejig things to get data [oh, OK, my iTunes library ;-)] off > > of an IDE-attached Maxtor so that I could partition that. Did so (two > > partitions in Darwin - disk1s3 for FreeBSD and disk1s5 for swap). Chose > > the automagic option in the disklabel editor - this chose to put a few > > mounts (/, /usr, /var, swap IIRC) in ad1s3 and didn't work. Went back > > to disklabel editor and chose a new layout: > > ad1s3 / 18508MB UFS2 Y > > ad1s5 swap 1015MB SWAP > > > > However, I still get errors: > > WARNING! Unable to swap to /dev/ad1s5: Device busy > > I think once the 'auto' option was selected, it isn't possible to roll > back to using partitions underneath those slices. I even suspect the > same would happen on i386. No, it isn't. I often do an auto to see what it sets, then delete the selections, bump up /'s size for a test machine (lots of kernels) and then use auto again to setup the other partitions. I've done this for amd64 and sparc64 recently and it worked fine. sysinstall tries to invoke swapon on swap partitions after it newfs's everything and it seems that swapon() is failing, probably because GEOM thinks that something else has ad1s5 open still. Might be a bug in the ppc libdisk bits maybe? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-ppc@FreeBSD.ORG Mon Nov 7 19:00:13 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 8708116A41F; Mon, 7 Nov 2005 19:00:13 +0000 (GMT) (envelope-from leeg@teaching.physics.ox.ac.uk) Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BC4843D46; Mon, 7 Nov 2005 19:00:12 +0000 (GMT) (envelope-from leeg@teaching.physics.ox.ac.uk) Received: from [192.168.1.2] (84-51-133-9.oxford903.adsl.metronet.co.uk [84.51.133.9]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id 2D41C41671D; Mon, 7 Nov 2005 18:59:57 +0000 (GMT) Message-ID: <436FA43A.1040102@teaching.physics.ox.ac.uk> Date: Mon, 07 Nov 2005 19:00:10 +0000 From: Graham J Lee User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: John Baldwin References: <436CB6EB.4080402@freebsd.org> <436E442C.4090507@teaching.physics.ox.ac.uk> <436E8E6D.80008@freebsd.org> <200511071141.16445.jhb@freebsd.org> In-Reply-To: <200511071141.16445.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Peter Grehan , freebsd-ppc@freebsd.org Subject: Re: 7.0-snap available 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, 07 Nov 2005 19:00:13 -0000 John Baldwin wrote: > On Sunday 06 November 2005 06:14 pm, Peter Grehan wrote: > >> >> I think once the 'auto' option was selected, it isn't possible to roll >>back to using partitions underneath those slices. I even suspect the >>same would happen on i386. > > > No, it isn't. I often do an auto to see what it sets, then delete the > selections, bump up /'s size for a test machine (lots of kernels) and then > use auto again to setup the other partitions. I've done this for amd64 and > sparc64 recently and it worked fine. sysinstall tries to invoke swapon on > swap partitions after it newfs's everything and it seems that swapon() is > failing, probably because GEOM thinks that something else has ad1s5 open > still. Might be a bug in the ppc libdisk bits maybe? > Actually, Peter's suggestion to just go ahead and use my custom scheme worked. I've never had the failure he described on x86 though - I always proceed by selecting the auto options then tweaking to suit. But it's now unpacking base (into my monolithic / slice :-)), I'll post a dmesg to my website when I get the installation done. Cheers, Graham. -- Graham Lee UNIX Systems Manager, Oxford Physics Practical Course http://users.ox.ac.uk/~wadh1342 From owner-freebsd-ppc@FreeBSD.ORG Mon Nov 7 19:44:13 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 E759C16A421 for ; Mon, 7 Nov 2005 19:44:13 +0000 (GMT) (envelope-from leeg@teaching.physics.ox.ac.uk) Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA89743D66 for ; Mon, 7 Nov 2005 19:44:09 +0000 (GMT) (envelope-from leeg@teaching.physics.ox.ac.uk) Received: from [192.168.1.2] (84-51-133-9.oxford903.adsl.metronet.co.uk [84.51.133.9]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id 8B154407293 for ; Mon, 7 Nov 2005 19:43:53 +0000 (GMT) Message-ID: <436FAE87.6070800@teaching.physics.ox.ac.uk> Date: Mon, 07 Nov 2005 19:44:07 +0000 From: Graham J Lee User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Success with 7.0-SNAP on sawtooth G4 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, 07 Nov 2005 19:44:14 -0000 http://users.ox.ac.uk/~wadh1342/dmesg-sawtooth some search-friendly terms for the archives: this is a PowerMac G4 (AGP Graphics) "sawtooth" 450MHz. For those interested, the FreeBSD root is on ad1 (the ATA0 slave device) and the open firmware boot invocation is: boot cd:,\boot\loader ultra1:3 Thanks to everyone (esp. Peter) for helping me boot this system :-). It looks like my ATTO card is recognised but there's no driver for it. Now to see what I can do to pay you all back... Cheers, Graham. -- Graham Lee UNIX Systems Manager, Oxford Physics Practical Course http://users.ox.ac.uk/~wadh1342 From owner-freebsd-ppc@FreeBSD.ORG Mon Nov 7 21:54:12 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 9700216A420; Mon, 7 Nov 2005 21:54:12 +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 B416D43D83; Mon, 7 Nov 2005 21:53:57 +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 7CC0F7590A4; Tue, 8 Nov 2005 07:53:56 +1000 (EST) Message-ID: <436FCD0F.2010704@freebsd.org> Date: Tue, 08 Nov 2005 07:54:23 +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: John Baldwin References: <436CB6EB.4080402@freebsd.org> <436E442C.4090507@teaching.physics.ox.ac.uk> <436E8E6D.80008@freebsd.org> <200511071141.16445.jhb@freebsd.org> In-Reply-To: <200511071141.16445.jhb@freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: 7.0-snap available 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, 07 Nov 2005 21:54:12 -0000 > >I even suspect the same would happen on i386. > > No, it isn't. OK, I'm happy to stand corrected. > probably because GEOM thinks that something else has ad1s5 open > still. Might be a bug in the ppc libdisk bits maybe? More likely the GEOM apple partition code. Perhaps a reference count being held when it shouldn't. But it's all moot until the loader has support for a partitioning scheme - 'auto' will be disabled. So John when are you going to install on your Powerbook ? :) later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Mon Nov 7 22:44:40 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 8121816A42A; Mon, 7 Nov 2005 22:44:40 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail5.speedfactory.net [66.23.216.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 424E343DA0; Mon, 7 Nov 2005 22:44:00 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.5b3) with ESMTP id 1544490 for multiple; Mon, 07 Nov 2005 17:46:04 -0500 Received: from localhost.baldwin.cx (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id jA7MhuH4019473; Mon, 7 Nov 2005 17:43:58 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Peter Grehan Date: Mon, 7 Nov 2005 17:43:56 -0500 User-Agent: KMail/1.8.2 References: <436CB6EB.4080402@freebsd.org> <200511071141.16445.jhb@freebsd.org> <436FCD0F.2010704@freebsd.org> In-Reply-To: <436FCD0F.2010704@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511071743.57482.jhb@freebsd.org> X-Spam-Status: No, score=-2.8 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx X-Server: High Performance Mail Server - http://surgemail.com r=1653887525 Cc: freebsd-ppc@freebsd.org Subject: Re: 7.0-snap available 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, 07 Nov 2005 22:44:40 -0000 On Monday 07 November 2005 04:54 pm, Peter Grehan wrote: > > >I even suspect the same would happen on i386. > > > > No, it isn't. > > OK, I'm happy to stand corrected. > > > probably because GEOM thinks that something else has ad1s5 open > > still. Might be a bug in the ppc libdisk bits maybe? > > More likely the GEOM apple partition code. Perhaps a reference count > being held when it shouldn't. But it's all moot until the loader has > support for a partitioning scheme - 'auto' will be disabled. > > So John when are you going to install on your Powerbook ? :) Heh, when I can figure out a way to partition the disk up. I guess I'd need to reinstall tiger to layout all the partitions, etc. Having the built-in keyboard work would be an added incentive. :) It sure gets better battery life than my current freebsd luggable. (45 minutes without wireless if I'm lucky, more like 15 with wireless) -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 9 22:15:40 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 52BE916A41F; Wed, 9 Nov 2005 22:15:40 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from smtp.xbsd.org (xbsd.org [82.233.2.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 530D643D60; Wed, 9 Nov 2005 22:15:34 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 2264511C62; Wed, 9 Nov 2005 23:15:33 +0100 (CET) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20709-07; Wed, 9 Nov 2005 23:15:26 +0100 (CET) Received: from innercity.xbsd.org (innercity.xbsd.org [192.168.42.3]) by smtp.xbsd.org (Postfix) with ESMTP id D5C7A11BF3; Wed, 9 Nov 2005 23:15:25 +0100 (CET) From: Florent Thoumie To: John Baldwin In-Reply-To: <200511071743.57482.jhb@freebsd.org> References: <436CB6EB.4080402@freebsd.org> <200511071141.16445.jhb@freebsd.org> <436FCD0F.2010704@freebsd.org> <200511071743.57482.jhb@freebsd.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-9cN1+2CZnP7sXD/oghI0" Date: Wed, 09 Nov 2005 23:15:21 +0100 Message-Id: <1131574521.28209.2.camel@innercity.xbsd.org> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 FreeBSD GNOME Team Port X-Virus-Scanned: amavisd-new at xbsd.org Cc: Peter Grehan , freebsd-ppc@freebsd.org Subject: Re: 7.0-snap available 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, 09 Nov 2005 22:15:40 -0000 --=-9cN1+2CZnP7sXD/oghI0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2005-11-07 at 17:43 -0500, John Baldwin wrote: > On Monday 07 November 2005 04:54 pm, Peter Grehan wrote: > > > >I even suspect the same would happen on i386. > > > > > > No, it isn't. > > > > OK, I'm happy to stand corrected. > > > > > probably because GEOM thinks that something else has ad1s5 open > > > still. Might be a bug in the ppc libdisk bits maybe? > > > > More likely the GEOM apple partition code. Perhaps a reference count > > being held when it shouldn't. But it's all moot until the loader has > > support for a partitioning scheme - 'auto' will be disabled. > > > > So John when are you going to install on your Powerbook ? :) >=20 > Heh, when I can figure out a way to partition the disk up. I guess I'd n= eed=20 > to reinstall tiger to layout all the partitions, etc. Having the built-i= n=20 > keyboard work would be an added incentive. :) It sure gets better batter= y=20 > life than my current freebsd luggable. (45 minutes without wireless if I= 'm=20 > lucky, more like 15 with wireless) I'd be interested if you find a way to shrink your Tiger=20 partition. I've been pondering reinstalling Tiger for weeks but=20 if I could find something else, that could save me from=20 (useless) backups. Anyway, I thought that latest Powerbook's keyboards were=20 supported (as I advertised in platforms/ppc.html :)) --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer --=-9cN1+2CZnP7sXD/oghI0 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDcnT5MxEkbVFH3PQRAltOAJ4hMz6H5re7DbAmpgnTvXPwDhCVqQCcDBM4 dSRKzZG5vFZAbxEOyAyOKKw= =7IGi -----END PGP SIGNATURE----- --=-9cN1+2CZnP7sXD/oghI0-- From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 9 22:26:34 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 3EA7916A41F; Wed, 9 Nov 2005 22:26:34 +0000 (GMT) (envelope-from jamestoy@comcast.net) Received: from rwcrmhc12.comcast.net (rwcrmhc14.comcast.net [204.127.198.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81EFE43D73; Wed, 9 Nov 2005 22:26:31 +0000 (GMT) (envelope-from jamestoy@comcast.net) Received: from [10.0.0.113] (c-65-96-214-226.hsd1.ma.comcast.net[65.96.214.226]) by comcast.net (rwcrmhc14) with SMTP id <2005110922262901400p4p7fe>; Wed, 9 Nov 2005 22:26:30 +0000 User-Agent: Microsoft-Entourage/11.2.0.050811 Date: Wed, 09 Nov 2005 17:26:28 -0500 From: James Toy To: Florent Thoumie , John Baldwin Message-ID: Thread-Topic: 7.0-snap available Thread-Index: AcXlfKBr3uCVNVFvEdqZxgADk72Tvg== In-Reply-To: <1131574521.28209.2.camel@innercity.xbsd.org> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Cc: Peter Grehan , freebsd-ppc@freebsd.org Subject: Re: 7.0-snap available 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, 09 Nov 2005 22:26:34 -0000 On 9/11/05 17-15, "Florent Thoumie" wrote: > On Mon, 2005-11-07 at 17:43 -0500, John Baldwin wrote: >> On Monday 07 November 2005 04:54 pm, Peter Grehan wrote: >>>>> I even suspect the same would happen on i386. >>>> >>>> No, it isn't. >>> >>> OK, I'm happy to stand corrected. >>> >>>> probably because GEOM thinks that something else has ad1s5 open >>>> still. Might be a bug in the ppc libdisk bits maybe? >>> >>> More likely the GEOM apple partition code. Perhaps a reference count >>> being held when it shouldn't. But it's all moot until the loader has >>> support for a partitioning scheme - 'auto' will be disabled. >>> >>> So John when are you going to install on your Powerbook ? :) >> >> Heh, when I can figure out a way to partition the disk up. I guess I'd need >> to reinstall tiger to layout all the partitions, etc. Having the built-in >> keyboard work would be an added incentive. :) It sure gets better battery >> life than my current freebsd luggable. (45 minutes without wireless if I'm >> lucky, more like 15 with wireless) > > I'd be interested if you find a way to shrink your Tiger > partition. I've been pondering reinstalling Tiger for weeks but > if I could find something else, that could save me from > (useless) backups. > > Anyway, I thought that latest Powerbook's keyboards were > supported (as I advertised in platforms/ppc.html :)) >> there are such packages that can be install into the actual mac osx system to shink parts...google for it =)...but I know that they exist :)...also an option for people would be CCC carbon copy cloner...which is something similar to dd in fbsd...good luck -jt From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 10 04:13:10 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 145E416A41F; Thu, 10 Nov 2005 04:13:10 +0000 (GMT) (envelope-from arun@sharma-home.net) Received: from eagle.sharma-home.net (cpe-24-221-178-208.ca.sprintbbd.net [24.221.178.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id A335E43D46; Thu, 10 Nov 2005 04:13:07 +0000 (GMT) (envelope-from arun@sharma-home.net) Received: from [192.168.1.234] (unknown [192.168.1.234]) by eagle.sharma-home.net (Postfix) with ESMTP id E313E1F8F3; Wed, 9 Nov 2005 20:13:06 -0800 (PST) Message-ID: <4372C7A7.70203@sharma-home.net> Date: Wed, 09 Nov 2005 20:08:07 -0800 From: Arun Sharma User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Grehan References: <436E7EA6.7020501@sharma-home.net> <436E9342.4030103@freebsd.org> In-Reply-To: <436E9342.4030103@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: Booting FreeBSD after first boot 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: Thu, 10 Nov 2005 04:13:10 -0000 Peter Grehan wrote: > Hi Arun, > >> As suggested in the release notes, I used: >> 0 > boot cd:,\boot\loader hd:xx >> >> to boot FreeBSD 6.0 the first time. But I'd like to boot FreeBSD >> without the CD. Since OF can't boot from UFS2, I created a small (1GB) >> HFS partition using the Apple disk utility. >> >> Now, how do I transfer /boot/loader into that partition, so that I can >> boot FreeBSD without using a CD? > > > I guess I dual-boot all my machines and copy the file into '/' from the > CD when in OSX. I was able to use hfsutils (hformat + hcopy) to achieve this. > For an automatic boot, you have to create a CHRP bootscript (an XML > text file) that will reside on the HFS partition. There's been a bit of > discussion about this on the list e.g. see: > > http://docs.freebsd.org/cgi/mid.cgi?4352E005.4040203 Thanks for the pointer. I'm able to use: " screen" output boot hd:9,\loader hd:3 to autoboot. But I'd like to be able to control the boot loader over the ethernet. So I used: " screen" output " enet:telnet,192.168.x.y " io eval boot hd:9,\loader hd:3 I was able to talk to OF over the network, but couldn't get it to boot. I don't speak FORTH. So if someone can tell me what I'm doing wrong and tell me the magic script that: a) Allows me to pick a kernel over the ethernet b) autoboot to FreeBSD I'd be very grateful. Also: - Why is WITNESS enabled on UP kernels? - Does anyone have gdb working? I also built a few ports over the weekend (apache2/mysql/wordpress etc) if anyone is interested. -Arun From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 10 04:21:28 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 ABE5516A41F; Thu, 10 Nov 2005 04:21:28 +0000 (GMT) (envelope-from james.toy@bc.edu) Received: from bc.edu (mrlbva.bc.edu [136.167.2.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2625943D45; Thu, 10 Nov 2005 04:21:28 +0000 (GMT) (envelope-from james.toy@bc.edu) Received: from [65.96.214.226] (account toyj@mail.bc.edu HELO [10.0.0.113]) by fe1.bc.edu (CommuniGate Pro SMTP 4.3.6) with ESMTPA id 116979436; Wed, 09 Nov 2005 23:21:26 -0500 User-Agent: Microsoft-Entourage/11.2.0.050811 Date: Wed, 09 Nov 2005 23:21:20 -0500 From: jt To: Arun Sharma , Peter Grehan Message-ID: Thread-Topic: Booting FreeBSD after first boot Thread-Index: AcXlrjNwchjp5lGhEdqZxgADk72Tvg== In-Reply-To: <4372C7A7.70203@sharma-home.net> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: Booting FreeBSD after first boot 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: Thu, 10 Nov 2005 04:21:28 -0000 Arun, WITNESS is a debugging piece...its kernel 7.0...that as well as #options KDB # Enable kernel debugger support. #options DDB # Support DDB. #options GDB # Support remote GDB. #options INVARIANTS # Enable calls of extra sanity checking #options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS #options WITNESS # Enable checks to detect deadlocks and cycles #options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed Invariant as you can see... Stuff like that...standard...thats what was built on my x86 box...so I had to comment it out for my compilation box...anyways..hope that helps. GG bed...i'm sure someone else has that script -jt On 9/11/05 23-8, "Arun Sharma" wrote: > Peter Grehan wrote: >> Hi Arun, >> >>> As suggested in the release notes, I used: >>> 0 > boot cd:,\boot\loader hd:xx >>> >>> to boot FreeBSD 6.0 the first time. But I'd like to boot FreeBSD >>> without the CD. Since OF can't boot from UFS2, I created a small (1GB) >>> HFS partition using the Apple disk utility. >>> >>> Now, how do I transfer /boot/loader into that partition, so that I can >>> boot FreeBSD without using a CD? >> >> >> I guess I dual-boot all my machines and copy the file into '/' from the >> CD when in OSX. > > I was able to use hfsutils (hformat + hcopy) to achieve this. > >> For an automatic boot, you have to create a CHRP bootscript (an XML >> text file) that will reside on the HFS partition. There's been a bit of >> discussion about this on the list e.g. see: >> >> http://docs.freebsd.org/cgi/mid.cgi?4352E005.4040203 > > Thanks for the pointer. I'm able to use: > > > " screen" output > boot hd:9,\loader hd:3 > > > to autoboot. But I'd like to be able to control the boot loader over the > ethernet. So I used: > > > " screen" output > " enet:telnet,192.168.x.y " io eval > boot hd:9,\loader hd:3 > > > I was able to talk to OF over the network, but couldn't get it to boot. > I don't speak FORTH. So if someone can tell me what I'm doing wrong and > tell me the magic script that: > > a) Allows me to pick a kernel over the ethernet > b) autoboot to FreeBSD > > I'd be very grateful. Also: > > - Why is WITNESS enabled on UP kernels? > - Does anyone have gdb working? > > I also built a few ports over the weekend (apache2/mysql/wordpress etc) > if anyone is interested. > > -Arun > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 10 04:37:46 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 3B61D16A447 for ; Thu, 10 Nov 2005 04:37:46 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from hummer.onthenet.com.au (hummer.onthenet.com.au [203.13.68.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E6E543D45 for ; Thu, 10 Nov 2005 04:37:45 +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 hummer.onthenet.com.au (Postfix) with ESMTP id 9768619FB5A; Thu, 10 Nov 2005 14:37:42 +1000 (EST) Message-ID: <4372CEB0.30309@freebsd.org> Date: Thu, 10 Nov 2005 14:38:08 +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: Arun Sharma References: <436E7EA6.7020501@sharma-home.net> <436E9342.4030103@freebsd.org> <4372C7A7.70203@sharma-home.net> In-Reply-To: <4372C7A7.70203@sharma-home.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: Booting FreeBSD after first boot 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: Thu, 10 Nov 2005 04:37:46 -0000 Hi Arun, >> I guess I dual-boot all my machines and copy the file into '/' from >> the CD when in OSX. > > I was able to use hfsutils (hformat + hcopy) to achieve this. Good to hear ! > to autoboot. But I'd like to be able to control the boot loader over the > ethernet. So I used: > > > " screen" output > " enet:telnet,192.168.x.y " io eval > boot hd:9,\loader hd:3 > > > I was able to talk to OF over the network, but couldn't get it to boot. > I don't speak FORTH. So if someone can tell me what I'm doing wrong and > tell me the magic script that: > > a) Allows me to pick a kernel over the ethernet > b) autoboot to FreeBSD I think with the above script you are setting input *and* output to go over the telnet session - this would probably change the definition of /chosen in OpenFirmware, and FreeBSD won't locate a console if /chosen isn't a graphics head or serial port. I suppose it's possible, but it might be a large slab of Forth, which I also don't speak :( > - Why is WITNESS enabled on UP kernels? I've left all the main debug on in the GENERIC kernel until the system is rock-solid. It's been useful for picking up lock-order reversals: there may still be some there that are in paths that haven't been exercised yet. > - Does anyone have gdb working? A few people have worked on this in the past, and have sent me some patches. Yet to integrate - I can send them to you if you're interested. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Sat Nov 12 10:30: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 B773F16A422 for ; Sat, 12 Nov 2005 10:30:22 +0000 (GMT) (envelope-from christopher.illies@ki.se) Received: from humle.it.ki.se (humle.it.ki.se [130.237.101.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAEE243D60 for ; Sat, 12 Nov 2005 10:30:19 +0000 (GMT) (envelope-from christopher.illies@ki.se) Received: from Klabautermann.ks.se (gate2.ks.se [193.10.63.101]) by humle.it.ki.se (8.13.1/8.13.1) with ESMTP id jACAUGnt022487 for ; Sat, 12 Nov 2005 11:30:17 +0100 (MET) Received: by Klabautermann.ks.se (Postfix, from userid 1001) id A706EC0E5; Sat, 12 Nov 2005 11:33:16 +0100 (CET) Date: Sat, 12 Nov 2005 11:33:16 +0100 From: Christopher Illies To: freebsd-ppc@freebsd.org Message-ID: <20051112103316.GA59950@Klabautermann.ks.se> Mail-Followup-To: Christopher Illies , freebsd-ppc@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: 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 10:30:22 -0000 I successfully installed FreBSD7.0-snap on my 12inch iBook G4. It runs very nicely on console mode (using a USB keyboard). Ethernet (gem0) now also works, which did not work under 6.0. Nice work, thank you! 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 (?). 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. 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? 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? TIA, Christopher 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. From owner-freebsd-ppc@FreeBSD.ORG Sat Nov 12 12:36:10 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 6655916A41F; Sat, 12 Nov 2005 12:36:10 +0000 (GMT) (envelope-from christopher.illies@ki.se) Received: from humle.it.ki.se (humle.it.ki.se [130.237.101.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id A57AB43D45; Sat, 12 Nov 2005 12:36:09 +0000 (GMT) (envelope-from christopher.illies@ki.se) Received: from Klabautermann.ks.se (gate2.ks.se [193.10.63.101]) by humle.it.ki.se (8.13.1/8.13.1) with ESMTP id jACCa6hC023235; Sat, 12 Nov 2005 13:36:07 +0100 (MET) Received: by Klabautermann.ks.se (Postfix, from userid 1001) id CA2F5C0E5; Sat, 12 Nov 2005 13:39:08 +0100 (CET) Date: Sat, 12 Nov 2005 13:39:08 +0100 From: Christopher Illies To: Peter Grehan Message-ID: <20051112123908.GC59950@Klabautermann.ks.se> Mail-Followup-To: Christopher Illies , Peter Grehan , freebsd-ppc@freebsd.org References: <20051112103316.GA59950@Klabautermann.ks.se> <4375CE69.3040007@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4375CE69.3040007@freebsd.org> User-Agent: Mutt/1.4.2.1i 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 12:36:10 -0000 Thanks a lot Peter! I will give it a try and see how far I get with Xorg. Christopher On Sat, Nov 12, 2005 at 09:13:45PM +1000, Peter Grehan wrote: > 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. From owner-freebsd-ppc@FreeBSD.ORG Sat Nov 12 18:15:06 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 DA50A16A41F for ; Sat, 12 Nov 2005 18:15:06 +0000 (GMT) (envelope-from bkelly@vadev.org) Received: from mail23.sea5.speakeasy.net (mail23.sea5.speakeasy.net [69.17.117.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 922E843D45 for ; Sat, 12 Nov 2005 18:15:06 +0000 (GMT) (envelope-from bkelly@vadev.org) Received: (qmail 31733 invoked from network); 12 Nov 2005 18:15:05 -0000 Received: from vadev.org (HELO [192.168.1.101]) (desdicardo@[66.92.166.151]) (envelope-sender ) by mail23.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 12 Nov 2005 18:15:05 -0000 Message-ID: <43763127.7020902@vadev.org> Date: Sat, 12 Nov 2005 13:15:03 -0500 From: Ben Kelly User-Agent: Mozilla Thunderbird 1.0.7 (Macintosh/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Grehan References: <20051112103316.GA59950@Klabautermann.ks.se> <4375CE69.3040007@freebsd.org> In-Reply-To: <4375CE69.3040007@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; 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 18:15:07 -0000 Peter Grehan wrote: > 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 You could also try portsnap(8), which I believe is now in the base system. I think this will set you up with a fresh ports tree and also provide a fast way to update it as well. To start a new ports tree the commands are: portsnap fetch portsnap extract Just a thought. - Ben