prep revision 1.5
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 (i.e. the built-in `le' interface on sun4m machines)
65allow a choice between operating on a UTP or a AUI port. The `le' driver
66supports automatic detection of the port which is actually connected to
67the wire.
68
69If automatic detection is not available or not working properly in your
70environment, you may have to specify the type connection using the
71`media' parameter of ifconfig(8). During installation, you'll get the
72opportunity to specify the appropriate medium. Use ``10base5/AUI''
73to select the AUI connector, or ``10baseT/UTP'' to select the UTP connector.
74
75