Subject: Vax 4000-100 netboot failure
To: port-vax" , "P. G. <pgaray@bigfoot.com>
From: BrownM03 <BrownM03@bigpond.com>
List: port-vax
Date: 03/05/2001 19:13:13
OK, so I've had a few days in the highlands (ie. computer/bandwidth
withdrawal),
and now I'm back playing with my vax project.

As I've managed to stuff up the boot on the 4000-100 (SET BOOT EZA0) so that
I can no longer get a prompt, there is a 100% focus on netboot (as you all
told me in
the first place:))

I've d/l all the info I can find on netbooting, got a kernel to try (thanks
Michael) and
heaps of advice/encouragement from the vax-port community in general (thanks
all:)).

...BUT   (isn't there always a catch?) .... I don't know where I'm going
wrong.
Would one of you help me with this one please?
(perhaps you might see something obvious, or suggest changes/tests?)
I've included (edited) outputs from everything I can think of.
==============================================================
cat /etc/hosts
-----------------
::1                     localhost
127.0.0.1               localhost
127.0.0.1       localhost                                    # Why are there
2 entries for localhost?
192.168.0.40    dx40.dreamstealer dx40            # this is my bootserver
(NetBSD1.5)
192.168.0.1     monster.dreamstealer monster    # main workstation
(win2000)...sorry :)
192.168.0.33    ibmsx.dreamstealer ibmsx          # $25...I leave it on so I
know I'm alive :)
192.168.0.100   marvin.dreamstealer marvin        # The Vax
===============================================================
cat /etc/ethers
-----------------
08:00:2b:3e:8e:d3       marvin
0:a0:24:5c:69:2         dx40                                # I only added
this as a sanity check (mine:))
===============================================================
cat /etc/exports
----------------
/home
/usr/vax/marvin -maproot=root marvin.dreamstealer
===============================================================
cat /etc/bootparams
----------------------
marvin  root=dx40:/usr/vax/marvin swap=/dx40:/usr/vax/marvin/swap
===============================================================
ll /tftpboot/mop
-----------------
lrwxrwxr-x  1 root  wheel        8 Nov 24 20:59 08002b3e8ed3.SYS -> boot.mop
lrwxrwxr-x  1 root  wheel        8 Nov 24 21:09 MOPBOOT.SYS -> boot.mop
-rw-r--r--  1 root  wheel    71168 Nov 17 14:14 boot.mop
===============================================================
ll /usr/vax/marvin
-----------------
drwxr-xr-x   2 root  wheel       512 Nov 17 11:04 altroot
drwxr-xr-x   2 root  wheel       512 Nov 18 06:25 bin
-r-xr-xr-x   1 root  wheel     60188 Nov 18 06:43 boot
drwxr-xr-x   3 root  wheel       512 Nov 24 20:06 dev
drwxr-xr-x  16 root  wheel      2048 Nov 24 19:35 etc
drwxr-xr-x   2 root  wheel       512 Nov 17 11:04 home
drwxr-xr-x   2 root  wheel       512 Nov 17 11:04 mnt
lrwxrwxr-x   1 root  wheel        16 Nov 24 20:03 netbsd -> netbsd-KA53_SCSI
-rw-rw-r--   1 root  wheel   1447339 Nov 24 20:01 netbsd-KA53_SCSI
-r--r--r--   1 root  wheel     11264 Nov 18 06:58 pcs750.bin
drwxrwxr-x   2 root  wheel       512 Nov 24 19:35 root
drwxr-xr-x   2 root  wheel      1536 Nov 18 06:35 sbin
drwxr-xr-x   2 root  wheel       512 Nov 17 11:04 stand
-rw-rw-r--   1 root  wheel  16777216 Nov 24 20:06 swap
lrwxr-xr-x   1 root  wheel        11 Nov 18 06:59 sys -> usr/src/sys
drwxrwxrwt   2 root  wheel       512 Nov 17 11:04 tmp
drwxr-xr-x  13 root  wheel       512 Nov 17 11:04 usr
drwxr-xr-x  20 root  wheel       512 Nov 17 11:04 var
===============================================================
 rarpd -a -d
---------------
 rarpd: ep0: 0:a0:24:5c:69:2
