Subject: port-sparc64/26217: unable to boot alternate kernel names via ofwboot
To: None <gnats-bugs@gnats.NetBSD.org>
From: Chris Ross <firstname.lastname@example.org>
Date: 07/09/2004 17:56:24
>Synopsis: ofwboot doesn't seem able to load anything other than "netbsd"
>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
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...