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