===============================================================
/usr/sbin/mopd -a -d    (attempt #1)
---------------------
mopd: not running as daemon, -d given.
MOP RC 8:0:2b:3e:8e:d3   > ab:0:0:2:0:0      len   37 code 07 SID
MOP DL 802.3 8:0:2b:3e:8e:d3   > ab:0:0:1:0:0      len   47 code 08 RPR
MOP DL 802.3 0:a0:24:5c:69:2   > 8:0:2b:3e:8e:d3   len    9 code 03 ASV
MOP DL 802.3 8:0:2b:3e:8e:d3   > 0:a0:24:5c:69:2   len   47 code 08 RPR
Native Image (VAX)
Header Block Count: 1
Image Size:         00011400
Load Address:       00000000
Transfer Address:   00000000
MOP DL 802.3 0:a0:24:5c:69:2   > 8:0:2b:3e:8e:d3   len 1006 code 02 MLD
MOP DL 802.3 8:0:2b:3e:8e:d3   > 0:a0:24:5c:69:2   len   11 code 0a RML
MOP DL 802.3 0:a0:24:5c:69:2   > 8:0:2b:3e:8e:d3   len   40 code 14 PLT
Segmentation fault (core dumped)
===============================================================
/usr/sbin/mopd -a -d            (attempt #2)
--------------------
mopd: not running as daemon, -d given.
MOP RC 802.3 8:0:2b:3e:8e:d3   > ab:0:0:2:0:0      len   45 code 07 SID
MOP DL 802.3 8:0:2b:3e:8e:d3   > ab:0:0:1:0:0      len   47 code 08 RPR
MOP DL 802.3 0:a0:24:5c:69:2   > 8:0:2b:3e:8e:d3   len    9 code 03 ASV
MOP RC 802.3 8:0:2b:3e:8e:d3   > ab:0:0:2:0:0      len   45 code 07 SID
MOP DL 802.3 8:0:2b:3e:8e:d3   > 0:a0:24:5c:69:2   len   47 code 08 RPR
Native Image (VAX)
Header Block Count: 1
Image Size:         00011400
Load Address:       00000000
Transfer Address:   00000000
MOP DL 802.3 0:a0:24:5c:69:2   > 8:0:2b:3e:8e:d3   len 1006 code 02 MLD
MOP DL 802.3 8:0:2b:3e:8e:d3   > 0:a0:24:5c:69:2   len   11 code 0a RML
MOP DL 802.3 0:a0:24:5c:69:2   > 8:0:2b:3e:8e:d3   len   40 code 14 PLT
Segmentation fault (core dumped)
===============================================================
/usr/sbin/rpc.bootparamd -d
----------------------------
rpc.bootparamd: unable to register BOOTPARAMPROG version 1, udp
===============================================================
cat /var/log/messages
----------------------
Nov 24 21:00:01 dx40 newsyslog[242]: logfile turned over
Nov 24 21:00:01 dx40 syslogd: restart
Nov 24 21:02:15 dx40 mopd[187]: 8:0:2b:3e:8e:d3 (2) Do you have
08002b3e8ed3? (Yes)
Nov 24 21:02:15 dx40 mopd[187]: 8:0:2b:3e:8e:d3 Send me 08002b3e8ed3
Nov 24 21:11:30 dx40 rarpd[261]: BIOCSETIF: Device not configured
Nov 24 21:11:48 dx40 rarpd[263]: ep0: 0:a0:24:5c:69:2
Nov 24 21:18:40 dx40 syslogd: restart
Nov 24 21:19:16 dx40 rarpd[299]: BIOCSETIF: Device not configured
Nov 24 21:20:01 dx40 syslogd: bind: Address already in use
Nov 24 21:20:01 dx40 syslogd: bind: Address already in use
Nov 24 21:20:01 dx40 syslogd: restart
Nov 24 21:20:21 dx40 syslogd: exiting on signal 2
===============================================================
tcpdump -i ep0
----------------
22:20:16.317842 marvin > ab:0:0:2:0:0 sap aa ui/C len=35
                         0001 0003 0400 0002 0002 5900 0700 0608
                         002b 3e8e d364 0001 4990 0101 0191 0102
                         0604 00
22:20:16.318207 marvin > ab:0:0:1:0:0 sap aa ui/C len=36
                         0200 0001 0003 0400 0002 0002 5900 0700
                         0608 002b 3e8e d364 0001 4990 0101 0191
                         0102 0604
22:20:16.321730 dx40.dreamstealer.telnet > monster.dreamstealer.1030: P
37933122
7:379331301(74) ack 1011179269 win 17520 [tos 0x10]
22:20:16.327207 dx40 > marvin sap aa ui/C
                         03dx40 marvin 0009 9: (LLC mopdl)
                         aaaa 0308 002b 6001 03
22:20:16.327772 marvin > dx40 sap aa ui/C len=36
                         0200 0001 0003 0400 0002 0002 5900 0700
                         0608 002b 3e8e d364 0001 4990 0101 0191
                         0102 0604
22:20:16.372911 dx40 > marvin sap aa ui/C len=995
                         0000 0001 01d0 8f00 002f 005e c38f 0000
                         2f00 8ffc ea2f 0050 9eaf e851 d08f 0000
                         2f00 5328 5061 63c3 8ffc ea2f 008f 9411
                         3000 522c 0063 0052 6316 af00 d08f 4100
                         2f00 6e05 dd5b fb
22:20:16.374454 marvin > dx40 sap aa ui/C len=35
                         0000 0000 0000 0000 0000 0000 0000 0000
                         0000 0000 0000 0000 0000 0000 0000 0000
                         0000 00


Only msg on vax-terminal after this is "Retrying network bootstrap"
On retry, the output is:   (only)
22:28:09.804390 marvin > ab:0:0:1:0:0 sap aa ui/C len=36
                         0200 0001 0003 0400 0002 0002 5900 0700
                         0608 002b 3e8e d364 0001 4990 0101 0191
                         0102 0604
===============================================================
I have attempted to configure the bootserver automatically with:
bootparamd=YES
bootparamd_flags=""
rarpd=YES
rarpd_flags="-a"
mopd=YES
mopd_flags="-a"
nfs_server=YES
nfsd_flags="-tun 4"
mountd_flags=""
nfs_client=YES
nfsiod_flags="-tun 4"

But seems to make no difference.
===============================================================


What have I done?