Subject: Re: 4.99.23 fails to boot on sparc64
To: None <current-users@NetBSD.org>
From: David Young <dyoung@pobox.com>
List: current-users
Date: 07/14/2007 15:27:47
On Sat, Jul 14, 2007 at 08:13:33PM +0200, Erik Bertelsen wrote:
> 2007/7/12, Martin Husemann <martin@duskware.de>:
> >On Thu, Jul 12, 2007 at 04:05:36PM +0200, Erik Bertelsen wrote:
> >> NetBSD IEEE 1275 Bootblock
> >> >>NetBSD/sparc64 OpenFirmware Boot, Revision 1.9
> >
> >Oh, and could you also try a newer ofwboot? Just cp /usr/mdec/ofwboot /
> >(the change to ofwboot should be unrelated)
> >
> >Martin
> >
> 
> Updating /ofwboot did not help in any visible way.
> 
> Latest experiment:
> 
> Rebooting with command: boot netbsd.u8
> Boot device: /sbus/SUNW,fas@e,8800000/sd@0,0  File and args: netbsd.u8
> NetBSD IEEE 1275 Bootblock
> >>NetBSD/sparc64 OpenFirmware Boot, Revision 1.10
> >>(erik@unidata.h.erikb.net, Sun Jul  8 02:00:04 CEST 2007)
> read header short
> Failed to load 'netbsd.u8'.
> 
> Boot:
> 
> 
> Updating sources today and I can (still) boot a completely rebuilt
> GENERIC kernel, but a kernel built of GENERIC minus the floppy disk
> driver fails (netbsd.u8 above).

I believe I have seen a similar failure on i386 when the disklabel and the
FFS superblock disagreed about the size of blocks and fragments, and/or
when the kernel grew big enough to require a 2nd or 3rd level of inode
indirection.  Are the kernels both on a FFS filesystem?  How big are they?
What does disklabel(8) say about the disk where the kernels reside?

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933 ext 24