Date: Mon, 22 May 2000 15:49:20 -0600 From: "Kenneth D. Merry" <ken@kdm.org> To: alpha@FreeBSD.ORG Cc: phk@FreeBSD.ORG Subject: netbooting broken (for me at least) Message-ID: <20000522154920.A9453@panzer.kdm.org>
next in thread | raw e-mail | index | archive | help
I've got a DEC 3000/300 box that netboots off another alpha.
PHK's recent change to bootp_subr broke netbooting for me:
----------------------------
revision 1.21
date: 2000/05/07 14:29:19; author: phk; state: Exp; lines: +18 -6
Include a RFC 1533 "Maximum DHCP Message Size" option in our request.
ISC DHCP will limit the reply length to 64 bytes for bootp replies
unless we explicitly tell it we can do more. We tell it that we can do
1200 bytes.
----------------------------
I've got the following entry in /etc/bootptab:
modena.plutotech.com: \
:ht=ethernet:ha=08002bbb4eb3: \
:ip=206.168.67.197:sm=255.255.255.128: \
:sa=206.168.67.172:bf=netboot:rp="206.168.67.172:/b/modena/": \
:vm=rfc10248:
And the following in /etc/inetd.conf:
tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /b/modena /
bootps dgram udp wait root /usr/libexec/bootpd bootpd
The relevant kernel config options are:
options BOOTP # Use BOOTP to obtain IP address/hostname
options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info
options BOOTP_NFSV3 # Use NFS v3 to NFS mount root
options BOOTP_COMPAT # Workaround for broken bootp daemons.
options BOOTP_WIRED_TO=le0 # Use interface fxp0 for BOOTP
options NFS_ROOT #NFS usable as root device
I get these messages in /var/log/messages on the bootp server:
May 22 15:40:49 subway bootpd[9630]: modena.plutotech.com: No room for "rp" option
May 22 15:40:49 subway bootpd[9630]: modena.plutotech.com: No room for "(end)" option
May 22 15:40:49 subway bootpd[9630]: sendto: Invalid argument
May 22 15:40:50 subway bootpd[9630]: modena.plutotech.com: No room for "rp" option
May 22 15:40:50 subway bootpd[9630]: modena.plutotech.com: No room for "(end)" option
May 22 15:40:50 subway bootpd[9630]: sendto: Invalid argument
May 22 15:40:52 subway bootpd[9630]: modena.plutotech.com: No room for "rp" option
May 22 15:40:52 subway bootpd[9630]: modena.plutotech.com: No room for "(end)" option
May 22 15:40:52 subway bootpd[9630]: sendto: Invalid argument
And the following repeats on the console of the machine that is trying to
netboot:
BOOTP timeout for server 0xffffffff
tcpdump reports the following bootp packets:
15:42:05.547967 0.0.0.0.68 > 255.255.255.255.67: xid:0xffffff01 secs:75 flags:0x8000 file ""[|bootp]
15:42:10.597649 0.0.0.0.68 > 255.255.255.255.67: xid:0xffffff01 secs:80 flags:0x8000 file ""[|bootp]
15:42:15.647403 0.0.0.0.68 > 255.255.255.255.67: xid:0xffffff01 secs:85 flags:0x8000 file ""[|bootp]
Backing bootp_subr.c to rev 1.20 (the one before PHK's change) fixes
netbooting for me.
Should I change something in my configuration to get it to work again, or
is there something wrong with the change?
Thanks,
Ken
--
Kenneth Merry
ken@kdm.org
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000522154920.A9453>
