Subject: bootp question, uvax3400 fails to boot 1.4 kernel
To: None <port-vax@netbsd.org>
From: Lee Martineau <lmartine@cyberus.ca>
List: port-vax
Date: 04/13/1999 15:41:04
Trying to netboot a uvax3400/DESQA and 52M of ram, with bootp 2.4.3
running on
linux 2.2.5 and boot.mop from the 1.4_ALPHA area on netbsd ftp site.  I
have had
no luck with any of the 1.3.x stuff so trying the latest can't hurt.

/etc/bootptab
--
.default:\
        :hn:dn="russell.ca":\
        :sm=255.255.255.0:\
        :td=/tftpboot:\
        :hd=/tftpboot:\
        :ht=ether:\
        :to=auto:

vax1:   :tc=.default:ha=08.00.2b.3b.5b.94:bf=netbsd:


From the syslog of bootpd on the linux host:
--
Apr 13 12:23:34 dopey bootpd[186]: bootfile="/tftpboot/netbsd"
Apr 13 12:23:34 dopey bootpd[186]: vendor magic field is 99.130.83.99
Apr 13 12:23:34 dopey bootpd[186]: request message length=548
Apr 13 12:23:34 dopey bootpd[186]: extended reply, length=548,
options=312
Apr 13 12:23:34 dopey bootpd[186]: Received: DHCPREQUEST
Apr 13 12:23:34 dopey bootpd[186]: Sent: DHCPACK
Apr 13 12:23:34 dopey bootpd[186]: sending reply (with RFC1048 options)
Apr 13 12:23:34 dopey bootpd[186]: setarp 192.168.80.13 -
08:00:2B:08:D2:0E
Apr 13 12:23:34 dopey mountd[96]: NFS mount of / attempted from
192.168.80.13
Apr 13 12:23:34 dopey mountd[96]: / has been mounted by 192.168.80.13

On the vax console, the bootloader is mopped and the tries to autboot:
> boot netbsd
...
root addr=192.168.80.11 path=/
boot failed: No such file or directory

It then tries netbsd.gz, netbsd.old, and gennetbsd, all of which fail as
well.
After failing, if you then enter manually on the vax console, it loads:

> boot /tftpboot/netbsd

Is bootp just used so the vax can set up it's IP addr, and then the
bootloader loads the kernel via nfs?  If nfs, it seems that the
bootloader
does nat wait long enough for the nfs mount before loading??  How should
the :bf
and :hd bootptab entries be setup (or are they irrelevant)?

Anyhow, the kernel loads manually, but then it goes belly up
(from netbsd ftp 1.4):

--
NetBSD 1.4_ALPHA (INSTALL) #6: Sat Apr 3 13:51:59 CEST 1999
    ragge@multivac:/usr/src/sys/arch/vax/compile/INSTALL

MicroVAX 3300/3400
realmem = 54456320
avail mem = 46637056
Using 664 buffers containing 2719744 bytes of memory.
mainbus0 (root)

cpu0 at mainbus0: KA640, CVAX microcode rev 5 Firmware rev 83
panic: ptelen fault in system space: addr 0 pc 0
syncing disks... done

The same thing happens with (from 990405 on camaronet):

--
NetBSD 1.4_ALPHA (GENERIC) #0: Mon Apr 5 21:18:00 CEST 1999
    root@ares:/usr/src/sys/arch/vax/compile/GENERIC