prep revision 1.6
1 $NetBSD: prep,v 1.6 1998/01/09 18:47:26 perry Exp $ 2 3Before you start you might need to consider your disk configuration 4to sort out a quirk in SCSI-ID to SD-UNIT mapping that exists on 5Sun Sparcstations. 6 7Upon leaving the factory, SunOS and the OpenBOOT ROM map according to 8this table: 9 10 SCSI-ID -> SunOS SD-UNIT 11 0 sd3 12 1 sd1 13 2 sd2 14 3 sd0 15 4 sd4 16 5 sd5 17 6 sd6 18 19Unlike SunOS and the OpenBOOT ROM, a generic NetBSD kernel numbers 20scsi drives sequentially as it finds them. The drive with the 21lowest scsi-id will be called sd0, the next one sd1, etc. 22 23To ease the installation process, the default NetBSD kernel in the 24distribution is setup to match the Sun mapping above by hard-wiring 25scsi-id#3 to sd0 and scsi-id#0 to sd3. The remaining drives will be 26dynamically mapped to other sd* numbers. 27 28A truely generic NetBSD kernel is also provided as `/netbsd.GENERIC', 29which will do the standard NetBSD probe ordering. If your configuration 30differs from the default Sun setup, you can try to use this kernel to 31complete the installation. 32 33NOTE: this is also a concern when you start building your own customised 34kernels. 35 36 37Your OpenBOOT ROM may need some setup. make sure you boot from `new 38command mode'. If your machine comes up and gives you a `>' prompt 39instead of `ok', type: 40 41 >n 42 ok setenv sunmon-compat? false 43 ok 44 45This is needed because the NetBSD kernel relies on functionality provided 46by OpenBOOT ROMs -- the ability to pass down Forth commands and have them 47executed in the ROM -- that appears to go away when the OpenBOOT ROM 48operates in `old monitor compatibility' mode. 49 50Also, you cannot use the security modes of the sparc OpenBOOT ROM. 51 52 ok setenv security-mode none 53 54 55 56If you're installing NetBSD/sparc for the first time it's a good idea 57to look at the partition sizes of disk you intend installing NetBSD on. 58 59Asumming a classic partition scheme with root (`/') and /usr filesystems, 60a comfortable size for the NetBSD root filesystem partition is about 20MB; 61a good initial size for the swap partition is twice the amount of physical 62memory in your machine (though, unlike SunOS 4.x, there are no restrictions 63on the size of the swap partition that would render part of your memory 64unusable). A full binary installation takes about 60MB in `/usr'. 65 66Some network devices (i.e. the built-in `le' interface on sun4m machines) 67allow a choice between operating on a UTP or a AUI port. The `le' driver 68supports automatic detection of the port which is actually connected to 69the wire. 70 71If automatic detection is not available or not working properly in your 72environment, you may have to specify the type connection using the 73`media' parameter of ifconfig(8). During installation, you'll get the 74opportunity to specify the appropriate medium. Use ``10base5/AUI'' 75to select the AUI connector, or ``10baseT/UTP'' to select the UTP connector. 76 77