NetBSD/distrib/notes/sparc/prep

72 lines
3.0 KiB
Plaintext
Raw Normal View History

1999-06-12 15:24:35 +04:00
.\" $NetBSD: prep,v 1.8 1999/06/12 11:24:35 pk Exp $
1999-01-13 10:30:01 +03:00
.
1995-10-08 05:05:46 +03:00
Before you start you might need to consider your disk configuration
to sort out a quirk in SCSI-ID to SD-UNIT mapping that exists on
Sun Sparcstations.
1999-01-13 10:30:01 +03:00
.Pp
1995-10-08 05:05:46 +03:00
Upon leaving the factory, SunOS and the OpenBOOT ROM map according to
this table:
1999-01-13 10:30:01 +03:00
.Bl -column -offset indent SCSI-ID SunOS\ SD-Unit
.It Tn Em SCSI-ID Ta Tn Em SunOS\ SD-Unit
.It \~\~\~0 Ta \~\~\~sd3
.It \~\~\~1 Ta \~\~\~sd1
.It \~\~\~2 Ta \~\~\~sd2
.It \~\~\~3 Ta \~\~\~sd0
.It \~\~\~4 Ta \~\~\~sd4
.It \~\~\~5 Ta \~\~\~sd5
.It \~\~\~6 Ta \~\~\~sd6
.El
.Pp
1995-10-08 05:05:46 +03:00
Unlike SunOS and the OpenBOOT ROM, a generic NetBSD kernel numbers
scsi drives sequentially as it finds them. The drive with the
lowest scsi-id will be called sd0, the next one sd1, etc.
1999-01-13 10:30:01 +03:00
.Pp
1995-10-08 05:05:46 +03:00
To ease the installation process, the default NetBSD kernel in the
distribution is setup to match the Sun mapping above by hard-wiring
scsi-id#3 to sd0 and scsi-id#0 to sd3. The remaining drives will be
dynamically mapped to other sd* numbers.
1999-01-13 10:30:01 +03:00
.Pp
1999-06-12 15:24:35 +04:00
A truly generic NetBSD kernel is also provided as `/netbsd.GENERIC',
1995-10-08 05:05:46 +03:00
which will do the standard NetBSD probe ordering. If your configuration
differs from the default Sun setup, you can try to use this kernel to
complete the installation.
1999-01-13 10:30:01 +03:00
.Pp
.(Note
This is also a concern when you start building your own customised kernels.
.Note)
.Pp
1995-10-08 05:05:46 +03:00
Your OpenBOOT ROM may need some setup. make sure you boot from `new
1999-01-13 10:30:01 +03:00
command mode'. If your machine comes up and gives you a `\*>' prompt
1995-10-08 05:05:46 +03:00
instead of `ok', type:
1999-01-13 10:30:01 +03:00
.Dl \*> Ic n
.Dl ok Ic setenv sunmon-compat? false
.Dl ok
This is needed because the NetBSD kernel relies on functionality provided
by OpenBOOT ROMs -- the ability to pass down Forth commands and have them
executed in the ROM -- that appears to go away when the OpenBOOT ROM
operates in `old monitor compatibility' mode.
1999-01-13 10:30:01 +03:00
.Pp
1995-10-08 05:05:46 +03:00
Also, you cannot use the security modes of the sparc OpenBOOT ROM.
1999-01-13 10:30:01 +03:00
.Dl ok Ic setenv security-mode none
.Pp
1996-10-09 04:13:36 +04:00
If you're installing NetBSD/sparc for the first time it's a good idea
to look at the partition sizes of disk you intend installing NetBSD on.
1999-01-13 10:30:01 +03:00
.Pp
1996-10-09 04:13:36 +04:00
Asumming a classic partition scheme with root (`/') and /usr filesystems,
a comfortable size for the NetBSD root filesystem partition is about 20MB;
a good initial size for the swap partition is twice the amount of physical
memory in your machine (though, unlike SunOS 4.x, there are no restrictions
on the size of the swap partition that would render part of your memory
unusable). A full binary installation takes about 60MB in `/usr'.
1999-01-13 10:30:01 +03:00
.Pp
Some network devices (i.e. the built-in `le' interface on sun4m machines)
allow a choice between operating on a UTP or a AUI port. The `le' driver
supports automatic detection of the port which is actually connected to
the wire.
1999-01-13 10:30:01 +03:00
.Pp
If automatic detection is not available or not working properly in your
environment, you may have to specify the type connection using the
`media' parameter of ifconfig(8). During installation, you'll get the
opportunity to specify the appropriate medium. Use ``10base5/AUI''
to select the AUI connector, or ``10baseT/UTP'' to select the UTP connector.