[BACK]Return to 51.html CVS log [TXT][DIR] Up to [local] / www

Annotation of www/51.html, Revision 1.55

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