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.