Subject: Netbooting a DECStation 5000/25 from Linux.
To: Pmax Netbsd Mailing List <port-pmax@netbsd.org>
From: Douglas S. Meade <doug@inforum2.umd.edu>
List: port-pmax
Date: 12/29/1998 17:53:12
Hi,

I'm trying to set up netbsd for the first time, and I'm trying to
get the netboot to work.  My client is a DECStation 5000/25, with
PROM version 2.0m, which is supposed to work.  My server is a
machine running RedHat Linux 5.1, and I've tried to configure
the bootp, tftpd and nfs correctly for the install, but apparently
I've done something wrong.

Here is my /etc/bootptab file, based on a mixture of the netboot
howto and snippets from this mailing list:
--------------------------------------------------------
.allhost:\
       ht=ethernet:\
       sm=255.255.255.0:\
       gw=128.8.56.1:\
       vm=rfc1048:\
       hd=/tftpboot:\
       bs=auto
# Define individual entries here:
joe.umd.edu:\
       tc=.allhost:\
       ha=08002b2fcef0:\
       ip=128.8.56.168:\
       sa=128.8.56.83:\
       bf=netbsd.joe:\
       rp=/export/pmax
--------------------------------------------------------
In /etc/inetd.conf, I have the line:

tftp  dgram udp   wait  root  /usr/sbin/tcpd in.tftpd /tftpboot

In /etc/exports, I have:
/export/pmax 128.8.56.168(rw)

I'm starting bootpd manually.  Here's what I get with "bootpd -d8":

Dec 29 17:38:51 inforum2 bootpd[1005]: bootptab mtime: Tue Dec 29 17:37:12 1998
Dec 29 17:38:51 inforum2 bootpd[1005]: reading "/etc/bootptab"
Dec 29 17:38:51 inforum2 bootpd[1005]: read 2 entries (1 hosts) from "/etc/bootptab"

Here I type boot 3/tftp on the client console:

Dec 29 17:40:34 inforum2 bootpd[1005]: recvd pkt from IP addr 0.0.0.0
Dec 29 17:40:34 inforum2 bootpd[1005]: bootptab mtime: Tue Dec 29 17:37:12 1998
Dec 29 17:40:34 inforum2 bootpd[1005]: request from Ethernet address 08:00:2B:2F:CE:F0
Dec 29 17:40:34 inforum2 bootpd[1005]: found 128.8.56.168 (joe.umd.edu)
Dec 29 17:40:34 inforum2 bootpd[1005]: bootfile="/tftpboot/netbsd.joe"
Dec 29 17:40:34 inforum2 bootpd[1005]: vendor magic field is 0.0.0.0
Dec 29 17:40:34 inforum2 bootpd[1005]: sending reply (with RFC1048 options)
Dec 29 17:40:34 inforum2 bootpd[1005]: setarp 128.8.56.168 - 08:00:2B:2F:CE:F0

The bootfile I am using, which I have named netbsd.joe, is a stripped down
version of the kernel, that I tried after failing with the larger kernels.

The message I am now getting on the console of the client machine is
?IO: boot 3/tftp msg err (0)

With a slightly different bootptab, I was getting a timeout on the
client.

Any help would be appreciated, as I'm excited to try out this system
on my "new" DECStation!

Doug Meade
doug@inforum2.umd.edu