INSTALL(8) NetBSD System Manager's Manual INSTALL(8) NNAAMMEE IINNSSTTAALLLL - Installation procedure for NetBSD/i386 DDEESSCCRRIIPPTTIIOONN AAbboouutt tthhiiss DDooccuummeenntt This document describes the installation procedure for NetBSD 1.4 on the _i_3_8_6 platform. It is available in four different formats titled _I_N_S_T_A_L_L_._e_x_t, where _e_x_t is one of _._p_s, _._h_t_m_l, _._m_o_r_e, or _._t_x_t. _._p_s PostScript. _._h_t_m_l Standard internet HTML. _._m_o_r_e 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 _m_a_n pages are generally pre- sented. _._t_x_t Plain old ASCII. You are reading the _m_o_r_e version. WWhhaatt iiss NNeettBBSSDD?? The NetBSD Operating System is a fully functional Open Source UN*X-like operating system derived from the Berkeley Networking Release 2 (Net/2), 4.4BSD-Lite, and 4.4BSD-Lite2 sources. NetBSD runs on twenty different system architectures featuring eight distinct families of CPUs, and is being ported to more. The NetBSD 1.4 release contains complete binary re- leases for fourteen different machine types. (The six remaining are not fully supported at this time and are thus not part of the binary distri- bution. For information on them, please see the NetBSD web site at hhttttpp::////wwwwww..nneettbbssdd..oorrgg//) 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, and nu- merous 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. CChhaannggeess SSiinnccee TThhee LLaasstt RReelleeaassee The NetBSD 1.4 release is a substantial improvement over its predeces- sors. We have provided numerous significant functional enhancements, in- cluding support for many new devices, integration of hundreds of bug fix- es, new and updated kernel subsystems, and many userland enhancements. The results of these improvements is a stable operating system fit for production use that rivals most commercially available systems. It is impossible to completely summarize the nearly two years of develop- ment that went into the NetBSD 1.4 release. Some highlights include: ++oo Substantial improvements in the TCP/IP implementation, including nu- merous performance enhancements and bug fixes by Jason Thorpe and others. ++oo A new, high efficiency kernel memory pool allocator by Paul Kranen- burg. This has been integrated into most kernel subsystems. ++oo A new, totally rewritten virtual memory subsystem, UVM, created by Chuck Cranor, which is substantially cleaner and better performing than the old Mach derived VM subsystem. ++oo Improved POSIX and XPG standards compliance. ++oo Completion of the integration of all remaining 4.4BSD Lite-2 kernel improvements and bug fixes that had not been previously integrated. (Integration of all userland components was completed before NetBSD 1.3) ++oo Several new ports, including macppc, bebox, sparc64, next68k, and others, have been integrated into the source tree. ++oo The system compilers have been upgraded to egcs 1.1.1, and the system compiler toolchain now (mostly) uses the latest versions of GNU binu- tils instead of the obsolete versions left over from 4.4BSD Lite. ++oo Everyone's favorite ftp(1) client has been improved even further. See the man page for details. ++oo A new architecture independent console driver, wscons(4), has been integrated into many ports. ++oo Numerous improvements have been made to the audio subsystem support, including support for MIDI device drivers. ++oo Linux compatibility support has been improved. ++oo A number of scheduler enhancements have yielded dramatic improvements in interactive performance and better control of background tasks. ++oo Several network tunneling protocols, including GRE and IP in IP, have been implemented. ++oo Kernel support for the CODA distributed file system has been added. ++oo Manuel Bouyer completed major changes to the IDE support. It is now architecture independent. Major changes have been made to the IDE code for better error handling, improved ATAPI support, 32 bit data I/O support and bus-master DMA support on PCI IDE controllers. ++oo Lennart Augustsson has added full USB support, permitting the use of a wide variety of Universal Serial Bus peripherals. The drivers should easily port to any future platforms that support the PCI bus. See usb(4) for an overview. ++oo RAIDframe, version 1.1, from the Parallel Data Laboratory at Carnegie Mellon University, has been integrated. Supports RAID levels 0, 1, 4, 5, and more. ++oo Luke Mewburn added nsswitch.conf(5) functionality to the system to specify the search order for system databases. ++oo syslogd(8) now supports listening on multiple sockets, to make the chrooting of servers easier. ++oo Most third party packages have been updated to the latest stable re- lease. As has been noted, there have also been innumerable bug fixes. 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. As is usual between releases, the i386 port has had many improvements made to it -- too many to detail all of them here. Numerous new drivers have been added. See the supported hardware list for details. Some (but not all!) notable i386-specific improvements include: ++oo New i386 boot blocks now support INT13 extensions. This means that on modern BIOSes, it is possible to boot a NetBSD partition that is past the old 1024 cylinder boundary. The new boot blocks also support a mechanism to pass BIOS geometry information to the kernel, permitting improved automation during installs. ++oo The i386 port also now uses libkvm -- libkvm.old has finally been purged. NetBSD 1.4 on i386 is, as usual, also fully backward compatible with old NetBSD i386 binaries, so you don't need to recompile all your local pro- grams provided you set the appropriate binary compatibility options in your kernel configuration. The i386 will be switching executable formats from a.out to ELF in the next release. The support for this has already been completed, but was judged too new to be included in NetBSD 1.4. TThhee FFuuttuurree ooff NNeettBBSSDD 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: ++oo providing better organization to keep track of development efforts, including co-ordination with groups working in related fields. ++oo providing a framework to receive donations of goods and services and to own the resources necessary to run the NetBSD Project. ++oo providing a better position from which to undertake promotional ac- tivities. ++oo 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 _m_o_r_e 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. In addition, we intend to provide Anonymous CVS access to the NetBSD source tree in the near fu- ture, so that anyone on the internet can examine the full NetBSD source code repository. 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. SSoouurrcceess ooff NNeettBBSSDD _N_e_t_B_S_D _M_i_r_r_o_r _S_i_t_e _L_i_s_t The following sites mirror NetBSD as of April 03, 1999. If you wish to become a distribution site for NetBSD, contact _m_i_r_r_o_r_s_@_n_e_t_b_s_d_._o_r_g. FTP mirrors Australia ftp.au.netbsd.org RMIT University, Melbourne ftp://ftp.au.netbsd.org/pub/NetBSD/ ftp2.au.netbsd.org University of Queensland, Brisbane ftp://ftp2.au.netbsd.org/pub/NetBSD/ Austria ftp.at.netbsd.org University of Technology, Vienna ftp://ftp.at.netbsd.org/pub/NetBSD/ Brazil ftp.ravel.ufrj.br Cidade Universitaria ftp://ftp.ravel.ufrj.br/pub/NetBSD/ Denmark ftp.dk.netbsd.org Aalborg University ftp://ftp.dk.netbsd.org/pub/NetBSD/ Finland ftp.fi.netbsd.org The Finnish University and Research Network, Espoo ftp://ftp.fi.netbsd.org/pub/NetBSD/ France ftp.fr.netbsd.org Paris University ftp://ftp.fr.netbsd.org/pub/NetBSD/ Germany ftp.de.netbsd.org University of Trier ftp://ftp.de.netbsd.org/pub/NetBSD/ ftp2.de.netbsd.org University of Erlangen-Nuremberg ftp://ftp2.de.netbsd.org/pub/NetBSD/ ftp.uni-regensburg.de University of Regensburg ftp://ftp.uni-regensburg.de/pub/comp/os/NetBSD/ Japan ftp.jp.netbsd.org Internet Research Institute Inc., Tokyo ftp://ftp.jp.netbsd.org/pub/NetBSD/ core.ring.gr.jp Electrotechnical Laboratory ftp://core.ring.gr.jp/pub/NetBSD/ ftp.dti.ad.jp Dream Train Internet Inc., Tokyo ftp://ftp.dti.ad.jp/pub/NetBSD/ mirror.nucba.ac.jp Nagoya University of Commerce and Business ftp://mirror.nucba.ac.jp/mirror/NetBSD/ netbsd.tohoku.ac.jp Tohoku University, Sendai ftp://netbsd.tohoku.ac.jp/NetBSD/ ring.asahi-net.or.jp ASAHI Net ftp://ring.asahi-net.or.jp/pub/NetBSD/ Netherlands ftp.nl.netbsd.org University of Amsterdam ftp://ftp.nl.netbsd.org/pub/NetBSD/ Norway ftp.no.netbsd.org Bergen IT Consult AS ftp://ftp.no.netbsd.org/pub/NetBSD/ ftp.ntnu.no Norwegian University of Science and Technology ftp://ftp.ntnu.no/pub/NetBSD/ Russia ftp.ru.netbsd.org Landau Institute for Theoretical Physics, Chernogolovka ftp://ftp.ru.netbsd.org/pub/NetBSD/ Sweden ftp.stacken.kth.se Royal Institute of Technology, Stockholm ftp://ftp.stacken.kth.se/pub/OS/NetBSD/ ftp.sunet.se Swedish University NETwork, Uppsala ftp://ftp.sunet.se/pub/os/NetBSD/ UK ftp.uk.netbsd.org Domino, London ftp://ftp.uk.netbsd.org/pub/NetBSD/ sunsite.org.uk ftp://sunsite.org.uk/packages/netbsd/ USA ftp.netbsd.org Silicon Valley, California ftp://ftp.netbsd.org/pub/NetBSD/ ftp.cs.umn.edu University of Minnesota ftp://ftp.cs.umn.edu/pub/NetBSD ftp.eecs.umich.edu University of Michigan, Ann Arbor ftp://ftp.eecs.umich.edu/pub/NetBSD/ ftp.iastate.edu Iowa State University ftp://ftp.iastate.edu/pub/netbsd/ ftp.op.net ftp://ftp.op.net/pub/NetBSD/ AFS mirrors Sweden ftp.stacken.kth.se Royal Institute of Technology, Stockholm AFS path: /afs/stacken.kth.se/ftp/pub/OS/NetBSD USA ftp.iastate.edu Iowa State University AFS path: /afs/iastate.edu/public/ftp/pub/netbsd NFS mirrors UK sunsite.org.uk Instructions: mount -o ro sunsite.org.uk:/public/packages/netb- sd /mnt SUP mirrors Australia sup.au.netbsd.org RMIT University, Melbourne Instructions: ftp://sup.au.netbsd.org/pub/NetBSD/sup/README.sup France sup.fr.netbsd.org Paris University Instructions: Similar to sup.netbsd.org Germany sup.de.netbsd.org University of Trier Instructions: ftp://sup.de.netbsd.org/pub/NetBSD/sup/sup- file.example Japan sup.jp.netbsd.org Internet Research Institute Inc., Tokyo Instructions: ftp://sup.jp.netbsd.org/pub/NetBSD/sup/README.sup Norway sup.no.netbsd.org Norwegian University of Science and Technology Instructions: See /usr/src/share/examples/supfiles/sup.no.netb- sd.org UK sup.uk.netbsd.org Domino, London Instructions: See ftp://ftp.netbsd.org/pub/NetB- SD/sup/README.sup USA sup.netbsd.org Silicon Valley, California Instructions: See ftp://ftp.netbsd.org/pub/NetB- SD/sup/README.sup ftp.cs.umn.edu University of Minnesota Instructions: hostbase=/ftp/ftp/packages/NetBSD, collections are the same as on sup.NetBSD.ORG WWW mirrors Australia www.au.netbsd.org RMIT University, Melbourne http://www.au.netbsd.org/ Austria www.at.netbsd.org University of Technology, Vienna http://www.at.netbsd.org/ Finland www.fi.netbsd.org Global Wire Oy, Lappeenranta http://www.fi.netbsd.org/ France www.fr.netbsd.org Paris University http://www.fr.netbsd.org/ Germany www.de.netbsd.org http://www.de.netbsd.org/ Japan www.jp.netbsd.org Internet Research Institute Inc., Tokyo http://www.jp.netbsd.org/ Norway www.no.netbsd.org Bergen IT Consult AS http://www.no.netbsd.org/ USA www.netbsd.org Western Washington State University http://www.netbsd.org/ www2.us.netbsd.org New York http://www.us.netbsd.org/ NNeettBBSSDD 11..44 RReelleeaassee CCoonntteennttss The root directory of the NetBSD 1.4 release is organized as follows: _._._._/_N_e_t_B_S_D_-_1_._4_/ BUGS Known bugs list (somewhat incomplete and out of date). CHANGES Changes since earlier NetBSD releases. LAST_MINUTE Last minute changes. MIRRORS A list of sites that mirror the NetBSD 1.4 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.4 has a binary distribution. There are also 'README.export-con- trol' files sprinkled liberally throughout the distribution tree, which point out that there are some portions of the distribution (i.e. the `do- mestic' portion) that may be subject to export regulations of the United States. It is your responsibility to determine whether or not it is le- gal 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: secrsrc.tgz: This set contains the "domestic" sources. These sources may be subject to United States export regulations. _4_2_1_K _g_z_i_p_p_e_d_, _2_M _u_n_c_o_m_p_r_e_s_s_e_d gnusrc.tgz: This set contains the "gnu" sources, including the source for the compiler, assembler, groff, and the other GNU utilities in the binary distribution sets. _1_9_M _g_z_i_p_p_e_d_, _8_4_._2_M _u_n_c_o_m_p_r_e_s_s_e_d syssrc.tgz: This set contains the sources to the NetBSD 1.4 kernel, config(8), and dbsym(8). _1_3_._5_M _g_z_i_p_p_e_d_, _6_6_._7_M _u_n_c_o_m_p_r_e_s_s_e_d sharesrc.tgz: This set contains the "share" sources, which include the sources for the man pages not associated with any par- ticular program, the sources for the typesettable docu- ment set, the dictionaries, and more. _3_M _g_z_i_p_p_e_d_, _1_1_._9_M _u_n_c_o_m_p_r_e_s_s_e_d src.tgz: This set contains all of the NetBSD 1.4 sources which are not mentioned above. _1_6_._1_M _g_z_i_p_p_e_d_, _7_3_._6_M _u_n_c_o_m_p_r_e_s_s_e_d Most of the above source sets are located in the _s_o_u_r_c_e_/_s_e_t_s subdirectory of the distribution tree. The secrsrc.tgz set is contained in the _s_o_u_r_c_e_/_s_e_c_u_r_i_t_y subdirectory. This set, which is available only to users in the United States and Canada, contains the sources normally found in _/_u_s_r_/_s_r_c_/_d_o_m_e_s_t_i_c - primarily kerberos and other cryptographic security related software. (Remember, because of United States law, it may not be legal to distribute this set to locations outside of the United States and Canada.) The source sets are distributed as compressed tar files. They may be un- packed into _/_u_s_r_/_s_r_c with the command: ccaatt sseett__nnaammee..ttggzz || gguunnzziipp || ((ccdd //;; ttaarr xxppff -- )) The _s_e_t_s_/_S_p_l_i_t_/ and _s_e_c_u_r_i_t_y_/_S_p_l_i_t_/ subdirectories contain 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 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 ccaatt as follows: ccaatt sseett__nnaammee..???? || gguunnzziipp || ((ccdd //;; ttaarr xxppff -- )) In each of the source distribution set directories, there is a file named _C_K_S_U_M_S which contains the checksums of the files in that directory, as generated by the cksum(1) utility. You can use cksum to check the in- tegrity of the archives, if you suspect that one of the files is corrupt and have access to a cksum binary. Checksums based on other algorithms may also be present - see the release(7) man page for details. _N_e_t_B_S_D_/_i_3_8_6 _S_u_b_d_i_r_e_c_t_o_r_y _S_t_r_u_c_t_u_r_e The i386-specific portion of the NetBSD 1.4 release is found in the _i_3_8_6 subdirectory of the distribution: _._._._/_N_e_t_B_S_D_-_1_._4_/_i_3_8_6_/ _I_N_S_T_A_L_L_._h_t_m_l _I_N_S_T_A_L_L_._p_s _I_N_S_T_A_L_L_._t_x_t _I_N_S_T_A_L_L_._m_o_r_e Installation notes; this file. The _._m_o_r_e file contains underlined text using the more(1) conventions for indicat- ing italic and bold display. _b_i_n_a_r_y_/ _s_e_t_s_/ i386 binary distribution sets; see below. _s_e_c_u_r_i_t_y_/ i386 security distribution; see below. _i_n_s_t_a_l_l_a_t_i_o_n_/ _f_l_o_p_p_y_/ i386 boot and installation floppies; see below. _m_i_s_c_/ Miscellaneous i386 installation utilities; see installation section, below. _B_i_n_a_r_y _D_i_s_t_r_i_b_u_t_i_o_n _S_e_t_s The NetBSD i386 binary distribution sets contain the binaries which com- prise the NetBSD 1.4 release for the i386. There are eight binary distri- bution sets and the _s_e_c_u_r_i_t_y distribution set. The binary distribution sets can be found in the _i_3_8_6_/_b_i_n_a_r_y_/_s_e_t_s subdirectory of the NetBSD 1.4 distribution tree, and are as follows: bbaassee The NetBSD 1.4 i386 bbaassee binary distribution. You _m_u_s_t in- stall this distribution set. It contains the base NetBSD utilities that are necessary for the system to run and be minimally functional. It includes shared library support, and excludes everything described below. _1_1_._2_M _g_z_i_p_p_e_d_, _2_8_._2_M _u_n_c_o_m_p_r_e_s_s_e_d ccoommpp Things needed for compiling programs. This set includes the system include files (_/_u_s_r_/_i_n_c_l_u_d_e) and the various system libraries (except the shared libraries, which are included as part of the bbaassee 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. _8_._7_M _g_z_i_p_p_e_d_, _2_8_._2_M _u_n_c_o_m_p_r_e_s_s_e_d eettcc This distribution set contains the system configuration files that reside in _/_e_t_c and in several other places. This set _m_u_s_t be installed if you are installing the system from scratch, but should _n_o_t be used if you are upgrading. (If you are upgrading, it's recommended that you get a copy of this set and _c_a_r_e_f_u_l_l_y upgrade your configuration files by hand.) _5_7_K _g_z_i_p_p_e_d_, _3_4_0_K _u_n_c_o_m_p_r_e_s_s_e_d ggaammeess This set includes the games and their manual pages. _2_._8_M _g_z_i_p_p_e_d_, _6_._9_M _u_n_c_o_m_p_r_e_s_s_e_d kkeerrnn This set contains a NetBSD/i386 1.4 GENERIC kernel, named _/_n_e_t_b_s_d. You _m_u_s_t install this distribution set. _1_._5_M _g_z_i_p_p_e_d_, _3_M _u_n_c_o_m_p_r_e_s_s_e_d mmaann This set includes all of the manual pages for the binaries and other software contained in the bbaassee set. Note that it does not include any of the manual pages that are included in the other sets. _4_M _g_z_i_p_p_e_d_, _1_6_._2_M _u_n_c_o_m_p_r_e_s_s_e_d mmiisscc This set includes the (rather large) system dictionaries, the typesettable document set, and other files from _/_u_s_r_/_s_h_a_r_e. _2_._1_M _g_z_i_p_p_e_d_, _8_._1_M _u_n_c_o_m_p_r_e_s_s_e_d tteexxtt This set includes NetBSD's text processing tools, including groff(1), all related programs, and their manual pages. _1_._3_M _g_z_i_p_p_e_d_, _4_._4_M _u_n_c_o_m_p_r_e_s_s_e_d The i386 security distribution set is named sseeccrr and can be found in the _i_3_8_6_/_b_i_n_a_r_y_/_s_e_c_u_r_i_t_y subdirectory of the NetBSD 1.4 distribution tree. It contains security- related binaries which depend on cryptographic source code. You do not need this distribution set to use encrypted passwords in your password file; the bbaassee distribution includes a crypt library which can perform only the one-way encryption function. The security distribution includes a version of the Kerberos IV network security system, and a Kerberized version of telnet(1) program. The sseeccrr distribution set can be found only on those sites which carry the complete NetBSD distribution and which can legally obtain it. Because of United States law, it may not be legal to distribute this set to locations outside of the United States and Canada. _7_9_8_K _g_z_i_p_p_e_d_, _2_._4_M _u_n_c_o_m_p_r_e_s_s_e_d 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.3.1. Binary sets for the X Window system are distributed with NetBSD. The sets are: xxbbaassee The basic files needed for a complete X client environment. This does not include the X servers. _2_._6_M _g_z_i_p_p_e_d_, _7_._8_M _u_n_c_o_m_p_r_e_s_s_e_d xxccoommpp The extra libraries and include files needed to compile X source code. _1_._7_M _g_z_i_p_p_e_d_, _7_M _u_n_c_o_m_p_r_e_s_s_e_d xxccoonnttrriibb Programs that were contributed to X. _1_8_4_k _g_z_i_p_p_e_d_, _6_0_0_k _u_n_c_o_m_p_r_e_s_s_e_d xxffoonntt Fonts needed by X. _5_._9_M _g_z_i_p_p_e_d_, _7_._1_M _u_n_c_o_m_p_r_e_s_s_e_d xxsseerrvveerr All XFree86 X servers. Because all of them are included, this set is large. However, you will only need one of the servers provided in this set. (Typically, XF86_SVGA.) _1_5_._9_M _g_z_i_p_p_e_d_, _3_7_._7_M _u_n_c_o_m_p_r_e_s_s_e_d The i386 binary distribution sets are distributed as gzipped tar files named with the extension ..ttggzz, e.g. _b_a_s_e_._t_g_z. They are also available in split form - catted together, the members of a split set form a gzipped tar file. 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 files are /-relative and therefore are extracted _b_e_l_o_w the current directory. That is, if you want to extract the binaries into your system, i.e. replace the system binaries with them, you have to run the ttaarr xxffpp command from /. _N_o_t_e Each directory in the i386 binary distribution also has its own checksum files, just as the source distribution does: All BSDSUM files are historic BSD checksums for the various files in that directory, in the format produced by the command: cckkssuumm --oo 11 _f_i_l_e All CKSUM files are POSIX checksums for the various files in that directory, in the format produced by the command: cckkssuumm _f_i_l_e. All MD5 files are MD5 digests for the various files in that direc- tory, in the format produced by the command: cckkssuumm --mm _f_i_l_e. All SYSVSUM files are historic AT&T System V UNIX checksums for the various files in that directory, in the format produced by the command: cckkssuumm --oo --22 _f_i_l_e. The MD5 digest is the safest checksum, followed by the POSIX checksum. The other two checksums are provided only to ensure that the widest possible range of system can check the integrity of the release files. NNeettBBSSDD//ii338866 SSyysstteemm RReeqquuiirreemmeennttss aanndd SSuuppppoorrtteedd DDeevviicceess NetBSD 1.4 runs on ISA (AT-Bus), EISA, PCI, and VL-bus systems with 386-family processors, with or without math coprocessors. It does NOT support MCA systems, such as some IBM PS/2 systems. The minimal configu- ration is said to require 4M of RAM and 50M of disk space, though we do not know of anyone running with a system quite this minimal today. To in- stall the entire system requires much more disk space (the unpacked bina- ry distribution, without sources, requires at least 65M without counting space needed for swap space, etc), and to run X or compile the system, more RAM is recommended. (4M of RAM will actually allow you to run X and/or compile, but it won't be speedy. Note that until you have around 16M of RAM, getting more RAM is more important than getting a faster CPU.) Supported devices include: Floppy controllers. MFM, ESDI, IDE, and RLL hard disk controllers. There is complete support (including IDE DMA or Ultra- DMA) for the following PCI controllers: - Acer labs M5229 IDE Controller - CMD Tech PCI0643 and PCI0646 IDE Controllers - Contaq Microsystems/Cypress CY82C693 IDE Controller - Intel PIIX, PIIX3 and PIIX4 IDE Controllers - Silicon Integrated System 5597/5598 IDE controller - VIA Technologies VT82C586 and VT82C586A IDE Controllers Most of these controllers are only available in multifunction PCI chips. Other PCI IDE controllers are supported, but performances may not be optimal. ISA, ISA plug and play and PCMCIA IDE controllers are supported as well. SCSI host adapters Adaptec AHA-154xA, -B, -C, and -CF Adaptec AHA-174x Adaptec AIC-6260 and AIC-6360 based boards, including the Adaptec AHA-152x, Adaptec APA-1460 (PCMCIA), and the SoundBlaster SCSI host adapter. (Note that you cannot boot from these boards if they do not have a boot ROM; only the AHA-152x and motherboards using this chip are likely to be bootable, consequently.) Adaptec AHA-2x4x[U][W] cards and some onboard PCI designs using the AIC-7770, AIC-7850, AIC-7860, AIC-7870, or AIC-7880 chip. Adaptec AHA-3940[U][W] cards [b] AdvanSys ABP-9x0[U][A] cards AdvanSys ABP-940UW[68], ABP-970UW[68] ASB3940UW-00 cards AMD PCscsi-PCI (Am53c974) based SCSI adapters, including Tekram DC-390 BusLogic 54x (Adaptec AHA-154x clones) BusLogic 445, 74x, 9xx (But not the new "FlashPoint" series of BusLogic SCSI adapters) Qlogic ISP [12]0x0 SCSI/FibreChannel boards Seagate/Future Domain ISA SCSI adapter cards, including ST01/02 Future Domain TMC-885 Future Domain TMC-950 Symbios Logic (NCR) 53C8xx-based PCI SCSI host adapters: Acculogic PCIpport ASUS SC-200 (requires NCR BIOS on motherboard to boot from disks) ASUS SC-875 ASUS SP3[G] motherboard onboard SCSI DEC Celebris XL/590 onboard SCSI Diamond FirePort 40 Lomas Data SCSI adapters NCR/SYM 8125 (and its many clones; be careful, some of these cards have a jumper to set the PCI interrupt; leave it on INT A!) Promise DC540 (a particularly common OEM model of the SYM 8125) Tekram DC-390U/F Tyan Yorktown Symbios Logic (NCR) 5380/53C400-based ISA SCSI host adapters [*] [+] Ultrastor 14f, 34f, and (possibly) 24f Western Digital WD7000 SCSI and TMC-7000 host adapters (ISA cards only) MDA, CGA, VGA, SVGA, and HGC Display Adapters. (Note that not all of the display adapters NetBSD/i386 can work with are supported by X. See the XFree86 FAQ for more information.) Serial ports: 8250/16450-based ports 16550/16650/16750-based ports AST-style 4-port serial cards [*] BOCA 8-port serial cards [*] IBM PC-RT 4-port serial cards [*] Single-port Hayes ESP serial cards [*] Cyclades Cyclom-Y serial cards [*] [+] PCI universal communication cards Parallel ports. [*] [+] Ethernet adapters: AMD LANCE and PCnet-based ISA Ethernet adapters [*], including: Novell NE1500T Novell NE2100 Kingston 21xx Digital EtherWORKS II ISA adapters (DE200/DE201/DE202) AMD PCnet-based PCI Ethernet adapters, including: Addtron AE-350 BOCALANcard/PCI SVEC FD0455 X/Lan Add-On Adapter IBM #13H9237 PCI Ethernet Adapter AT&T StarLAN 10, EN100, and StarLAN Fiber 3COM 3c501 3COM 3c503 3COM 3c505 [*] 3COM 3c507 3COM 3c509, 3c579, 3c589, and 3c59X 3COM 3c90X (including 3c905B) Digital DC21x4x-based PCI Ethernet adapters, including: ASUS PCI-DEC100TX+ Cogent EM1X0, EM960 (a.k.a. Adaptec ANA-69XX) Cogent EM964 [b] Cogent EM4XX [b] Compex Readylink PCI DANPEX EN-9400P3 Digital Celebris GL, GLST on-board ethernet Digital (DEC) PCI Ethernet/Fast Ethernet adapters (all) DLINK DFE500-TX JCIS Condor JC1260 Linksys PCI Fast Ethernet SMC EtherPower 10, 10/100 (PCI only!) SMC EtherPower^2 [b] SVEC PN0455 SVEC FD1000-TP Znyx ZX34X Digital EtherWORKS III ISA adapters (DE203/DE204/DE205) [*] Digital DEPCM-BA (PCMCIA) and DE305 (ISA) NE2000-compat. cards BICC Isolan [* and not recently tested] Efficient Networks EN-155 and Adaptec AIC-590x ATM interfaces Essential Communications Hippi (800Mbit/s) Fujitsu MB86960A/MB86965A based cards: Fujitsu FMV-180 series Allied-Telesis AT1700 series Allied-Telesis RE2000 series Intel EtherExpress 16 Intel EtherExpress PRO/10 Intel EtherExpress 100 Fast Ethernet adapters Novell NE1000, NE2000 (ISA, PCI, PCMCIA, ISA PnP) SMC/WD 8003, 8013, and the SMC "Elite16" ISA boards SMC/WD 8216 (the SMC "Elite16 Ultra" ISA boards) SMC 91C9x-based boards (ISA and PCMCIA) SMC EPIC/100 Fast Ethernet boards: SMC Etherpower-II Texas Instruments ThunderLAN based ethernet boards: Compaq Netelligent 10/100 TX Compaq ProLiant Integrated Netelligent 10/100 TX Compaq Netelligent 10 T (untested) Compaq Integrated NetFlex 3/P Compaq NetFlex 3/P in baseboard variant (the PCI (variant doesn't use the same chip !). Compaq Dual Port Netelligent 10/100 TX (untested) Compaq Deskpro 4000 5233MMX (untested) Texas Instruments TravelMate 5000 series laptop docking station Ethernet board VIA VT3043(Rhine) and VT86C100A(Rhine-II) based ethernet boards [*] [+]: D-Link DFE530TX FDDI adapters: Digital DEFPA PCI FDDI adapters [*] [+] Digital DEFEA EISA FDDI adapters [*] [+] Token-Ring adapters: IBM Token-Ring Network PC Adapter [+] IBM Token-Ring Network PC Adapter II [+] IBM Token-Ring Network Adapter/A [+] IBM Token-Ring Network 16/4 Adapter [+] IBM Token-Ring Network 16/4 Adapter/A [+] IBM 16/4 ISA Adapter [+] IBM Auto 16/4 Token-Ring ISA Adapter [+] 3COM 3C619 TokenLink [+] 3COM 3C319 TokenLink Velocity [+] High Speed Serial: LAN Media Corporation SSI/LMC10000 (up to 10Mbps) [*] [+] LAN Media Corporation HSSI/LMC5200 [*] [+] LAN Media Corporation DS3/LMC5245 [*] [+] Tape drives: Most SCSI tape drives QIC-02 and QIC-36 format (Archive- and Wangtek- compatible) tape drives [*] [+] CD-ROM drives: Non-IDE Mitsumi CD-ROM drives [*] [+] [Note: The Mitsumi driver device probe is known to cause trouble with several devices!] Most SCSI CD-ROM drives Most ATAPI CD-ROM drives. [ Note: Some low-priced IDE CDROM drives are known for being not or not fully ATAPI compliant, and thus requires some hack (generally an entry to a quirk table) to work with NetBSD.] Mice: "Logitech"-style bus mice [*] [+] "Microsoft"-style bus mice [*] [+] "PS/2"-style mice [*] [+] Serial mice (no kernel support necessary) Sound Cards: SoundBlaster, SoundBlaster Pro, SoundBlaster 16 [*] [+] Gravis Ultrasound and Ultrasound Max [*] [+] Windows Sound System [*] [+] [The following drivers are not extensively tested] Personal Sound System [*] [+] ProAudio Spectrum [*] [+] Gravis Ultrasound Plug&Play [*] [+] Ensoniq AudioPCI [*] [+] Yamaha OPL3-SA3 [*] [+] Aria based sound cards [*] [+] S3 SonicVibes [*] [+] ESS Technology ES1777/1868/1869/1887/1888/888 audio [*] [+] Game Ports (Joysticks). [*] [+] Miscellaneous: Advanced power management (APM) [*] Universal Serial Bus: UHCI host controllers [*] [+] OHCI host controllers [*] [+] Hubs [*] [+] Keyboards using the boot protocol [*] [+] Mice [*] [+] Printers [*] [+] Generic support for HID devices [*] [+] Drivers for hardware marked with "[*]" are NOT present in kernels on the distribution floppies. Except as noted above, all drivers are present on all disks. Also, at the present time, the distributed kernels support only one SCSI host adapter per machine. NetBSD normally allows more, though, so if you have more than one, you can use all of them by compil- ing a custom kernel once NetBSD is installed. Support for devices marked with "[+]" IS included in the "generic" ker- nels, although it is not in the kernels which are on the distribution floppies. Support for devices marked with "[b]" requires BIOS support for PCI-PCI bridging on your motherboard. Most reasonably modern Pentium mother- boards have this support, or can acquire it via a BIOS upgrade. Hardware the we do NOT currently support, but get many questions about: ++oo Multiprocessor systems. (NetBSD will run, but only use one proces- sor.) ++oo Adaptec AIC-7890 SCSI host adapters. ++oo PCI WD-7000 SCSI host adapters. ++oo QIC-40 and QIC-80 tape drives. (Drives that connect to the floppy disk controller.) We are planning future support for many of these devices. To be detected by the distributed kernels, the devices must be configured as follows: Device Name Port IRQ DRQ Misc ------ ---- ---- --- --- ---- Serial ports com0 0x3f8 4 [8250/16450/16550/clones] com1 0x2f8 3 [8250/16450/16550/clones] com2 0x3e8 5 [8250/16450/16550/clones] Parallel ports lpt0 0x378 7 [interrupt-driven or polling] lpt1 0x278 [polling only] lpt2 0x3bc [polling only] Floppy controller fdc0 0x3f0 6 2 [supports two disks] AHA-154x, AHA-174x (in compatibility mode), or BT-54x SCSI host adapters aha0 0x330 any any aha1 0x334 any any AHA-174x SCSI host adapters (in enhanced mode) ahb0 any any any AHA-152x, AIC-6260- or AIC-6360-based SCSI host adapters aic0 0x340 11 6 AHA-2X4X or AIC-7XXX-based SCSI host adapters [precise list: see NetBSD ahc0 any any any System Requirements and Supported Devices] AdvanSys ABP-9x0[U][A] SCSI host adapters adv0 any any any AdvanSys ABP-940UW[68], ABP-970UW[68], ASB3940UW-00 SCSI host adapters adw0 any any any AMD PCscsi-PCI based SCSI host adapters pcscp0 any any any BusLogic BT445, BT74x, or BT9xx SCSI host adapters bha0 0x330 any any bha1 0x334 any any Symbios Logic/NCR 5380/53C400 based ISA SCSI host adapters nca0 0x360 15 nca1 5 iomem 0xd8000 Symbios Logic/NCR 53C8xx based PCI SCSI host adapters ncr0 any any any Ultrastor 14f, 24f (if it works), or 34f SCSI host adapters uha0 0x330 any any uha1 0x340 any any Western Digital WD7000 based ISA SCSI host adapters wds0 0x350 15 6 wds1 0x358 11 5 PCI IDE hard disk controllers pciide0 any any any [supports four devices] MFM/ESDI/IDE/RLL hard disk controllers wdc0 0x1f0 14 [supports two devices] wdc1 0x170 15 [supports two devices] ATA disks wd0, wd1, ... SCSI and ATAPI disks sd0, sd1, ... SCSI tapes st0, st1, ... SCSI and ATAPI CD-ROMs cd0, cd1, ... For each SCSI and IDE controller found, the SCSI or ATA(PI) devices present on the bus are probed in increasing id order for SCSI and master/slave order for ATA(PI). So the first SCSI drive found will be called sd0, the second sd1, and so on ... 3Com 3c501 Ethernet cards el0 0x300 9 3Com 3c503 Ethernet cards ec0 0x250 9 iomem 0xd8000 3Com 3c505 Ethernet cards eg0 0x280 9 3Com 3c507 Ethernet cards ef0 0x360 7 iomem 0xd0000 Novell NE1000, or NE2000 Ethernet boards ne0 0x280 9 ne1 0x300 10 SMC/WD 8003, 8013, Elite16, and Elite16 Ultra Ethernet boards we0 0x280 9 iomem 0xd0000 we1 0x300 10 iomem 0xcc000 3COM 3c509 or 3COM 3c579 Ethernet boards ep0 any any 3COM 3x59X PCI Ethernet boards ep0 any any [you must assign an interrupt in your PCI BIOS, or let it do so for you] 3COM 3x90X PCI Ethernet boards ex0 any any [you must assign an interrupt in your PCI BIOS, or let it do so for you] AT&T StarLAN 10, EN100, or StarLAN Fiber, 3COM 3c507 or Intel EtherExpress 16 Ethernet boards ie0 0x360 7 iomem 0xd0000 ie1 0x300 10 iomem 0xd0000 Intel EtherExpress PRO 10 ISA iy0 0x360 any Intel EtherExpress 100 Fast Ethernet adapters fxp0 any any [you must assign an interrupt in your PCI BIOS, or let it do so for you] SMC91C9x based Ethernet cards sm0 0x300 10 PCnet-PCI based Ethernet boards; see above for partial list le0 any any [you must assign an interrupt in your PCI BIOS, or let it do so for you] DC21x4x based Ethernet boards; see above for partial list de0 any any [you must assign an interrupt in your PCI BIOS, or let it do so for you] Digital EtherWORKS III (DE203/DE204/DE205) lc0 any any Qlogic ISP [12]0x0 SCSI/FibreChannel boards isp0 any any Efficient Networks EN-155 and Adaptec AIC-590x ATM interfaces en0 any any SMC EPIC/100 Fast Ethernet boards: epic0 any any Texas Instruments ThunderLAN based ethernet boards: tl0 any any VIA VT3043(Rhine) and VT86C100A(Rhine-II) based ethernet boards vr0 any any GGeettttiinngg tthhee NNeettBBSSDD SSyysstteemm oonn ttoo UUsseeffuull MMeeddiiaa Installation is supported from several media types, including: ++oo FTP ++oo Remote NFS partition ++oo DOS floppies No matter which installation medium you choose, you'll need to have a floppy disk (either 1.2M or 1.44M will work). You'll put the boot floppy image ("boot1.fs" and "boot2.fs" for 1.44M floppies, "boot-tiny.fs" for 1.2M floppies) onto this disk, which contains software to install or up- grade your NetBSD system. Note that the "boot-tiny.fs" image is tailored for "small" machines, this install image does not have drivers for PCI, PCMCIA, EISA or SCSI (i.e. ISA-only), but can be used on machines with only 4MB of RAM. If you are using a UN*X-like system to write the floppy images to disks, you should use the dd command to copy the file system image(s) (.fs file) directly to the raw floppy disk. It is suggested that you read the dd(1) manual page or ask your system administrator to determine the correct set of arguments to use; it will be slightly different from system to system, and a comprehensive list of the possibilities is beyond the scope of this document. If you are using DOS to write the floppy image(s) to floppy disk, you should use the rawrite utility, provided in the _i_3_8_6_/_u_t_i_l_i_t_i_e_s directory of the NetBSD distribution. It will write a file system image (.fs file) to a floppy disk. Note that, when installing or upgrading, the floppy can be write-protect- ed if you wish. These systems mount ramdisks as their root file systems once booted, and will not need to write to the floppy itself at any time -- indeed, once booted, the floppy may be removed from the disk drive. Obviously, the steps necessary to prepare the distribution sets for in- stallation or upgrade depend on which installation medium you choose. The steps for the various media are outlined below. To install or upgrade NetBSD using DOS floppies, you need to do the fol- lowing: ++oo Count the number of _s_e_t___n_a_m_e_._x_x files that make up the distribution sets you want to install or upgrade. You will need one fifth that number of 1.2M floppies, or one sixth that number of 1.44M floppies. You should only use one size of floppy for the install or upgrade procedure; you can't use some 1.2M floppies and some 1.44M floppies. ++oo Format all of the floppies with DOS. _D_o _n_o_t make any of them bootable DOS floppies, i.e. don't use format/s to format them. (If the floppies are bootable, then the DOS system files that make them bootable will take up some space, and you won't be able to fit as many distribution set parts per disk.) If you're using floppies that are formatted for DOS by their manufacturers, they probably aren't bootable, and you can use them out of the box. ++oo Place all of the _s_e_t___n_a_m_e_._x_x files on the DOS disks, five per disk if you're using 1.2M disks, six per disk if you're using 1.44M disks. How you do this is up to you; there are many possibilities. You could, for instance, use a DOS terminal program to download them on to the floppies, or use a UN*X-like system capable of reading and writing DOS file systems (either with "mtools" or a real DOS file system) to place them on the disk. Once you have the files on DOS disks, you can start the actual in- stallation or upgrade process. To install or upgrade NetBSD using NFS, you must do the following: ++oo Place the NetBSD distribution sets you wish to install into a direc- tory on an NFS server, and make that directory mountable by the ma- chine on which you are installing or upgrading NetBSD. This will probably require modifying the _/_e_t_c_/_e_x_p_o_r_t_s file on the NFS server and resetting its mount daemon (mountd). (Both of these actions will probably require superuser privileges on the server.) ++oo You need to know the the numeric IP address of the NFS server, and, if the server is not on a network directly connected to the machine on which you're installing or upgrading NetBSD, you need to know the numeric IP address of the router closest to the NetBSD machine. Fi- nally, you need to know the numeric IP address of the NetBSD machine itself. The install program will ask you to provide this information to be able to access the sets. Once the NFS server is set up properly and you have the information mentioned above, you can start the actual installation or upgrade process. To install or upgrade NetBSD by using FTP to get the installation sets, you must do the following: ++oo The preparations for this installation/upgrade method are easy; all you make sure that there's some FTP site from which you can retrieve the NetBSD distribution when you're about to install or upgrade. You need to know the numeric IP address of that site, and, if it's not on a network directly connected to the machine on which you're in- stalling or upgrading NetBSD, you need to know the numeric IP address of the router closest to the NetBSD machine. Finally, you need to know the numeric IP address of the NetBSD machine itself. The install program will ask you to provide this information to be able to access the sets via ftp. Once you have this information, you can proceed to the actual instal- lation or upgrade. If you are upgrading NetBSD, you also have the option of installing NetB- SD by putting the new distribution sets somewhere in your existing file system, and using them from there. To do that, you must do the following: ++oo Place the distribution sets you wish to upgrade somewhere in your current file system tree. Please note that the _/_d_e_v on the floppy used for upgrades only knows about wd0, wd1, sd0, sd1 and sd2. If you have more than two IDE drives or more than three SCSI drives, you should take care not to place the sets on the high numbered drives. ++oo At a bare minimum, you must upgrade the bbaassee and kkeerrnn binary distri- bution, and so must put the bbaassee and kkeerrnn sets somewhere in your file system. If you wish, you can do the other sets, as well, but you should NOT upgrade the eettcc distribution; it contains systems configu- ration files that you should review and update by hand. Once you have done this, you can proceed to the next step in the up- grade process, actually upgrading your system. PPrreeppaarriinngg yyoouurr SSyysstteemm ffoorr NNeettBBSSDD IInnssttaallllaattiioonn First and foremost, before beginning the installation process, _m_a_k_e _s_u_r_e _y_o_u _h_a_v_e _a _r_e_l_i_a_b_l_e _b_a_c_k_u_p of any data on your hard disk that you wish to keep. Mistakes in partitioning your hard disk may lead to data loss. Before you begin, you should be aware of the geometry issues that may arise in relation to your hard disk. First of all, you should know about sector size. You can count on this to be 512 bytes; other sizes are rare (and currently not supported). Of particular interest are the number of sectors per track, the number of tracks per cylinder (also known as the number of heads), and the number of cylinders. Together they describe the disk geometry. The BIOS has a limit of 1024 cylinders and 63 sectors per track for doing BIOS I/O. This is because of the old programming interface to the BIOS that restricts these values. Most of the big disks currently being used have more than 1024 real cylinders. Some have more than 63 sectors per track. Therefore, the BIOS can be instructed to use a fake geometry that accesses most of the disk and the fake geometry has less than or equal to 1024 cylinders and less than or equal to 63 sectors. This is possible be- cause the disks can be addressed in a way that is not restricted to these values, and the BIOS can internally perform a translation. This can be activated in most modern BIOSes by using _L_a_r_g_e or _L_B_A mode for the disk. NetBSD does not have the mentioned limitations with regard to the geome- try. However, since the BIOS has to be used during startup, it is impor- tant to know about the geometry the BIOS uses. The NetBSD kernel should be on a part of the disk where it can be loaded using the BIOS, within the limitations of the BIOS geometry. The install program will check this for you, and will give you a chance to correct this if this is not the case. If you have not yet installed any other systems on the hard disk that you plan to install NetBSD on, or if you plan to use the disk entirely for NetBSD, you may wish to check your BIOS settings for the 'Large' or 'LBA' modes, and activate them for the hard disk in question. While they are not needed by NetBSD as such, doing so will remove the limitations men- tioned above, and will avoid hassle should you wish to share the disk with other systems. Do _n_o_t change these settings if you already have data on the disk that you want to preserve! In any case, it is wise to check your the BIOS settings for the hard disk geometry before beginning the installation, and write them down. While this should usually not be needed, it enables you to verify that the in- stall program determines these values correctly. The geometry that the BIOS uses will be referred to as the _B_I_O_S _g_e_o_m_e_t_r_y, the geometry that NetBSD uses is the _r_e_a_l _g_e_o_m_e_t_r_y. Sysinst will try to discover both the real geometry and BIOS geometry. It is _i_m_p_o_r_t_a_n_t that sysinst know the proper BIOS geometry to be able to get NetBSD to boot, regardless of where on your disk you put it. It is less of a concern if the disk is going to be used entirely for NetBSD. If you intend to have several OSes on your disk, this becomes a much larger issue. IInnssttaalllliinngg tthhee NNeettBBSSDD SSyysstteemm _R_u_n_n_i_n_g _t_h_e _S_y_s_i_n_s_t _I_n_s_t_a_l_l_a_t_i_o_n _P_r_o_g_r_a_m 1. _I_n_t_r_o_d_u_c_t_i_o_n Using ssyyssiinnsstt, 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 to be completed. Do not let this discourage you, the install program is not hard to use. 2. _P_o_s_s_i_b_l_e PCMCIA _i_s_s_u_e_s There is a serious bug that may make installation of NetBSD on PCMCIA machines difficult. This bug does not make _u_s_e of PCMCIA dif- ficult once a machine is installed. If you do not have PCMCIA on your machine [PCMCIA] is only really used on laptop machines), you can skip this section, and ignore the ``[PCMCIA]'' notes. This will explains how to work around the installation problem. What is the bug: The kernel keeps careful track of what interrupts and i/o ports are in use during autoconfiguration. It then allows the PCMCIA devices to pick unused interrupts and ports. Unfortu- nately, not all devices are included in the INSTALL kernels in order to save space. Let's say your laptop has a soundblaster device built in. The INSTALL kernel has no sound support. The PCMCIA code might allocate your soundblaster's IRQ and I/O ports to PCMCIA devices, causing them not to work. This is especially bad if one of the de- vices in question is your ethernet card. This problem will impact some, but not all, users of PCMCIA. If this bug is affecting you, watch the [PCMCIA] notes that will appear in this document. If the kernel by default allocates an interrupt for PCMCIA which is allocated to other (typically undetected) hardware, you may use a workaround by booting the install kernel with "boot -d" to drop into DDB (the in-kernel debugger) and set pcic_isa_intr_alloc_mask to mask out the offending interrupt before continuing. By default the kernel masks out IRQ 10, and the corresponding mask is 0xfbff. 3. _G_e_n_e_r_a_l The following is a walk-through of the steps you will take while getting NetBSD installed on your hard disk. ssyyssiinnsstt 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 hit Control- C at any time, but if you do, you'll have to begin the installation process again from scratch. 4. _Q_u_i_c_k _i_n_s_t_a_l_l 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 section 3. This section describes a basic installa- tion, using a CD-ROM install as an example. ++oo What you need. -- The distribution sets (in this example, they are on CD). -- Two 1.44M 3.5" floppy disks. -- A PC with a 386 or newer processor. A CD-ROM drive (SCSI or ATAPI), a harddisk and a minimum of 4Mb of memory installed. -- The harddisk should have at least 70 + _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 60Mb more. ++oo Creating the boot floppies. You can create the floppies needed for installation under DOS or Windows. Supposing your 1.44M floppy drive is drive A:, and your CD is drive E: do the follow- ing from an MS-DOS command prompt: ee:: ccdd \\NNeettBBSSDD--11..44\\iinnssttaallllaattiioonn\\mmiisscc rraawwrriittee When asked for a source filename, answer ....\\ffllooppppyy\\bboooott11..ffss ffoorr tthhee ffiirrsstt ddiisskkeettttee aanndd ....\\ffllooppppyy\\bboooott22..ffss ffoorr tthhee sseeccoonndd ddiisskkeettttee When asked for a destination drive answer aa ++oo To create a bootfloppy under NetBSD or other UNIX-like system, you would type something like: dddd iiff==......//bboooott11..ffss bbss==1188kk ooff==//ddeevv//rrffdd00aa ++oo The Quick Installation -- Insert the first boot floppy you just created. Restart the computer. When prompted, insert the second boot floppy. The main menu will be displayed. -- If you wish, you can configure some network settings immedi- ately by choosing the uuttiilliittiieess menu and then ccoonnffiigguurree nneettwwoorrkk. It isn't actually required at this point, but it may be more convenient. Go back to the main menu. -- Choose iinnssttaallll -- 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 CCDD--RROOMM 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 rreebboooott, after you have removed the bootflop- py from the drive. -- NetBSD will now boot. You should log in as root, and set a password for that account. You are also advised to edit the file _/_e_t_c_/_r_c_._c_o_n_f 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 hhttttpp::////wwwwww..xxffrreeee8866..oorrgg// 5. _B_o_o_t_i_n_g NetBSD [PCMCIA] Unplug your PCMCIA devices, so that they won't be found by NetBSD. Boot your machine using the boot floppy. The boot loader will start, and will print a countdown and begin booting. If the boot loader messages do not appear in a reasonable amount of time, you either have a bad boot floppy or a hardware problem. Try writing the install floppy image to a different disk, and using that. If that doesn't work, try booting after disabling your CPU's inter- nal and external caches (if any). If it still doesn't work, NetBSD probably can't be run on your hardware. This can probably be consid- ered a bug, so you might want to report it. If you do, please in- clude as many details about your system configuration as you can. It will take a while to load the kernel from the floppy, probably around a minute or so, then, the kernel boot messages will be dis- played. This may take a little while also, as NetBSD will be probing your system to discover which hardware devices are installed. You may want to read the boot messages, to notice your disk's name and geometry. Its name will be something like sd0 or wd0 and the geome- try will be printed on a line that begins with its name. As men- tioned above, you may need your disk's geometry when creating NetB- SD's partitions. You will also need to know the name, to tell ssyyssiinnsstt on which disk to install. The most important thing to know is that wd0 is NetBSD's name for your first IDE disk, wd1 the sec- ond, etc. sd0 is your first SCSI disk, sd1 the second, etc. Note that, once the system has finished booting, you need not leave the floppy in the disk drive. Earlier version of the NetBSD install floppies mounted the floppy as the system's root partition, but the new installation floppies use a ramdisk file system and are no longer dependent on the floppy once it has booted. 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. _N_e_t_w_o_r_k _c_o_n_f_i_g_u_r_a_t_i_o_n [PCMCIA] You can skip this section, as you will only get data from floppy in the first part of the install. 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 utilities menu, and select CCoonnffiigguurree nneettwwoorrkk ooppttiioonn. If you only want to temporarily use net- working during the installation, you can specify these parameters later. If you are not using Domain Name Service (DNS), you can give an empty response in reply to answers relating to this. 7. _I_n_s_t_a_l_l_a_t_i_o_n _d_r_i_v_e _s_e_l_e_c_t_i_o_n _a_n_d _p_a_r_a_m_e_t_e_r_s To start the installation, select the menu option to install NetBSD from the main menu. The first thing is to identify the disk on which you want to install NetBSD. ssyyssiinnsstt 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. ssyyssiinnsstt next tries to figure out the real and BIOS geometry of your disk. It will present you with the values it found, if any, and will give you a chance to change them. Next, depending on whether you are using a wd_x or wd_x disk, you will either be asked for the type of disk (wd_x) you are using or you will be asked if you want to specify a fake geometry for your SCSI disk (sd_x). The types of disk are be IDE, ST-506 or ESDI. If you're in- stalling on an ST-506 or ESDI drive, you'll be asked if your disk supports automatic sector forwarding. If you are _s_u_r_e that it does, reply affirmatively. Otherwise, the install program will automati- cally reserve space for bad144 tables. 8. _P_a_r_t_i_t_i_o_n_i_n_g _t_h_e _d_i_s_k_. ++oo 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. If you want to use the entire disk for NetBSD, you can skip the following section and go to _E_d_i_t_i_n_g _t_h_e NetBSD _d_i_s_k_l_a_b_e_l. ++oo Editing the Master Boot Record. First, you will be prompted to specify the units of size that you want to express the sizes of the partitions in. You can ei- ther pick megabytes, cylinders or sectors. After this, you will be presented with the current values stored in the MBR, and will be given the opportunity to change, create or delete partitions. For each partition you can set the type, the start and the size. Setting the type to uunnuusseedd will delete a partition. You can also mark a partition as active, meaning that this is the one that the BIOS will start from at boot time. Be sure to mark the partition you want to boot from as active! After you are done editing the MBR, a sanity check will be done, checking for partitions that overlap. Depending on the BIOS ca- pabilities of your machine and the parameters of the NetBSD par- tition you have specified, you may also be asked if you want to install newer bootcode in your MBR. If you have multiple operat- ing systems on the disk that you are installing on, you will al- so be given the option to install a bootselector, that will al- low you to pick the operating system to start up when your com- puter is (re-)started. If everything is ok, you can go on to the next step, editing the NetBSD disklabel. ++oo _E_d_i_t_i_n_g _t_h_e NetBSD _d_i_s_k_l_a_b_e_l. The partition table of the NetBSD part of a disk is called a _d_i_s_k_l_a_b_e_l. There are 3 layouts for the NetBSD part of the disk that you can pick from: SSttaannddaarrdd,, SSttaannddaarrdd wwiitthh XX and CCuussttoomm. The first two use a set of default values (that you can change) suitable for a normal installation, possibly including X. The last option lets you specify everything yourself. You will be presented with the current layout of the NetBSD disklabel, and given a chance to change it. For each partition, you can set the type, offset and size, block and fragment size, and the mount point. The type that NetBSD uses for normal file storage is called 44..22BBSSDD. A swap partition has a special type called sswwaapp. You can also specify a partition as type mmssddooss. This is useful if you share the disk with MS-DOS or Windows95; NetBSD is able to access the files on these partitions. You can use the values from the MBR for the MS-DOS part of the disk to specify the partition of type mmssddooss (you don't have to do this now, you can always re-edit the disklabel to add this once you have installed NetBSD). Some partitions in the disklabel have a fixed purpose. Parti- tion aa is always the root partition, bb is the swap partition, cc is the entire NetBSD part of the disk, and dd is the whole disk. Partitions ee--hh are available for other use. Traditionally, ee is the partition mounted on the _/_u_s_r directory, but this is histor- ical practice, not a fixed value. You will then be asked to name your disk's disklabel. The de- fault response is mmyyddiisskk. For most purposes this will be OK. If you choose to name it something different, make sure the name is a single word and contains no special characters. You don't need to remember this name. 9. _P_r_e_p_a_r_i_n_g _y_o_u_r _h_a_r_d _d_i_s_k _Y_o_u _a_r_e _n_o_w _a_t _t_h_e _p_o_i_n_t _o_f _n_o _r_e_t_u_r_n. 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 filesystems 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 installation program after pressing the return key. NOTE: In previous versions of NetBSD, the kernel from the install floppy was copied onto the hard drive in a special step. In the new install system, the kernel on the floppy is unsuited to being copied onto the hard drive. Instead, a new set, kkeerrnn, has been added which contains a generic kernel to be unloaded onto the drive. So, you can not boot from your hard drive yet at this point. 10. _G_e_t_t_i_n_g _t_h_e _d_i_s_t_r_i_b_u_t_i_o_n _s_e_t_s_. [PCMCIA] Load a kernel tar file (i.e. the kern.tgz set file) on to your hard disk, for example by mounting the hard disk first, copying the kern.tgz file from floppy and unpack- ing it. Example: mount /dev/wd0a /mnt cd /mnt mount -t msdos /dev/fd0a /mnt2 cp /mnt2/kern.* . umount /mnt2 cat kern.* | tar vxzf - Then halt the machine using the 'halt' command. Power the machine down, and re-insert all the PCMCIA devices. Remove any floppy from the floppy drive. Start the ma- chine up. After booting NetBSD, you will be presented with the main ssyyssiinnsstt menu. Choose the option to re-in- stall sets. Wait for the filesystem checks that it will do to finish, and then proceed as described below. The NetBSD distribution consists of a number of _s_e_t_s, 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 9 11. _I_n_s_t_a_l_l_a_t_i_o_n _u_s_i_n_g _f_t_p 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. ssyyssiinnsstt will do this for you, asking you to provide some data, like IP number, hostname, etc. If you do not have name service 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, and the account name and password used to log into that host using ftp. If you did not set up DNS when answering the questions to configure networking, you will need to specify an IP number instead of a hostname for the ftp serv- er. ssyyssiinnsstt will proceed to transfer all the default set files from the remote site to your hard disk. 12. _I_n_s_t_a_l_l_a_t_i_o_n _u_s_i_n_g _N_F_S 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. ssyyssiinnsstt will do this for you, asking you to provide some data, like IP number, hostname, etc. If you do not have name service 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 number instead of a host- name for the NFS server. 13. _I_n_s_t_a_l_l_a_t_i_o_n _f_r_o_m _C_D_-_R_O_M 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. ssyyssiinnsstt will then check if the files are indeed available in the specified location, and proceed to the actual extraction of the sets. 14. _I_n_s_t_a_l_l_a_t_i_o_n _f_r_o_m _a_n _u_n_m_o_u_n_t_e_d _f_i_l_e_s_y_s_t_e_m In order to install from a local filesystem, you will need to speci- fy the device that the filesystem resides on (for example wd1e) the type of the filesystem, and the directory on the specified filesys- tem where the sets are located. ssyyssiinnsstt will then check if it can indeed access the sets at that location. 15. _I_n_s_t_a_l_l_a_t_i_o_n _f_r_o_m _a _l_o_c_a_l _d_i_r_e_c_t_o_r_y This option assumes that you have already done some preparation yourself. The sets should be located in a directory on a filesystem that is already accessible. ssyyssiinnsstt will ask you for the name of this directory. 16. _E_x_t_r_a_c_t_i_n_g _t_h_e _d_i_s_t_r_i_b_u_t_i_o_n _s_e_t_s 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 (kkeerrnn,, bbaassee and eettcc) they will not be shown in this selec- tion 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. 17. _F_i_n_a_l_i_z_i_n_g _y_o_u_r _i_n_s_t_a_l_l_a_t_i_o_n_. Congratulations, you have successfully installed NetBSD 1.4. You can now reboot the machine, and boot from harddisk. PPoosstt iinnssttaallllaattiioonn sstteeppss 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 propperly configured state, with the most important ones described below. 1. Configuring _/_e_t_c_/_r_c_._c_o_n_f If you haven't done any configuration of _/_e_t_c_/_r_c_._c_o_n_f, the system will drop you into single user mode on first reboot with the message /etc/rc.conf is not configured. Multiuser boot aborted. and with the root filesystem mounted read-write. When the system asks you to choose a shell, simply hit return to get to a prompt. If you are asked for a terminal type, respond with vvtt222200 (or whatever is appropriate for your terminal type) and hit return. At this point, you need to configure at least one file in the _/_e_t_c directory. Change to the _/_e_t_c directory and take a look at the _/_e_t_c_/_r_c_._c_o_n_f 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. If your _/_u_s_r directory is on a separate partition and you do not know how to use 'ed' or 'ex', you will have to mount your _/_u_s_r partition to gain access to 'vi'. Do the follow- ing: mmoouunntt //uussrr eexxppoorrtt TTEERRMM==vvtt222200 If you have _/_v_a_r on a seperate partition, you need to repeat that step for it. After that, you can edit _/_e_t_c_/_r_c_._c_o_n_f with vi(1). When you have finished, type eexxiitt at the prompt to leave the single-user shell and continue with the multi-user boot. Other values that need to be set in _/_e_t_c_/_r_c_._c_o_n_f for a networked en- vironment are _h_o_s_t_n_a_m_e and possibly _d_e_f_a_u_l_t_r_o_u_t_e, furthermore add an _i_f_c_o_n_f_i_g___i_n_t for your interface , along the lines of ifconfig_de0="inet 123.45.67.89 netmask 255.255.255.0" or, if you have _m_y_n_a_m_e_._m_y_._d_o_m in _/_e_t_c_/_h_o_s_t_s: ifconfig_de0="inet myname.my.dom netmask 255.255.255.0" To enable proper hostname resolution, you will also want to add an _/_e_t_c_/_r_e_s_o_l_v_._c_o_n_f 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 _/_e_t_c that are new to NetBSD 1.4 and may require modi- fication or setting up include _/_e_t_c_/_m_a_i_l_e_r_._c_o_n_f, _/_e_t_c_/_n_s_s_w_i_t_c_h_._c_o_n_f and _/_e_t_c_/_w_s_c_o_n_s_._c_o_n_f. 2. Logging in After reboot, you can log in as root at the login prompt. There is no initial password, but if you're using the machine in a networked environment, you should create an account for yourself (see below) and protect it and the "root" account with good passwords. 3. Adding accounts Use the vipw(8) command to add accounts to your system, _d_o _n_o_t edit _/_e_t_c_/_p_a_s_s_w_d directly. See adduser(8) for more information on the process of 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 _/_u_s_r_/_X_1_1_R_6_/_l_i_b_/_X_1_1_/_d_o_c for information. You will need to set up a configuration file, see _/_u_s_r_/_X_1_1_R_6_/_l_i_b_/_X_1_1_/_X_F_8_6_C_o_n_f_i_g_._e_g for an example. See hhttttpp::////wwwwww..xxffrreeee8866..oorrgg// and the XFree86 manual page for more infor- mation. Don't forget to add _/_u_s_r_/_X_1_1_R_6_/_b_i_n to your path in your shell's dot file so that you have access to the X binaries. 5. Installing 3rd party packages There is a lot of software freely available for Unix-based systems, almost all of which can run on NetBSD. Modifications are usually needed to when transferring programs between different Unix-like systems, so the NetBSD packages collection incorporates any such changes necessary to make that software run on NetBSD, and makes the installation (and deinstallation) of the software packages easy. There's also the option of building a package from source, in case there's no precompiled binary available. Precompiled binaries can be found at ffttpp::////ffttpp..nneettbbssdd..oorrgg//ppuubb//NNeettBBSSDD//ppaacckkaaggeess// Package sources for compiling packages can be obtained by retrieving the file ffttpp::////ffttpp..nneettbbssdd..oorrgg//ppuubb//NNeettBBSSDD//NNeettBBSSDD-- ccuurrrreenntt//ttaarr__ffiilleess//ppkkggssrrcc..ttaarr..ggzz and extracting it into _/_u_s_r_/_p_k_g_s_r_c. See _/_u_s_r_/_p_k_g_s_r_c_/_R_E_A_D_M_E then for more information. 6. Misc ++oo To adjust the system to your local timezone, point the _/_e_t_c_/_l_o_c_a_l_t_i_m_e symlink to the appropriate file under _/_u_s_r_/_s_h_a_r_e_/_z_o_n_e_i_n_f_o. ++oo Edit _/_e_t_c_/_a_l_i_a_s_e_s to forward root mail to the right place (run newaliases(1) afterwards.) ++oo The _/_e_t_c_/_s_e_n_d_m_a_i_l_._c_f file will almost definitely need to be ad- justed; files aiding in this can be found in _/_u_s_r_/_s_h_a_r_e_/_s_e_n_d_m_a_i_l. See the README file there for more infor- mation. ++oo Edit _/_e_t_c_/_r_c_._l_o_c_a_l to run any local daemons you use. ++oo Many of the _/_e_t_c files are documented in section 5 of the manu- al; so just invoking mmaann _f_i_l_e_n_a_m_e is likely to give you more information on these files. UUppggrraaddiinngg aa pprreevviioouussllyy--iinnssttaalllleedd NNeettBBSSDD SSyysstteemm The upgrade to NetBSD 1.4 is a binary upgrade; it can be quite difficult to advance to a later version by recompiling from source due primarily to interdependencies in the various components. To do the upgrade, you must have the boot floppy available. You must al- so have at least the bbaassee and kkeerrnn binary distribution sets available, so that you can upgrade with them, using one of the upgrade methods de- scribed above. Finally, you must have sufficient disk space available to install the new binaries. Since the old binaries are being overwritten in place, you only need space for the new binaries, which weren't previ- ously on the system. If you have a few megabytes free on each of your root and _/_u_s_r 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 _b_a_c_k _u_p _a_n_y _i_m_p_o_r_t_a_n_t _d_a_t_a _o_n _y_o_u_r _d_i_s_k, whether on the NetBSD partition or on another operat- ing system's partition, before beginning the upgrade process. The upgrade procedure using the ssyyssiinnsstt tool is similar to an installa- tion, but without the hard disk partitioning. Another difference is that existing configuration files in _/_e_t_c are backed up and merged with the new files. Getting the binary sets is done in the same manner as the in- stallation procedure; refer to the installation part of the document for how to do this. Also, some sanity checks are done, i.e. filesystems are checked before unpacking the sets. After a new kernel has been copied to your hard disk, your machine is a complete NetBSD 1.4 system. However, that doesn't mean that you're fin- ished with the upgrade process. You will probably want to update the set of device nodes you have in _/_d_e_v. If you've changed the contents of _/_d_e_v by hand, you will need to be careful about this, but if not, you can just cd into _/_d_e_v , and run the command sh MAKEDEV all You must also deal with certain changes in the formats of some of the configuration files. The most notable change is that the options given to many of the file systems in _/_e_t_c_/_f_s_t_a_b have changed, and some of the file systems have changed names. To find out what the new options are, it's suggested that you read the manual page for the file systems' mount com- mands, for example mount_nfs(8) for NFS. 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. CCoommppaattiibbiilliittyy IIssssuueess WWiitthh PPrreevviioouuss NNeettBBSSDD RReelleeaasseess Users upgrading from previous versions of NetBSD may wish to bear the following problems and compatibility issues in mind when upgrading to NetBSD 1.4 _N_o_t_e Only issues effecting an upgrade from NetBSD 1.3 or NetBSD 1.3.x are decribed here. ++oo "machine" directory/link in "/usr/include" Description Some architecture may fail to install the ccoommpp set because the /usr/include/machine directory changed to a symbolic link in NetBSD 1.4. Fix If this happens, you can use the command # rrmm --rr //uussrr//iinncclluuddee//mmaacchhiinnee to remove the old directory and it contents and reinstall the ccoommpp set. UUssiinngg oonnlliinnee NNeettBBSSDD ddooccuummeennttaattiioonn 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 ++oo intro(1), ++oo man(1), ++oo apropros(1), ++oo passwd(1), and ++oo 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 _m_a_n command is used to view the documentation on a topic, and is started by entering mmaann [_s_e_c_t_i_o_n] _t_o_p_i_c. 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 mmaann ppaasssswwdd to read the documentation for passwd(1). To view the documentation for passwd(5)m enter mmaann 55 ppaasssswwdd instead. If you are unsure of what man page you are looking for, enter aapprrooppooss _s_u_b_j_e_c_t_-_w_o_r_d where _s_u_b_j_e_c_t_-_w_o_r_d is your topic of interest; a list of possibly related man pages will be displayed. AAddmmiinniissttrriivviiaa 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 _m_a_j_o_r_d_o_m_o_@_N_e_t_B_S_D_._O_R_G. 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: _n_e_t_b_s_d_- _c_o_m_m_e_n_t_s_@_N_e_t_B_S_D_._O_R_G. 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 in- clude lots of details. Additionally, bug reports can be sent by mail to: _n_e_t_b_s_d_-_b_u_g_s_@_N_e_t_B_S_D_._O_R_G. 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. If you're inter- ested in doing a serious amount of work on a specific port, you probably should contact the "owner" of that port (listed below). 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: _n_e_t_b_s_d_-_h_e_l_p_@_N_e_t_B_S_D_._O_R_G. 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 some- where, 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. TThhaannkkss ggoo ttoo ++oo 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. ++oo 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. ++oo 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. ++oo Vixie Enterprises for hosting the NetBSD FTP and SUP server. ++oo Redback Networks, Inc. for hosting the NetBSD Mail server. ++oo 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. ++oo Dave Burgess _b_u_r_g_e_s_s_@_c_y_n_j_u_t_._i_n_f_o_n_e_t_._n_e_t has been maintaining the 386BSD/NetBSD/FreeBSD FAQ for quite some time, and deserves to be recognized for it. ++oo The following individuals and organiztions (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: Jason Birnschein Jason Brazile 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 Greg Gingerich Guenther Grau Ross Harvey Charles M. Hannum Michael L. Hitch Jordan K. Hubbard Scott Kaplan Noah M. Keiserman Chris Legrow Neil J. McRae Perry E. Metzger Herb Peyerl Mike Price Thor Lancelot Simon Bill Sommerfeld Paul Southworth Ted Spradley Kimmo Suominen Jason R. Thorpe Steve Wadlow Advanced System Products, Inc. Avalon Computer Systems Bay Area Internet Solutions Canada Connect Corporation Demon Internet, UK Digital Equipment Corporation 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. VMC Harald Frank, Germany (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.) ++oo 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!) WWee aarree...... (in alphabetical order) _T_h_e _N_e_t_B_S_D _c_o_r_e _g_r_o_u_p_: Paul Kranenburg _p_k_@_N_e_t_B_S_D_._O_R_G Scott Reynolds _s_c_o_t_t_r_@_N_e_t_B_S_D_._O_R_G Christos Zoulas _c_h_r_i_s_t_o_s_@_N_e_t_B_S_D_._O_R_G _T_h_e _p_o_r_t_m_a_s_t_e_r_s _(_a_n_d _t_h_e_i_r _p_o_r_t_s_)_: Mark Brinicombe _m_a_r_k_@_N_e_t_B_S_D_._O_R_G aarrmm3322 Jeremy Cooper _j_e_r_e_m_y_@_N_e_t_B_S_D_._O_R_G ssuunn33xx Ross Harvey _r_o_s_s_@_N_e_t_B_S_D_._O_R_G aallpphhaa Ignatios Souvatzis _i_s_@_N_e_t_B_S_D_._O_R_G aammiiggaa Eduardo Horvath _e_e_h_@_N_e_t_B_S_D_._O_R_G ssppaarrcc6644 Paul Kranenburg _p_k_@_N_e_t_B_S_D_._O_R_G ssppaarrcc Anders Magnusson _r_a_g_g_e_@_N_e_t_B_S_D_._O_R_G vvaaxx Tsubai Masanari _t_s_u_b_a_i_@_N_e_t_B_S_D_._O_R_G mmaaccppppcc Tsubai Masanari _t_s_u_b_a_i_@_N_e_t_B_S_D_._O_R_G nneewwssmmiippss Minoura Makoto _m_i_n_o_u_r_a_@_N_e_t_B_S_D_._O_R_G xx6688kk Phil Nelson _p_h_i_l_@_N_e_t_B_S_D_._O_R_G ppcc553322 Scott Reynolds _s_c_o_t_t_r_@_N_e_t_B_S_D_._O_R_G mmaacc6688kk Darrin Jewell _d_b_j_@_N_e_t_B_S_D_._O_R_G nneexxtt6688kk Gordon Ross _g_w_r_@_N_e_t_B_S_D_._O_R_G ssuunn33,, ssuunn33xx Kazuki Sakamoto _s_a_k_a_m_o_t_o_@_N_e_t_B_S_D_._O_R_G bbeebbooxx Wolfgang Solfrank _w_s_@_N_e_t_B_S_D_._O_R_G ppoowweerrppcc Jonathan Stone _j_o_n_a_t_h_a_n_@_N_e_t_B_S_D_._O_R_G ppmmaaxx Jason Thorpe _t_h_o_r_p_e_j_@_N_e_t_B_S_D_._O_R_G hhpp330000 Frank van der Linden _f_v_d_l_@_N_e_t_B_S_D_._O_R_G ii338866 Leo Weppelman _l_e_o_@_N_e_t_B_S_D_._O_R_G aattaarrii Steve Woodford _s_c_w_@_N_e_t_B_S_D_._O_R_G mmvvmmee6688kk _T_h_e _N_e_t_B_S_D _1_._4 _R_e_l_e_a_s_e _E_n_g_i_n_e_e_r_i_n_g _t_e_a_m_: Ted Lemon _m_e_l_l_o_n_@_N_e_t_B_S_D_._O_R_G Perry Metzger _p_e_r_r_y_@_N_e_t_B_S_D_._O_R_G Curt Sampson _c_j_s_@_N_e_t_B_S_D_._O_R_G _D_e_v_e_l_o_p_e_r_s _a_n_d _o_t_h_e_r _c_o_n_t_r_i_b_u_t_o_r_s_: Steve Allen _w_o_r_m_e_y_@_N_e_t_B_S_D_._O_R_G Lennart Augustsson _a_u_g_u_s_t_s_s_@_N_e_t_B_S_D_._O_R_G Christoph Badura _b_a_d_@_N_e_t_B_S_D_._O_R_G Manuel Bouyer _b_o_u_y_e_r_@_N_e_t_B_S_D_._O_R_G Robert V. Baron _r_v_b_@_N_e_t_B_S_D_._O_R_G John Brezak _b_r_e_z_a_k_@_N_e_t_B_S_D_._O_R_G Allen Briggs _b_r_i_g_g_s_@_N_e_t_B_S_D_._O_R_G Aaron Brown _a_b_r_o_w_n_@_N_e_t_B_S_D_._O_R_G David Brownlee _a_b_s_@_N_e_t_B_S_D_._O_R_G Simon Burge _s_i_m_o_n_b_@_N_e_t_B_S_D_._O_R_G Dave Burgess _b_u_r_g_e_s_s_@_c_y_n_j_u_t_._i_n_f_o_n_e_t_._n_e_t Dave Carrel _c_a_r_r_e_l_@_N_e_t_B_S_D_._O_R_G Bill Coldwell _b_i_l_l_c_@_N_e_t_B_S_D_._O_R_G Chuck Cranor _c_h_u_c_k_@_N_e_t_B_S_D_._O_R_G Alistair Crooks _a_g_c_@_N_e_t_B_S_D_._O_R_G Aidan Cully _a_i_d_a_n_@_N_e_t_B_S_D_._O_R_G Rob Deker _d_e_k_e_r_@_N_e_t_B_S_D_._O_R_G Chris G. Demetriou _c_g_d_@_N_e_t_B_S_D_._O_R_G Matthias Drochner _d_r_o_c_h_n_e_r_@_N_e_t_B_S_D_._O_R_G Enami Tsugutomo _e_n_a_m_i_@_N_e_t_B_S_D_._O_R_G Bernd Ernesti _v_e_e_g_o_@_N_e_t_B_S_D_._O_R_G Erik Fair _f_a_i_r_@_N_e_t_B_S_D_._O_R_G Hubert Feyrer _h_u_b_e_r_t_f_@_N_e_t_B_S_D_._O_R_G Thorsten Frueauf _f_r_u_e_a_u_f_@_N_e_t_B_S_D_._O_R_G Brian R. Gaeke _b_r_g_@_d_g_a_t_e_._o_r_g Thomas Gerner _t_h_o_m_a_s_@_N_e_t_B_S_D_._O_R_G Justin Gibbs _g_i_b_b_s_@_N_e_t_B_S_D_._O_R_G Adam Glass _g_l_a_s_s_@_N_e_t_B_S_D_._O_R_G Michael Graff _e_x_p_l_o_r_e_r_@_N_e_t_B_S_D_._O_R_G Brad Grantham _g_r_a_n_t_h_a_m_@_t_e_n_o_n_._c_o_m Matthew Green _m_r_g_@_N_e_t_B_S_D_._O_R_G Juergen Hannken-Illjes _h_a_n_n_k_e_n_@_N_e_t_B_S_D_._O_R_G Charles M. Hannum _m_y_c_r_o_f_t_@_N_e_t_B_S_D_._O_R_G Eric Haszlakiewicz _e_r_h_@_N_e_t_B_S_D_._O_R_G Michael L. Hitch _o_s_y_m_h_@_N_e_t_B_S_D_._O_R_G Ken Hornstein _k_e_n_h_@_N_e_t_B_S_D_._O_R_G Marc Horowitz _m_a_r_c_@_N_e_t_B_S_D_._O_R_G ITOH Yasufumi _i_t_o_h_y_@_N_e_t_B_S_D_._O_R_G Matthew Jacob _m_j_a_c_o_b_@_N_e_t_B_S_D_._O_R_G Lonhyn T. Jasinskyj _l_o_n_h_y_n_@_N_e_t_B_S_D_._O_R_G Darrin Jewell _d_b_j_@_N_e_t_B_S_D_._O_R_G Lawrence Kesteloot _k_e_s_t_e_l_o_o_@_c_s_._u_n_c_._e_d_u Klaus Klein _k_l_e_i_n_k_@_N_e_t_B_S_D_._O_R_G John Kohl _j_t_k_@_N_e_t_B_S_D_._O_R_G Kevin Lahey _k_m_l_@_N_e_t_B_S_D_._O_R_G Ted Lemon _m_e_l_l_o_n_@_N_e_t_B_S_D_._O_R_G Mike Long _m_i_k_e_l_@_N_e_t_B_S_D_._O_R_G Paul Mackerras _p_a_u_l_u_s_@_N_e_t_B_S_D_._O_R_G Neil J. McRae _n_e_i_l_@_N_e_t_B_S_D_._O_R_G Perry Metzger _p_e_r_r_y_@_N_e_t_B_S_D_._O_R_G Luke Mewburn _l_u_k_e_m_@_N_e_t_B_S_D_._O_R_G der Mouse _m_o_u_s_e_@_N_e_t_B_S_D_._O_R_G Tohru Nishimura _n_i_s_i_m_u_r_a_@_N_e_t_B_S_D_._O_R_G Masaru Oki _o_k_i_@_N_e_t_B_S_D_._O_R_G Greg Oster _o_s_t_e_r_@_N_e_t_B_S_D_._O_R_G Herb Peyerl _h_p_e_y_e_r_l_@_N_e_t_B_S_D_._O_R_G Matthias Pfaller _m_a_t_t_h_i_a_s_@_N_e_t_B_S_D_._O_R_G Dante Profeta _d_a_n_t_e_@_N_e_t_B_S_D_._O_R_G Chris Provenzano _p_r_o_v_e_n_@_N_e_t_B_S_D_._O_R_G Darren Reed _d_a_r_r_e_n_r_@_N_e_t_B_S_D_._O_R_G Tim Rightnour _g_a_r_b_l_e_d_@_N_e_t_B_S_D_._O_R_G Heiko W. Rupp _h_w_r_@_N_e_t_B_S_D_._O_R_G SAITOH Masanobu _m_s_a_i_t_o_h_@_N_e_t_B_S_D_._O_R_G Kazuki Sakamoto _s_a_k_a_m_o_t_o_@_N_e_t_B_S_D_._O_R_G Curt Sampson _c_j_s_@_N_e_t_B_S_D_._O_R_G Wilfredo Sanchez _w_s_a_n_c_h_e_z_@_N_e_t_B_S_D_._O_R_G Ty Sarna _t_s_a_r_n_a_@_N_e_t_B_S_D_._O_R_G Matthias Scheler _t_r_o_n_@_N_e_t_B_S_D_._O_R_G Karl Schilke (rAT) _r_a_t_@_N_e_t_B_S_D_._O_R_G Tim Shepard _s_h_e_p_@_N_e_t_B_S_D_._O_R_G Chuck Silvers _c_h_s_@_N_e_t_B_S_D_._O_R_G Thor Lancelot Simon _t_l_s_@_N_e_t_B_S_D_._O_R_G Noriyuki Soda _s_o_d_a_@_N_e_t_B_S_D_._O_R_G Wolfgang Solfrank _w_s_@_N_e_t_B_S_D_._O_R_G Bill Sommerfeld _s_o_m_m_e_r_f_e_l_d_@_N_e_t_B_S_D_._O_R_G Ignatios Souvatzis _i_s_@_N_e_t_B_S_D_._O_R_G Bill Studenmund _w_r_s_t_u_d_e_n_@_N_e_t_B_S_D_._O_R_G Kevin Sullivan _s_u_l_l_i_v_a_n_@_N_e_t_B_S_D_._O_R_G Kimmo Suominen _k_i_m_@_N_e_t_B_S_D_._O_R_G Matt Thomas _m_a_t_t_@_N_e_t_B_S_D_._O_R_G Jason Thorpe _t_h_o_r_p_e_j_@_N_e_t_B_S_D_._O_R_G Christoph Toshok _t_o_s_h_o_k_@_N_e_t_B_S_D_._O_R_G Todd Vierling _t_v_@_N_e_t_B_S_D_._O_R_G Paul Vixie _v_i_x_i_e_@_N_e_t_B_S_D_._O_R_G Krister Walfridsson _k_r_i_s_t_e_r_w_@_N_e_t_B_S_D_._O_R_G Nathan Williams _n_a_t_h_a_n_w_@_N_e_t_B_S_D_._O_R_G Colin Wood _e_n_d_e_r_@_N_e_t_B_S_D_._O_R_G LLeeggaall MMuummbboo--JJuummbboo 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 Computer Systems Engi- neering Group at Lawrence Berkeley Laboratory. This product includes software developed by the NetBSD Foundation, Inc. and its contributors. This product includes software developed by Adam Glass and Charles Han- num. This product includes software developed by Adam Glass. This product includes software developed by Berkeley Software Design, Inc. 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 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 Herb Peyerl. 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 Mark Brinicombe. 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 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 Scott Bartram. This product includes software developed by SigmaSoft, Th. Lockert. 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 TooLs GmbH. This product includes software developed by Winning Strategies, 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 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 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 Charles Hannum. 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 the University of Vermont and State Agricultural College and Garrett A. Wollman. This product includes software developed by Dean Huxley. This product includes software developed by Herb Peyerl. In the following statement, "This software" refers to the Mitsumi CD-ROM driver: This software was developed by Holger Veit and Brian Moore for use with "386BSD" and similar operating systems. "Similar operating systems" in- cludes mainly non-profit oriented systems for research and education, in- cluding but not restricted to "NetBSD", "FreeBSD", "Mach" (by CMU). In the following statement, "This software" refers to the parallel port driver: This software is a component of "386BSD" developed by William F. Jolitz, TeleMuse. NetBSD 23 March 1999 37