Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Mar 1997 22:19:15 -0800 (PST)
From:      E Lakin <pharaoh@u.washington.edu>
To:        freebsd-questions@freebsd.org
Subject:   netbooting a SLC off a FreeBSD box
Message-ID:  <Pine.A32.3.95.970303215249.179017B-100000@goodall.u.washington.edu>

next in thread | raw e-mail | index | archive | help
As the subject indicates, i'm trying to get a Sparcstation SLC to do a
network boot (of NetBSD/sparc) from my FreeBSD machine. I've got the two
machines talking, but after the SLC gets the initial boot program &
IP/name, it just sits there.

To (hopefully) make things simpler, the SLC is Anubis, and the FreeBSD
server is Osiris.

So far, Anubis does a RARP request for it's name, which Osiris' rarpd
provides.  Then, anubis requests a boot program via tftp from
Osiris (0A000005.SUN4C), and proceeds to download it. Anubis again asks
for it's name via RARP, and then (i think) starts talking to Osiris'
bootparamd. This is where things get stuck. I think that either bootparamd
is giving different info than Anubis expects, or Anubis is trying to do an
NFS mount from the info the bootparam provided, and NFS isn't set up
correctly on Osiris (mountd/nfsd are running, but iv've never set up nfs)

I have the NetBSD/Sparc filesystem residing in /usr/local/boot/sparc, the
initial boot code in /tftpboot, and am running rarpd, bootparamd, nfsd,
and mountd at startup. 

Hopefully, with some info below, the problem will be clear to someone!
(below: SLC messages, bootparamd log,  tcpdump, /etc/bootparams,
etc/exports)

Here's the text displayed on the SLC...

ok boot net netbsd -s
b200 >> NetBSD BOOT [$Revision: 1.4 $]
boot: client IP address: 10.0.0.5
boot: client name: anubis


Here's the error messages from bootparamd (the only other thing logged is
a succesful tftp transfer)...

/var/log/messages:Mar  3 19:48:27 osiris bootparamd: whoami got question
for 10.0.0.5 
/var/log/messages:Mar  3 19:48:27 osiris bootparamd: This is host
anubis.purgatory.net 
/var/log/messages:Mar  3 19:48:27 osiris bootparamd: Returning anubis
10.0.0.1 
/var/log/messages:Mar  3 19:48:28 osiris bootparamd: getfile got question
for "anubis" and file "root" 
/var/log/messages:Mar  3 19:48:28 osiris bootparamd: getfile failed for
anubis


here's a tcpdump of the conversation...(tcpdump -i ep0 -t -N)

rarp who-is anubis.purgatory.net tell anubis.purgatory.net
rarp reply anubis.purgatory.net at anubis
anubis.10977 > osiris.tftp: 23 RRQ "0A000005.SUN4C"
osiris.1028 > anubis.10977: udp 516
anubis.10977 > osiris.1028: udp 4
osiris.1028 > anubis.10977: udp 516
anubis.10977 > osiris.1028: udp 4
...
osiris.1028 > anubis.10977: udp 236
anubis.10977 > osiris.1028: udp 4
rarp who-is anubis.purgatory.net tell anubis.purgatory.net
rarp reply anubis.purgatory.net at anubis
anubis.1023 > 255.255.255.255.sunrpc: udp 96
osiris.sunrpc > anubis.1023: udp 68
arp who-has osiris tell anubis
arp reply osiris is-at osiris.purgatory.net
anubis.1022 > osiris.756: udp 80


and here's my /etc/bootparams file...

anubis  root=/usr/local/boot/sparc/ \
        swap=/usr/local/boot/swap/


and my exports file...

/usr/local/boot/sparc anubis.purgatory.net
/usr/local/boot/swap


if any other info is necessary, i'll send it up.

	--eric lakin




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.A32.3.95.970303215249.179017B-100000>