Subject: diskless install?
To: None <port-sun3@NetBSD.ORG>
From: Daniel Garcia <kender@hollyfeld.org>
List: port-sun3
Date: 03/14/1996 13:20:56
Hello alls,

I have a sun3/50 that i'm attempting to get to run diskless via a linux server.
I can get the machine to go through the majority of the boot process.  
My bootparams file has root as being (on the linux box) as being
/usr/NetBSD/icarus/root and the swap as being /usr/NetBSD/icarus/swap.  

In addition, i'm exporting /usr/NetBSD/netbsd.sun3/usr.  I have untarred
the NetBSD-1.1 distribution on /usr/NetBSD/netbsd.sun3 (using xpfvs to
ensure permissions and uids were preserved), and I linked the files in
/usr/NetBSD/netbsd.sun3/bin and /usr/NetBSD/netbsd.sun3/sbin to 
/usr/NetBSD/icarus/root and also have 'local' copies of var, etc, tmp,
and dev.

Finally, i'm using the netbsd-gen kernel that was under NetBSD-current
on ftp.netbsd.org.

The kernel appears to go through the boot process (i'm in diagnostic mode,
booting with b le() -s), but just after it mounts the root dir and the swap
file, it hangs.  (perhaps linux has a problem exporting a file?).  Any
idea on what would be causing this?  Here's the output from my boot sequence:

Thanks in advance for any ideas :)

>b le() -s
Boot: le(0,0,0) -s
Using IP Address 204.130.199.3 = CC82C703
Booting from tftp server at 204.130.199.1 = CC82C701
Downloaded 16384 bytes from tftp server.

>> NetBSD netboot [$Revision: 1.2e $]
Using IP Address 204.130.199.3 = CC82C703
boot: client addr: 204.130.199.3
oot: subnet mask: 255.255.255.0
boot: net gateway: 127.0.0.1
boot: server addr: 204.130.199.1
boot: server path: /usr/NetBSD/icarus/root
632060+29996+95784+[53844+60341]=0xd4e5d
Starting program at 0x4000
sun3_saveymtab:  found 53844 + 60341
console on zs0 (ttya)
[ preserving 114189 bytes of netbsd symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.

NetBSD 1.1 (GENERIC) #24: Thu Dec 14 13:52:07 EST 1995
    gwr@venus:/home/gwr/work/src/sys/arch/sun3/compile/GENERIC
Model: Sun 3/50
real mem = 4177920
avail mem = 2711552
using 38 buffers containing 311296 bytes of memory
mainbus0 (root)
obctl0 at mainbus0
idprom0 at obctl0 hostid 0x120089ca
fpu0 at mainbus0 (mc68881)
obmem0 at mainbus0
bwtwo0 at obmemaddr 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:a7:35
si0 at obio0 addr 0x140000 level 2
scsibus0 at si0
rd0 at mainbus0
rd1 at mainbus0
root on le0
swap on le0
dump on le0
nfs_boot: using network interface 'le0'
nfs_boot: client_addr=0xcc82c703
nfs_boot: server_addr=0xcc82c701
nfs_boot: hostnamecarus
root on bitsy:/usr/NetBSD/icarus/root
WARNING: bad date in battery clock -- CHECK AND RESET THE DATE!
swap on bitsy:/usr/NetBSD/icarus/swap

--
   ___________________________________________________________________________
  /Daniel Garcia/Soon to be PhD Student/Kender@hollyfeld.org /kender@esu.edu /
 /Linux  Hacker/C Programmer for Hire /#include <disclaimer>/The Answer's 42/|
,-------------+----------------------+---------------------+---------------+ /
|                Ateh Malkuth ve geburah ve gedulah le olam.               |/
`---------------------http://www.hollyfeld.org/~kender --------------------'