Subject: port-sparc64/26124: No DHCP support in sparc64 kernels
To: None <gnats-bugs@gnats.NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: netbsd-bugs
Date: 06/30/2004 15:29:00
>Number:         26124
>Category:       port-sparc64
>Synopsis:       No DHCP support in sparc64 kernels
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 30 13:30:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 2.0F (and 2.0_BETA)
>Organization:
Matthias Scheler                                  http://scheler.de/~matthias/
>Environment:
NetBSD sheridan 2.0F NetBSD 2.0F (GENERIC) #0: Sun Jun 27 17:06:58 CEST 2004  tron@colwyn.zhadum.de:/export/scratch/tron/build.19670a/obj/sys/arch/sparc64/compile/GENERIC sparc64
Architecture: sparc64
Machine: sparc64
>Description:
NetBSD-sparc64 kernels don't support DHCP during network boots. Here is
an example session:

{0} ok boot net:dhcp
Boot device: /pci@1f,4000/network@1,1:dhcp  File and args: 
>How-To-Repeat:
Enter "boot net:dhcp" at the OFW prompt.

>Fix:
Add DHCP support, NetBSD-sparc has it.
>Release-Note:
>Audit-Trail:
>Unformatted:
 >> NetBSD/sparc64 OpenFirmware Boot, Revision 1.8
 >> (tron@colwyn.zhadum.de, Sun Jun 27 15:58:35 CEST 2004)
 bootp: no reply
 Using BOOTPARAMS protocol: ip address: 192.168.25.60, hostname: sheridan.zhadum.de
 root addr=213.146.107.2 path=/export/scratch/netinstall/netbsd/sparc64
 loadfile: reading header
 elf64_exec: Booting /pci@1f,4000/network@1,1:dhcp/netbsd
 
 Enabling BOOTP support in the DHCP server doesn't fix the problem because
 the location of root filesystem isn't sent back in the BOOTP reply (at
 least in my setup).