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
>Organization:
>Environment:
does not apply - it's a laptop pxebooting - no prompt to issue 'uname -a' in
>Description:
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 "example.org";
default-lease-time 600;
max-lease-time 7200;
authoritative;
log-facility local7;

next-server 10.254.239.1;
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 10.152.187.0 netmask 255.255.255.0 {
}

subnet 10.254.239.0 netmask 255.255.255.224 {
  range 10.254.239.10 10.254.239.20;
}

--- 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
timeout=10
--- boot.cfg end ---

>How-To-Repeat:
any PXE boot from laptop/pc towards mentioned dhcp/tftp server immediately 
jumps to loading the netbsd kernel skipping the boot menu
>Fix:
not known



Home | Main Index | Thread Index | Old Index