Annotation of www/51.html, Revision 1.44
1.1 deraadt 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
1.40 deraadt 4: <title>OpenBSD 5.1</title>
1.1 deraadt 5: <meta name="resource-type" content="document">
6: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
7: <meta name="description" content="OpenBSD 5.1">
8: <meta name="keywords" content="openbsd,main">
9: <meta name="distribution" content="global">
10: <meta name="copyright" content="This document copyright 2011 by OpenBSD.">
11: </head>
12:
13: <body bgcolor="#ffffff" text="#000000" link="#24248E">
14:
15: <a href="index.html">
16: <img alt="[OpenBSD]" height="30" width="141" hspace="24" src="images/smalltitle.gif" border="0"></a>
1.42 deraadt 17: <p>
1.1 deraadt 18:
1.5 deraadt 19: <a href="images/Bugbusters.jpg">
1.40 deraadt 20: <img align="left" width="227" height="343" hspace="24" src="images/Bugbusters.jpg"></a>
21: <h2><font color="#0000e0">OpenBSD 5.1</font></h2>
1.1 deraadt 22: <p>
1.35 miod 23: Released May 1, 2012<br>
1.1 deraadt 24: Copyright 1997-2012, Theo de Raadt.<br>
25: <font color="#e00000">ISBN 978-0-9784475-9-5</font>
26: <br>
27: <a href="lyrics.html#51">5.1 Song: "Bug Busters"</a>
28: <p>
29: <ul>
1.44 ! deraadt 30: <li>Order a CDROM from our <a href="https://openbsdstore.com">ordering system</a>.
1.1 deraadt 31: <li>See the information on <a href="ftp.html">The FTP page</a> for
32: a list of mirror machines.
33: <li>Go to the <font color="#e00000">pub/OpenBSD/5.1/</font> directory on
34: one of the mirror sites.
35: <li>Have a look at <a href="errata51.html">The 5.1 Errata page</a> for a list
36: of bugs and workarounds.
37: <li>See a <a href="plus51.html">detailed log of changes</a> between the
38: 5.0 and 5.1 releases.
39: </ul>
40: <br clear=all>
1.41 deraadt 41: <p>
1.40 deraadt 42: All applicable copyrights and credits can be found in the applicable
43: file sources found in the files src.tar.gz, sys.tar.gz,
44: xenocara.tar.gz, or in the files fetched via ports.tar.gz. The
45: distribution files used to build packages from the ports.tar.gz file
46: are not included on the CDROM because of lack of space.
1.1 deraadt 47: <p>
48:
49: <a name="new"></a>
50: <hr>
51: <p>
52: <h3><font color="#0000e0">What's New</font></h3>
53: <p>
54: This is a partial list of new features and systems included in OpenBSD 5.1.
55: For a comprehensive list, see the <a href="plus51.html">changelog</a> leading
56: to 5.1.
57: <p>
58:
59: <ul>
1.3 guenther 60: <li>Improved hardware support, including:
61: <ul>
1.12 jsg 62: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=umsm&sektion=4">umsm(4)</a> supports additional mobile broadband devices.
63: <li>Non-GigE <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ale&sektion=4">ale(4)</a> devices can now establish link to a GigE link partner.
64: <li>Support for Intel 82580 has been added to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=em&sektion=4">em(4)</a>.
65: <li>Support for MegaRAID 9240 has been added to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mfi&sektion=4">mfi(4)</a>.
66: <li>Support for Nuvoton NCT6776F has been added to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=lm&sektion=4">lm(4)</a>.
67: <li>Support for Centrino Advanced-N 6205 has been added to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=iwn&sektion=4">iwn(4)</a>.
68: <li>Support for SiS 1182/1183 SATA has been added to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pciide&sektion=4">pciide(4)</a>.
1.18 matthieu 69: <li>Support for Synaptics touch pads through the <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=synaptics&sektion=4">synaptics(4)</a> X.Org input driver is now enabled by default.
70: <li>Support for Intel Sandy Bridge integrated graphics cards has been added to the <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=intel&sektion=4">intel(4)</a> X.Org driver.
1.20 mikeb 71: <li>Assembler implementation of the AES-GCM mode for new Intel and future AMD CPUs has been added.
1.29 brett 72: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=usb&manpath=OpenBSD%20Current&sektion=4&format=html">usb(4)</a> probes bus after resume, improves functionality for some laptops.
1.4 deraadt 73: </ul>
1.3 guenther 74: <p>
75:
76: <li>Generic network stack improvements:
77: <ul>
1.26 deraadt 78: <li>RFC4638 MTU negotiation for <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pppoe&sektion=4">pppoe(4)</a>.
1.29 brett 79: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=npppdctl&manpath=OpenBSD%20Current&sektion=8&format=html">npppdctl(8)</a> replaced with <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=npppctl&manpath=OpenBSD%20Current&sektion=8&format=html">npppctl(8)</a>, written from scratch. Includes support for IPv6 as tunnel source address.
80: <li>Improve performance (throughput and loss rate) for PPTP, <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pppd&manpath=OpenBSD%20Current&sektion=8&format=html">pppd(8)</a> or L2TP(/IPsec) on unstable latency networks (eg mobile).
1.17 henning 81: <li>Improved IPv6 fragment handling.
1.7 sthen 82: <li>Many robustness improvements for IEEE 802.11 (particularly hostap).
83: <li>Improved vlan priority support, including mapping to interface queues.
1.13 sperreau 84: <li>Initial rdomains support for IPv6.
1.26 deraadt 85: <li>Robustness improvements for <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=carp&sektion=4">carp(4)</a>.
86: <li>Various IPv6 and rdomain related improvements for <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=carp&sektion=4">carp(4)</a>.
1.4 deraadt 87: </ul>
1.3 guenther 88: <p>
1.24 deraadt 89:
1.3 guenther 90: <li>Routing daemons and other userland network improvements:
91: <ul>
1.26 deraadt 92: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fstat&sektion=8">fstat(8)</a> now displays routing table ID and socket-splicing information and ps can display routing table ID.
1.27 gonzalo 93: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=traceroute&sektion=8">traceroute(8)</a> and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=traceroute6&sektion=8">traceroute6(8)</a> can look up ASNs for each hop.
94: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=snmpd&sektion=8">snmpd(8)</a> adds a MIB to show statistics for <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=carp&sektion=4">carp(4)</a> interfaces.
95: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bgpctl&sektion=8">bgpctl(8)</a> parses and display MRT routing table dumps.
96: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ntpd&sektion=8">ntpd(8)</a> supports multiple rdomains.
97: <li>When <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ospfd&sektion=8">ospfd(8)</a> detects route socket overflow, it now delays before it reloads the fib.
1.16 deraadt 98: <li>Improved and more consistent ToS support in various network tools
1.27 gonzalo 99: (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tcpbench&sektion=8">tcpbench(8)</a>, <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nc&sektion=8">nc(8)</a>, <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pingt&sektion=8">ping(8)</a>, <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=traceroute&sektion=8">traceroute(8)</a>).
1.36 miod 100: <li>Initial import of <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=login_yubikey&manpath=OpenBSD%20Current&sektion=8&format=html">login_yubikey(8)</a> for logging in using yubikeys.
1.4 deraadt 101: </ul>
1.3 guenther 102: <p>
1.4 deraadt 103:
1.3 guenther 104: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4">pf(4)</a> improvements:
105: <ul>
1.27 gonzalo 106: <li>One-shot rule support for <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4">pf(4)</a>, for use with proxies via anchors.
1.26 deraadt 107: <li>NAT64 support in PF using the <b>af-to</b> keyword.
1.24 deraadt 108: <li>Much improved IPv6 fragment handling.
109: <li>Various enhancements with ICMP and especially ICMPv6 states
110: <li>Improved IPv6 Neighbor Discovery and Multicast Listener Discovery handling.
1.27 gonzalo 111: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pfctl&sektion=8">pfctl(8)</a> now prints port numbers instead of service names by default.
112: <li>Netflow v9 and ipfix support for <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pflow&sektion=4">pflow(4)</a>.
113: <li>Many <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pfsync&sektion=4">pfsync(4)</a> fixes and improvements including jumbo frames and automatically requesting a bulk update after a physical interface comes online.
1.4 deraadt 114: </ul>
1.3 guenther 115: <p>
1.24 deraadt 116:
1.11 espie 117: <li>Assorted improvements:
118: <ul>
119: <li>Improved locale support.
1.24 deraadt 120: <li>Support for MSG_NOSIGNAL.
1.27 gonzalo 121: <li>KERN_PROC_CWD <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sysctl&sektion=3">sysctl(3)</a> for fetching the path to a process's working directory.
122: <li>Improved <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fnmatch&sektion=3">fnmatch(3)</a>, <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=glob&sektion=3">glob(3)</a>, and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=regcomp&sektion=3">regcomp(3)</a> implementations to resist
1.16 deraadt 123: DoS attacks.
1.11 espie 124: <li>Lots of HISTORY and AUTHORS information added to manpages.
125: <li>Improved checking of file-offset wraparound.
1.27 gonzalo 126: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pwrite&sektion=2">pwrite(2)</a>/<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pwritev&sektion=2">pwritev(2)</a> now correctly by ignored O_APPEND.
1.11 espie 127: <li>Improved conformance of header files with standards.
128: <li>Improved cancelation support in both user-threads (libpthread) and rthreads.
1.16 deraadt 129: <li>Improved correctness of execing, coredumping, signal delivery,
130: alternate signal stacks, blocking socket accepts(), mutexes and
131: condition variables, per-thread errno, symbol binding, and
132: ktracing when rthreads are in use.
133: <li>Architecture-independent kernel support for thread-control-block
134: handling for rthreads.
1.11 espie 135: <li>Small improvements to Linux compat (only available on i386).
1.27 gonzalo 136: <li>Multiple bugs have been fixed in the Intel 10Gb driver <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ix&sektion=4">ix(4)</a>.
1.25 stsp 137: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=softraid&sektion=4">softraid(4)</a> now supports a concatenating discipline.
138: <li>On amd64, i386, and sparc64, the root filesystem can reside in a <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=softraid&sektion=4">softraid(4)</a> volume. The kernel needs to be booted from a non-softraid partition.
139: <li>On amd64, the system can be booted from a <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=softraid&sektion=4">softraid(4)</a> RAID1 volume.
1.29 brett 140: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=aucat&manpath=OpenBSD%20Current&sektion=1&format=html">aucat(1)</a> adds a "device number" component in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sndio&manpath=OpenBSD%20Current&sektion=7&format=html">sndio(7)</a> device names, allowing a single aucat instance to handle all audio and MIDI services.
141: <li>Built-in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sndiod&manpath=OpenBSD%20Current&sektion=1&format=html">sndiod(1)</a> sound daemon now uses default rate 48kHz and the default block size 10ms. These settings ensure video players and programs using MTC are smooth by default.
1.31 guenther 142: <li>Many updates to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=smtpd&manpath=OpenBSD%20Current&sektion=8&format=html">smtpd(8)</a>: a new scheduler_backend API introduced, more MIME 1.0 support added, new filter callbacks for network events, improved DNS error reporting and envelope handling, and the purge/ directory is now cleared via a privilege-separated child.
1.29 brett 143: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tmux&manpath=OpenBSD%20Current&sektion=1&format=html">tmux(1)</a> is extended to support a larger history, minimizes redundant log messages and does some code reordering for more local and less global variables. Support is added for the ESC[s and ESC[u save/restore cursor-position key sequences. $HOME (or ~) may now be used as default-path in tmux.conf.
144: <li>Enhanced <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cwm&manpath=OpenBSD%20Current&sektion=1&format=html">cwm(1)</a> event support, added {r,}cycleingroup to cycle through clients belonging to the same group as the active client, simplified color initialization.
145: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mg&manpath=OpenBSD%20Current&sektion=1&format=html">mg(1)</a> emacs-like editor: now uses absolute filenames while pushing and popping off the stack. In dired mode: corrected cursor movements and added missing keybindings.
1.11 espie 146: </ul>
147: <p>
1.24 deraadt 148:
1.30 sobrado 149: <li>OpenSSH 6.0:
150: <ul>
151: <li>New features:
152: <ul>
153: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh-keygen&sektion=1">ssh-keygen(1)</a>:
154: add optional checkpoints for moduli screening.
155: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh-add&sektion=1">ssh-add(1)</a>:
156: new -k option to load plain keys (skipping certificates).
157: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
158: add wildcard support to PermitOpen, allowing things like
159: "PermitOpen localhost:*". (bz#1857)
160: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>:
161: support for cancelling local and remote port forwards via the multiplex
162: socket. Use "ssh -O cancel -L xx:xx:xx -R yy:yy:yy user@host" to request
163: the cancellation of the specified forwardings.
164: <li>support cancellation of local/dynamic forwardings from ~C commandline.
165: </ul>
166: <li>The following significant bugs have been fixed in this release:
167: <ul>
168: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>:
169: ensure that $DISPLAY contains only valid characters before using it to
170: extract xauth data so that it can't be used to play local shell
171: metacharacter games.
172: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>:
173: unbreak remote port forwarding with dynamic allocated listen ports.
174: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=scp&sektion=1">scp(1)</a>:
1.33 sthen 175: suppress adding '--' to remote commandlines when the first argument does
1.30 sobrado 176: not start with '-'. Saves breakage on some difficult-to-upgrade
177: embedded/router platforms.
178: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
179: and
180: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
181: fix typo in IPQoS parsing: there is no "AF14" class, but there is an
182: "AF21" class.
183: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
184: and
185: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
186: do not permit SSH2_MSG_SERVICE_REQUEST/ACCEPT during rekeying.
187: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>:
188: skip attempting to create ~/.ssh when -F is passed.
189: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
190: unbreak stdio forwarding when ControlPersist is in use. (bz#1943)
191: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
192: send tty break to pty master instead of (probably already closed) slave
193: side. (bz#1859)
194: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sftp&sektion=1">sftp(1)</a>:
195: silence error spam for "ls */foo" in directory with files.
196: (bz#1683)
197: <li>Fixed a number of memory and file descriptor leaks.
198: </ul>
199: </ul>
200: <p>
201:
1.11 espie 202: <li>Over 7,000 ports, major performance and stability improvements in
203: the package build process
1.8 espie 204: <ul>
1.16 deraadt 205: <li>Downloading of distfiles is simpler, can resume interrupted download,
1.8 espie 206: discover file moves, and expire old files. Distfiles mirror sites now use
207: the new and improved method.
1.16 deraadt 208: <li>Dependency handling during ports build and package creation is at least
1.8 espie 209: twice as fast, twenty times as fast in pathological cases. This also affects
210: user scripts such as out-of-date
1.16 deraadt 211: <li>More checks are done during package builds, for increased user friendliness
212: <li>The long term process of documenting the infrastructure is now 100% done.
1.8 espie 213: <li>The distributed ports builder (dpb) can now clean up old dependencies,
214: thus helping package builds be more reproducible.
215: This found tens of hidden build dependencies in the ports tree already.
1.16 deraadt 216: <li>The semantics of pkg_add -a have been nailed down and a few minor bugs
1.8 espie 217: have been fixed.
1.16 deraadt 218: <li>The arch-dependent issues are better classified, leading to better builds on
1.8 espie 219: old architectures in some complicated cases. In particular, dpb explicitly
220: purges from memory info about packages it cannot build and stuff that
221: depends on it, leading to better life on sparc and vax which have very
222: small data-size limits.
223: <li>dpb recognizes full builds and trims some duplicate package builds
224: </ul>
225: <p>
1.1 deraadt 226: <li>Many pre-built packages for each architecture:
227: <table border=0 cellspacing=0 cellpadding=2 width="95%">
228: <tr>
229: <td valign="top" width="25%">
230: <ul>
231: <li>i386: 7229
232: <li>sparc64: 6599
233: <li>alpha: 5943
234: </ul></td><td valign=top width="25%"><ul>
1.28 deraadt 235: <li>sh: 2459
1.1 deraadt 236: <li>amd64: 7181
237: <li>powerpc: 6852
238: </ul></td><td valign=top width="25%"><ul>
239: <li>sparc: 4152
1.21 sthen 240: <li>arm: 5536
1.1 deraadt 241: <li>hppa: 6159
242: </ul></td><td valign=top width="25%"><ul>
243: <li>vax: 2199
1.15 deraadt 244: <li>mips64: 5785
1.1 deraadt 245: <li>mips64el: 5807
246: </ul></td></tr></table>
247: <p>
248:
249: <li>Some highlights:
250: <ul>
1.34 ajacouto 251: <li>GNOME 3.2.1 (fallback mode) <li>KDE 3.5.10
1.21 sthen 252: <li>Xfce 4.8.3 <li>MySQL 5.1.60
253: <li>PostgreSQL 9.1.2 <li>Postfix 2.8.8
254: <li>OpenLDAP 2.3.43 and 2.4.26 <li>Mozilla Firefox 3.5.19, 3.6.25 and 9.0.1
255: <li>Mozilla Thunderbird 9.0.1 <li>GHC 7.0.4
256: <li>LibreOffice 3.4.5.2 <li>Emacs 21.4, 22.3 and 23.4
257: <li>Vim 7.3.154 <li>PHP 5.2.17 and 5.3.10
258: <li>Python 2.5.4, 2.7.1 and 3.2.2 <li>Ruby 1.8.7.357 and 1.9.3.0
1.32 stu 259: <li>Tcl/Tk 8.5.11 <li>Jdk 1.7
1.21 sthen 260: <li>Mono 2.10.6 <li>Chromium 16.0.912.77
1.1 deraadt 261: <li>Groff 1.21
262: </ul>
263: <p>
264:
265: <li>As usual, steady improvements in manual pages and other documentation.
266: <li>Base system and Xenocara manuals are now installed as source code,
267: making <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=grep&sektion=1">grep(1)</a> more useful in /usr/share/man/ and /usr/X11R6/man/.
268: <li>If both formatted and source versions of manuals are installed,
269: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=man&sektion=1">man(1)</a> automatically displays the newer version of each page.
1.29 brett 270: <p>
1.1 deraadt 271:
1.29 brett 272: <li> The system includes the following major components from outside suppliers:
273: <ul>
1.6 matthieu 274: <li>Xenocara (based on X.Org 7.6 with xserver 1.11.4 + patches,
275: freetype 2.4.8, fontconfig 2.8.0, Mesa 7.10.3, xterm 276,
276: xkeyboard-config 2.5 and more)
1.19 matthieu 277: <li>Gcc 4.2.1 (+patches), 3.3.5 (+ patches) and 2.95.3 (+ patches)
1.1 deraadt 278: <li>Perl 5.12.2 (+ patches)
279: <li>Our improved and secured version of Apache 1.3, with
280: SSL/TLS and DSO support
1.22 gsoares 281: <li>OpenSSL 1.0.0f (+ patches)
1.1 deraadt 282: <li>Sendmail 8.14.5, with libmilter
283: <li>Bind 9.4.2-P2 (+ patches)
284: <li>Lynx 2.8.7rel.2 with HTTPS and IPv6 support (+ patches)
285: <li>Sudo 1.7.2p8
286: <li>Ncurses 5.7
287: <li>Heimdal 0.7.2 (+ patches)
288: <li>Arla 0.35.7
289: <li>Binutils 2.15 (+ patches)
290: <li>Gdb 6.3 (+ patches)
1.29 brett 291: <li>Less 444 (+ patches)
292: <li>Awk Aug 10, 2011 version
1.1 deraadt 293: </ul>
294:
295: </ul>
296:
297: <a name="install"></a>
298: <hr>
299: <p>
300: <h3><font color="#0000e0">How to install</font></h3>
301: <p>
302: Following this are the instructions which you would have on a piece of
303: paper if you had purchased a CDROM set instead of doing an alternate
304: form of install. The instructions for doing an FTP (or other style
305: of) install are very similar; the CDROM instructions are left intact
306: so that you can see how much easier it would have been if you had
307: purchased a CDROM instead.
308: <p>
309:
310: <hr>
311: Please refer to the following files on the three CDROMs or FTP mirror for
312: extensive details on how to install OpenBSD 5.1 on your machine:
313: <p>
314: <ul>
315: <li>CD1:5.1/i386/INSTALL.i386
316: <p>
317: <li>CD2:5.1/amd64/INSTALL.amd64
318: <li>CD2:5.1/macppc/INSTALL.macppc
319: <p>
320: <li>CD3:5.1/sparc64/INSTALL.sparc64
321: <p>
322: <li>FTP:.../OpenBSD/5.1/alpha/INSTALL.alpha
323: <li>FTP:.../OpenBSD/5.1/armish/INSTALL.armish
324: <li>FTP:.../OpenBSD/5.1/hp300/INSTALL.hp300
325: <li>FTP:.../OpenBSD/5.1/hppa/INSTALL.hppa
326: <li>FTP:.../OpenBSD/5.1/landisk/INSTALL.landisk
327: <li>FTP:.../OpenBSD/5.1/loongson/INSTALL.loongson
1.14 miod 328: <li>FTP:.../OpenBSD/5.1/luna88k/INSTALL.luna88k
1.1 deraadt 329: <li>FTP:.../OpenBSD/5.1/mvme68k/INSTALL.mvme68k
330: <li>FTP:.../OpenBSD/5.1/mvme88k/INSTALL.mvme88k
331: <li>FTP:.../OpenBSD/5.1/sgi/INSTALL.sgi
332: <li>FTP:.../OpenBSD/5.1/socppc/INSTALL.socppc
333: <li>FTP:.../OpenBSD/5.1/sparc/INSTALL.sparc
334: <li>FTP:.../OpenBSD/5.1/vax/INSTALL.vax
335: <li>FTP:.../OpenBSD/5.1/zaurus/INSTALL.zaurus
336: </ul>
337: <hr>
338:
339: <p>
340: Quick installer information for people familiar with OpenBSD, and the
341: use of the "disklabel -E" command. If you are at all confused when
342: installing OpenBSD, read the relevant INSTALL.* file as listed above!
343: <p>
344:
345: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
346: <ul>
347: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
348: release is on CD1. If your BIOS does not support booting from CD, you will need
349: to create a boot floppy to install from. To create a boot floppy write
350: <i>CD1:5.1/i386/floppy51.fs</i> to a floppy and boot via the floppy drive.
351:
352: <p>
353: Use <i>CD1:5.1/i386/floppyB51.fs</i> instead for greater SCSI controller
354: support, or <i>CD1:5.1/i386/floppyC51.fs</i> for better laptop support.
355:
356: <p>
357: If you can't boot from a CD or a floppy disk,
358: you can install across the network using PXE as described in
359: the included INSTALL.i386 document.
360:
361: <p>
362: If you are planning on dual booting OpenBSD with another OS, you will need to
363: read INSTALL.i386.
364:
365: <p>
366: To make a boot floppy under MS-DOS, use the "rawrite" utility located
367: at <i>CD1:5.1/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
368: use the
369: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>
370: utility. The following is an example usage of
371: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>,
372: where the device could be "floppy", "rfd0c", or
373: "rfd0a".
374:
375: <ul><pre>
376: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
377: </pre></ul>
378:
379: <p>
380: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
381: your install will most likely fail. For more information on creating a boot
382: floppy and installing OpenBSD/i386 please refer to
383: <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
384: </ul>
385:
386: <p>
387: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
388: <ul>
389: The 5.1 release of OpenBSD/amd64 is located on CD2.
390: Boot from the CD to begin the install - you may need to adjust
391: your BIOS options first.
392: If you can't boot from the CD, you can create a boot floppy to install from.
393: To do this, write <i>CD2:5.1/amd64/floppy51.fs</i> to a floppy, then
394: boot from the floppy drive.
395:
396: <p>
397: If you can't boot from a CD or a floppy disk,
398: you can install across the network using PXE as described in the included
399: INSTALL.amd64 document.
400:
401: <p>
402: If you are planning to dual boot OpenBSD with another OS, you will need to
403: read INSTALL.amd64.
404: </ul>
405:
406: <p>
407: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
408: <ul>
409: Put CD2 in your CDROM drive and poweron your machine while holding down the
410: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
411:
412: <p>
413: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
414: /5.1/macppc/bsd.rd</i>
415: </ul>
416:
417: <p>
418: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
419: <ul>
420: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
421:
422: <p>
423: If this doesn't work, or if you don't have a CDROM drive, you can write
424: <i>CD3:5.1/sparc64/floppy51.fs</i> or <i>CD3:5.1/sparc64/floppyB51.fs</i>
425: (depending on your machine) to a floppy and boot it with <i>boot
426: floppy</i>. Refer to INSTALL.sparc64 for details.
427:
428: <p>
429: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
430: will most likely fail.
431:
432: <p>
433: You can also write <i>CD3:5.1/sparc64/miniroot51.fs</i> to the swap partition on
434: the disk and boot with <i>boot disk:b</i>.
435:
436: <p>
437: If nothing works, you can boot over the network as described in INSTALL.sparc64.
438: </ul>
439:
440: <p>
441: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
442: <ul>
443: <p>Write <i>FTP:5.1/alpha/floppy51.fs</i> or
444: <i>FTP:5.1/alpha/floppyB51.fs</i> (depending on your machine) to a diskette and
445: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
446:
447: <p>
448: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
449: will most likely fail.
450:
451: </ul>
452:
453: <p>
454: <h3><font color="#e00000">OpenBSD/armish:</font></h3>
455: <ul>
456: <p>
457: After connecting a serial port, Thecus can boot directly from the network
458: either tftp or http. Configure the network using fconfig, reset,
459: then load bsd.rd, see INSTALL.armish for specific details.
460: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
461: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
462: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
463: More details are available in INSTALL.armish.
464: </ul>
465:
466: <p>
467: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
468: <ul>
469: <p>
470: Boot over the network by following the instructions in INSTALL.hp300.
471: </ul>
472:
473: <p>
474: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
475: <ul>
476: <p>
477: Boot over the network by following the instructions in INSTALL.hppa or the
478: <a href="hppa.html#install">hppa platform page</a>.
479: </ul>
480:
481: <p>
482: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
483: <ul>
484: <p>
485: Write <i>miniroot51.fs</i> to the start of the CF
486: or disk, and boot normally.
487: </ul>
488:
489: <p>
490: <h3><font color="#e00000">OpenBSD/loongson:</font></h3>
491: <ul>
492: <p>
493: Write <i>miniroot51.fs</i> to a USB stick and boot bsd.rd from it
494: or boot bsd.rd via tftp.
495: Refer to the instructions in INSTALL.loongson for more details.
496: </ul>
497: <p>
498:
499: <p>
1.14 miod 500: <h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
501: <ul>
502: <p>
503: Copy bsd.rd to a Mach or UniOS partition, and boot it from the PROM.
504: Alternatively, you can create a bootable tape and boot from it. Refer to
505: the instructions in INSTALL.luna88k for more details.
506: </ul>
507:
508: <p>
1.1 deraadt 509: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
510: <ul>
511: <p>
512: You can create a bootable installation tape or boot over the network.<br>
513: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
514: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
515: for more details.
516: </ul>
517:
518: <p>
519: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
520: <ul>
521: <p>
522: You can create a bootable installation tape or boot over the network.<br>
523: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
524: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
525: for more details.
526: </ul>
527:
528: <p>
529: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
530: <ul>
531: <p>
532: To install on an O2, burn cd51.iso on a CD-R, put it in the CD drive of your
533: machine and select <i>Install System Software</i> from the System Maintenance
534: menu.
535:
536: <p>
537: On other systems, or if your machine doesn't have a CD drive, you can
538: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd.IP##" using
539: the kernel matching your system type.
540: Refer to the instructions in INSTALL.sgi for more details.
541: </ul>
542:
543: <p>
544: <h3><font color="#e00000">OpenBSD/socppc:</font></h3>
545: <ul>
546: <p>
547: After connecting a serial port, boot over the network via DHCP/tftp.
548: Refer to the instructions in INSTALL.socppc for more details.
549: </ul>
550:
551: <p>
552: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
553: <ul>
554: Boot from one of the provided install ISO images, using one of the two
555: commands listed below, depending on the version of your ROM.
556:
557: <ul><pre>
558: ok <strong>boot cdrom 5.1/sparc/bsd.rd</strong>
559: or
560: > <strong>b sd(0,6,0)5.1/sparc/bsd.rd</strong>
561: </pre></ul>
562:
563: <p>
564: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
565: To do so you need to write <i>floppy51.fs</i> to a floppy.
566: For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
567: To boot from the floppy use one of the two commands listed below,
568: depending on the version of your ROM.
569:
570: <ul><pre>
571: ok <strong>boot floppy</strong>
572: or
573: > <strong>b fd()</strong>
574: </pre></ul>
575:
576: <p>
577: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
578: will most likely fail.
579:
580: <p>
581: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
582: setup a bootable tape, or install via network, as told in the
583: INSTALL.sparc file.
584: </ul>
585:
586: <p>
587: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
588: <ul>
589: Boot over the network via mopbooting as described in INSTALL.vax.
590: </ul>
591:
592: <p>
593: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
594: <ul>
595: <p>
596: Using the Linux built-in graphical ipkg installer, install the
597: openbsd51_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
598: for a few important details.
599: </ul>
600:
601: <p>
602: <h3><font color="#e00000">Notes about the source code:</font></h3>
603: <ul>
604: src.tar.gz contains a source archive starting at /usr/src. This file
605: contains everything you need except for the kernel sources, which are
606: in a separate archive. To extract:
607: <p>
608: <ul><pre>
609: # <strong>mkdir -p /usr/src</strong>
610: # <strong>cd /usr/src</strong>
611: # <strong>tar xvfz /tmp/src.tar.gz</strong>
612: </pre></ul>
613: <p>
614: sys.tar.gz contains a source archive starting at /usr/src/sys.
615: This file contains all the kernel sources you need to rebuild kernels.
616: To extract:
617: <p>
618: <ul><pre>
619: # <strong>mkdir -p /usr/src/sys</strong>
620: # <strong>cd /usr/src</strong>
621: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
622: </pre></ul>
623: <p>
624: Both of these trees are a regular CVS checkout. Using these trees it
625: is possible to get a head-start on using the anoncvs servers as
626: described <a href="anoncvs.html">here</a>.
627: Using these files
628: results in a much faster initial CVS update than you could expect from
629: a fresh checkout of the full OpenBSD source tree.
630: <p>
631: </ul>
632:
633: <a name="upgrade"></a>
634: <hr>
635: <p>
636: <h3><font color="#0000e0">How to upgrade</font></h3>
637: <p>
1.2 deraadt 638: If you already have an OpenBSD 5.0 system, and do not want to reinstall,
1.1 deraadt 639: upgrade instructions and advice can be found in the
640: <a href="faq/upgrade51.html">Upgrade Guide</a>.
641:
642: <a name="ports"></a>
643: <hr>
644: <p>
645: <h3><font color="#0000e0">Ports Tree</font></h3>
646: <p>
647: A ports tree archive is also provided. To extract:
648: <p>
649: <ul><pre>
650: # <strong>cd /usr</strong>
651: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
652: # <strong>cd ports</strong>
653: </pre></ul>
654: <p>
655: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
656: read the <a href="faq/ports/index.html">ports</a> page
657: if you know nothing about ports
658: at this point. This text is not a manual of how to use ports.
659: Rather, it is a set of notes meant to kickstart the user on the
660: OpenBSD ports system.
661: <p>
662: The <i>ports/</i> directory represents a CVS (see the manpage for
663: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386">
664: cvs(1)</a> if
665: you aren't familiar with CVS) checkout of our ports. As with our complete
666: source tree, our ports tree is available via anoncvs. So, in
667: order to keep current with it, you must make the <i>ports/</i> tree
668: available on a read-write medium and update the tree with a command
669: like:
670: <p>
671: <ul><pre>
1.2 deraadt 672: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_5_1</strong>
1.1 deraadt 673: </pre></ul>
674: <p>
675: [Of course, you must replace the local directory and server name here
676: with the location of your ports collection and a nearby anoncvs
677: server.]
678: <p>
679: Note that most ports are available as packages through FTP. Updated
680: packages for the 5.1 release will be made available if problems arise.
681: <p>
682: If you're interested in seeing a port added, would like to help out, or just
683: would like to know more, the mailing list ports@openbsd.org is a good
684: place to know.
685: <p>
686:
687: </body>
688: </html>