finish porting these from the sparc versions. they are mostly correct

now though the install instructions could still do with some more work
and expansion....
This commit is contained in:
mrg 2000-09-17 21:03:32 +00:00
parent 264b1139cd
commit 9a3cd1d826
5 changed files with 106 additions and 183 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: contents,v 1.1 2000/08/19 13:16:00 mrg Exp $
.\" $NetBSD: contents,v 1.2 2000/09/17 21:03:32 mrg Exp $
.\"
.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -535,7 +535,7 @@ install this distribution set.
.if r_pc532 .Em 457k gzipped, 910k uncompressed
.if r_pmax .Em 792k gzipped, 2.1M uncompressed
.if r_sparc .Em 2.9M gzipped, 6.7M uncompressed
XX.if r_sparc .Em 2.9M gzipped, 6.7M uncompressed
.if r_sparc64 .Em 1.5M gzipped, 4.7M uncompressed
.if r_vax .Em 517k gzipped, 1M uncompressed
.if r_x68k .Em 627k gzipped, 1.4M uncompressed
.\}
@ -664,9 +664,6 @@ Binary sets for the X Window system are distributed with
Unfortunately there is no R6.3 Xserver for NetBSD/hp300 yet,
so we can only distribute the X clients this time.
.\}
.if r_sparc64 \{\
There are no X clients or server provided for NetBSD/sparc64 at this time.
.\}
The sets are:
.Bl -tag -width xcontribmmm
.It Sy xbase
@ -684,6 +681,7 @@ the X servers.
.if r_macppc .Em 2.8M gzipped, 8.3M uncompressed
.if r_pmax .Em 3.1M gzipped, 11M uncompressed
.if r_sparc .Em 2.7M gzipped, 8.6M uncompressed
.if r_sparc64 .Em 2.7M gzipped, 8.6M uncompressed
.if r_x68k .Em 2.4M gzippeed, 7.7M uncompressed
.It Sy xcomp
The extra libraries and include files needed to compile X source code.
@ -698,6 +696,7 @@ The extra libraries and include files needed to compile X source code.
.if r_macppc .Em 1.9M gzipped, 8.2M uncompressed
.if r_pmax .Em 2.1M gzipped, 9.8M uncompressed
.if r_sparc .Em 1.7M gzipped, 7.4M uncompressed
.if r_sparc64 .Em 1.7M gzipped, 7.4M uncompressed
.if r_x68k .Em 1.6M gzipped, 6.8M uncompressed
.It Sy xcontrib
Programs that were contributed to X.
@ -712,6 +711,7 @@ Programs that were contributed to X.
.if r_macppc .Em 188k gzipped, 580k uncompressed
.if r_pmax .Em 206k gzipped, 770k uncompressed
.if r_sparc .Em 205k gzipped, 750k uncompressed
.if r_sparc64 .Em 205k gzipped, 750k uncompressed
.if r_x68k .Em 179k gzipped, 670k uncompressed
.It Sy xfont
Fonts needed by X.
@ -726,6 +726,7 @@ Fonts needed by X.
.if r_macppc .Em 5.7M gzipped, 7.0M uncompressed
.if r_pmax .Em 5.5M gzipped, 6.7M uncompressed
.if r_sparc .Em 5.7M gzipped, 7.0M uncompressed
.if r_sparc64 .Em 5.7M gzipped, 7.0M uncompressed
.if r_x68k .Em 5.7M gzipped, 7.0M uncompressed
.
.if r_atari \{\
@ -778,6 +779,15 @@ servers with man pages.
.br
.Em 3.3M gzipped, 8.4M uncompressed
.\}
.if r_sparc64 \{\
.Pp
.It Sy xserver
.No The Xsun, Xsun24, XsunMono and Xprt
servers with man pages. The 64-bit X server current has problems with
pixmaps.
.br
.Em 3.3M gzipped, 8.4M uncompressed
.\}
.if r_x68k \{\
.Pp
.It Sy xserver

View File

@ -1,30 +1,23 @@
.\"$NetBSD: hardware,v 1.1 2000/08/19 13:16:00 mrg Exp $
.\"$NetBSD: hardware,v 1.2 2000/09/17 21:03:32 mrg Exp $
.
NetBSD/sparc \*V runs on the following classes of machines:
NetBSD/sparc64 \*V runs on the following classes of machines:
.Bl -bullet -compact
. It
sun4c (e.g. the SS1, SS1+, SS2, IPC, ELC, IPX, and SLC)
Sbus-based UltraSPARC systems (the Ultra1, Ultra1E, Ultra2, Ultra2E)
. It
sun4 (e.g. the 4/100, 4/200, and 4/300 \- note that support
for the 4/400 processor is incomplete)
. It
sun4m (e.g. Classic, LX, SS4, SS5, SS10, and SS20)
PCI-based UltraSPARC systems (known to work on the Ultra5, Ultra10, Ultra30
and Ultra250, and may work on many other systems)
.El
.Pp
NetBSD/sparc \*V does
NetBSD/sparc64 \*V does
.Em not
run on these machines (yet):
.Bl -bullet -compact
. It
sun-4/400 (lacking support for the I/O cache, and has
ethernet problems)
. It
sun4d (e.g. sparc center 2000)
. It
sun4u (e.g. Ultrasparcs)
Enterprise Systems (Ex000, E10000)
.El
.Pp
The minimal configuration requires 4M of RAM and ~60M of disk space.
The minimal configuration requires 16M of RAM and ~60M of disk space.
To install the entire system requires much more disk space, and to run
X or compile the system, more RAM is recommended. (NetBSD with 4M of
RAM feels like Solaris with 4M of RAM.) Note that until you have
@ -32,52 +25,54 @@ around 16M of RAM, getting more RAM is more important than getting a
faster CPU.)
.Pp
Supported devices include:
.Bl -tag -width indent
. It Em sun4c/sun4m sbus video:
cgsix, cgthree, and bwtwo frame buffers
. br
cgfourteen and tcx frame buffers (limited
.Dq emulation
mode)
. It Em sun4 video (not thoroughly tested?):
P4 on-board bwtwo, and VME cgtwo card
. It Em serial ports:
ttya and ttyb (can be used as console if needed)
. It Em ethernet:
on-board AMD Lance ethernet ("le0"),
. br
Sbus AMD Lance ethernet cards,
. br
on-board Intel 82586 ethernet (ie0 on 4/100's and 4/200's),
. br
VME Intel 82586 ethernet cards
. It Em SCSI:
on-board "esp" SCSI controller (sun4c, sun4m and the 4/300),
. br
sbus "esp" SCSI controller,
. br
Sun "SUN-3"/"si" VME SCSI controller (polled mode only, slow),
. br
Sun "SCSI Weird"/"sw" on-board controller (4/110 only, polled)
. It Em VME disks:
Xylogics 7053 VME/SMD disk controller ("xd"),
. br
Xylogics 450/451 VME disk controller ("xy")
. br
[note: VME/IPI disks are not supported]
. It Em sun floppy disk drive
. It Em sun keyboard and mouse
. It Em sun4c audio
. It Em sun4m audio on Sparcstation Classic
.Bd -literal
Ethernet devices:
- Sbus LANCE ethernet (le) [*]
- Sbus HME ethernet (hme) [*]
- Sbus BigMac ethernet (be) [*]
- PCI HME ethernet (hme)
- PCI Tulip (tlp)
Video devices:
- Sbus cgsix
SCSI host controllers:
- ncr53c9x based controllers (esp)
- ncr53c8xx based controllers (siop)
- ISP10x0 based controllers (isp)
- Adaptec AHA-2x4x[U][2][W] cards and onboard PCI designs
using the AIC-7770, AIC-7850, AIC-7860, AIC-7870,
AIC-7880 and AIC-789x chipsets.
PCI IDE host controllers:
- CMD Tech PCI064[3689] IDE Controllers (pciide) [**]
Serial devices:
- Sbus z8530 serial (zs)
Parallel devices:
- Sbus parallel ports (bpp)
- PCI/Ebus parallel ports (lpt)
.El
There are a large number of untested PCI drivers that have never
been tested on UltraSPARC PCI systems, that may "just work".
.Pp
Hardware the we do NOT currently support, but get many questions
[*] Sbus ethernet drivers current have a problem with interrupts and
do not perform properly except in extreme low usage conditions, rendering
them effectively unusable.
.Pp
[**]
Access to devices on the secondary PCIIDE channel currently do not work.
.Pp
Hardware the we do NOT currently support, but get questions
about:
.Bl -bullet -compact
. It
multiprocessor sun4m machines
. It
audio drivers for sun4m machines (other than the Sparcstation Classic)
. It
interrupt driven SCSI driver for sun-4/100's and sun-4/200's
.Bl -literal
Floppy drives
Audio devices:
- Sbus & PCI based system audio (audiocs)
Serial devices:
- PCI based systems (sab)
Keyboard & Mouse devices:
- PCI based systems
Video devices:
- Creator3D framebuffers (ffb)
- General PCI VGA support
SCSI host controllers:
- ESP366 based controllers found in Ultra1E and Ultra2
systems (esp)
.El

