Subject: port-sparc64/26217: unable to boot alternate kernel names via ofwboot
To: None <>
From: Chris Ross <>
List: netbsd-bugs
Date: 07/09/2004 17:56:24
>Number:         26217
>Category:       port-sparc64
>Synopsis:       ofwboot doesn't seem able to load anything other than "netbsd"
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 09 21:59:00 UTC 2004
>Originator:     Chris Ross
>Release:        NetBSD 2.0G (20040708)
System: NetBSD host 2.0G NetBSD 2.0G (GENERIC) #0: Fri Jul 9 10:09:19 EDT 2004 cross@host:/data/NetBSD/obj.sparc64/data/NetBSD/src/sys/arch/sparc64/compile/GENERIC sparc64
Architecture: sparc64
Machine: sparc64
	When using ofwboot (loaded by tftp) to diskless boot a sparc64,
it appears unable to load the list of valid kernel names it's documented
to try.  It tries only netbsd, unless the OFW boot command lists another
name, in which it tries only that name.  It loops through the multiple
kernel names (netbsd, netbsd.gz, onetbsd, etc etc), but each attempt
only really tries to load the one name (defaulting to "netbsd").
	set up diskless boot of a sparc or sparc64, and put a netbsd.gz
in the NFS root filesystem.  The machine will fail to boot.
	Unknown.  devopen() in ../arch/sparc/stand/ofwboot/ofdev.c seems
to always be called with a single value for it's second ('name') argument.
This is the problem.  I'm not sure where devopen() is called...