diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 1997-05-19 22:41:24 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 1997-05-19 22:41:24 +0000 |
commit | f626f0d6fb662ca99c46edca3d213030cb9f3133 (patch) | |
tree | 838f5c7fd7fef0a77b390b32155f2ca095c06c50 /distrib/notes/arc | |
parent | f2c54c51f9411507b5ceaadfdf12a0de489c932a (diff) |
New improved (heh) release doc set
Diffstat (limited to 'distrib/notes/arc')
-rw-r--r-- | distrib/notes/arc/contents | 30 | ||||
-rw-r--r-- | distrib/notes/arc/hardware | 15 | ||||
-rw-r--r-- | distrib/notes/arc/install | 209 | ||||
-rw-r--r-- | distrib/notes/arc/prep | 29 | ||||
-rw-r--r-- | distrib/notes/arc/upgrade | 2 | ||||
-rw-r--r-- | distrib/notes/arc/whatis | 2 | ||||
-rw-r--r-- | distrib/notes/arc/xfer | 23 |
7 files changed, 103 insertions, 207 deletions
diff --git a/distrib/notes/arc/contents b/distrib/notes/arc/contents index 21e1d223fcf..20fa2a1f1fc 100644 --- a/distrib/notes/arc/contents +++ b/distrib/notes/arc/contents @@ -5,18 +5,26 @@ out as follows: .../2.1/arc/ INSTALL.arc Installation notes; this file. - bins/ arc binary distribution sets; + bsd.rd ARC RAMDISK kernel. This is the + kernel that should be booted when + installing OpenBSD. + + *.gz ARC binary distribution sets; see below. - miniroot/ arc boot and installation - floppies; see below. + bsd ARC GENERIC kernel in ELF format. + This is the kernel installed by the + install script. + + bsd.ecoff ARC GENERIC kernel in ECOFF format. + This kernel may be used to boot a + system from a MSDOS disk. -There is a arc miniroot image to be found in the "arc/minroot" -subdirectory of the OpenBSD 2.1 distribution. Also there is a -miniroot tar file there. +The ARC ramdisk image is a bootable kernel+rootimage. This kernel is used +when a system is installed for the first time. The file is in ECOFF format. The OpenBSD/arc binary distribution sets contain the binaries which -comprise the OpenBSD 2.1 release for arc systems. There are seven binary +comprise the OpenBSD 2.1 release for ARC systems. There are seven binary distribution sets. The binary distribution sets can be found in subdirectories of the "arc/bins" subdirectory of the OpenBSD 2.1 distribution tree, and are as follows: @@ -27,7 +35,7 @@ distribution tree, and are as follows: system to run and be minimally functional. It includes shared library support, and excludes everything described below. - [ 15.0M gzipped, 50.8M uncompressed ] + [ 15.0M gzipped, 50.9M uncompressed ] comp21 The OpenBSD/arc Compiler tools. All of the tools relating to C, C++, and FORTRAN (yes, there are two!). @@ -38,7 +46,7 @@ distribution tree, and are as follows: set). This set also includes the manual pages for all of the utilities it contains, as well as the system call and library manual pages. - [ 16.2M gzipped, 61.1M uncompressed ] + [ 15.9M gzipped, 60.2M uncompressed ] etc21 This distribution set contains the system configuration files that reside in /etc and in several @@ -47,7 +55,7 @@ distribution tree, and are as follows: used if you are upgrading. (If you are upgrading, it's recommended that you get a copy of this set and CAREFULLY upgrade your configuration files by hand.) - [ 93K gzipped, 450K uncompressed ] + [ 92K gzipped, 450K uncompressed ] game21 This set includes the games and their manual pages. [ 2.9M gzipped, 7.5M uncompressed ] @@ -69,7 +77,7 @@ distribution tree, and are as follows: manual pages. [ 1.0M gzipped, 4.2M uncompressed ] -The arc binary distribution sets are distributed in the same form as +The ARC binary distribution sets are distributed in the same form as the source distribution sets; catted together, the members of a set form a gzipped tar file. Each arc binary distribution set also has its own "CKSUMS" file, just as the source distribution sets do. diff --git a/distrib/notes/arc/hardware b/distrib/notes/arc/hardware index 7f0cf40dce4..5efae04568f 100644 --- a/distrib/notes/arc/hardware +++ b/distrib/notes/arc/hardware @@ -6,6 +6,8 @@ OpenBSD/arc 2.1 runs on the following classes of machines: OpenBSD/pmax 2.1 does *not* (yet) run on these machines: - Mips Magnum - Olivetti systems. + - SNI RMxxx machines. + - NEC Risc. The minimal configuration requires 8M of RAM and ~60M of disk space. To install the entire system requires ~150M of disk space, and to run @@ -15,13 +17,15 @@ Supported devices include: graphics: built-in S3 VGA graphics adatper on PICA. Standard VGA graphics adapter on rPC44 and Tyne. + Note that X11R6 currently supports only S3 boards. keyboard: - Standard PC compatible keyboard with driver softloaded keymaps. + Standard PC compatible keyboard with optionally + driver softloaded keymaps. mouse: PS2 mouse on PICA - Serial mouse (with X server) on rPC44 and Tyne. + Serial mouse on /dev/tty00 on rPC44 and Tyne. serial ports: on-board tty00 and tty01 (PICA. can not yet be used as console) @@ -37,12 +41,15 @@ Supported devices include: floppy is supported on PICA only. ethernet: - on-board SONIC controller (PICA) + on-board SONIC ethernet controller (PICA only) 3Com Etherlink boards (All ISA capable systems) + NE2000 compatible ISA boards. SCSI: on-board NCR53C96 SCSI controller (PICA) VLB "Buslogic BT-440C/445C" SCSI controller. - + IDE: + IDE disks via wd driver on ISA bus. Bootable only + on Deskstation systems. diff --git a/distrib/notes/arc/install b/distrib/notes/arc/install index 0a49230d456..cb6ed56a823 100644 --- a/distrib/notes/arc/install +++ b/distrib/notes/arc/install @@ -2,193 +2,86 @@ Installing OpenBSD is a relatively complex process, but if you have this document in hand it shouldn't be too much trouble. There are several ways to install OpenBSD onto a disk. The easiest way -in terms of preliminary setup is to use the OpenBSD simpleroot that can -be booted off your local disk. Alternatively, if your Decstation 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 using a diskless setup' below). +in terms of preliminary setup is to use the OpenBSD ramdisk kernel that +can be booted off your local MSDOS disk or from the CD-ROM. -Installing using the OpenBSD simpleroot. +Installing using the OpenBSD ramdisk kernel. -The miniroot is a self-contained OpenBSD filesystem holding a complete -OpenBSD/pmax rootfilesystem plus all utilities necessary to install -OpenBSD on a local disk. It is distributed as a plain file designed to -be transferred to a raw disk partition from which it can be booted -using the appropriate PROM command. +The ramdisk kernel is a self-contained OpenBSD filesystem including all +utilities necessary to install OpenBSD on a local disk, embedded in a +GENERIC kernel image. It is distributed as a plain ECOFF executable file +designed to be loaded into the system by the ARC firmaware. -Loading the simpleroot onto your raw partition is simple. On OpenBSD -as well as SunOS you use a command like: +Loading the ramdisk kernel into your system is done with the appropriate +BIOS Run command on Your system. Usually this is done by typing in the +following string at the "Run a program" prompt: - # dd if=simpleroot21.fs of=/dev/rsd0c bs=20b conv=sync + scsi()disk()rdisk()partition(1)\bsd.rd -Especially on OpenBSD/pmax you'll have to use /dev/rrz0c or something -like that instead of /dev/rsd0c. +to boot from an existing MSDOS FAT partition to which the ramdisk kernel +have been copied. Or from the CD-ROM: -Keep in mind that this will overwrite the contents of that disk! + CD:\2.1\arc\bsd.rd -After transferring the simpleroot to disk, bring the system down by: +Exact input to describe the device path varies. Consult your ARC-Bios manual +for more information about the particular system. - # halt +This will cause the ramdisk kernel to be booted. After the initial probe +messages you'll asked to choose a shell with sh as default. Simply type +[Return] here and you are in single user mode. -Then boot the miniroot by typing the appropriate command at the PROM: - >> boot rz(0,0,0)/bsd # for Decstation 2100/3100 +Start the installation script: -or + # install - >> boot 5/rz0a/bsd # for Decstation 5000's -If you've loaded the simpleroot onto some other disk than `rz0' adapt -the boot specifier accordingly. - -This will cause the kernel contained in the simpleroot to be booted. -After the initial probe messages you'll asked to choose a shell with -sh as default. Simply type Return here and you are in single user -mode. - -XXX more to come here - -Installing using a diskless setup. - -First, you must setup a diskless client configuration on a server. If -you are using a OpenBSD system as the boot-server, have a look at the -diskless(8) manual page for guidelines on how to proceed with this. -If the server runs another operating system, you'll have to consult -documentation that came with it (on SunOS systems, add_client(8) is a -good start). - -XXX more to come here - -As noted above in the section `Preparing your System for OpenBSD Installation', -you have several options when choosing a location to store the installation -filesets. However, the easiest way is to put the *.tar.gz files you want -to install into the root directory for your client on the server. - -Next, unpack `base.tar.gz' and `etc.tar.gz' on the server in the root -directory for your machine. If you elect to use a separately NFS-mounted -filesystem for `/usr' with your diskless setup, make sure the "./usr" base -files in base.tar.gz end up in the correct location. One way to do this is -to temporarily use a loopback mount on the server, re-routing <root>/usr to -your server's exported OpenBSD "/usr" directory. Also put the kernel and the -install/upgrade scripts into the root directory. - -A few configuration files need to be edited: - - <root>/etc/hosts - Add the IP addresses of both server and client. - - <root>/etc/myname - This files contains the client's hostname; use the same - name as in <root>/etc/hosts. - - <root>/etc/fstab - Enter the entries for the remotely mounted filesystems. - For example: - server:/export/root/client / nfs rw 0 0 - server:/export/exec/sun4.OpenBSD /usr nfs rw 0 0 - -Now you must populate the the `/dev' directory for your client. If you server -runs SunOS 4.x, you can simply change your working directory to `<root>/dev' -and run the MAKEDEV script: `sh MAKEDEV all'. - -On SunOS 5.x systems, MAKEDEV can also be used, but there'll be error -messages about unknown user and groups. These errors are inconsequential -for the purpose of installing OpenBSD. However, you may want to correct them -if you plan to the diskless setup regularly. In that case, you may re-run -MAKEDEV on your OpenBSD machine once it has booted. - -XXX more to come here - -This will boot the OpenBSD kernel in single-user mode. - -If you use a diskless setup with a separately NFS-mounted /usr filesystem, -mount /usr by hand now: - -OpenBSD# mount /usr - -XXX more to come here - -Here follows an example of what you'll see while in the dislabel editor. -Do not touch any of the parameters except for the `label: ' entry and -the actual partition size information at the bottom (the lines starting -with `a:', `b:', ...). - -The size and offset fields are given in sector units. 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 `(Cyl. x - y)' info that appears after the hash (`#') -character is treated as a comment and need not be filled in when -altering partitions. - -Special note: the line containing `8 partitions:' is best left alone, -even if you define less then eight partitions. If this line displays -a different number and the program complains about it (after you leave -the editor), then try setting it to `8 partitions:'. - - -<BEGIN SAMPLE DISKLABEL SCREEN> -OpenBSD# disklabel rz0 - # /dev/rrz0c: -type: SCSI -disk: SCSI disk -label: Hold Your Breath -flags: -bytes/sector: 512 -sectors/track: 64 -tracks/cylinder: 7 -sectors/cylinder: 448 -cylinders: 1429 -rpm: 3600 -interleave: 1 -trackskew: 0 -cylinderskew: 0 -headswitch: 0 # milliseconds -track-to-track seek: 0 # milliseconds -drivedata: 0 - -8 partitions: -# size offset fstype [fsize bsize cpg] - a: 50176 0 4.2BSD 0 0 0 # (Cyl. 0 - 111) - b: 64512 50176 swap # (Cyl. 112 - 255) - c: 640192 0 unknown # (Cyl. 0 - 1428) - d: 525504 114688 4.2BSD 0 0 0 # (Cyl. 256 - 1428) -<END SAMPLE DISKLABEL SCREEN> - - -else, start the installation script: - -OpenBSD# sh install.sh - - -These scripts will do most of the work of transferring the system from the +The script will do most of the work of transferring the system from the tar files onto your disk. You will frequently be asked for confirmation before the script proceeds with each phase of the installation process. Occasionally, you'll have to provide a piece of information such as the name of the disk you want to install on or IP addresses and domain names -you want to assign. If your system has more than one disk, you may want -to look at the output of the dmesg(8) command to see how your disks -have been identified by the kernel. +you want to assign. The installation script goes through the following phases: - determination of the disk to install OpenBSD on - - checking of the partition information on the disk + - checking of the MBR partition information on the disk + - checking of the OpenBSD partition information on the disk - creating and mounting the OpenBSD filesystems - setup of IP configuration - extraction of the distribution tar files - - installation of boot programs + - installation of kernel and the bootable kernel + +The installation program will guide you through the installation. There is +one area of complexity that you should be very careful about and that is +how to install the requiered MBR (Msdos Boot Record) and MSDOS FAT partition. + +OpenBSD will coexist with other operating systems with help from the MSDOS +partition table. Because the ARC Bios only knows how to boot from a FAT +formatted disk there must always exist a small or big (depending on your +needs) MSDOS FAT partition on the disk. Install will initialize the install +target disk with a proper MBR and an empty 5Mb MSDOS partition it that is +desired. Or it will keep the curent MBR and partitioning. In the later case +you will need to fill in the MBR with a usable OpenBSD partition. + + +Now try a reboot (enter the command "reboot" at the prompt). This will take +you back to the ARC Bios. You will now need to set up a boot selection to +boot OpenBSD. How to do this varies from system to system and should be +described in your systems manual. The process to set up the parameters is +almost exactly the same as for Win/NT apart from the name of the OSLOADER +which should be set to 'bsd'. You may also set the OSLOADOPTIONS parameter +to any of the following characters: + n = Ask for root device Name. N = Don't as for root device Name. + a = Autoboot to Multiuser mode. A = Boot to single user mode. -Now try a reboot. (If needed, swap your scsi id's first). Initially -I'd suggest you "boot" (Decstation 2100/3100) or "boot/rz0a/bsd", then -try multiuser after that. if you boot single-user the OpenBSD -incantation to make the root filesystem writable is +So to boot the system to multiuser mode set: - OpenBSD# mount -u /dev/sd0a / + OSLOADOPTIONS=Na -XXX more to come about setting defaults on the prom prompt Congratulations, you have successfully installed OpenBSD 2.1. When you reboot into OpenBSD, you should log in as "root" at the login prompt. diff --git a/distrib/notes/arc/prep b/distrib/notes/arc/prep index ebbf1269ff5..ba78e73007d 100644 --- a/distrib/notes/arc/prep +++ b/distrib/notes/arc/prep @@ -1,21 +1,24 @@ -Before you start you should familiarize yourself with the BIOS setup -and how to run programs from the BIOS screen. +Before you start you should familiarize yourself with the ARC Bios setup +and how to run programs from the ARC Bios screen. You should also examine the guide on the OpenBSD/arc web site, which -will hopefully soon have more complete and more up-to-date -instructions than are given in the install document. +will hopefully soon have more complete and more up-to-date instructions +than are given in the install document. If you're installing OpenBSD/arc for the first time it's a very good idea to look at the partition sizes of disk you intend installing OpenBSD on. -Changing the size of partitions after you've installed is difficult. -If you do not have a spare bootable disk, it may be simpler to re-install +Changing the size of partitions after you've installed is difficult. If +you do not have a spare bootable disk, it may be simpler to re-install OpenBSD again from scratch. Asumming a classic partition scheme with root (`/') and /usr filesystems, -a comfortable size for the OpenBSD root filesystem partition is about 32M. -Hovever it has shown that 64M is not a bad choise when more packages are -to be installed. A good initial size for the swap partition is twice the -amount of physical memory in your machine or at least 64M. A minimum /usr -partition is ~150M but with that you will run into trouble later. A minimum -size of 350M is recommended. A full binary installation, without X11 or -other additional software, takes about 130MB in `/usr'. +a comfortable size for the OpenBSD root filesystem partition (a) is about +32Mb. The install will take ~18Mb of that. Hovever it has shown that 60M +is not a bad choise when more packages are to be installed. It is recommended +that the 'a' partition and the MSDOS (i) partition uses the first 64Mb. +A good initial size for the swap (b) partition is twice the amount of physical +memory in your machine or at least 64M. +A minimum /usr partition (e) is ~150M but with that you will run into trouble +later. A minimum size of 350M is recommended. A full binary installation, +without X11 or any other additional software, takes about 120MB in `/usr'. + diff --git a/distrib/notes/arc/upgrade b/distrib/notes/arc/upgrade index a62194904e2..babaaedc054 100644 --- a/distrib/notes/arc/upgrade +++ b/distrib/notes/arc/upgrade @@ -1,2 +1,2 @@ -Because this is the first release of OpenBSD for the pmax - there is no +Because this is the first release of OpenBSD for the ARC's - there is no upgrade option in this release. diff --git a/distrib/notes/arc/whatis b/distrib/notes/arc/whatis index 3cbc1648c97..f489aaae098 100644 --- a/distrib/notes/arc/whatis +++ b/distrib/notes/arc/whatis @@ -1,3 +1,3 @@ -OpenBSD 2.1 is the second release of OpenBSD for MIPS R4K ARC Class +OpenBSD 2.1 is the first release of OpenBSD for MIPS R4K ARC Class systems. This release has support for R4000PC, R4400PC, R4600PC and R4700PC processors. diff --git a/distrib/notes/arc/xfer b/distrib/notes/arc/xfer index 27f47aff13d..41a88237824 100644 --- a/distrib/notes/arc/xfer +++ b/distrib/notes/arc/xfer @@ -47,25 +47,10 @@ To prepare for installing via FTP: To prepare for installing via a CD-ROM: - To install OpenBSD from a CD-ROM, you need to somehow - get the OpenBSD filesets you wish to install on - your system on to the appropriate kind of tape, - in tar format. - - If you're making the tape on a UN*X system, the easiest - way to do so is: - - tar cvf <tape_device> <files> - - where "<tape_device>" is the name of the tape device - that describes the tape drive you're using (possibly - something like /dev/nrst0, but we make no guarantees 8-). - Under SunOS 5.x, this would be something like /dev/rmt/0mbn. - Again, your mileage may vary. If you can't figure it out, - ask your system administrator. "<files>" are the names - of the "set_name.nnn" files which you want to be placed - on the tape. + To install OpenBSD from a CD-ROM, you simply need to + install the CD rom in the cdrom reader and follow the + instructions. Once you have done this, you can proceed to the next - step in the installation process, preparing your + step in the installation process, preparing your system for OpenBSD installation. |