prep revision 1.3
1Before you start you might need to consider your disk configuration 2to sort out a quirk in SCSI-ID to SD-UNIT mapping that exists on 3Sun Sparcstations. 4 5Upon leaving the factory, SunOS and the OpenBOOT ROM map according to 6this table: 7 8 SCSI-ID -> SunOS SD-UNIT 9 0 sd3 10 1 sd1 11 2 sd2 12 3 sd0 13 4 sd4 14 5 sd5 15 6 sd6 16 17Unlike SunOS and the OpenBOOT ROM, a generic NetBSD kernel numbers 18scsi drives sequentially as it finds them. The drive with the 19lowest scsi-id will be called sd0, the next one sd1, etc. 20 21To ease the installation process, the default NetBSD kernel in the 22distribution is setup to match the Sun mapping above by hard-wiring 23scsi-id#3 to sd0 and scsi-id#0 to sd3. The remaining drives will be 24dynamically mapped to other sd* numbers. 25 26A truely generic NetBSD kernel is also provided as `/netbsd.GENERIC', 27which will do the standard NetBSD probe ordering. If your configuration 28differs from the default Sun setup, you can try to use this kernel to 29complete the installation. 30 31NOTE: this is also a concern when you start building your own customised 32kernels. 33 34 35Your OpenBOOT ROM may need some setup. make sure you boot from `new 36command mode'. If your machine comes up and gives you a `>' prompt 37instead of `ok', type: 38 39 >n 40 ok setenv sunmon-compat? false 41 ok 42 43This is needed because netbsd cannot handle the old-mode yet, and will 44firework on you. 45 46Also, you cannot use the security modes of the sparc OpenBOOT ROM. 47 48 ok setenv security-mode none 49 50 51 52If you're installing NetBSD/sparc for the first time it's a good idea 53to look at the partition sizes of disk you intend installing NetBSD on. 54 55Asumming a classic partition scheme with root (`/') and /usr filesystems, 56a comfortable size for the NetBSD root filesystem partition is about 20MB; 57a good initial size for the swap partition is twice the amount of physical 58memory in your machine (though, unlike SunOS 4.x, there are no restrictions 59on the size of the swap partition that would render part of your memory 60unusable). A full binary installation takes about 60MB in `/usr'. 61 62Some network devices (`le') allow a choice between operating on a UTP 63or a AUI port. Automatic detection of which port is actually connected to 64the wire is not yet fully implemented in this release. This means that 65you may have to specify a `link-layer directive' during the installation 66process. The magic is `link0' to force the use of the UTP port, and `link1' 67to force the use of the AUI port. 68 69