INSTALL(8) NetBSD System Manager's Manual INSTALL(8) NAME INSTALL - Installation procedure for NetBSD/mac68k. CONTENTS About this Document............................................2 What is NetBSD?................................................2 Upgrade path to NetBSD 1.6.....................................2 Changes Between The NetBSD 1.5 and 1.6 Releases................3 Kernel......................................................3 Networking..................................................3 File system.................................................4 Security....................................................4 System administration and user tools........................5 Miscellaneous...............................................5 mac68k specific.............................................6 The Future of NetBSD...........................................6 Sources of NetBSD..............................................7 NetBSD 1.6.1 Release Contents..................................7 NetBSD/mac68k subdirectory structure........................8 Binary distribution sets....................................9 NetBSD/mac68k System Requirements and Supported Devices.......11 Supported models...........................................11 Supported devices..........................................11 Unsupported models.........................................12 Known hardware issues with this release....................12 Getting the NetBSD System on to Useful Media..................13 Preparing your System for NetBSD installation.................14 Installing the NetBSD System (Sysinst Method).................15 Running the sysinst installation program...................15 Introduction............................................15 Possible hardware-specific issues.......................15 General.................................................16 Quick install...........................................16 Booting NetBSD..........................................18 Network configuration...................................19 Preparing a disk for Mac OS and NetBSD..................19 Installation drive selection and parameters.............19 Partitioning the disk...................................19 Preparing your hard disk................................21 Getting the distribution sets...........................22 Installation using ftp..................................22 Installation using NFS..................................22 Installation from CD-ROM................................22 Installation from Mac OS file systems...................23 Installation from an unmounted file system..............23 Installation from a local directory.....................23 Extracting the distribution sets........................23 Finalizing your installation............................23 Installing the NetBSD System (Traditional Method).............23 Preparing the file system(s)...............................23 Installing the files.......................................24 Installation of base files.................................25 Booting the system.........................................25 Post installation steps.......................................26 Upgrading a previously-installed NetBSD System................28 Compatibility Issues With Previous NetBSD Releases............29 Issues affecting an upgrade from NetBSD 1.5................29 Issues affecting an upgrade from NetBSD 1.4 or prior.......30 Using online NetBSD documentation.............................31 Administrivia.................................................32 Thanks go to..................................................32 We are........................................................34 Legal Mumbo-Jumbo.............................................39 The End.......................................................41 DESCRIPTION About this Document This document describes the installation procedure for NetBSD 1.6.1 on the mac68k platform. It is available in four different formats titled INSTALL.ext, where .ext is one of .ps, .html, .more, or .txt: .ps PostScript. .html Standard Internet HTML. .more The enhanced text format used on UNIX-like systems by the more(1) and less(1) pager utility programs. This is the format in which the on-line man pages are generally pre- sented. .txt Plain old ASCII. You are reading the ASCII version. What is NetBSD? The NetBSD Operating System is a fully functional Open Source UNIX-like operating system derived from the University of California, Berkeley Net- working Release 2 (Net/2), 4.4BSD-Lite, and 4.4BSD-Lite2 sources. NetBSD runs on fifty three different system architectures (ports), featuring seventeen machine architectures across eleven distinct CPU families, and is being ported to more. The NetBSD 1.6.1 release contains complete bi- nary releases for thirty eight different system architectures. (The fif- teen remaining are not fully supported at this time and are thus not part of the binary distribution. For information on them, please see the NetBSD web site at http://www.netbsd.org/.) NetBSD is a completely integrated system. In addition to its highly portable, high performance kernel, NetBSD features a complete set of user utilities, compilers for several languages, the X Window System, firewall software and numerous other tools, all accompanied by full source code. NetBSD is a creation of the members of the Internet community. Without the unique cooperation and coordination the net makes possible, it's likely that NetBSD wouldn't exist. Upgrade path to NetBSD 1.6 If you are not installing your system ``from scratch'' but instead are going to upgrade an existing system already running NetBSD you need to know which versions you can upgrade with NetBSD 1.6. NetBSD 1.6 is an upgrade of NetBSD 1.5.3 and earlier major and patch re- leases of NetBSD. The intermediate development versions of code available on the main trunk in our CVS repository (also known as ``NetBSD-current'') from after the point where the release cycle for 1.6 was started are designated by ver- sion identifiers such as 1.6A, 1.6B, etc. These identifiers do not des- ignate releases, but indicate major changes in internal kernel APIs. Note that the kernel from NetBSD 1.6 can not be used to upgrade a system running one of those intermediate development versions. Trying to use the NetBSD 1.6 kernel on such a system will probably result in problems. Please also note that it is not possible to do a direct ``version'' com- parison between any of the intermediate development versions mentioned above and 1.6 to determine if a given feature is present or absent in 1.6. The development of 1.6 and the subsequent ``point'' releases is done on a separate branch in the CVS repository. The branch was created when the release cycle for 1.6 was started, and during the release cycle of 1.6 and its patch releases selected fixes and enhancements have been imported from the main development trunk. Changes Between The NetBSD 1.5 and 1.6 Releases The NetBSD 1.6 release provides numerous significant functional enhance- ments, including support for many new devices, integration of hundreds of bug fixes, new and updated kernel subsystems, and many user-land enhance- ments. The result of these improvements is a stable operating system fit for production use that rivals most commercially available systems. It is impossible to completely summarize over eighteen months of develop- ment that went into the NetBSD 1.6.1 release. Some highlights include: Kernel o Ports to new platforms including: algor, dreamcast, evbarm, hpcarm, hpcsh, newsmips, sandpoint, sgimips, sun2, and walnut. o Unified Buffer Cache (UBC) removes size restriction of the file sys- tem's buffer cache to use all available RAM (if not otherwise used!) and improves overall system performance. o Round-robin page colouring implemented for various ports for better cache utilisation, more deterministic run-time behaviour, and faster program execution. o A rewritten SCSI middle layer to provide a cleaner interface between the different kernel layers, including a kernel thread to handle er- ror recovery outside of the interrupt context. See scsipi(9). o A new pipe implementation with significantly higher performance due to lower overheads, which uses the UVM Page Loan facility. o A work-in-progress snapshot of ACPI support, based on the 20010831 snapshot of the Intel ACPICA reference implementation. o USB 2.0 support, in the form of a preliminary driver for the ehci(4) host controller. o Basic kernel support for IrDA in the form of the irframe(4) IrDA frame level driver. Serial dongles and the oboe(4) driver are cur- rently supported. o Kernel configuration files can be embedded into the kernel for later retrieval. Refer to INCLUDE_CONFIG_FILE in options(4) for more in- formation. o Many more kernel tunable variables added to sysctl(8). o Linux binary emulation has been greatly improved, and now supports Linux kernel version 2.4.18. Networking o Hardware assisted IPv4 TCP and UDP checksumming and caching of the IPv6 TCP pseudo header. Support for checksum offloading on the DP83820 Gigabit Ethernet, 3Com 3c90xB, 3Com 3c90xC, and Alteon Tigon/Tigon2 Gigabit Ethernet cards. o Zero-Copy for TCP and UDP transmit path achieved through page loaning code for sosend(). o In-kernel ISDN support, from the ISDN4BSD project. o 802.1Q VLAN (virtual LAN) support. See vlan(4). o IPFilter now supports IPv6 filtering. o ndbootd(8) added; used to netboot NetBSD/sun2 machines. o racoon(8) added; IKE key management daemon for IPsec key negotiation, from the KAME project. o WEP encryption supported in ifconfig(8) and awi(4) driver. o wi(4) and wiconfig(8) now support scanning for access points, and de- faults to BSS instead of ad-hoc mode. o Bridging support; currently only for ethernet. See bridge(4). o In-kernel PPP over Ethernet (PPPoE) - RFC 2516, with much lower over- head than user-land PPPoE clients. See pppoe(4). o ifwatchd(8) added; invokes up-script and down-script when a network interface goes up and down. Used by pppoe(4). File system o Enhanced stability of LFS version 2, the BSD log-structured file sys- tem. o dump(8), dumpfs(8), fsck_ffs(8), fsirand(8), newfs(8), and tunefs(8) support a -F option to manipulate file system images in regular files. o makefs(8) added; creates file system images from a directory tree. (Currently ffs only.) o Enhanced ffs_dirpref() by Grigoriy Orlov, which noticeably improves performance on FFS file systems when creating directories, and subse- quently manipulating them. o Fixes for free block tracking and directory block allocation in FFS softdeps. o Correctly support FFS file systems with a large number of cylinder groups. o Fix the endian independant FFS (FFS_EI) support. o newfs(8) calculates default block size from the file system size, and uses the largest possible cylinders/group (cpg) value if -c isn't given. o dpti(4) driver added; an implementation of the DPT/Adaptec SCSI/I2O RAID management interface. Allows the use of the Linux versions of dptmgr, raidutil, dptelog, (etc). o Support for Windows 2000 `NTFS' (NTFS5). o Tagged queueing support for SCSI drivers based on the ncr53c9x con- troller. Security o Addition of a chroot(8) hierarchy for services including named(8), ntpd(8), and sshd(8). o Additional passwd(5) ciphers: MD5, and DES with more encryption rounds. See passwd.conf(5). o Several more code audits were performed. o /etc/security performs many more checks and is far more flexible in how it monitors changes. See security.conf(5). System administration and user tools o sushi(8) added; a menu based system administration tool. o pgrep(1) and pkill(1) added; find or signal processes by name or oth- er attributes. o System upgrades are made easier through the etcupdate(8) script which helps updating the /etc config files interactively, and the /etc/postinstall script which is provided to check for or fix config- uration changes that have occurred in NetBSD. o stat(1) added; a user interface to the information returned by the stat(2) system call. o BSD sort(1) replaces GNU sort(1). o The ``stop'' operation for rc.d(8) scripts waits until the service terminates before returning. This improves the reliability of ``restart'' operations as well. o Swap devices can be removed at system shutdown by enabling swapoff in rc.conf(5). o An optional watchdog timer which will terminate rc.shutdown(8) after the number of seconds provided in rcshutdown_timeout from rc.conf(5). Miscellaneous o Support for multibyte LC_CTYPE locales has been integrated from the Citrus project. Many Chinese, Japanese, Korean, and other encodings are now available. o Full support for cross-compilation of the base system, even as a non- root user! src/build.sh is available for doing arbitrary cross- builds; see src/BUILDING for more information. At least 38 ports for the NetBSD 1.6.1 release were cross-built on a NetBSD/i386 system us- ing this mechanism. o Migrated the following CPU platforms to ELF: arm, and m68k (including amiga, hp300, mac68k, mvme68k, sun2, and x68k). o Updates of most third party packages that are shipped in the base system to the following latest stable releases: - amd 6.0.6 - BIND 8.3.3 - binutils 2.11.2 - bzip2 1.0.2 - cvs 1.11 - dhcp 3.0.1rc9 - file 3.38 - gcc 2.95.3 - groff 1.16.1 - Heimdal 0.4e - IPfilter 3.4.27 - kerberos4 1.1 - ksh from pdksh 5.2.14p2 - less 374 - nvi 1.79 - OpenSSH 3.4 - OpenSSL 0.9.6g - Postfix 1.1.11 - ppp 2.4.0 - routed 2.24 - sendmail 8.11.6 - tcpdump 3.7.1 o Many new packages in the pkgsrc system, including the latest open source desktop KDE3, OpenOffice, perl, Apache and many more. At the time of writing, there are over 3000 third party packages available in pkgsrc. o Added AGP GART driver agp(4) for faster access to graphics boards. o init(8) will create an mfs (memory based file system) /dev if /dev/console is missing. o vmstat(8) displays kernel hash statistics with -H and -h hash. o wscons(4) supports blanking of VGA consoles. Kernel interfaces have continued to be refined, and more subsystems and device drivers are shared among the different ports. You can look for this trend to continue. mac68k specific NetBSD 1.6.1 is the seventh major release of NetBSD for the m68k-based Macintosh. For the mac68k port, NetBSD 1.6.1 offers improved support for a variety of PowerBook models, many of which now support the built-in keyboard and display as a console. Please see the NetBSD/mac68k System Requirements and Supported Devices section for de- tails. There is still a lot of work to be done and help is welcomed. NetBSD 1.6.1 on the mac68k platform is, as usual, also fully backward compatible with old NetBSD/mac68k binaries, so you don't need to recom- pile all of your local programs. The Future of NetBSD The NetBSD Foundation has been incorporated as a non-profit organization. Its purpose is to encourage, foster and promote the free exchange of com- puter software, namely the NetBSD Operating System. The foundation will allow for many things to be handled more smoothly than could be done with our previous informal organization. In particular, it provides the framework to deal with other parties that wish to become involved in the NetBSD Project. The NetBSD Foundation will help improve the quality of NetBSD by: o providing better organization to keep track of development efforts, including co-ordination with groups working in related fields. o providing a framework to receive donations of goods and services and to own the resources necessary to run the NetBSD Project. o providing a better position from which to undertake promotional ac- tivities. o periodically organizing workshops for developers and other interested people to discuss ongoing work. We intend to begin narrowing the time delay between releases. Our ambi- tion is to provide a full release every six to eight months. We hope to support even more hardware in the future, and we have a rather large number of other ideas about what can be done to improve NetBSD. We intend to continue our current practice of making the NetBSD-current development source available on a daily basis. We intend to integrate free, positive changes from whatever sources sub- mit them, providing that they are well thought-out and increase the us- ability of the system. Above all, we hope to create a stable and accessible system, and to be responsive to the needs and desires of NetBSD users, because it is for and because of them that NetBSD exists. Sources of NetBSD Refer to http://www.netbsd.org/Sites/net.html. NetBSD 1.6.1 Release Contents The root directory of the NetBSD 1.6.1 release is organized as follows: .../NetBSD-1.6.1/ CHANGES Changes since earlier NetBSD releases. LAST_MINUTE Last minute changes. MIRRORS A list of sites that mirror the NetBSD 1.6.1 distribution. README.files README describing the distribution's contents. TODO NetBSD 's todo list (also somewhat incomplete and out of date). patches/ Post-release source code patches. source/ Source distribution sets; see below. In addition to the files and directories listed above, there is one di- rectory per architecture, for each of the architectures for which NetBSD 1.6.1 has a binary distribution. There are also README.export- control files sprinkled liberally throughout the distribution tree, which point out that there are some portions of the distribution that may be subject to export regulations of the United States, e.g. code under src/crypto and src/sys/crypto. It is your responsibility to determine whether or not it is legal for you to export these portions and to act accordingly. The source distribution sets can be found in subdirectories of the source subdirectory of the distribution tree. They contain the complete sources to the system. The source distribution sets are as follows: gnusrc This set contains the ``gnu'' sources, including the source for the compiler, assembler, groff, and the other GNU utilities in the binary distribution sets. 55 MB gzipped, 247 MB uncompressed pkgsrc This set contains the ``pkgsrc'' sources, which contain the in- frastructure to build third-party packages. 12 MB gzipped, 94 MB uncompressed sharesrc This set contains the ``share'' sources, which include the sources for the man pages not associated with any particular program; the sources for the typesettable document set; the dictionaries; and more. 4 MB gzipped, 16 MB uncompressed src This set contains all of the base NetBSD 1.6.1 sources which are not in gnusrc, sharesrc, or syssrc. 27 MB gzipped, 136 MB uncompressed syssrc This set contains the sources to the NetBSD 1.6.1 kernel for all architectures; config(8); and dbsym(8). 22 MB gzipped, 114 MB uncompressed xsrc This set contains the sources to the X Window System. 78 MB gzipped, 394 MB uncompressed All the above source sets are located in the source/sets subdirectory of the distribution tree. The source sets are distributed as compressed tar files. Except for the pkgsrc set, which is traditionally unpacked into /usr/pkgsrc, all sets may be unpacked into /usr/src with the command: # ( cd / ; tar -zxpf - ) < set_name.tgz The sets/Split/ subdirectory contains split versions of the source sets for those users who need to load the source sets from floppy or otherwise need a split distribution. The split sets are named set_name.xx where set_name is the distribution set name, and xx is the sequence number of the file, starting with ``aa'' for the first file in the distribution set, then ``ab'' for the next, and so on. All of these files except the last one of each set should be exactly 240,640 bytes long. (The last file is just long enough to contain the remainder of the data for that distribution set.) The split distributions may be reassembled and extracted with cat as fol- lows: # cat set_name.?? | ( cd / ; tar -zxpf - ) In each of the source distribution set directories, there are files which contain the checksums of the files in the directory: BSDSUM Historic BSD checksums for the various files in that di- rectory, in the format produced by the command: cksum -o 1 file. CKSUM POSIX checksums for the various files in that directory, in the format produced by the command: cksum file. MD5 MD5 digests for the various files in that directory, in the format produced by the command: cksum -m file. SYSVSUM Historic AT&T System V UNIX checksums for the various files in that directory, in the format produced by the command: cksum -o 2 file. The MD5 digest is the safest checksum, followed by the POSIX checksum. The other two checksums are provided only to ensure that the widest pos- sible range of system can check the integrity of the release files. NetBSD/mac68k subdirectory structure The mac68k-specific portion of the NetBSD 1.6.1 release is found in the mac68k subdirectory of the distribution: .../NetBSD-1.6.1/mac68k/ INSTALL.html INSTALL.ps INSTALL.txt INSTALL.more Installation notes in various file formats, including this file. The .more file contains underlined text using the more(1) conventions for indicating italic and bold display. binary/ kernel/ netbsd-GENERIC.gz A kernel containing code for everything supported in this release using the standard SCSI driver. netbsd-GENERICSBC.gz A kernel containing code for everything supported in this release using the SBC variant of the SCSI driver. sets/ mac68k binary distribution sets; see below. installation/ instkernel/ mac68k boot and installation kernels; see instal- lation section (Sysinst Method), below. misc/ Miscellaneous mac68k installation utilities; see the Traditional method installation section, be- low. Binary distribution sets The NetBSD mac68k binary distribution sets contain the binaries which comprise the NetBSD 1.6.1 release for the mac68k. There are eight binary distribution sets. The binary distribution sets can be found in the mac68k/binary/sets subdirectory of the NetBSD 1.6.1 distribution tree, and are as follows: base The NetBSD 1.6.1 mac68k base binary distribution. You must in- stall this distribution set. It contains the base NetBSD util- ities that are necessary for the system to run and be minimally functional. It includes shared library support, and excludes everything described below. 17 MB gzipped, 41 MB uncompressed comp Things needed for compiling programs. This set includes the system include files (/usr/include) and the various system li- braries (except the shared libraries, which are included as part of the base 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. 14 MB gzipped, 53 MB uncompressed etc This distribution set contains the system configuration files that reside in /etc and in several other places. This set must be installed if you are installing the system from scratch, but should not be used if you are upgrading. 1 MB gzipped, 1 MB uncompressed games This set includes the games and their manual pages. 3 MB gzipped, 7 MB uncompressed kern-GENERIC This set contains a NetBSD/mac68k 1.6.1 GENERIC kernel, named /netbsd. You must install either this distribution set or kern-GENERICSBC. 1 MB gzipped, 3 MB uncompressed kern-GENERICSBC This set contains a NetBSD/mac68k 1.6.1 GENERICSBC kernel, named /netbsd. You must install either this distribution set or kern-GENERIC. 1 MB gzipped, 3 MB uncompressed man This set includes all of the manual pages for the binaries and other software contained in the base set. Note that it does not include any of the manual pages that are included in the other sets. 7 MB gzipped, 27 MB uncompressed misc This set includes the (rather large) system dictionaries, the typesettable document set, and other files from /usr/share. 3 MB gzipped, 8 MB uncompressed text This set includes NetBSD's text processing tools, including groff(1), all related programs, and their manual pages. 2 MB gzipped, 6 MB uncompressed NetBSD maintains its own set of sources for the X Window System in order to assure tight integration and compatibility. These sources are based on XFree86, and tightly track XFree86 releases. They are currently equivalent to XFree86 3.3.6. Binary sets for the X Window System are distributed with NetBSD. The sets are: xbase The basic files needed for a complete X client environment. This does not include the X servers. 3 MB gzipped, 7 MB uncompressed xcomp The extra libraries and include files needed to compile X source code. 2 MB gzipped, 8 MB uncompressed xcontrib Programs that were contributed to X. 1 MB gzipped, 1 MB uncompressed xfont Fonts needed by X. 6 MB gzipped, 7 MB uncompressed xmisc Miscellaneous X programs. 1 MB gzipped, 1 MB uncompressed xserver The Xmac68k monochrome server with man pages. 2 MB gzipped, 4 MB uncompressed The mac68k binary distribution sets are distributed as gzipped tar files named with the extension .tgz, e.g. base.tgz. The instructions given for extracting the source sets work equally well for the binary sets, but it is worth noting that if you use that method, the filenames stored in the sets are relative and therefore the files are extracted below the current directory. Therefore, if you want to extract the binaries into your system, i.e. replace the system binaries with them, you have to run the tar -xpf command from the root directory ( / ) of your system. Kernels suitable for booting from an AppleShare server may be found in the mac68k/binary/kernels subdirectory of the NetBSD 1.6.1 distribution tree. These kernels are generally named something like netbsd-GENERIC.gz and can be booted as-is by the NetBSD/mac68k Booter utility, if desired. Please note that these kernels are simply gzipped and are not in tar archives. The Mac OS based utilities necessary for installing and running NetBSD can be found in the mac68k/installation/misc subdirectory of the NetBSD 1.6.1 distribution tree. The important files in this directory are as follows: Booter.sea.hqx The NetBSD/mac68k Booter utility. This program is used to boot the NetBSD kernel from within Mac OS. 141 KB archived Installer.sea.hqx The NetBSD/mac68k Installer utility. This program is used to install the distribution sets onto your NetBSD partition(s). This utility is used only in a Tradi- tional method installation; it is not used or required for an installation using the sysinst method. 147 KB archived Mkfs.sea.hqx The Mkfs utility. This program is used to format your chosen partitions so that they can be used with NetBSD. This utility is used only in a Traditional method installation; it is not used or required for an installation using the sysinst method. 76 KB archived These files are all BinHexed, self-extracting archives. If you need them, the sources for these utilities are in the src subdirectory. This utility is used only in a Traditional method installation. Note: Each directory in the mac68k binary distribution also has its own checksum files, just as the source distribution does. NetBSD/mac68k System Requirements and Supported Devices NetBSD/mac68k 1.6.1 runs on several of the older Macintosh computers. About 4 MB of RAM is sufficient to boot a stripped-down custom kernel, and a subset of the system can be squeezed onto a 40 MB hard disk with considerable creativity and persistence. However, an 80 MB disk should be considered a practical minimum, and to do anything more interesting than booting at least 8 MB of RAM and more disk space is recommended. About 180 MB will be necessary to install all of the NetBSD/mac68k 1.6.1 binary system distribution sets (note that this does not count swap space!). You can drop this to 150 MB if you choose not to install the binary X11 dis- tribution sets. Much more disk space is required to install the source and objects as well; a complete source distribution, including X11, con- sumes nearly 1 GB of storage. Please note that to install NetBSD/mac68k 1.6.1 using the sysinst method, your system must have a minimum of 6 MB of RAM and 60 MB of available disk space (i.e. not part of an in-use HFS partition). Supported models o Mac II, IIx, IIcx, SE/30, IIci, IIsi, IIvx, IIvi o Performa 400/405/410/430, Performa 450, Performa 460/466/467 o Performa 520, Performa 550/560, Performa 600/600CD o LC II, LC III, LC III+, LC 520, LC 550 o MacTV o Classic II, Color Classic o Centris 650 o Quadra 610, Quadra 630, Quadra 650, Quadra 700, Quadra 800 o Quadra/Centris 660AV, Quadra 840AV o PowerBook 140, PowerBook 145/145B, PowerBook 170 o PowerBook 160, PowerBook 165, PowerBook 180 o PowerBook 165c, PowerBook 180c, PowerBook 550c Supported devices o Onboard SCSI bus and most SCSI tapes, hard drives, and CD-ROMs o Internal sound -- enough to beep on some machines, anyway o Most basic NuBus video cards (there have been some problems with some 24-bit color cards and with most QuickDraw acclera- tors) o Both internal serial ports o ADB keyboards and mice (both Apple and a number of third party multi-button mice and trackballs are supported) o Ethernet cards based on the National Semiconductor 8390 and the SONIC (DP83932) chips (Asante, Apple, and a few others -- prob- lems still with Ethernet and many NuBus video cards) o Ethernet cards based on the SMC 91c92 and 91c100 (FEAST) chips. This includes the AsanteFAST 10/100 cards o Onboard Ethernet based on the SONIC chip for Quadra-series Macs o Onboard Ethernet based on the MACE (Am79C940) chip for the Quadra AV-series Macs o Ethernet port on Asante NetDock and Newer Ether MicroDock, for PowerBook Duo series o Comm-slot Ethernet should be working for most machines/cards If your 68030 system is not listed above, it may be because of a problem with accessing onboard video, and it may still work with a serial con- sole. Some of the known ones in this category: o Mac Classic series o PowerBook Duo series If your 68LC040 system is not listed above, it is due to a problem with floating point emulation (FPE) for this type of processor. Machines in this category include: o Newer LC-series machines (47x, 57x) o Newer Performa-series machines (47x, 57x, 58x, 63x, 640) o Some PowerBook 500-series Macs Unsupported models o Macintosh IIfx This machine has unusual custom chips for the ADB and serial interfaces which make support for it difficult. Work is in progress on this, though. o Quadra 900/950 These machines have I/O processor chips for their ADB inter- faces similar to those used in the IIfx and thus face similar support problems. Note that you can use a serial console on these systems. o PowerPC-based Macs This is a separate effort from the mac68k port. PowerMacs use hardware that is often fairly different from that of the mac68k port. If you are interested in this, you might want to take a look at the new NetBSD/macppc port: http://www.netbsd.org/Ports/macppc/index.html Known hardware issues with this release o Real Time Clock Due to oddities of the Macintosh hardware interrupt priority scheme, NetBSD/mac68k keeps very poor time. Under a high inter- rupt load (e.g. SCSI or serial port activity) , a machine can lose several minutes per hour. A consequence of this problem is that attempting to run ntpd is generally rather pointless. o SCSI difficulties The NetBSD/mac68k SCSI drivers are not quite as robust as their Mac OS counterparts. Symptoms of these problems are that some SCSI disks will not work under NetBSD that work fine under Mac OS. Other problems include occasional file system corruption with some types of drives and the general unreliability of re- movable SCSI media. Keep in mind that there are no clear pat- terns with these problems, and they do not appear to affect the majority of users. Getting the NetBSD System on to Useful Media There are currently two installation methods available for initial in- stallation of NetBSD on Apple Macintosh 68000-based systems. Neither sup- ports all installation media types at this time, so the one you select must be compatible with the media you have available on your system. o The sysinst method of installation uses an Installation Kernel which is a minimal NetBSD system with a memory resident set of utilities that are capable of partitioning the disk, initializing the file sys- tems, and loading them from the archive files. Since the installa- tion kernel does not currently support access to Mac OS HFS file sys- tems this method requires that the Binary Distribution Sets be acces- sible from CD-ROM, remote NFS partition, or via FTP access. o The Traditional method of installation uses Mac OS hosted utilities to partition your disk, initialize the partitions for use by NetBSD, and load the file systems from archive files stored on the Mac OS HFS file system. This method requires that the Binary Distribution Sets reside on a local Macintosh hard drive, a CD-ROM, or an AppleShare volume. The Traditional method of installation is currently supported from the local Macintosh hard drive, from a CD-ROM, or from an AppleShare volume (however, you may ugrade a system from within NetBSD; see the Upgrading a previously-installed NetBSD System section for more details). If you are installing from a local hard drive, this means that you'll need at least enough room for the largest file that you will have to in- stall. This is the 15.2 MB base.tgz file. There has been talk of allow- ing an install from split files. If you have the time, desire, and knowl- edge, please feel free to add that functionality. If the install is being done from an AppleShare-mounted volume, the NetBSD/mac68k Installer must be in the same folder as the binary distri- bution sets. Each distribution file is in raw archive format. o Distribution files must be downloaded in binary mode. Common web browsers may not be suitable for this task; FTP clients such as Fetch and Anarchie work fine, but be sure to specify a binary file trans- fer. o The files should not be unpacked. If you have the Internet Config extension installed, you can disable this in the ``Helpers'' dialog by removing the entry associated with ``.tgz'' files. Other FTP clients may require separate changes; consult your package's documen- tation. o If you are installing from a CD-ROM, the distribution sets are al- ready in the proper format. No special handling is required. You will also need to collect the Mac OS installation tools from the mac68k/installation/misc subdirectory of the NetBSD 1.6.1 distribution: Mkfs, NetBSD/mac68k Installer, and NetBSD/mac68k Booter. These three are in BinHexed, self-extracting archives as Mkfs.sea.hqx, Installer.sea.hqx, and Booter.sea.hqx, respectively. Extract them as you would any other Macintosh application. Note: The Booter is the only Mac OS application needed if the sysinst method of installation is used. The Traditional method of instal- lation is deprecated and will be removed in a future release, and the Mkfs and Installer tools will be retired. Preparing your System for NetBSD installation No matter which installation method you use, there is some planning and preparation that is required beforehand. First and foremost, before be- ginning the installation process, make sure you have a reliable backup of any data on your hard disk that you wish to keep. Mistakes in partitioning your hard disk may lead to data loss. NetBSD/mac68k uses the same disk mapping scheme as Mac OS: the Apple Disk Partition Map. This permits both systems to reside on the same disk, but introduces some installation problems unique to the Macintosh. There are very few, if any, reliable ways to reduce the size of an existing Mac OS disk partition, so partitioning a disk that currently contains Mac OS will almost always require a backup and reload step under Mac OS. If you are using the sysinst method of installation you will be able to do most, if not all, of your disk partitioning during the install pro- cess. Partitioning the disk with sysinst will destroy any partition that is resized, deleted, converted, or designated for use by NetBSD. All space not planned to be used for Mac OS HFS partitions may be used by NetBSD and can be sub-divided by the sysinst process. This space may be defined within one or more existing disk partitions of any type, includ- ing HFS partitions that are no longer needed for Mac OS. However it is best if this space is physically contiguous on the disk as sysinst is not capable of merging non-contiguous disk partitions. If you are using the sysinst method and have sufficient disk space in one or more disk parti- tions you should skip forward to the section labeled Installing the NetBSD System (Sysinst Method) in this document. If you are using the Traditional method of installation you must use a disk partitioning utility to designate the different partitions you will want in your final NetBSD configuration. It is not necessary to create NetBSD (or AU/X) type partitions at this stage; the Mkfs utility can con- vert a partition of any type to one usable for NetBSD. If disk partitioning is required because you've selected the Traditional method of installation, or because disk space needs to be freed up for use for the sysinst method of installation, follow the directions in the remainder of this section. Find your favorite disk partitioning utility. Any formatter capable of partitioning a SCSI disk should work. Some of the ones that have been tried and seem to work are: o Apple HD SC Setup o Hard Disk ToolKit from FWB o SCSI Director Lite o Disk Manager Mac from OnTrack o Silverlining from LaCie o APS Disk Tools Apple's HD SC Setup is probably the easiest to use and the most commonly available. Instructions for patching HD SC Setup so that it will recog- nize non-Apple drives is available at: http://www.euronet.nl/users/ernstoud/patch.html First, you need to choose a drive on which to install NetBSD. Try to pick a drive with a low SCSI target number (or "SCSI ID"), especially if you are likely to add or remove drives to your SCSI chain in the future. Note: Be certain you have a reliable backup of any data that you may want to keep. Repartitioning your hard drive is an excellent way to destroy important data. Second, decide how you want to set up your partitions. At minimum, you need a partition to hold the NetBSD installation (the root partition -- /) and a partition to serve as swap space. You may choose to use more than one partition to hold the installation. This allows you to separate the more vital portions of the file system (such as the kernel and the /etc directory) from the more volatile parts of the file system. Typical setups place the /usr directory on a separate partition from the root partition (/). Generally, / can be fairly small while the /usr partition should be fairly large. If you plan to use this machine as a server, you may also want a separate /var partition. Once you have decided how to lay out your partitions, you need to calcu- late how much space to allocate to each partition. A minimal install of NetBSD (i.e. base.tgz, etc.tgz, and either kern-GENERIC.tgz or kern- GENERICSBC.tgz) should just fit in a 56 MB partition. For a full instal- lation, you should allocate at least 180 MB (150 MB if you do not wish to install the X sets). A general rule of thumb for sizing the swap parti- tion is to allocate twice as much swap space as you have real memory. Having your swap + real memory total at least 20 MB is also a good idea. Systems that will be heavily used or that are low on real memory should have more swap space allocated. Systems that will be only lightly used or have a very large amount of real memory can get away with less. Keep in mind that NetBSD currently requires Mac OS in order to boot, so it is likely that you will want to keep at least a minimal install of Mac OS around on an HFS partition for this purpose. The size of this parti- tion may vary depending on the size requirements for the version of Mac OS you are using. Of course, if you have Mac OS on another hard drive or can boot from a floppy, feel free to dedicate the entire drive to NetBSD. Next, use your favorite partitioning utility to make partitions of the necessary sizes. You can use any type of partition, but partitions of type Apple_Free might save you some confusion in the future. You are now set to install NetBSD on your hard drive. Installing the NetBSD System (Sysinst Method) Running the sysinst installation program 1. Introduction Using sysinst, installing NetBSD is a relatively easy process. You still should read this document and have it in hand when doing the installation process. This document tries to be a good guideline for the installation and as such covers many details for the sake of completeness. Do not let this discourage you; the install program is not hard to use. 2. Possible hardware-specific issues o SCSI driver problems The SCSI driver used in the kernel on many older Macintosh sys- tems is, by default, the ncrscsi driver. It contains a recog- nized but as yet unfixed bug that affects some disk drive/con- troller combinations, usually Quantum disks. Under heavy load these systems may hang or corrupt the file system; or, you may experience frequent Segmentation fault and Illegal instruction errors that may or may not be consistently repeatable. This latter condition is particularly prevalent on systems with mini- mal RAM installed. If either of these problems occur on your system you are advised to use the SBC variants of the Kernel and Installation Kernel. However, be aware that this issue does not affect e.g. Centris or Quadra systems. o The 68LC040 processor NetBSD has known but unresolved problems running on the 68LC040 processor, the variant of the 68040 that does not contain the floating point unit (FPU). The kernel is thus forced to emulate the missing operations in software. Unfortunately the 68LC040 processor has a design problem that causes the emulation to fail intermittently. We hope to provide a solution for this issue in a future NetBSD release. Software emulation of floating point operations is not a problem on the 68020 and 68030 processors. 3. General The following is a walk-through of the steps you will take while getting NetBSD installed on your hard disk. sysinst is a menu driv- en installation system that allows for some freedom in doing the in- stallation. Sometimes, questions will be asked and in many cases the default answer will be displayed in brackets (``[ ]'') after the question. If you wish to stop the installation, you may press CONTROL-C at any time, but if you do, you'll have to begin the in- stallation process again from scratch by running the /sysinst pro- gram from the command prompt. It is not necessary to reboot. 4. Quick install First, let's describe a quick install. The other sections of this document go into the installation procedure in more detail, but you may find that you do not need this. If you want detailed instruc- tions, skip to the next section. This section describes a basic in- stallation, using a CD-ROM install as an example. o What you need. - The distribution sets (in this example, they are on CD). - The Mac OS Booter application and an Installation Kernel - A Macintosh with a 68020 and MMU, 68030 or 68RC040 proces- sor. An FPU is not required but will be used if present (but see the note above regarding the 68LC040). - A CD-ROM drive (SCSI), a harddisk and a minimum of 8 MB of memory installed. - The harddisk should have at least 120 + n megabytes of space free, where n is the number of megabytes of main memory in your system. If you wish to install the X Window System as well, you will need at least 60 MB more. o The NetBSD Boot Tools folder. - Create a Folder on your Mac OS disk for the NetBSD/mac68k components. - Copy the Booter application into the newly created Folder. Expand the file if necessary to create the Mac OS exe- cutable. - Copy the Installation Kernels into the newly created Folder. It is not necessary to gunzip compressed kernel files. - Single-click on the Booter application icon then select the "Get Info" from the File Menu list. Increase the memory al- location for the Booter to as much as possible for your sys- tem. Having a large number of fonts, extensions or sounds installed on your system can cause memory exhaustion prob- lems for the Booter if you don't do this. Also, the extra memory is needed by the Booter to expand compressed kernels while booting. o The Quick Installation - Double-click on the Booter application icon to start execut- ing it. From the Options pull-down menu, select Monitors, then select Change Monitor Depth and make sure B&W is high- lighted. Close the window using the Close button. - From the Options pull-down menu select Boot Options. This will bring up an option panel. Set the Auto-set GMT Bias checkbox in the lower left and then select the Boot from Mac OS option at the top of the window. The Set button on the right will become active. Use it to locate and select the Installation Kernel file appropiate for your hardware. This will be either netbsd-INSTALL.gz or netbsd-INSTALLSBC.gz. Close the window using the Close button. - From the Options pull-down menu select the Boot Now, or use the Apple-B (Command-B) key combination to start the NetBSD boot process. Do not move the mouse while the boot opera- tion is in progress as this may leave the keyboard locked to NetBSD. The main menu will be displayed. .***********************************************. * NetBSD-1.6 Install System * * * *>a: Install NetBSD to hard disk * * b: Upgrade NetBSD on a hard disk * * c: Re-install sets or install additional sets * * d: Reboot the computer * * e: Utility menu * * x: Exit Install System * .***********************************************. - If you wish, you can configure some network settings immedi- ately by choosing the Utility menu and then Configure network. It isn't actually required at this point, but it may be more convenient. Go back to the main menu. - Choose install. - You will be guided through some steps regarding the setup of your disk, and the selection of distributed components to install. When in doubt, refer to the rest of this document for details. - After your disk has been prepared, choose CD-ROM as the medium. The default values for the path and device should be ok. - After all the files have been unpacked, go back to the main menu and select reboot. - NetBSD will now boot. If you haven't already done so in sysinst, you should log in as root, and set a password for that account. You are also advised to edit the file /etc/rc.conf to match your system needs. - Your installation is now complete. - For configuring the X window system, if installed, see the files in /usr/X11R6/lib/X11/doc. Further information can be found on http://www.xfree86.org/. 5. Booting NetBSD Prior to attempting to boot NetBSD/mac68k verify that all the fol- lowing are done: o Enable 32-bit addressing in the Memory Control Panel [1]. o Disable all forms of virtual memory (the Memory Control Panel, RAM Doubler, or other software-based memory enhancement prod- ucts). o Place the system in B&W Mode (1-bit color or grayscale) as shown in the Monitors Control Panel or in the Monitors options dialog of the Booter. You may choose to have the Booter do this for you automatically by selecting the appropiate check box and ra- dio button in the Monitors dialog on the Options menu. It is probably best to boot your machine with all extensions turned off [1]. You can do this by booting into Mac OS with the SHIFT key held down. You may have to restart your Macintosh for changes to take effect before proceeding. [1] If your version of the Memory control panel does not have a 32-bit addressing mode radio button, this means that your sys- tem is already 32-bit clean and is running in 32-bit addressing mode by default. If the Booter complains that your are not in 32-bit mode, it may be necessary for you to press the "Use De- faults" button in the Memory control panel to restore 32-bit addressing. You should probably reboot after doing so. If you have an older II-class system (including the II, IIx, IIcx, and SE/30), it is necessary to install Connectix's MODE32 to work around ROM issues which prevent you from enabling 32-bit ad- dressing. Please see the NetBSD/mac68k FAQ at http://www.netbsd.org/Ports/mac68k/faq/ for more information. Double-click on the NetBSD/mac68k Booter icon to start the applica- tion. Select Booting from the Options menu. Select the Kernel Lo- cation to be from Mac OS with the filename corresponding to the name of the Installation Kernel you are using. Typically this will be netbsd-INSTALL.gz. If you haven't already put your Macintosh into B&W mode, select the Monitor Options from the Options menu and check the box for B&W mode. Try booting NetBSD by selecting Boot Now from the Options menu. If the system does not come up, send mail to port-mac68k@netbsd.org describing your software, your hardware, and as complete a descrip- tion of the problem as you can. As an alternative, try using the Traditional method of installation described in the next section. Once NetBSD has booted and printed all the boot messages, you will be presented with a welcome message and a main menu. It will also include instructions for using the menus. 6. Network configuration If you will not use network operation during the installation, but you do want your machine to be configured for networking once it is installed, you should first go to the Utility menu, and select the Configure network option. If you only want to temporarily use net- working during the installation, you can specify these parameters later. If you are not using the Domain Name System (DNS), you can give an empty response in reply to answers relating to this. 7. Preparing a disk for Mac OS and NetBSD sysinst can manipulate the Apple Disk Partition Map allowing you to partition your disk for use with NetBSD. It does not support resiz- ing existing Mac OS HFS disk partitions. If there is insufficient Free space on the disk to support an installation of NetBSD you will need to backup, repartition and restore your existing Mac OS parti- tions before proceeding. You may choose to use a Traditional method of creating disk partitions for NetBSD if you wish. They can still be used by sysinst for a NetBSD installation. 8. Installation drive selection and parameters To start the installation, select Install NetBSD to hard disk from the main menu. To start the installation, select the menu option in install NetBSD from the main menu. The first thing is to identify the disk on which you want to install NetBSD. sysinst will report a list of disks it finds and ask you for your selection. Depending on how many disks are found, you may get a different message. You should see disk names like wd0, wd1, sd0 or sd1. sysinst next tries to figure out how the selected volume has been partitioned. It does this by reading the Apple Disk Partition Map from the disk. If the disk does not have a Partition Map, sysinst will give you the option of writing one, but doing so will not make the disk a Mac OS bootable volume. You will have the option of cre- ating HFS partitions that may be subsequentially initialized and used under Mac OS though. 9. Partitioning the disk o Which portion of the disk to use. You will be asked if you want to use the entire disk or only part of the disk. If you decide to use the entire disk for NetBSD, it will be checked if there are already other systems present on the disk, and you will be asked to confirm whether you want to overwrite these. o Definition of the NetBSD disklabel. The Apple Disk Partition Map is used to create an in-core map of the disk called the disklabel. A minimum of two NetBSD parti- tions will be required, one for root and one for swap. Up to eight partitions may be used by NetBSD. Up to 32 partitions may exist on the disk which can be any combination of Mac OS HFS, Free, Scratch and NetBSD partitions, although only the first eight which meet the needs of NetBSD will be seen and mapped to the NetBSD disklabel. Some partitions in the disklabel have a fixed purpose. Parti- tion 'a' is always the root partition, 'b' is the swap partition and 'c' is the entire disk. Partitions 'd' through 'h' are available for other use. Traditionally, 'g' is the partition mounted on the /usr directory, but this is historical practice, not a fixed value. o Editing the NetBSD Disklabel (and the underlying Apple Disk Par- tition Map). You will be presented with the current layout of the disk as seen by NetBSD, and given a change to change it. (Even though NetBSD can only use the first eight qualified partitions, all partitions found on the disk will be displayed.) The partitions found on the disk will be shown in the top section of the dis- play. Each will be identified with the name assigned by NetBSD, the current size, offset, type, use and mount point. The parti- tion currently being modified will be highlighted in inverse video. The bottom part of the display will list the operations which may be performed on the selected (highlighted) partition. The options are: - Select next partition This highlights the next partition in the upper display list and makes it the current one selected for manipulation. - Change selected partition This changes the type assigned to the partition. A parti- tion may be assigned for use as a NetBSD Root, SWAP, Usr, or Root&Usr; it may be assigned for use as a Mac OS HFS parti- tion; a Scratch (for later reassignment); or a Free parti- tion. Free partitions which are physically adjacent to each other will be collapsed into a single Free partition. - Set mount point for partition This designates the NetBSD file system mount point for the partition, and gets transferred into the /etc/fstab defini- tion so NetBSD knows where to mount the file system on sub- sequent boots. The option only applies to NetBSD Root, Usr, Root&Usr or Mac OS HFS partitions, although currently HFS access is not supported without optional software compo- nents. A common set of predefined mount points (/usr, /home, /var, /tmp or None) will be presented to you to as- sist you in defining the most commonly used, but you may en- ter you own names if you choose. Selecting "None" will clear the mount point name and keep the partition from being defined in the resulting /etc/fstab file. - Split selected partition This option divides the selected partition into two separate partitions if there is space available in the Disk Partition Map. You will be prompted for the size of the first segment and the remaining portion will be allocated to the second segment. The first segment will be designated as a Scratch type, and the second will be designated as a Free type. To clear a split, or remerge two adjacent partitions into a single one, change both to be Free types. sysinst will merge them and update the display. This is the primary option used to partition the disk since it allows you to sub-divide the selected partition into two partitions. Changing the types associated with the result- ing two parts, or splitting the second part further sub-di- vides the original partition. - Page Up, Page Down These entries allow you to scroll the upper display if more than eight partitions currently exist on the disk. - Fix selected partition This option reviews the partition's size and starting ad- dress and fixes the values if they overlap any adjacent par- tition. This is primarily a debugging option and shouldn't be necesary during a normal installation. However, some 3rd party disk formatters have been known to create bogus en- tries in the Apple Disk Partition Map, and this option can aid is repairing these entries. - Exit This option completes the disk partitioning and returns you to the previous installation menu. At that point you will be given one last opportunity to bail out before committing the changes to the Disk Partition Map recorded on the disk. o Recommended approach to partitioning The simplest method of approaching disk partitioning with sysinst is to convert everything that can be used for NetBSD in- to a Free type partition. This will allow sysinst to collapse and merge all the available space. Then cycle through the Se- lect, Split, Select, Change, and Set Mount Point options for each of the NetBSD partitions that are desired. Since NetBSD/mac68k has a very specific mount order for partitions during system boot, it is best to create your NetBSD partitions in the following order: Root, SWAP, Usr where the partitions will be mounted in order on 'a', 'b', 'g', 'd', 'e', 'f', and 'h'. At least one Root or Root&Usr is required, and a SWAP partition is highly desirable. As a general rule you will need twice as much swap space as you have RAM, more if you plan on running X, Web applications or doing heavy development in a multi-user en- vironment. The Root partition, if it is separate from your Usr, usually requires about 24 MB. If multiple Root partitions are defined, the second is usually mounted on /altusr by default. NetBSD/mac68k automatically mounts all Root partitions after the first as Usr type parti- tions. However, it is best to be very specific about mount points and partition type and use. You will then be asked to name your disk's disklabel. The default response is ``mydisk''. For most purposes this will be OK. If you choose to name it something different, make sure the name is a sin- gle word and contains no special characters. You don't need to re- member this name. 10. Preparing your hard disk You are now at the point of no return. Nothing has been written to your disk yet, but if you confirm that you want to install NetBSD, your hard drive will be modified. If you are sure you want to pro- ceed, enter yes at the prompt. The install program will now label your disk and make the file sys- tems you specified. The file systems will be initialized to contain NetBSD bootstrapping binaries and configuration files. You will see messages on your screen from the various NetBSD disk preparation tools that are running. There should be no errors in this section of the installation. If there are, restart from the beginning of the installation process. Otherwise, you can continue the installa- tion program after pressing the return key. 11. Getting the distribution sets The NetBSD distribution consists of a number of sets, that come in the form of gzipped tarfiles. A few sets must be installed for a working system, others are optional. At this point of the installa- tion, you will be presented with a menu which enables you to choose from one of the following methods of installing the sets. Some of these methods will first load the sets on your hard disk, others will extract the sets directly. For all these methods, the first step is making the sets available for extraction, and then do the actual installation. The sets can be made available in a few different ways. The following sections describe each of those methods. After reading the one about the method you will be using, you can continue to section labeled `Extracting the distribution sets'. 12. Installation using ftp To be able to install using ftp, you first need to configure your network setup, if you haven't already at the start of the install procedure. sysinst will do this for you, asking you to provide some data, like IP address, hostname, etc. If you do not have name ser- vice set up for the machine that you are installing on, you can just press RETURN in answer to these questions, and DNS will not be used. You will also be asked to specify the host that you want to transfer the sets from, the directory on that host, the account name and password used to log into that host using ftp, and optionally a proxy server to use. If you did not set up DNS when answering the questions to configure networking, you will need to specify an IP address instead of a hostname for the ftp server. sysinst will proceed to transfer all the default set files from the remote site to your hard disk. 13. Installation using NFS To be able to install using NFS, you first need to configure your network setup, if you haven't already at the start of the install procedure. sysinst will do this for you, asking you to provide some data, like IP address, hostname, etc. If you do not have name ser- vice set up for the machine that you are installing on, you can just press RETURN in answer to these questions, and DNS will not be used. You will also be asked to specify the host that you want to transfer the sets from, and the directory on that host that the files are in. This directory should be mountable by the machine you are installing on, i.e. correctly exported to your machine. If you did not set up DNS when answering the questions to configure networking, you will need to specify an IP address instead of a hostname for the NFS server. 14. Installation from CD-ROM When installing from a CD-ROM, you will be asked to specify the de- vice name for your CD-ROM player (usually cd0), and the directory name on the CD-ROM where the distribution files are. sysinst will then check if the files are indeed available in the specified location, and proceed to the actual extraction of the sets. 15. Installation from Mac OS file systems NetBSD/mac68k does not currently have in-kernel support for Mac OS HFS/HFS+ or AppleShare filesystems. sysinst therefore can not ac- cess the file sets if they are on these filesystems. 16. Installation from an unmounted file system In order to install from a local file system, you will need to spec- ify the device that the file system resides on (for example sd1e) the type of the file system, and the directory on the specified file system where the sets are located. sysinst will then check if it can indeed access the sets at that location. 17. Installation from a local directory This option assumes that you have already done some preparation yourself. The sets should be located in a directory on a file sys- tem that is already accessible. sysinst will ask you for the name of this directory. 18. Extracting the distribution sets After the install sets containing the NetBSD distribution have been made available, you can either extract all the sets (a full instal- lation), or only extract sets that you have selected. In the latter case, you will be shown the currently selected sets, and given the opportunity to select the sets you want. Some sets always need to be installed (kern, base) and etc they will not be shown in this se- lection menu. Before extraction begins, you can elect to watch the files being ex- tracted; the name of each file that is extracted will be shown. This can slow down the installation process considerably, especially on machines with slow graphics consoles or serial consoles. After all the files have been extracted, all the necessary device node files will be created. If you have already configured network- ing, you will be asked if you want to use this configuration for normal operation. If so, these values will be installed in the net- work configuration files. The next menu will allow you to select the time zone that you're in, to make sure your clock has the right offset from UTC. Finally you will be asked to select a password en- cryption algorithm and can than set a password for the "root" ac- count, to prevent the machine coming up without access restrictions. 19. Finalizing your installation Congratulations, you have successfully installed NetBSD 1.6.1. You can now reboot the machine, and boot NetBSD from harddisk. Installing the NetBSD System (Traditional Method) The Traditional method of installation can be broken down into three ba- sic steps: o Run Mkfs to build a file system or file systems. o Run the Installer to load the files onto your file systems. o Run the Booter to boot the system. Preparing the file system(s) Double-click on the Mkfs application icon to start it up. It will ask you for the SCSI-ID (SCSI target number) of the drive that you are installing NetBSD on. Once this is selected, it will present a list of the parti- tions on that disk. You must first convert the partitions to a type which NetBSD can understand. Select each partition on which you wish to build a file system and click on the Change button. If you are placing the entire installation on a single partition, select the NetBSD Root&Usr radio but- ton. If you are using multiple partitions, select NetBSD Root for the root partition (/) and NetBSD Usr for all the other partitions. You should select NetBSD Swap for the swap partition. When you have finished converting each partition, select each partition and click on the Format button. You will now be asked for a bunch of pa- rameters for the hard drive and the file system. Usually, you can just take the defaults. If you are installing onto removable media (e.g. a Zip, Jaz, or Syquest), please see the FAQ. Note that although this dialog only has the OK button, you are not committed, yet. Once you get the val- ues you want, press the OK button. A dialog will be presented at this point with two options: Format and Cancel. If you choose Cancel, nothing will be written to your drive. If you choose Format, the program will proceed to make a file system. Mkfs is not a well-behaved Macintosh application. It will not allow any other tasks to run while it does (cooperative multitasking at its best). When it's finished, the program will put up a dialog to ask if you have scanned the output for any error messages. Usually there won't have been any errors, but do scan the output to make sure. Simply click on the I Read It button and the program will quit. Repeat as necessary for any extra partitions that you wish to make file systems on. Note that you do not need a file system on your swap parti- tion. When you are finished, click on the Done button and choose Quit from the File menu to exit Mkfs. Installing the files Before using the Installer, it is probably a good idea to increase its memory allocation. Select the Installer icon by clicking on it and choose Get Info from the File menu. Increase both the Minimum and Preferred sizes to as much as you can spare. Double-click on the Installer icon to start it up. The Installer will present the same SCSI-ID menu that Mkfs did. Select the same SCSI-ID (SC- SI target number) that you did for Mkfs - i.e., the one you are in- stalling NetBSD on. If you are installing onto a single root partition (/), proceed to the Installation of base files section, below. If you have not created file systems for / (root), usr, and any other file systems, go back to Preparing the file system(s) above. When you started the Installer, it mounted your root partition (/). Just before it printed Mounting partition 'A' as / it printed lines like: sd1 at scsi ID 5 This means that the device for SCSI target 5 ("SCSI ID 5") is sd1. The partitions are signified by a trailing letter. For instance, sd1a would be the root partition (/) of the second SCSI disk in the chain, and sd0g would be the first Usr partition on the first SCSI disk. You will need to know the proper device to mount the remaining parti- tion(s) by hand: 1. Select Build Devices from the File menu. 2. Select Mini Shell from the File menu. 3. You can use the disklabel command to get a listing of the available partitions and their types and sizes. 4. Create the directory mount point(s) with the command: # mkdir path E.g. for the /usr partition type: # mkdir /usr 5. Mount the file systems you wish with the command: # mount device path For example, if you wish to mount a /usr partition from the first SCSI disk sd0, on /usr, you would type: # mount /dev/sd0g /usr 6. Type # fstab force to create a proper /etc/fstab file. 7. Type quit after you have mounted all the file systems. Installation of base files Select the Install menu item from the File menu and install base.tgz, etc.tgz, either kern-GENERIC.tgz or kern-GENERICSBC.tgz, and any other sets you wish to install at this time (see the NetBSD 1.6.1 Release Contents for information about what's in each set). The Installer will print out the filename of each file as it is in- stalled, and will take quite some time to install everything (the base package alone can take over two hours on a slow hard drive). As is the case with Mkfs, this is not a particularly well-behaved Macin- tosh application and the machine will be completely tied up while the in- stallation takes place. At some point after installing the base set, select the Build Devices op- tion from the File menu if you have not already done so. This will create a bunch of device nodes for you and will create your initial /etc/fstab. The Installer program also has an option to give you a mini-shell. Do not use this unless you are sure know what you are doing. When you are finished installing all of the sets you wish to install, ex- it the Installer by choosing Quit from the File menu. Booting the system Prior to attempting to boot NetBSD/mac68k, please verify that all of the following are true: 1. 32-bit addressing is enabled [2] in the Memory control panel; 2. All forms of virtual memory are disabled (the Memory control panel, RAM Doubler, or other software-based memory enhancement products); and 3. Your system is in B&W mode (1-bit color or grayscale) as shown by the Monitors control panel. You may choose to have the Booter do this for you automatically by selecting the appropriate check box and radio button in the Monitors dialog on the Options menu. It is probably best to boot your machine with all extensions turned off [2]. You can do this by booting into Mac OS with the SHIFT key held down. You may have to restart your Macintosh for changes to take effect before proceeding. [2] If your version of the Memory control panel does not have a 32-bit addressing mode radio button, this means that your system is already 32-bit clean and is running in 32-bit addressing mode by default. If the Booter complains that you are not in 32-bit mode, it may be necessary for you to press the Use Defaults button in the Memory control panel to restore 32-bit addressing. You should probably re- boot after doing so. If you have an older II-class system (includ- ing the II, IIx, IIcx, and SE/30), it is necessary to install Con- nectix's MODE32 to work around ROM issues which prevent you from en- abling 32-bit addressing. Please see the NetBSD/mac68k FAQ at http://www.netbsd.org/Ports/mac68k/faq/ for more information. Double-click on the NetBSD/mac68k Booter icon to start the application. Select Booting from the Options menu. Check that all of the items in the resulting dialog look sane - especially the SCSI target number. If not, correct them to your preference (the SCSI target number, or "SCSI ID", should be the only thing you need to change). When you are satisfied with your choices, try booting NetBSD by selecting Boot Now from the Options menu. If you wish to save your preferences, choose Save Options from the File menu before Booting (your preferences will not be saved if you forget to do this). If the system does not come up, send mail to port-mac68k@netbsd.org de- scribing your software, your hardware, and as complete a description of the problem as you can. If the system does come up, congratulations, you have successfully in- stalled NetBSD 1.6.1. Post installation steps Once you've got the operating system running, there are a few things you need to do in order to bring the system into a properly configured state, with the most important ones described below. 1. Configuring /etc/rc.conf If you or the installation software haven't done any configuration of /etc/rc.conf (sysinst usually will), the system will drop you in- to single user mode on first reboot with the message /etc/rc.conf is not configured. Multiuser boot aborted. and with the root file system (/) mounted read-only. When the sys- tem asks you to choose a shell, simply press RETURN to get to a /bin/sh prompt. If you are asked for a terminal type, respond with vt220 (or whatever is appropriate for your terminal type) and press RETURN. You may need to type one of the following commands to get your delete key to work properly, depending on your keyboard: # stty erase '^h' # stty erase '^?' At this point, you need to configure at least one file in the /etc directory. You will need to mount your root file system read/write with: # /sbin/mount -u -w / Change to the /etc directory and take a look at the /etc/rc.conf file. Modify it to your tastes, making sure that you set rc_configured=YES so that your changes will be enabled and a multi- user boot can proceed. Default values for the various programs can be found in /etc/defaults/rc.conf, where some in-line documentation may be found. More complete documentation can be found in rc.conf(5). If your /usr directory is on a separate partition and you do not know how to use ed, you will have to mount your /usr partition to gain access to ex or vi. Do the following: # mount /usr # export TERM=vt220 If you have /var on a separate partition, you need to repeat that step for it. After that, you can edit /etc/rc.conf with vi(1). When you have finished, type exit at the prompt to leave the single- user shell and continue with the multi-user boot. Other values that need to be set in /etc/rc.conf for a networked en- vironment are hostname and possibly defaultroute, furthermore add an ifconfig_int for your network interface, where your on-board, NuBus or PDS interface may be ae0, mc0 or sn0. For example: ifconfig_sn0="inet 123.45.67.89 netmask 255.255.255.0" or, if you have myname.my.dom in /etc/hosts: ifconfig_sn0="inet myname.my.dom netmask 255.255.255.0" To enable proper hostname resolution, you will also want to add an /etc/resolv.conf file or (if you are feeling a little more adventur- ous) run named(8). See resolv.conf(5) or named(8) for more informa- tion. Other files in /etc that may require modification or setting up in- clude /etc/mailer.conf, /etc/nsswitch.conf, and /etc/wscons.conf. 2. Logging in After reboot, you can log in as root at the login prompt. Unless you've set a password in sysinst, there is no initial password. If you're using the machine in a networked environment, you should cre- ate an account for yourself (see below) and protect it and the ``root'' account with good passwords. Unless you have connected an unusual terminal device as the console you can just press RETURN when it prompts for Terminal type? [...]. 3. Adding accounts Use the useradd(8) command to add accounts to your system; do not edit /etc/passwd directly. See useradd(8) for more information on how to add a new user to the system. 4. The X Window System If you have installed the X Window System, look at the files in /usr/X11R6/lib/X11/doc for information. Don't forget to add /usr/X11R6/bin to your path in your shell's dot file so that you have access to the X binaries. 5. Installing third party packages If you wish to install any of the software freely available for UNIX-like systems you are strongly advised to first check the NetBSD package system. This automatically handles any changes necessary to make the software run on NetBSD, retrieval and installation of any other packages on which the software may depend, and simplifies in- stallation (and deinstallation), both from source and precompiled binaries. - More information on the package system is at http://www.netbsd.org/Documentation/software/packages.html - A list of available packages suitable for browsing is at ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/README.html - Precompiled binaries can be found at ftp://ftp.netbsd.org/pub/NetBSD/packages, usually in the 1.6.1/mac68k/All subdir. You can install them with the following commands: # PKG_PATH=ftp://ftp.netbsd.org/pub/NetBSD/packages/1.6.1/mac68k/All # export PKG_PATH # pkg_add -v tcsh # pkg_add -v apache # pkg_add -v perl ... The above commands will install the tcsh shell, the Apache web server and the perl programming language as well as all the packages they depend on. - Package sources for compiling packages on your own can be ob- tained by retrieving the file ftp://ftp.netbsd.org/pub/NetBSD/NetBSD- current/tar_files/pkgsrc.tar.gz They are typically extracted into /usr/pkgsrc (though other lo- cations work fine), with the commands: # mkdir /usr/pkgsrc # ( cd /usr/pkgsrc ; tar -zxpf - ) < pkgsrc.tar.gz After extracting, then see the README file in the extraction di- rectory (e.g. /usr/pkgsrc/README) for more information. 6. Misc - Edit /etc/mail/aliases to forward root mail to the right place. Don't forget to run newaliases(1) afterwards. - The /etc/mail/sendmail.cf file will almost definitely need to be adjusted; files aiding in this can be found in /usr/share/sendmail. See the README file there for more infor- mation. - Edit /etc/rc.local to run any local daemons you use. - Many of the /etc files are documented in section 5 of the manu- al; so just invoking # man 5 filename is likely to give you more information on these files. Upgrading a previously-installed NetBSD System The upgrade to NetBSD 1.6.1 is a binary upgrade; it can be quite diffi- cult to update the system from an earlier version by recompiling from source, primarily due to interdependencies in the various components. To do the upgrade, you must boot from the installer kernel using one of the methods described above. You must also have at least the base and kern binary distribution sets available, so that you can upgrade with them, using one of the upgrade methods described above. Finally, you must have sufficient disk space available to install the new binaries. Since files already installed on the system are overwritten in place, you only need additional free space for files which weren't previously in- stalled or to account for growth of the sets between releases. If you have a few megabytes free on each of your root (/) and /usr partitions, you should have enough space. Since upgrading involves replacing the boot blocks on your NetBSD parti- tion, the kernel, and most of the system binaries, it has the potential to cause data loss. You are strongly advised to back up any important data on your disk, whether on the NetBSD partition or on another operat- ing system's partition, before beginning the upgrade process. The upgrade procedure using the sysinst tool is similar to an installa- tion, but without the hard disk partitioning. The original /etc directo- ry is renamed to /etc.old, and no attempt is made to merge any of the previous configuration into the new system except that the previous /etc/fstab file is copied into the new configuration. Getting the binary sets is done in the same manner as the installation procedure; refer to the installation part of the document for how to do this. Also, some sanity checks are done, i.e. file systems are checked before unpacking the sets. After a new kernel has been copied to your hard disk, your machine is a complete NetBSD 1.6.1 system. However, that doesn't mean that you're finished with the upgrade process. You will probably want to update the set of device nodes you have in /dev. If you've changed the contents of /dev by hand, you will need to be careful about this, but if not, you can just cd into /dev, and run the command: # sh MAKEDEV all Finally, you will want to delete old binaries that were part of the ver- sion of NetBSD that you upgraded from and have since been removed from the NetBSD distribution. NetBSD/mac68k has switched its executable format from the old a.out for- mat to ELF, the now more commonly used and supported format. Your old bi- naries will continue to work just fine. The installation procedure will try to take the necessary steps to accomplish this. The most important step is to move the old a.out shared libraries in /usr/lib and /usr/X11R6/lib (if X was installed) to /emul/aout, where they will be au- tomatically found if an older a.out binary is executed. Sysinst will use an existing /emul and / or /emul/aout directory if available, and will create it (as a symbolic link to /usr/aout) if necessary. If you already had a /emul directory, or a symbolic link by that name, sysinst should rename it and tell you about it. Compatibility Issues With Previous NetBSD Releases Users upgrading from previous versions of NetBSD may wish to bear the following problems and compatibility issues in mind when upgrading to NetBSD 1.6.1. Issues affecting an upgrade from NetBSD 1.5 The following issues can generally be resolved by extracting the etc set into a temporary directory and running postinstall: mkdir /tmp/upgrade cd /tmp/upgrade pax -zrpe -f /path/to/etc.tgz ./etc/postinstall -s `pwd` check ./etc/postinstall -s `pwd` fix Issues fixed by postinstall: - Various files in /etc need upgrading. These include: o /etc/defaults/* o /etc/mtree/* o /etc/daily o /etc/weekly o /etc/monthly o /etc/security o /etc/rc.subr o /etc/rc o /etc/rc.shutdown o /etc/rc.d/* - The following files are now obsolete: /etc/rc.d/NETWORK and /etc/rc.d/gated. - The following rc.conf(5) entries are now obsolete: amd_master, ip6forwarding, defcorename, and nfsiod_flags. critical_filesystems_beforenet has been replaced by critical_filesystems_local. critical_filesystems has been re- placed by critical_filesystems_remote. - The users and groups `named', `ntpd', and `sshd' need to be created. - The configuration files for ssh(1) and sshd(8) were moved from /etc to /etc/ssh, including ssh_known_hosts* files and the host key files ssh_host*_key*. /etc/ssh.conf was renamed to /etc/ssh/ssh_config, and /etc/sshd.conf was renamed to /etc/ssh/sshd_config. - The mux entries in wscons.conf(5) are now obsolete. The following issues need to be resolved manually: - postfix(8) configuration files require upgrading. cd /usr/share/examples/postfix cp post-install postfix-files postfix-script /etc/postfix postfix check - The de ethernet driver was replaced with the tlp driver. This may require the renaming of the files /etc/ifconfig.de* to /etc/ifconfig.tlp*, renaming of rc.conf(5) entries ifconfig_de* to ifconfig_tlp*, and the reconfiguration of files such as /etc/dhclient.conf and /etc/ipf.conf. Issues affecting an upgrade from NetBSD 1.4 or prior - /etc/rc modified to use /etc/rc.d/* Prior to NetBSD 1.5, /etc/rc was a traditional BSD style monolithic file; each discrete program or substem from /etc/rc and /etc/netstart has been moved into separate scripts in /etc/rc.d/. At system startup, /etc/rc uses rcorder(8) to build a dependency list of the files in /etc/rc.d and then executes each script in turn with an argument of `start'. Many rc.d scripts won't start unless the ap- propriate rc.conf(5) entry in /etc/rc.conf is set to `YES.' At system shutdown, /etc/rc.shutdown uses rcorder(8) to build a de- pendency list of the files in /etc/rc.d that have a ``KEYWORD: shutdown'' line, reverses the resulting list, and then executes each script in turn with an argument of `stop'. The following scripts support a specific shutdown method: cron, inetd, local, and xdm. Local and third-party scripts may be installed into /etc/rc.d as nec- essary. Refer to the other scripts in that directory and rc(8) for more information on implementing rc.d scripts. - named(8) leaks version information. Previous releases of NetBSD disabled a feature of named(8) where the version number of the server could be determined by remote clients. This feature has not been disabled in NetBSD 1.5, because there is a named.conf(5) option to change the version string: option { version "newstring"; }; - sysctl(8) was moved from /usr/sbin/sysctl to /sbin/sysctl. If you have hardcoded references to the full pathname (in shell scripts, for example) please be sure to update those. - sendmail(8) configuration file pathname changed. Due to sendmail(8) upgrade from 8.9.x to 8.10.x, /etc/sendmail.cf is moved to /etc/mail/sendmail.cf. Also, the default sendmail.cf(5) refers different pathnames than before. For example, /etc/aliases is now located at /etc/mail/aliases, /etc/sendmail.cw is now called /etc/mail/local-host-names, and so forth. If you have customized sendmail.cf(5) and friends, you will need to move the files to the new locations. See /usr/share/sendmail/README for more information. Using online NetBSD documentation Documentation is available if you first install the manual distribution set. Traditionally, the ``man pages'' (documentation) are denoted by `name(section)'. Some examples of this are - intro(1), - man(1), - apropros(1), - passwd(1), and - passwd(5). The section numbers group the topics into several categories, but three are of primary interest: user commands are in section 1, file formats are in section 5, and administrative information is in section 8. The man command is used to view the documentation on a topic, and is started by entering man [section] topic. The brackets [] around the sec- tion should not be entered, but rather indicate that the section is op- tional. If you don't ask for a particular section, the topic with the lowest numbered section name will be displayed. For instance, after log- ging in, enter # man passwd to read the documentation for passwd(1). To view the documentation for passwd(5), enter # man 5 passwd instead. If you are unsure of what man page you are looking for, enter apropos subject-word where subject-word is your topic of interest; a list of possibly related man pages will be displayed. Administrivia If you've got something to say, do so! We'd like your input. There are various mailing lists available via the mailing list server at majordomo@netbsd.org. To get help on using the mailing list server, send mail to that address with an empty body, and it will reply with instruc- tions. There are various mailing lists set up to deal with comments and ques- tions about this release. Please send comments to: netbsd- comments@netbsd.org. To report bugs, use the send-pr(1) command shipped with NetBSD, and fill in as much information about the problem as you can. Good bug reports include lots of details. Additionally, bug reports can be sent by mail to: netbsd-bugs@netbsd.org. Use of send-pr(1) is encouraged, however, because bugs reported with it are entered into the NetBSD bugs database, and thus can't slip through the cracks. There are also port-specific mailing lists, to discuss aspects of each port of NetBSD. Use majordomo to find their addresses, or visit http://www.netbsd.org/MailingLists/. If you're interested in doing a serious amount of work on a specific port, you probably should contact the `owner' of that port (listed be- low). If you'd like to help with this effort, and have an idea as to how you could be useful, send us mail or subscribe to: netbsd-help@netbsd.org. As a favor, please avoid mailing huge documents or files to these mailing lists. Instead, put the material you would have sent up for FTP or WWW somewhere, then mail the appropriate list about it, or, if you'd rather not do that, mail the list saying you'll send the data to those who want it. Thanks go to - The former members of UCB's Computer Systems Research Group, includ- ing (but not limited to): Keith Bostic Ralph Campbell Mike Karels Marshall Kirk McKusick for their ongoing work on BSD systems, support, and encouragement. - Also, our thanks go to: Mike Hibler Rick Macklem Jan-Simon Pendry Chris Torek for answering lots of questions, fixing bugs, and doing the various work they've done. - UC Berkeley's Experimental Computing Facility provided a home for sun-lamp in the past, people to look after it, and a sense of humor. Rob Robertson, too, has added his unique sense of humor to things, and for a long time provided the primary FTP site for NetBSD. - Vixie Enterprises for hosting the NetBSD FTP, SUP, and WWW servers. - Redback Networks, Inc. for hosting the NetBSD mail and GNATS server. - The Helsinki University of Technology in Finland for hosting the NetBSD CVS server. - The Internet Research Institute in Japan for hosting the server which runs the CVSweb interface to the NetBSD source tree. - The many organisations that provide NetBSD mirror sites. - Without CVS, this project would be impossible to manage, so our hats go off to Brian Berliner, Jeff Polk, and the various other people who've had a hand in making CVS a useful tool. - Dave Burgess burgess@cynjut.infonet.net has been maintaining the 386BSD/NetBSD/FreeBSD FAQ for quite some time, and deserves to be recognized for it. - The following individuals and organizations (each in alphabetical or- der) have made donations or loans of hardware and/or money, to sup- port NetBSD development, and deserve credit for it: Steve Allen Jason Birnschein Mason Loring Bliss Jason Brazile Mark Brinicombe David Brownlee Simon Burge Dave Burgess Ralph Campbell Brian Carlstrom James Chacon Bill Coldwell Charles Conn Tom Coulter Charles D. Cranor Christopher G. Demetriou Scott Ellis Hubert Feyrer Castor Fu Greg Gingerich William Gnadt Michael Graff Guenther Grau Ross Harvey Charles M. Hannum Michael L. Hitch Kenneth Alan Hornstein Jordan K. Hubbard Soren Jorvang Scott Kaplan Noah M. Keiserman Harald Koerfgen John Kohl Chris Legrow Ted Lemon Norman R. McBride Neil J. McRae Perry E. Metzger Luke Mewburn Toru Nishimura Herb Peyerl Mike Price Dave Rand Michael Richardson Heiko W. Rupp Brad Salai Chuck Silvers Thor Lancelot Simon Bill Sommerfeld Paul Southworth Eric and Rosemary Spahr Ted Spradley Kimmo Suominen Jason R. Thorpe Steve Wadlow Krister Walfridsson Rob Windsor Jim Wise Reinoud Zandijk Christos Zoulas AboveNet Communications, Inc. Advanced System Products, Inc. Avalon Computer Systems Bay Area Internet Solutions Brains Corporation, Japan Canada Connect Corporation Co-operative Research Centre for Enterprise Distributed Systems Technology Demon Internet, UK Digital Equipment Corporation Distributed Processing Technology Easynet, UK Free Hardware Foundation Innovation Development Enterprises of America Internet Software Consortium MS Macro System GmbH, Germany Numerical Aerospace Simulation Facility, NASA Ames Research Center Piermont Information Systems Inc. Precedence Technologies Ltd Salient Systems Inc. VMC Harald Frank, Germany Warped Communications, Inc. Whitecross Database Systems Ltd. (If you're not on that list and should be, tell us! We probably were not able to get in touch with you, to verify that you wanted to be listed.) - Finally, we thank all of the people who've put sweat and tears into developing NetBSD since its inception in January, 1993. (Obviously, there are a lot more people who deserve thanks here. If you're one of them, and would like to mentioned, tell us!) We are... (in alphabetical order) The NetBSD core group: Jun-ichiro itojun Hagino itojun@netbsd.org Frank van der Linden fvdl@netbsd.org Luke Mewburn lukem@netbsd.org Christos Zoulas christos@netbsd.org The portmasters (and their ports): Simon Burge simonb@netbsd.org pmax Simon Burge simonb@netbsd.org sbmips Jeremy Cooper jeremy@netbsd.org sun3x Matt Fredette fredette@netbsd.org sun2 Chris Gilbert chris@netbsd.org cats Ross Harvey ross@netbsd.org alpha Jun-ichiro itojun Hagino itojun@netbsd.org sh3 Ben Harris bjh21@netbsd.org acorn26 Eduardo Horvath eeh@netbsd.org sparc64 Darrin Jewell dbj@netbsd.org next68k Soren Jorvang soren@netbsd.org cobalt Soren Jorvang soren@netbsd.org sgimips Wayne Knowles wdk@netbsd.org mipsco Paul Kranenburg pk@netbsd.org sparc Frank van der Linden fvdl@netbsd.org i386 Anders Magnusson ragge@netbsd.org vax Phil Nelson phil@netbsd.org pc532 NISHIMURA Takeshi nsmrtks@netbsd.org x68k Tohru Nishimura nisimura@netbsd.org luna68k NONAKA Kimihiro nonaka@netbsd.org prep Scott Reynolds scottr@netbsd.org mac68k Kazuki Sakamoto sakamoto@netbsd.org bebox Noriyuki Soda soda@netbsd.org arc Wolfgang Solfrank ws@netbsd.org ofppc Ignatios Souvatzis is@netbsd.org amiga Jonathan Stone jonathan@netbsd.org pmax Shin Takemura takemura@netbsd.org hpcmips Jason Thorpe thorpej@netbsd.org alpha Jason Thorpe thorpej@netbsd.org hp300 Tsubai Masanari tsubai@netbsd.org macppc Tsubai Masanari tsubai@netbsd.org newsmips Izumi Tsutsui tsutsui@netbsd.org news68k Leo Weppelman leo@netbsd.org atari Nathan Williams nathanw@netbsd.org sun3 Steve Woodford scw@netbsd.org mvme68k Steve Woodford scw@netbsd.org mvmeppc Reinoud Zandijk reinoud@netbsd.org acorn32 The NetBSD 1.6.1 Release Engineering team: Erik Berls cyber@netbsd.org Havard Eidnes he@netbsd.org Perry Metzger perry@netbsd.org Luke Mewburn lukem@netbsd.org Jason Thorpe thorpej@netbsd.org Todd Vierling tv@netbsd.org NetBSD Developers: Nathan Ahlstrom nra@netbsd.org Steve Allen wormey@netbsd.org Julian Assange proff@netbsd.org Lennart Augustsson augustss@netbsd.org Christoph Badura bad@netbsd.org Bang Jun-Young junyoung@netbsd.org Dieter Baron dillo@netbsd.org Robert V. Baron rvb@netbsd.org Jason Beegan jtb@netbsd.org Erik Berls cyber@netbsd.org Hiroyuki Bessho bsh@netbsd.org John Birrell jb@netbsd.org Mason Loring Bliss mason@netbsd.org Rafal Boni rafal@netbsd.org Manuel Bouyer bouyer@netbsd.org John Brezak brezak@netbsd.org Allen Briggs briggs@netbsd.org Mark Brinicombe mark@netbsd.org Aaron Brown abrown@netbsd.org Andrew Brown atatat@netbsd.org David Brownlee abs@netbsd.org Frederick Bruckman fredb@netbsd.org Jon Buller jonb@netbsd.org Simon Burge simonb@netbsd.org Robert Byrnes byrnes@netbsd.org D'Arcy J.M. Cain darcy@netbsd.org Dave Carrel carrel@netbsd.org James Chacon jmc@netbsd.org Bill Coldwell billc@netbsd.org Julian Coleman jdc@netbsd.org Jeremy Cooper jeremy@netbsd.org Chuck Cranor chuck@netbsd.org Alistair Crooks agc@netbsd.org Aidan Cully aidan@netbsd.org Johan Danielsson joda@netbsd.org Matt DeBergalis deberg@netbsd.org Rob Deker deker@netbsd.org Chris G. Demetriou cgd@netbsd.org Tracy Di Marco White gendalia@netbsd.org Jaromir Dolecek jdolecek@netbsd.org Andy Doran ad@netbsd.org Roland Dowdeswell elric@netbsd.org Emmanuel Dreyfus manu@netbsd.org Matthias Drochner drochner@netbsd.org Jun Ebihara jun@netbsd.org Havard Eidnes he@netbsd.org Stoned Elipot seb@netbsd.org Enami Tsugutomo enami@netbsd.org Bernd Ernesti veego@netbsd.org Erik Fair fair@netbsd.org Gavan Fantom gavan@netbsd.org Hubert Feyrer hubertf@netbsd.org Jason R. Fink jrf@netbsd.org Matt Fredette fredette@netbsd.org Thorsten Frueauf frueauf@netbsd.org Castor Fu castor@netbsd.org Ichiro Fukuhara ichiro@netbsd.org Thomas Gerner thomas@netbsd.org Simon J. Gerraty sjg@netbsd.org Justin Gibbs gibbs@netbsd.org Chris Gilbert chris@netbsd.org Adam Glass glass@netbsd.org Michael Graff explorer@netbsd.org Brian C. Grayson bgrayson@netbsd.org Matthew Green mrg@netbsd.org Andreas Gustafsson gson@netbsd.org Jun-ichiro itojun Hagino itojun@netbsd.org Juergen Hannken-Illjes hannken@netbsd.org Charles M. Hannum mycroft@netbsd.org Ben Harris bjh21@netbsd.org Ross Harvey ross@netbsd.org Eric Haszlakiewicz erh@netbsd.org John Hawkinson jhawk@netbsd.org HAYAKAWA Koichi haya@netbsd.org Rene Hexel rh@netbsd.org Michael L. Hitch mhitch@netbsd.org Christian E. Hopps chopps@netbsd.org Ken Hornstein kenh@netbsd.org Marc Horowitz marc@netbsd.org Eduardo Horvath eeh@netbsd.org Nick Hudson skrll@netbsd.org Shell Hung shell@netbsd.org Martin Husemann martin@netbsd.org Dean Huxley dean@netbsd.org Bernardo Innocenti bernie@netbsd.org Tetsuya Isaki isaki@netbsd.org ITOH Yasufumi itohy@netbsd.org IWAMOTO Toshihiro toshii@netbsd.org Matthew Jacob mjacob@netbsd.org Lonhyn T. Jasinskyj lonhyn@netbsd.org Darrin Jewell dbj@netbsd.org Chris Jones cjones@netbsd.org Soren Jorvang soren@netbsd.org Takahiro Kambe taca@netbsd.org Antti Kantee pooka@netbsd.org Masanori Kanaoka kanaoka@netbsd.org Mattias Karlsson keihan@netbsd.org KAWAMOTO Yosihisa kawamoto@netbsd.org Mario Kemper magick@netbsd.org Thomas Klausner wiz@netbsd.org Klaus Klein kleink@netbsd.org Wayne Knowles wdk@netbsd.org John Kohl jtk@netbsd.org Paul Kranenburg pk@netbsd.org Martti Kuparinen martti@netbsd.org Kevin Lahey kml@netbsd.org Johnny C. Lam jlam@netbsd.org Martin J. Laubach mjl@netbsd.org Ted Lemon mellon@netbsd.org Frank van der Linden fvdl@netbsd.org Joel Lindholm joel@netbsd.org Mike Long mikel@netbsd.org Warner Losh imp@netbsd.org Tomasz Luchowski zuntum@netbsd.org Federico Lupi federico@netbsd.org Brett Lymn blymn@netbsd.org Paul Mackerras paulus@netbsd.org Anders Magnusson ragge@netbsd.org MAEKAWA Masahide gehenna@netbsd.org David Maxwell david@netbsd.org Dan McMahill dmcmahill@netbsd.org Gregory McGarry gmcgarry@netbsd.org Jared D. McNeill jmcneill@netbsd.org Neil J. McRae neil@netbsd.org Perry Metzger perry@netbsd.org Minoura Makoto minoura@netbsd.org Luke Mewburn lukem@netbsd.org der Mouse mouse@netbsd.org Joseph Myers jsm@netbsd.org Ken Nakata kenn@netbsd.org Phil Nelson phil@netbsd.org Bob Nestor rnestor@netbsd.org NISHIMURA Takeshi nsmrtks@netbsd.org Tohru Nishimura nisimura@netbsd.org NONAKA Kimihiro nonaka@netbsd.org Jesse Off joff@netbsd.org Tatoku Ogaito tacha@netbsd.org Masaru Oki oki@netbsd.org Atsushi Onoe onoe@netbsd.org Greg Oster oster@netbsd.org Herb Peyerl hpeyerl@netbsd.org Matthias Pfaller matthias@netbsd.org Chris Pinnock cjep@netbsd.org Dante Profeta dante@netbsd.org Chris Provenzano proven@netbsd.org Michael Rauch mrauch@netbsd.org Darren Reed darrenr@netbsd.org Scott Reynolds scottr@netbsd.org Michael Richardson mcr@netbsd.org Tim Rightnour garbled@netbsd.org Gordon Ross gwr@netbsd.org Heiko W. Rupp hwr@netbsd.org David Sainty dsainty@netbsd.org SAITOH Masanobu msaitoh@netbsd.org Kazuki Sakamoto sakamoto@netbsd.org Curt Sampson cjs@netbsd.org Wilfredo Sanchez wsanchez@netbsd.org Ty Sarna tsarna@netbsd.org SATO Kazumi sato@netbsd.org Jan Schaumann jschauma@netbsd.org Matthias Scheler tron@netbsd.org Karl Schilke (rAT) rat@netbsd.org Amitai Schlair schmonz@netbsd.org Konrad Schroder perseant@netbsd.org Reed Shadgett dent@netbsd.org Tim Shepard shep@netbsd.org Takeshi Shibagaki shiba@netbsd.org Takao Shinohara shin@netbsd.org Takuya SHIOZAKI tshiozak@netbsd.org Chuck Silvers chs@netbsd.org Thor Lancelot Simon tls@netbsd.org Jeff Smith jeffs@netbsd.org Noriyuki Soda soda@netbsd.org Wolfgang Solfrank ws@netbsd.org SOMEYA Yoshihiko someya@netbsd.org Bill Sommerfeld sommerfeld@netbsd.org Ignatios Souvatzis is@netbsd.org Bill Squier groo@netbsd.org Jonathan Stone jonathan@netbsd.org Bill Studenmund wrstuden@netbsd.org Kevin Sullivan sullivan@netbsd.org SUNAGAWA Keiki kei@netbsd.org Kimmo Suominen kim@netbsd.org Shin Takemura takemura@netbsd.org TAMURA Kent kent@netbsd.org Shin'ichiro TAYA taya@netbsd.org Matt Thomas matt@netbsd.org Jason Thorpe thorpej@netbsd.org Christoph Toshok toshok@netbsd.org Tsubai Masanari tsubai@netbsd.org Izumi Tsutsui tsutsui@netbsd.org UCHIYAMA Yasushi uch@netbsd.org Masao Uebayashi uebayasi@netbsd.org Shuichiro URATA ur@netbsd.org Todd Vierling tv@netbsd.org Aymeric Vincent aymeric@netbsd.org Paul Vixie vixie@netbsd.org Krister Walfridsson kristerw@netbsd.org Lex Wennmacher wennmach@netbsd.org Leo Weppelman leo@netbsd.org Assar Westerlund assar@netbsd.org Todd Whitesel toddpw@netbsd.org Nathan Williams nathanw@netbsd.org Rob Windsor windsor@netbsd.org Dan Winship danw@netbsd.org Jim Wise jwise@netbsd.org Michael Wolfson mbw@netbsd.org Steve Woodford scw@netbsd.org Colin Wood ender@netbsd.org YAMAMOTO Takashi yamt@netbsd.org Yuji Yamano yyamano@netbsd.org Reinoud Zandijk reinoud@netbsd.org Maria Zevenhoven maria7@netbsd.org Christos Zoulas christos@netbsd.org Other contributors: Dave Burgess burgess@cynjut.infonet.net Brian R. Gaeke brg@dgate.org Brad Grantham grantham@tenon.com Lawrence Kesteloot kesteloo@cs.unc.edu Waldi Ravens waldi@moacs.indiv.nl.net Legal Mumbo-Jumbo All product names mentioned herein are trademarks or registered trade- marks of their respective owners. The following notices are required to satisfy the license terms of the software that we have mentioned in this document: This product includes software developed by the University of California, Berkeley and its contributors. This product includes software developed by The NetBSD Foundation, Inc. This product includes software developed by the NetBSD Foundation, Inc. and its contributors. This product includes software developed by the Computer Systems Engi- neering Group at Lawrence Berkeley Laboratory. This product includes software developed by Adam Glass and Charles Han- num. This product includes software developed by Adam Glass and Charles M. Hannum. This product includes software developed by Adam Glass. This product includes software developed by Alistair G. Crooks. This product includes software developed by Amancio Hasty and Roger Hardiman. This product includes software developed by Berkeley Software Design, Inc. This product includes software developed by Bill Paul. This product includes software developed by Charles D. Cranor and Wash- ington University. This product includes software developed by Charles D. Cranor. This product includes software developed by Charles Hannum, by the Uni- versity of Vermont and State Agricultural College and Garrett A. Wollman, by William F. Jolitz, and by the University of California, Berkeley, Lawrence Berkeley Laboratory, and its contributors. This product includes software developed by Charles Hannum. This product includes software developed by Charles M. Hannum. This product includes software developed by Chris Provenzano. This product includes software developed by Christian E. Hopps. This product includes software developed by Christopher G. Demetriou for the NetBSD Project. This product includes software developed by Christopher G. Demetriou. This product includes software developed by Christos Zoulas. This product includes software developed by David Jones and Gordon Ross. This product includes software developed by Dean Huxley. This product includes software developed by Eric S. Hvozda. This product includes software developed by Ezra Story. This product includes software developed by Gardner Buchanan. This product includes software developed by Gordon Ross. This product includes software developed by Gordon W. Ross and Leo Wep- pelman. This product includes software developed by Gordon W. Ross. This product includes software developed by Hauke Fath. This product includes software developed by HAYAKAWA Koichi. This product includes software developed by Hellmuth Michaelis and Joerg Wunsch. This product includes software developed by Herb Peyerl. This product includes software developed by Holger Veit and Brian Moore for use with "386BSD" and similar operating systems. This product includes software developed by Hubert Feyrer for the NetBSD Project. This product includes software developed by Iain Hibbert. This product includes software developed by Ian W. Dall. This product includes software developed by Ignatios Souvatzis for the NetBSD Project. This product includes software developed by Jason R. Thorpe for And Com- munications, http://www.and.com/. This product includes software developed by Joachim Koenig-Baltes. This product includes software developed by Jochen Pohl for The NetBSD Project. This product includes software developed by John Polstra. This product includes software developed by Jonathan Stone and Jason R. Thorpe for the NetBSD Project. This product includes software developed by Jonathan Stone for the NetBSD Project. This product includes software developed by Jonathan Stone. This product includes software developed by Julian Highfield. This product includes software developed by Kenneth Stailey. This product includes software developed by Leo Weppelman. This product includes software developed by Lloyd Parkes. This product includes software developed by Manuel Bouyer. This product includes software developed by Marc Horowitz. This product includes software developed by Mark Brinicombe for the NetB- SD Project. This product includes software developed by Mark Brinicombe. This product includes software developed by Mark Tinguely and Jim Lowe. This product includes software developed by Markus Wild. This product includes software developed by Martin Husemann and Wolfgang Solfrank. This product includes software developed by Mats O Jansson and Charles D. Cranor. This product includes software developed by Mats O Jansson. This product includes software developed by Matthias Pfaller. This product includes software developed by Michael L. Hitch. This product includes software developed by Niels Provos. This product includes software developed by Paul Kranenburg. This product includes software developed by Paul Mackerras. This product includes software developed by Peter Galbavy. This product includes software developed by Philip A. Nelson. This product includes software developed by Rodney W. Grimes. This product includes software developed by Roland C. Dowdeswell. This product includes software developed by Rolf Grossmann. This product includes software developed by Scott Bartram. This product includes software developed by SigmaSoft, Th. Lockert. This product includes software developed by Tatoku Ogaito for the NetBSD Project. This product includes software developed by Terrence R. Lambert. This product includes software developed by Theo de Raadt and John Brezak. This product includes software developed by Theo de Raadt. This product includes software developed by Tohru Nishimura for the NetB- SD Project. This product includes software developed by TooLs GmbH. This product includes software designed by William Allen Simpson. This product includes software developed by Winning Strategies, Inc. This product includes software developed by Zembu Labs, Inc. This product includes software developed by the Center for Software Sci- ence at the University of Utah. This product includes software developed by the Computer Systems Labora- tory at the University of Utah. This product includes software developed by the University of Calgary De- partment of Computer Science and its contributors. This product includes software developed by the University of Vermont and State Agricultural College and Garrett A. Wollman. This product includes software developed for the FreeBSD project. This product includes software developed for the Internet Software Con- sortium by Ted Lemon. This product includes software developed for the NetBSD Project by Frank van der Linden. This product includes software developed for the NetBSD Project by Jason R. Thorpe. This product includes software developed for the NetBSD Project by John M. Vinopal. This product includes software developed for the NetBSD Project by Matthias Drochner. This product includes software developed for the NetBSD Project by Matthieu Herrb. This product includes software developed for the NetBSD Project by Perry E. Metzger. This product includes software developed for the NetBSD Project by Pier- mont Information Systems Inc. This product includes software developed for the NetBSD Project by Ted Lemon. This product includes software developed for the NetBSD Project by Wasabi Systems, Inc. This product includes software developed by LAN Media Corporation and its contributors. This product includes software developed by Michael Graff for the NetBSD Project. This product includes software developed by Niklas Hallqvist, C Stone and Job de Haas. This product includes software developed by Eric Young (eay@min- com.oz.au). This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/). This product includes software developed by the University of Oregon. This product includes software developed by the University of Southern California and/or Information Sciences Institute. This product includes software developed by Internet Initiative Japan Inc. This product includes software developed by Reinoud Zandijk. This product includes software developed at the Information Technology Division, US Naval Research Laboratory. This product includes software developed by the Alice Group. This product includes software developed by Allen Briggs. This product includes software developed by Bradley A. Grantham. This product includes softwarre developed by Daishi Kato. This product includes software developed by Takashi Hamada. This product includes software developed by Scott Reynolds. This product includes software developed by John P. Wittkoski. This product includes software developed by Colin Wood. The End Contributions The following people have made contributions of various sorts specifical- ly for the Macintosh port (in alphabetical order): o All of the users who have supplied us with good bug reports and moral support. o The Alice Group (Allen K. Briggs, Chris P. Caputo, Michael L. Finch, Bradley A. Grantham, and Lawrence A. Kesteloot), without whom there would be no NetBSD port for the Macintosh. o Steven R. Allen for keeping our snapshot distributions up-to-date. o Stephen C. Brown for maintaining the Installer application. o Denton Gentry and Yanagisawa Takeshi for their work on the SONIC Eth- ernet driver. o Paul Goyette, Taras Ivanenko, Ken Nakata, and Michael R. Zucca for invaluable work towards supporting color X. o Takashi Hamada and John Wittkoski beating the direct ADB hardware driver into submission. o David Huang for getting MACE Ethernet and basic DMA working on the AV Macs. o Scott Jann for acquiring a IIx and a IIci, used for building and testing release sets. o Scott Kaplan for lending his IIci and Kensington Turbo Mouse for IIci/IIsi banked memory and internal video as well as non-Apple ADB devices. o Noah M. Kieserman for lending a PowerBook 520C for tracking down sev- eral bugs on that platform. o Markus Krummenacker for monetary donations. o Glan Lalonde for an invaluable IIci page table dump. o Dan McMahill for lending a PowerBook 165 to tweak ADB support on the PowerBook 160 and 180 family laptops. o Bob Nestor for (unofficially) maintaining the Mkfs utility, and pro- viding a lot of useful information about the ROM vectors used by dif- ferent systems. o Brad Parker for serial and Ethernet drivers/improvements. o Brian R. Gaeke and Nigel Pearson for tweaking, polishing, and per- forming the occasional major refit on the Booter application. o Scott Redman for lending Brad Grantham a PowerBook 160. o Craig Ruff for assembling an '030 pmove ttx instruction. o Brad Salai for lending an Ethernet card to help resolve interrupt conflicts. o Larry Samuels for monetary donations. o Peter Siebold for lending his IIvx in support of ADB and IIvx inter- nal video. o Glen Stewart for lending a Carrera040 accelerator which, while still unsupported, helped to track down memory management bugs for '030-based machines. o Bill Studenmund for providing a stable front end to the machine- in- dependent serial driver. o Schuyler Stultz for the loan of his Macintosh II when we desperately needed another machine on which to compile and test during the '93 Xmas vacation. o Tenon Intersystems for monetary donations, MachTen, and Brad's access to several machines and documentation after hours. o Virginia Tech English Department for loan of a IIci w/ NuBus video and 32 MB of RAM -- the first IIci to run NetBSD/mac68k. o Rob Windsor for donating a variety of Macintosh II-family systems, a Centris 650, a Quadra 700, and several boxes full of miscellaneous peripherals and parts in the interest of ensuring adequate testing and working out minor (and not-so-minor) problems. o Colin Wood for maintaining a host of NetBSD/mac68k documentation, in- cluding the FAQ, Meta-FAQ, and OS Info documents. NetBSD September 7, 2002 43