Here are some last-minute changes made to the 1.3.1 sources on which this set of Sun3 binaries is based. These changes allow the install kernels to fit in the memory of a 3/50. diff -c ... src/sys/arch/sun3/sun3/machdep.c *** src/sys/arch/sun3/sun3/machdep.c.orig Mon Dec 1 16:42:00 1997 --- src/sys/arch/sun3/sun3/machdep.c Wed Mar 18 15:54:12 1998 *************** *** 149,167 **** { /* Note: cninit() done earlier. (See _startup.c) */ - #ifdef KGDB - /* XXX - Ask on console for kgdb_dev? */ - /* Note: this will just return if kgdb_dev<0 */ - if (boothowto & RB_KDB) - kgdb_connect(1); - #endif #ifdef DDB - /* Now that we have a console, we can stop in DDB. */ db_machine_init(); ddb_init(); - if (boothowto & RB_KDB) - Debugger(); #endif DDB } /* --- 149,173 ---- { /* Note: cninit() done earlier. (See _startup.c) */ #ifdef DDB db_machine_init(); ddb_init(); #endif DDB + + /* + * Now that we have a working console, + * consider stopping for a debugger. + */ + if (boothowto & RB_KDB) { + #ifdef KGDB + /* XXX - Ask on console for kgdb_dev? */ + /* Note: this will just return if kgdb_dev==NODEV */ + kgdb_connect(1); + #else /* KGDB */ + /* Either DDB or no debugger (just PROM). */ + Debugger(); + #endif /* KGDB */ + } } /* diff -c ... src/sys/arch/sun3/conf/RAMDISK *** src/sys/arch/sun3/conf/RAMDISK.orig Tue Dec 30 12:19:42 1997 --- src/sys/arch/sun3/conf/RAMDISK Wed Mar 18 15:39:27 1998 *************** *** 17,25 **** # Standard system options # ... debugging options ! options DDB ! # Compatability options ! options COMPAT_12 # NetBSD 1.2 # Filesystem options # Need FFS for the ramdisk image. --- 17,24 ---- # Standard system options # ... debugging options ! #options DDB ! # Compatability options (none) # Filesystem options # Need FFS for the ramdisk image. *************** *** 30,35 **** --- 29,38 ---- options FIFO # named pipes used during install + # Networking options + options INET # IP prototol stack support + options TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP + # Enable the hooks used for initializing the root memory-disk. options MEMORY_DISK_HOOKS options MEMORY_DISK_IS_ROOT # force root on memory disk *************** *** 36,47 **** options MEMORY_DISK_SERVER=0 # no userspace memory disk support options MINIROOTSIZE=512 # size of memory disk, in blocks - # Networking options - options INET # IP prototol stack support - options TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP - # Work-around for root on slow servers (insurance...) - options NFS_BOOT_RWSIZE=1024 - config netbsd root on md0 type ffs # --- 39,44 ---- *************** *** 86,102 **** # Xylogics 472 tape controllers? ! # ! # Sun3/E stuff ! # ! sebuf0 at vmes0 addr 0xff300000 level 2 vect 0x74 ! sebuf1 at vmes0 addr 0xff340000 level 2 vect 0x76 si* at sebuf? ie* at sebuf? # # Frame buffer devices ! # (Not needed for the RAMDISK installation kernel) # # SCSI infrastructure --- 83,98 ---- # Xylogics 472 tape controllers? ! # Sun3/E SCSI+Ethernet board (VME A24/D16) ! # Note: the board uses vect and vect+1 ! sebuf0 at vmes0 addr 0xff300000 level 2 vect 0x74 # and 0x75 ! sebuf1 at vmes0 addr 0xff340000 level 2 vect 0x76 # and 0x77 si* at sebuf? ie* at sebuf? # # Frame buffer devices ! # (Not needed for installation kernels.) # # SCSI infrastructure diff -c ... src/sys/arch/sun3/conf/INSTALL *** /dev/null Wed Mar 18 15:56:00 1998 --- src/sys/arch/sun3/conf/INSTALL Wed Mar 18 15:43:52 1998 *************** *** 0 **** --- 1,160 ---- + # $NetBSD: INSTALL,v 1.1 1998/03/08 19:29:40 gwr Exp $ + # + # INSTALL - Installation kernel for the Sun3 + # + # This kernel is derived from GENERIC with some features commented out. + # + # This kernel does NOT support X, mice, non-NetBSD emulation, etc. + # + + include "arch/sun3/conf/std.sun3" + + # Machines to be supported by this kernel + options FPU_EMULATE + options HAVECACHE # Sun3/260 VAC + + # Needs to be set per system. i.e change these as you see fit + maxusers 2 + + # Standard system options + #options KTRACE # system call tracing + #options SYSVMSG # System V message queues + #options SYSVSEM # System V semaphores + #options SYSVSHM # System V shared memory + #options SHMMAXPGS=1024 # 1024 pages is the default + #options LKM # loadable kernel modules + #options INSECURE # disable kernel security level + #options UCONSOLE # Allow non-root TIOCCONS + + # Which kernel debugger? Uncomment either this: + #options DDB + # ... or these for KGDB (gdb remote target) + #makeoptions DEBUG="-g" # debugging symbols for gdb + #options KGDB + #options KGDBDEV=0x0C01 # ttya=0C00 ttyb=0C01 + + # Other debugging options + #options DEBUG # kernel debugging code + #options DIAGNOSTIC # extra kernel sanity checking + #options KMEMSTATS # kernel memory statistics (vmstat -m) + #options PMAP_DEBUG + #options SCSIDEBUG + #options SCSIVERBOSE # Verbose SCSI errors + + # Compatability options + #options COMPAT_SUNOS # can run SunOS 4.1.1 executables + #options COMPAT_43 # and 4.3BSD and ... + #options COMPAT_10 # NetBSD 1.0 + #options COMPAT_11 # NetBSD 1.1 + options COMPAT_12 # NetBSD 1.2 + + # Filesystem options + file-system FFS # Berkeley Fast Filesystem + file-system NFS # Sun NFS client support + file-system CD9660 # ISO 9660 + Rock Ridge file system + #file-system FDESC # /dev/fd/* + file-system KERNFS # /kern + #file-system NULLFS # loopback file system + #file-system PROCFS # /proc + #file-system UNION # union file system + #file-system MFS # memory-based filesystem + + options FIFO # FIFOs; RECOMMENDED + #options NFSSERVER # nfs server support + #options QUOTA # FFS quotas + + # Networking options + options INET # IP prototol stack support + options TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP + #options GATEWAY # IP packet forwarding + #options ISO,TPIP # OSI networking + #options EON # OSI tunneling over IP + #options CCITT,LLC,HDLC # X.25 + #options PFIL_HOOKS # pfil(9) packet filter hooks. + + # Work-around for root on slow servers (insurance...) + options NFS_BOOT_RWSIZE=1024 + + config netbsd root on ? type ? + + # + # Serial ports + # + zstty0 at zsc1 channel 0 # ttya + zstty1 at zsc1 channel 1 # ttyb + + kbd0 at zsc0 channel 0 # keyboard + #ms0 at zsc0 channel 1 # mouse + + # + # Network devices + # + + # Intel Ethernet (onboard, or VME) + ie0 at obio0 addr 0x0C0000 level 3 + ie1 at vmes0 addr 0xffe88000 level 3 vect 0x75 + + # Lance Ethernet (only onboard) + le0 at obio0 addr 0x120000 level 3 + + # + # Disk and tape devices + # + + # Sun3 "si" SCSI controller (NCR 5380) + # See GENERIC for the flags description. + si0 at obio0 addr 0x140000 level 2 flags 0x1000f + si0 at vmes0 addr 0xff200000 level 2 vect 0x40 flags 0xf + si1 at vmes0 addr 0xff204000 level 2 vect 0x41 flags 0xf + + # Xylogics 450/451 controllers + xyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48 + xyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49 + xy* at xyc? drive ? + + # Xylogics 7053 controllers + xdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44 + xdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45 + xd* at xdc? drive ? + + # Xylogics 472 tape controllers? + + # Sun3/E SCSI+Ethernet board (VME A24/D16) + # Note: the board uses vect and vect+1 + sebuf0 at vmes0 addr 0xff300000 level 2 vect 0x74 # and 0x75 + sebuf1 at vmes0 addr 0xff340000 level 2 vect 0x76 # and 0x77 + si* at sebuf? + ie* at sebuf? + + # + # Frame buffer devices + # (Not needed for installation kernels.) + + # + # SCSI infrastructure + # + scsibus* at scsi? + + sd* at scsibus? target ? lun ? # SCSI disks + st* at scsibus? target ? lun ? # SCSI tapes + cd* at scsibus? target ? lun ? # SCSI CD-ROMs + #ch* at scsibus? target ? lun ? # SCSI changer devices + #ss* at scsibus? target ? lun ? # SCSI scanners + uk* at scsibus? target ? lun ? # unknown SCSI devices + + # Memory-disk drivers + #pseudo-device md 2 + + # Misc. + pseudo-device loop 1 # network loopback + #pseudo-device bpfilter 8 # packet filter + pseudo-device sl 2 # CSLIP + pseudo-device ppp 2 # PPP + pseudo-device tun 2 # network tunneling over tty + #pseudo-device ipfilter # ip filter + # rnd is EXPERIMENTAL + #pseudo-device rnd # /dev/random and in-kernel generator + + pseudo-device pty 32 # pseudo-terminals + #pseudo-device vnd 4 # paging to files + #pseudo-device ccd 4 # concatenated disks diff -c ... src/distrib/sun3/miniroot/Makefile *** src/distrib/sun3/miniroot/Makefile.orig Fri Dec 12 17:59:09 1997 --- src/distrib/sun3/miniroot/Makefile Wed Mar 18 15:57:11 1998 *************** *** 15,21 **** ${TOP}/common/mini_bin.list \ ${TOP}/common/mini_usr.list ! KERNEL=${SRCSYSDIR}/arch/sun3/compile/GENERIC/netbsd MOUNT_POINT= /mnt BDEV= /dev/sd1b --- 15,21 ---- ${TOP}/common/mini_bin.list \ ${TOP}/common/mini_usr.list ! KERNEL=${SRCSYSDIR}/arch/sun3/compile/INSTALL/netbsd MOUNT_POINT= /mnt BDEV= /dev/sd1b *************** *** 29,34 **** --- 29,36 ---- CLEANFILES= ${IMAGE}.gz install.sub + all: ${IMAGE}.gz + ${IMAGE}.gz: ${TREE} ${LISTS} install.sub -newfs ${NEWFSARGS} -s ${NBLKS} ${CDEV} ${DISKTYPE} mount ${BDEV} ${MOUNT_POINT} diff -c ... src/distrib/sun3/ramdisk/Makefile *** src/distrib/sun3/ramdisk/Makefile.orig Fri Dec 12 17:59:10 1997 --- src/distrib/sun3/ramdisk/Makefile Wed Jan 7 11:43:49 1998 *************** *** 29,34 **** --- 29,36 ---- CLEANFILES= netbsd-rd rdsetroot ${IMAGE}.fs + all: netbsd-rd + netbsd-rd : rdsetroot ${IMAGE}.fs cp ${KERNEL} netbsd-tmp ./rdsetroot netbsd-tmp < ${IMAGE}.fs diff -c ... src/distrib/notes/sun3/contents *** src/distrib/notes/sun3/contents.orig Tue Dec 30 12:12:49 1997 --- src/distrib/notes/sun3/contents Mon Mar 23 13:05:50 1998 *************** *** 50,55 **** --- 50,59 ---- netbsd-gen.gz A gzipped GENERIC kernel (for upgrade) + netbsd-inst.gz A gzipped INSTALL kernel. This has a + small enough configuration so it will + boot on any Sun-3 (even a 3/50). + netbsd-rd.gz A gzipped copy of the "RAMDISK kernel" for installing the miniroot filesystem.