Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2005 14:38:08 +1000
From:      Peter Grehan <grehan@freebsd.org>
To:        Arun Sharma <arun@sharma-home.net>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: Booting FreeBSD after first boot
Message-ID:  <4372CEB0.30309@freebsd.org>
In-Reply-To: <4372C7A7.70203@sharma-home.net>
References:  <436E7EA6.7020501@sharma-home.net> <436E9342.4030103@freebsd.org> <4372C7A7.70203@sharma-home.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
> 
> <BOOT-SCRIPT>
> " screen" output
> " enet:telnet,192.168.x.y " io eval
> boot hd:9,\loader hd:3
> </BOOT-SCRIPT>
> 
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4372CEB0.30309>