NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/43035: missing dhcp request for boot.cfg from pxeboot_ia32.bin

>Number:         43035
>Category:       kern
>Synopsis:       missing dhcp request for boot.cfg from pxeboot_ia32.bin
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 21 22:45:00 +0000 2010
>Originator:     Mads Johansen
>Release:        NetBSD-5.0.2
does not apply - it's a laptop pxebooting - no prompt to issue 'uname -a' in
According to man(8) on pxeboot, pxeboot_ai32.bin should do dhcp request for 
boot.cfg file.

It appears not to do so when pxe booting against a server with the following 
setup - in particular the dhcpd trace does not show any such request while the 
netbsd request shows in the trace, and the kernel is indeed loaded right away 
without a boot menu.

1) dhcpd server:

isc-dhcpd-4.1.1 running of an Absolute-13.1.0 (slackware derivate)

--- dhcpd.conf begin ---
option domain-name "";
default-lease-time 600;
max-lease-time 7200;
log-facility local7;

filename "g4u/pxeboot_ia32.bin";
if substring (option vendor-class-identifier, 0 , 17) = "NetBSD:i386:libsa" {
  if filename = "boot" {
    filename = "tftp:g4u/boot.cfg";
  } else if filename = "netbsd" {
    filename = "tftp:g4u/netbsd";

subnet netmask {

subnet netmask {

--- dhcpd.conf end ---

2) boot config

--- boot.cfg begin ---
banner=disk clones with g4u
menu=Start g4u:load tftp:g4u/miniroot.kmod; boot tftp:g4u/netbsd
--- boot.cfg end ---

any PXE boot from laptop/pc towards mentioned dhcp/tftp server immediately 
jumps to loading the netbsd kernel skipping the boot menu
not known

Home | Main Index | Thread Index | Old Index