prep revision 1.4
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 the NetBSD kernel relies on functionality provided 44by OpenBOOT ROMs -- the ability to pass down Forth commands and have them 45executed in the ROM -- that appears to go away when the OpenBOOT ROM 46operates in `old monitor compatibility' mode. 47 48Also, you cannot use the security modes of the sparc OpenBOOT ROM. 49 50 ok setenv security-mode none 51 52 53 54If you're installing NetBSD/sparc for the first time it's a good idea 55to look at the partition sizes of disk you intend installing NetBSD on. 56 57Asumming a classic partition scheme with root (`/') and /usr filesystems, 58a comfortable size for the NetBSD root filesystem partition is about 20MB; 59a good initial size for the swap partition is twice the amount of physical 60memory in your machine (though, unlike SunOS 4.x, there are no restrictions 61on the size of the swap partition that would render part of your memory 62unusable). A full binary installation takes about 60MB in `/usr'. 63 64Some network devices (`le') allow a choice between operating on a UTP 65or a AUI port. Automatic detection of which port is actually connected to 66the wire is not yet fully implemented in this release. This means that 67you may have to specify a `link-layer directive' during the installation 68process. The magic is `link0' to force the use of the UTP port, and `link1' 69to force the use of the AUI port. 70 71