Subject: 1.5_ALPHA2 snapshot boots on Ultra5 - NVRAM HOST ID Reset
To: None <port-sparc64@netbsd.org>
From: None <>
List: port-sparc64
Date: 10/03/2000 13:13:54
That's right. Finally got rarpd/rpc.bootparamd/tftpd/mountd configured
correctly (whoever dreamed this up is _crazy_). Notes at bottom.
Stage 1:
# more /etc/ethers
8:0:20:a2:77:49 ultrashit
# grep -i rarpd /etc/rc.conf
rarpd=YES rarpd_flags="-a"
works:
Oct 3 11:18:54 regret rarpd[190]: received packet on le0
Oct 3 11:19:26 regret rarpd[190]: received packet on le0
Stage 2:
-----
# grep -i tftp /etc/inetd.conf
tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /tftpboot
# ls -la /tftpboot/
total 144
drwxr-xr-x 2 root wheel 512 Oct 2 23:07 .
drwxr-xr-x 18 root wheel 512 Oct 3 01:26 ..
lrwxr-xr-x 1 root wheel 11 Oct 2 23:07 C0A80065 -> ofwboot.net
-rw-r--r-- 1 root wheel 71085 Aug 23 05:57 ofwboot.net
works:
Oct 3 16:48:03 regret tftpd[27256]: 192.168.0.101: read request for C0A80065: success
Stage 3:
---------------
# more /etc/bootparams
ultrashit root=192.168.0.100:/usr/share/sparc64boot
# grep -i bootparam /etc/rc.conf
bootparamd=YES bootparamd_flags="-s"
works:
Oct 3 12:01:15 regret rpc.bootparamd: whoami got question for
192.168.0.101
Oct 3 12:01:15 regret rpc.bootparamd: This is host ultrashit
Oct 3 12:01:15 regret rpc.bootparamd: Returning ultrashit 127.0.0.1
Oct 3 12:01:15 regret rpc.bootparamd: getfile got question for
"ultrashit" and file "root"
Oct 3 12:01:15 regret rpc.bootparamd: returning server:192.168.0.100
path:/usr/share/sparc64boot address: 192.168.0.100
-------------------------
Stage 4:
# grep -i nfs /etc/rc.conf
# NFS daemons and parameters
nfs_client=YES # enable client daemons
nfsiod_flags="-n 4"
nfs_server=YES # enable server daemons
nfsd_flags="-tun 4"
# more /etc/exports
/usr/share/sparc64boot -maproot=root ultrashit regret
# grep -i mountd /etc/inetd.conf
mountd/1 dgram rpc/udp wait root /usr/sbin/mountd mountd
Works:
# mountd -d
Getting export list.
Got line /usr/share/sparc64boot -maproot=root ultrashit regret
Making new ep fs=0x700,0x78b
doing opt -maproot=root ultrashit regret
got host ultrashit
got host regret.lavalamp.pittsburgh.pa.us
Getting mount list.
Here we go.
Mount successful.
Mount successful.
-------------------------
The system boots successfully. DMESG output is normal until it tries to
load the hme0 driver. At this point, the machine locks solid. STOP-A is
unresponsive.
After a cold-boot of the machine, the machine has lost it's MAC address
and the HOSTID PROM contents are invalid.
We reset them by:
set-defaults
setenv diag-switch? false
8 0 30 ?? ?? ?? c0ffee mkpl [control-d] [control-r]
?? being the 3 last octets of my MAC address (which I luckily had written
down during rarpd configs)
I can understand a kernel not booting. I can understand it panic'ing out.
But resetting my NVRAM values? That's pretty rough ;-)
Any ideas, folks?
--lava