Subject: sun3 ramdisk kernels
To: None <port-sun3@NetBSD.ORG>
From: Michael C. Richardson <mcr@sandelman.ottawa.on.ca>
List: port-sun3
Date: 06/15/1997 19:00:16
-----BEGIN PGP SIGNED MESSAGE-----


  Goal: boot over the network, with no local disk, and not use
NFS. The resulting system will have ifconfig/route/ping/telnet
clients and /sbin/init, /bin/sh in a ramdisk.
  I am just crunching things down, and waiting for a kernel with vnd
configured to build the file system.
  In the meantime, I built a 2Mb file system on my old emergency SunOS
boot partition (sd0h on my xterminal). I mdsetimage'ed that into a
ramdisk kernel, and copied it to the NFS mount point for the SunOS
bootloader....

>b le()
Boot: le(0,0,0) 
Using IP Address 205.233.54.131 = CDE93683
Booting from tftp server at 205.233.54.134 = CDE93686
Downloaded 104936 bytes from tftp server.

Using IP Address 205.233.54.131 = CDE93683
hostname: merry.sandelman.ottawa.on.ca
Boot: null domain name returned by bootparam server
server name 'istari.sandelman.ottawa.on.ca'
root pathname '/export/root/merry'
root on istari.sandelman.ottawa.on.ca:/export/root/merry fstype nfs
Boot: vmunix
Size: 556324
Program text overlaps boot code! 0x292C60 > 0x1A0000
Truncated file
boot failed

  Dang. Stupid boot loader!

  Can the NetBSD one deal with this? I can't get it to do anything.. I
still get:

Booting from tftp server at 205.233.54.134 = CDE93686
Downloaded 19477 bytes from tftp server.


Exception 10 at 0000400A

  Maybe, I can reduce my kernel to 1.6Mb in size (0x1A0000) when the
crunching is finished, but I'm hoping that there is a better solution,
like linking the NetBSD netboot to a higher address.

   :!mcr!:            |  Network security programming, currently
   Michael Richardson | on contract with DataFellows F-Secure IPSec
 WWW: mcr@sandelman.ottawa.on.ca. PGP key available.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQB1AwUBM6RxiqZpLyXYhL+BAQHgQAL/YBARtQCmpxw4spObKnb3Uwqjs4iSsbWY
m5hS6Iq1LUe0h3J56TaBvYi4P0ol4dyf3BQEZgbJqKYGSUQfzF2K1kKIBJ21AFOP
9wfVJTy5YC8EGw+82RlowRLeBZcDkDCr
=J9AB
-----END PGP SIGNATURE-----