View File

@ -1,4 +1,4 @@
.\" $NetBSD: install,v 1.1 2000/08/19 13:16:00 mrg Exp $
.\" $NetBSD: install,v 1.2 2000/09/17 21:03:32 mrg Exp $
.\"
.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -38,12 +38,10 @@ this document in hand it shouldn't be too much trouble.
There are several ways to install NetBSD onto a disk. The easiest way
in terms of preliminary setup is to use the NetBSD miniroot that can
be booted off your local disk's swap partition. Alternatively, if your
Sparcstation is hooked up in a network you can find a server and arrange
UltraSPARC is hooked up in a network you can find a server and arrange
for a diskless setup which is a convenient way to install on a machine
whose disk does not currently hold a usable operating system (see the
section `Installing NetBSD by using a diskless setup' below). There is
also a bootable 1.4MB floppy available that contains a slightly less
featureful miniroot environment.
section `Installing NetBSD by using a diskless setup' below).
.
.Ss2 Installing NetBSD by using the NetBSD miniroot.
.
@ -56,9 +54,9 @@ other unused partition, but remember that the partition will then not
available during the installation process.
.Pp
Loading the miniroot onto your raw partition is simple. On NetBSD as well
as SunOS you use a command like:
.Dl # Ic dd if=miniroot.fs of=/dev/rsd0b bs=4k conv=sync
(Here, `/dev/rsd0b' is assumed to be your swap partition.) There's a
as Solaris you use a command like:
.Dl # Ic dd if=miniroot.fs of=/dev/rdsk/c0t0d0s1 bs=4k conv=sync
(Here, `/dev/rdsk/c0t0d0s1' is assumed to be your swap partition.) There's a
potential problem here if /dev/rsd0b is actually in use as a swap
partition by your currently running system. If you don't have another
disk or partition to spare, you can usually get away with running this
@ -69,26 +67,11 @@ After transferring the miniroot to disk, bring the system down by:
.Dl # Ic halt
.Pp
Then boot the miniroot by typing the appropriate command at the PROM:
.Dl \*> Ic "b sd(,,1)netbsd -s # for sun4 monitors
.Dl ok Ic "boot sd(,,1)netbsd -s # for version 1 OpenBOOT ROMs
.Dl ok Ic "boot disk:b netbsd -s # for version 2 OpenBOOT ROMs
.Dl ok Ic "boot disk:b netbsd -s
.Pp
If you've loaded the miniroot onto some other disk than `sd0' adapt
the boot specifier accordingly, e.g.:
.Dl ok Ic boot disk1:b netbsd -s
to boot from SCSI disk target 1 from a version 2 OpenBOOT ROM.
If you have to use the old-style
.Ic sd( Ns Ar c,u,p Ns Ic \&)
syntax to boot from a
SCSI disk, you can calculate the parameters as follows:
.Bl -tag -width xcc
. It Ar c
specifies the controller number
. It Ar u
the hexadecimal number obtained from evaluating
the expression `(8 * TARGET) + LUN'
. It Ar p
the partition number from which to boot (0=`a', 1=`b', etc).
.El
.Pp
The monitor boot command will cause the NetBSD kernel contained in the
@ -97,20 +80,6 @@ asked to start the install or upgrade procedure. Proceed to the section
.Sx Running the installation scripts
below.
.
.Ss2 Installing NetBSD by using the bootable floppy.
.
The NetBSD install floppy works only on the sun4c and sun4m class
machines. From the OpenBOOT prompt, the following should boot the
floppy.
.Dl ok Ic "boot fd(,,1) # for version 1 OpenBOOT ROMs
.Dl ok Ic "boot /fd # either of these for version
.Dl ok Ic "boot floppy # 2 OpenBOOT ROMs
.Pp
After the initial probe messages you'll be asked to start
the install or upgrade procedure. Proceed to the section
.Sx Running the installation scripts
below.
.
.Ss2 Installing NetBSD by using a diskless setup.
.
First, you must setup a diskless client configuration on a server. If
@ -126,18 +95,17 @@ program via TFTP after having acquired its IP address through RevARP when
instructed to boot "over the net". It will look for a filename composed of
the machine's IP address followed by the machine's architecture, separated
by a period. For example, a sun4c machine which has been assigned IP
address 130.115.144.11, will make an TFTP request for `8273900B.SUN4C'.
address 130.115.144.11, will make an TFTP request for `8273900B.SUN4U'.
Normally, this file is a symbolic link to an appropriate second-stage
boot program, which should be located in a place where the TFTP daemon
can find it (remember, many TFTP daemons run in a chroot'ed environment).
You can find the boot program in
.Pa /usr/mdec/boot.net
.Pa /usr/mdec/ofwboot.net
in the NetBSD/sparc distribution.
.(Note
The only difference between
.Pa /usr/mdec/boot.net No and Pa /usr/mdec/boot
is in the a.out header, which has been magically
transformed in a way that makes it usable on all versions of Sparc PROMs.
The
.Pa /usr/mdec/ofwboot
does not know about netbooting.
.Note)
.Pp
After the boot program has been loaded into memory and given control by
@ -186,8 +154,8 @@ name as in \*<root\*>/etc/hosts.
. It Ar root Ns Pa /etc/fstab
Enter the entries for the remotely mounted filesystems.
For example:
.Dl server:/export/root/client / nfs rw 0 0
.Dl server:/export/exec/sun4.netbsd /usr nfs rw 0 0
.Dl server:/export/root/client / nfs rw 0 0
.Dl server:/export/exec/sun4u.netbsd /usr nfs rw 0 0
.El
.Pp
Now you must populate the `/dev' directory for your client. If yoarserver
@ -205,19 +173,9 @@ MAKEDEV on your NetBSD machine once it has booted.
Boot your workstation from the server by entering the appropriate `boot'
command at the monitor prompt. Depending on the PROM version in your machine,
this command takes one of the following forms:
.Dl "\*> b le()netbsd -s # for sun4 monitors
.Dl "ok boot le()netbsd -s # for version 1 OpenBOOT ROMs
.Dl "ok boot net netbsd -s # for version 2 OpenBOOT ROMs
.Dl "ok boot net netbsd -s
.Pp
This will boot the NetBSD kernel in single-user mode.
.(Note
The latter two examples assume you operate the OpenBOOT ROM in
"new command mode". If your machine comes up and gives you a `\*>' prompt
instead of `ok', type:
.Dl "\*>n # enter native OpenBOOT mode
.Dl "ok setenv sunmon-compat? false # make it permanent
.Dl "ok
.Note)
.Pp
If you use a diskless setup with a separately NFS-mounted /usr filesystem,
mount
@ -226,7 +184,6 @@ by hand now:
.Dl netbsd# Ic mount /usr
.Pp
.Em NOTE:
.Em For floppy installs, the text editor provided is ed.
.Em For miniroot installs, the text editor is vi.
When using
.Xr disklabel 8
@ -269,7 +226,7 @@ the kernel might be picky about these things, but aside from this you'll
have the least chance of wasting disk space.
Partitions on which you intend to have a mountable filesystem, should
be given fstype `4.2BSD'. Remember, the `c' partition should describe
the whole disk.
The whole disk and typically does not require editing.
The `(Cyl. x - y)' info that appears after the hash (`#') character is
treated as a comment and need not be filled in when altering partitions.
.(Note
@ -307,16 +264,14 @@ drivedata: 0
d: 525504 114688 4.2BSD 0 0 0 # (Cyl. 256 - 1428)
.Ed
.Pp
If you are upgrading a NetBSD installation, start the upgrade script:
.Dl netbsd# Ic sh upgrade.sh
else, start the installation script:
.Dl netbsd# Ic sh install.sh
To begin installation or the upgrade procedure, run sysinst:
.Dl netbsd# Ic sysinst
.
.Ss2 Running the installation scripts.
.Ss2 Running sysinst
.
The installation scripts will do most of the work of transferring the
The sysinst program will do most of the work of transferring the
system from the distribution sets onto your disk. You will frequently be
asked for confirmation before the script proceeds with each phase of the
asked for confirmation before sysinst proceeds with each phase of the
installation process.
.Pp
Occasionally, you will have to provide a piece of information such as the
@ -331,6 +286,8 @@ The installation script goes through the following phases:
determination of the disk to install NetBSD on
. It
checking of the partition information on the disk
. It
setting of the local timezone
. It
creating and mounting the NetBSD filesystems
. It
@ -341,22 +298,9 @@ The installation script goes through the following phases:
installation of boot programs
.El
.Pp
Now try a reboot. Initially I'd suggest you "boot sd()netbsd -bs", then
Now try a reboot. Initially I'd suggest you "boot netbsd -bs", then
try multiuser after that. If you boot single-user the NetBSD incantation
to make the root filesystem writable is
.Dl netbsd# Ic mount -u /dev/sd0a /
The Sun monitor might have been setup to instruct the boot program to load
a file called "vmunix". On OpenBOOT ROM systems you can change it to load
"netbsd" instead using the following commands:
.Pp
On version 1 OpenBOOT ROMs:
.Dl \*>n
.Dl ok Ic setenv boot-from sd(0,0,0)netbsd
.Dl ok
.Pp
On version 2 OpenBOOT ROMs:
.Dl ok Ic setenv boot-file netbsd
.Dl ok Ic setenv boot-device /sbus/esp/sd@0,0
.Pp
.Em Congratulations ,
you have successfully installed NetBSD \*V.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: prep,v 1.1 2000/08/19 13:16:00 mrg Exp $
.\" $NetBSD: prep,v 1.2 2000/09/17 21:03:32 mrg Exp $
.
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
@ -21,11 +21,6 @@ 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.
.Pp
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.
.Pp
A truly generic NetBSD kernel is also provided as `/netbsd.GENERIC',
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
@ -35,21 +30,10 @@ complete the installation.
This is also a concern when you start building your own customised kernels.
.Note)
.Pp
Your OpenBOOT ROM may need some setup. make sure you boot from `new
command mode'. If your machine comes up and gives you a `\*>' prompt
instead of `ok', type:
.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.
.Pp
Also, you cannot use the security modes of the sparc OpenBOOT ROM.
You cannot use the security modes of the sparc OpenBOOT ROM.
.Dl ok Ic setenv security-mode none
.Pp
If you're installing NetBSD/sparc for the first time it's a good idea
If you're installing NetBSD/sparc64 for the first time it's a good idea
to look at the partition sizes of disk you intend installing NetBSD on.
.Pp
Asumming a classic partition scheme with root (`/') and /usr filesystems,
@ -57,15 +41,5 @@ 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'.
.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.
.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.
unusable). A full binary installation including X11R6 takes about 150MB
in `/usr'.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: upgrade,v 1.1 2000/08/19 13:16:00 mrg Exp $
.\" $NetBSD: upgrade,v 1.2 2000/09/17 21:03:32 mrg Exp $
.\"
.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -36,11 +36,11 @@ To upgrade to
.Nx \*V
from a previous version follow the instructions in the section
.Sx Installing NetBSD ,
but run the script
.Pa upgrade.sh
instead of
.Pa install.sh .
but run sysinst and choose the upgrade option rather than the install
option.
.Pp
The upgrade script will use the existing disk partitions to install the
The upgrade option will use the existing disk partitions to install the
new system in, and also preserves the files in
.Pa /etc .
.Pa /etc
by moving them to
.Pa /etc.old .