Subject: Re: Can't boot new kernel built with toolchain in 2.0 ISO (sparc64)
To: FatBoy <fatboy@homesys.org>
From: Eduardo Horvath <eeh@NetBSD.org>
List: port-sparc64
Date: 02/07/2005 21:31:27
On Mon, Feb 07, 2005 at 11:15:36AM -0600, FatBoy wrote:

>  Rebooting with command: boot netbsd.new -s
>  Boot device: /pci@1f,0/pci@1,1/ide@3/disk@0,0:a  File and args: 
> netbsd.new -s
>  NetBSD IEEE 1275 Bootblock
>  ..>> NetBSD/sparc64 OpenFirmware Boot, Revision 1.7
>  >> (builds@build, Thu Dec  2 02:33:41 UTC 2004)
>  loadfile: reading header
>  read header: Unknown error: code 0
>  Program terminated
>  ok

It's managed to load both the boot block and ofwboot.  However,
ofwboot is unable to read in the ELF header.  It's definitely
a filesystem issue.  You should check that there's a /netbsd 
file and it's not zero length or a symlink.

> Some more details:
>  toolchain version: gcc 3.3.3

It would be good to use the in-tree compiler, otherwise all bets are off.

Eduardo