Subject: exports / diskless boot
To: None <port-sun3@NetBSD.ORG, port-sparc@NetBSD.ORG>
From: Tom Calderwood <tcalderw@BBN.COM>
List: port-sun3
Date: 08/23/1995 15:20:19
I have a sparc running NetBSD "current" and I am trying to set it up as
a server for a Sun3. Has anyone actually tried this scenario (as opposed
to booting a NetBSD 3/50 off of a SunOS sparc?).

 If I try to export both the client's root directory and swap file:

/usr/src/export/ -maproot=root
/usr/src/export/ -maproot=root

 The export of swap will fail "Can't change attributes for
/usr/src/export/".  This error appears to
be given when the mount() system call returns a EPERM. If
I put swap ahead of root in the exports file, then root will
fail the same way.

If I try to use "-alldirs" on /usr/src:

/usr/src -alldirs -maproot=root

The Sun3 starts to boot but panics:

NetBSD 1.0A (DISKLESS) #2: Thu Jul  6 17:43:09 EDT 1995
Model: Sun 3/50
real mem  = 8372224
avail mem = 6889472
using 51 buffers containing 417792 bytes of memory
mainbus0 (root)
obctl0 at mainbus0
idprom0 at obctl0 hostid 0x12005c30
fpu0 at mainbus0 (mc68881)
obmem0 at mainbus0
bwtwo0 at obmem0 addr 0x100000 (1152x900)
obio0 at mainbus0
zs0 at obio0 addr 0x20000 level 6 softpri 3
zs1 at obio0 addr 0x0 level 6 softpri 3
eeprom0 at obio0 addr 0x40000
clock0 at obio0 addr 0x60000 level 5
le0 at obio0 addr 0x120000 level 3 hwaddr 08:00:20:00:1d:a4
nfs_boot: using network interface 'le0'
nfs_boot: client_addr=0x80590185
nfs_boot: server_addr=0x805901ea
nfs_boot: hostname=ANNIE.BBN.COM
panic: nfs_boot: mountd swap, error=72
Stopped at      _Debugger+0x6:  unlk    a6

			       Any clues?
				Tom Calderwood