Annotation of www/49.html, Revision 1.17
1.1 deraadt 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <title>OpenBSD 4.9 Release</title>
5: <link rev=made href="mailto:www@openbsd.org">
6: <meta name="resource-type" content="document">
7: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
8: <meta name="description" content="OpenBSD 4.9>
9: <meta name="keywords" content="openbsd,main">
10: <meta name="distribution" content="global">
1.3 deraadt 11: <meta name="copyright" content="This document copyright 2011 by OpenBSD.">
1.1 deraadt 12: </head>
13:
14: <body bgcolor="#ffffff" text="#000000" link="#24248E">
15:
16: <a href="index.html">
17: <img alt="[OpenBSD]" height="30" width="141" hspace="24" src="images/smalltitle.gif" border="0"></a>
18: <hr>
19:
20: <p>
21: <a href="images/Hitchhiker.jpg">
22: <img align="left" width="227" height="343" hspace="24" vspace="30"
23: src="images/Hitchhiker.jpg" alt="OpenBSD 4.9 logo"></a>
24: <h2><font color="#0000e0">The OpenBSD 4.9 Release:</font></h2>
25: <p>
26: Released May 1, 2011<br>
27: Copyright 1997-2011, Theo de Raadt.<br>
28: <font color="#e00000">ISBN 978-0-9784475-7-1</font>
29: <br>
30: <a href="lyrics.html#49">4.9 Song: "The Answer"</a>
31: <p>
32:
33: <a href="#new">What's New</a><br>
34: <a href="#install">How to install</a><br>
35: <a href="#upgrade">How to upgrade</a><br>
36: <a href="#ports">How to use the ports tree</a><br>
37: <a href="orders.html">Ordering a CD set</a><br>
38:
39: <p>
40: <h3><font color="#0000e0">
41: To get the files for this release:
42: <ul>
43: <li>Pre-order a CDROM from our <a href="orders.html">ordering system</a>.
44: <li>See the information on <a href="ftp.html">The FTP page</a> for
45: a list of mirror machines.
46: <li>Go to the <font color="#e00000">pub/OpenBSD/4.9/</font> directory on
47: one of the mirror sites.
48: <li>Briefly read the rest of this document.
49: <li>Have a look at <a href="errata49.html">The 4.9 Errata page</a> for a list
50: of bugs and workarounds.
51: <li>See a <a href="plus49.html">detailed log of changes</a> between the
52: 4.8 and 4.9 releases.
53: </ul>
54: </font></h3>
55: <br clear=all>
56:
57: <strong>Note:</strong> All applicable copyrights and credits can be found
58: in the applicable file sources found in the files src.tar.gz, sys.tar.gz,
59: xenocara.tar.gz, or in the files fetched via ports.tar.gz. The distribution
60: files used to build packages from the ports.tar.gz file are not included on
61: the CDROM because of lack of space.
62: <p>
63:
64: <a name="new"></a>
65: <hr>
66: <p>
67: <h3><font color="#0000e0">What's New</font></h3>
68: <p>
69: This is a partial list of new features and systems included in OpenBSD 4.9.
70: For a comprehensive list, see the <a href="plus49.html">changelog</a> leading
71: to 4.9.
72: <p>
73:
74: <ul>
75:
1.3 deraadt 76: <li>New/extended platforms:
77: <ul>
78: <li>i386 and amd64:
79: <ul>
1.11 jj 80: <li>Enabled the NTFS by default on GENERIC kernels.
81: <li>Added a <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=vmt&sektion=4&format=html">vmt(4)</a> driver for VMWare tools support as a guest.
82: <li>SMP kernels can now boot on machines with up to 64 cores.
83: <li>Maximum allocation size for i386 bumped to 2G.
1.17 ! krw 84: <li>Maximum number of CPUs bumped to 64 on amd64.
! 85: <li>Handle >16 disks when searching for kernel boot device.
1.3 deraadt 86: </ul>
87: <li>sparc64:
88: <ul>
89: <li>Support the virtual disk procotol on sun4v machines well enough
90: to install them from from virtual cdroms.
1.11 jj 91: <li>Added support for the XVR-300 graphics card.
1.3 deraadt 92: </ul>
93: <li>hppa:
94: <ul>
95: <li>Multiprocessor support.
96: </ul>
97: <li>...
98: <ul>
99: <li>...
100: </ul>
101: <li>...
102: <ul>
103: <li>...
104: </ul>
105: </ul>
106: <p>
107:
108: <li>Improved hardware support, including:
109: <ul>
1.9 kevlo 110: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=vte&sektion=4&format=html">vte(4)</a>
111: driver for RDC R6040 10/100 Ethernet devices.</li>
1.10 jsg 112: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=rdcphy&sektion=4&format=html">rdcphy(4)</a>
113: driver for RDC Semiconductor R6040 10/100 Ethernet PHY.
114: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=rsu&sektion=4&format=html">rsu(4)</a>
115: driver for Realtek RTL8188SU/RTL8192SU USB IEEE 802.11b/g/n.
116: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=urtwn&sektion=4&format=html">urtwn(4)</a>
117: driver for Realtek RTL8188CU/RTL8192CU USB IEEE 802.11b/g/n.
118: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=utwitch&sektion=4&format=html">utwitch(4)</a>
119: driver for YUREX USB twitch/jiggle of knee sensor.
120: <li>Support for AR9271, AR9280+AR7010 and AR9287+AR7010 USB IEEE 802.11a/g/n
121: adapters has been added to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=athn&sektion=4&format=html">athn(4)</a>.
122: <li>Support for 82583V
123: has been added to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=em&sektion=4">em(4)</a>.
124: <li>Support for Yukon 88E8059
125: has been added to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=msk&sektion=4">msk(4)</a>.
126: <li>Support for SiS191
127: has been added to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=se&sektion=4">se(4)</a>.
128: <li>Support for SAS2004
129: has been added to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mpii&sektion=4">mpii(4)</a>.
130: <li>Support for NVIDIA MCP89 SATA
131: has been added to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pciide&sektion=4">pciide(4)</a>.
132: <li>Suppport for Mobility Radeon HD 4200
133: has been added to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=radeondrm&sektion=4">radeondrm(4)</a>.
1.3 deraadt 134: </ul>
135: <p>
136:
137: <li>Generic network stack improvements:
138: <ul>
1.7 dlg 139: <li>Reworking of the MCLGETI livelock algorithm to improve
140: forwarding and host performance under high network load.</li>
1.11 jj 141: <li>Added support for socket splicing.
142: <li>Added AES-GMAC support for IPSec.
1.3 deraadt 143: </ul>
144: <p>
145:
146: <li>SCSI improvements:
147: <ul>
1.6 dlg 148: <li>Improved safety when detaching SCSI devices by waiting for
149: the completion of pending commands.</li>
150: <li>Improved hotplug support on mpi(4), mpii(4).</li>
151: <li>Continued iopoolification of SCSI drivers, notably on
152: umass(4) which improves the reliability and performance of
153: multi-LUN devices.</li>
1.11 jj 154: <li>Added vscsi(4), a driver for userland handling of scsi device commands.
155: <li>Added iscsid(8), an iSCSI initiator.
1.16 krw 156: <li>Forcibly restrict devices incapable of tagged i/o to executing one command at a time.
1.17 ! krw 157: <li>Discover and honour read-only status of <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sd&sektion=4">sd(4)</a> devices.
! 158: <li>Improve <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=st&sektion=4">st(4)</a> handling of i/o residual information.
! 159: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sd&sektion=4">sd(4)</a> devices that can only execute one command at a time (e.g. USB) will now be allowed to spin up if necessary.
! 160: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cd&sektion=4">cd(4)</a> will now attach CDROM devices identified as non-removable.
1.3 deraadt 161: </ul>
162: <p>
163:
164: <li>Assorted improvements:
165: <ul>
1.16 krw 166: <li>Enabled wide character support in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ncurses&sektion=3">ncurses(3)</a>.
167: <li>Added <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nsd&sektion=8">nsd(8)</a>, an authoritative name server implementation.
168: <li>Disklabel UID support improved and added to more utilities.
169: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=rarpd&sektion=8">rarpd(8)</a> now accepts a list of interfaces to listen on.
170: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dhclient&sektion=8">dhclient(8)</a> now accepts 'egress' as an interface name, meaning whichever interface is marked as being in the 'egress' group.
171: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dhcpd&sektion=8">dhcpd(8)</a> no longer listens on interfaces without a broadcast address (e.g. <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pflog&sektion=4">pflog(4)</a>).
172: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=who&sektion=1">who(1)</a> now displays as much of the hostname as fits on the line.
173: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tcpdump&sektion=8">tcpdump(8)</a> now correctly handles 'net' primitives when processing <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pflog&sektion=4">pflog(4)</a> traffic.
1.17 ! krw 174: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fdisk&sektion=8">fdisk(8)</a> now respects failure to read the MBR.
! 175: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fdisk&sektion=8">fdisk(8)</a> will no longer infinitely loop when encountering an improperly constructed EBR.
! 176: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=disklabel&sektion=8">disklabel(8)</a> no longer uses information from a failed partition addition on the next addition of the same partition.
! 177: <li>Many unused and obsolete <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=disktab&sektion=5">disktab(5)</a> entries removed.
1.3 deraadt 178: </ul>
179: <p>
180:
181: <li>Install/Upgrade process changes:
182: <ul>
1.8 deraadt 183: <li>Fixed the hppa CD installation process.
184: <li>Added some more free firmwares to the CD media that could fit them.
185: <li>Make the macppc upgrade script update the boot blocks (oddly, this
186: had been broken a very long time and noone noticed).
187: <li>Teach the install script about the configuration of 802.11 interfaces.
188: Visible networks can be listed, and even configured for WPA.
189: <li>The install script now passes collected entropy better to the
190: system which is booted next.
1.15 krw 191: <li>Upgrade now defaults to checking only the root filesystem.
192: <li>Upgrade no longer checks filesystems with a fs_passno of 0.
193: <li>Upgrade now asks if it should proceed even if one or more filesystem mounts fail.
194: <li>Installer now configures <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ntpd&sektion=8">ntpd(8)</a> to use all provided time source IPs.
1.3 deraadt 195: </ul>
196: <p>
197:
1.12 ajacouto 198: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=rc.d&sektion=8">rc.d(8)</a>
199: for starting, stopping and reconfiguring package daemons:
200: <ul>
201: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=rc.subr&sektion=8">rc.subr(8)</a>
202: framework allows for easy creation of rc scripts.
203: This framework is still evolving.
204: <li>Only a handful of packages have migrated for now.
205: <li>rc.local can still be used instead of or in addition to
206: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=rc.d&sektion=8">rc.d(8)</a>.
207: </ul>
208: <p>
209:
1.4 sobrado 210: <li>OpenSSH 5.8:
1.3 deraadt 211: <ul>
212: <li>New features:
1.4 sobrado 213: <ul>
214: <li>Implement Elliptic Curve Cryptography modes for key exchange (ECDH)
215: and host/user keys (ECDSA) as specified by RFC5656. ECDH and ECDSA
216: offer better performance than plain DH and DSA at the same
217: equivalent symmetric key length, as well as much shorter keys.</li>
218: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sftp&sektion=1">sftp(1)</a>
219: and
220: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sftp-server&sektion=8">sftp-server(8)</a>:
221: add a protocol extension to support a hard link operation. It is
222: available through the "ln" command in the client. The old "ln"
223: behaviour of creating a symlink is available using its "-s" option
224: or through the preexisting "symlink" command.</li>
225: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=scp&sektion=1">scp(1)</a>:
226: Add a new -3 option to scp: Copies between two remote hosts are
227: transferred through the local host. Without this option the data is
228: copied directly between the two remote hosts.</li>
229: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>:
230: automatically order the hostkeys requested by the client based on
231: which hostkeys are already recorded in known_hosts. This avoids
232: hostkey warnings when connecting to servers with new ECDSA keys,
233: since these are now preferred when learning hostkeys for the first
234: time.</li>
235: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
236: and
237: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
238: add a new IPQoS option to specify arbitrary TOS/DSCP/QoS values
239: instead of hardcoding lowdelay/throughput. (bz#1733)</li>
240: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sftp&sektion=1">sftp(1)</a>:
241: the sftp client is now significantly faster at performing directory
242: listings, using OpenBSD glob(3) extensions to preserve the results
243: of stat(3) operations performed in the course of its execution
244: rather than performing expensive round trips to fetch them again
245: afterwards.</li>
246: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>:
247: "atomically" create the listening mux socket by binding it on a
248: temporary name and then linking it into position after listen() has
249: succeeded. This allows the mux clients to determine that the server
250: socket is either ready or stale without races. Stale server sockets
251: are now automatically removed. (also fixes bz#1711)</li>
252: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
253: and
254: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
255: add a <em>KexAlgorithms</em> knob to the client and server
256: configuration to allow selection of which key exchange methods are
257: used by
258: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
259: and
260: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>
261: and their order of preference.</li>
262: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sftp&sektion=1">sftp(1)</a>
263: and
264: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=scp&sektion=1">scp(1)</a>:
265: factor out bandwidth limiting code from
266: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=scp&sektion=1">scp(1)</a>
267: into a generic bandwidth limiter that can be attached using the
268: <em>atomicio</em> callback mechanism and use it to add a bandwidth
269: limit option to
270: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sftp&sektion=1">sftp(1)</a>.
271: (bz#1147)</li>
1.3 deraadt 272: </ul>
273: <li>The following significant bugs have been fixed in this release:
274: <ul>
1.4 sobrado 275: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
276: and
277: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh-agent&sektion=1">ssh-agent(1)</a>:
278: honour <em>$TMPDIR</em> for client xauth and ssh-agent temporary
279: directories. (bz#1809)</li>
280: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>:
281: avoid <em>NULL</em> deref on receiving a channel request on an
282: unknown or invalid channel. (bz#1842)</li>
283: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
284: remove a <em>debug()</em> that pollutes stderr on client connecting
285: to a server in debug mode. (bz#1719)</li>
286: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=scp&sektion=1">scp(1)</a>:
287: pass through ssh command-line flags and options when doing
288: remote-remote transfers, e.g. to enable agent forwarding which is
289: particularly useful in this case. (bz#1837)</li>
290: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sftp-server&sektion=8">sftp-server(8)</a>:
291: <em>umask</em> should be parsed as octal.</li>
292: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sftp&sektion=1">sftp(1)</a>:
1.5 sobrado 293: escape '[' in filename tab-completion.</li>
1.4 sobrado 294: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>:
295: Typo in confirmation message. (bz#1827)</li>
296: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
297: prevent <em>free()</em> of string in <em>.rodata</em> when
298: overriding <em>AuthorizedKeys</em> in a <em>Match</em> block.</li>
299: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
1.5 sobrado 300: Use default shell <em>/bin/sh</em> if <em>$SHELL</em> is "".</li>
1.4 sobrado 301: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>:
302: kill proxy command on <em>fatal()</em> (we already killed it on
303: clean exit).</li>
304: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>:
1.5 sobrado 305: install a <em>SIGCHLD</em> handler to reap expired child process.
1.4 sobrado 306: (bz#1812)</li>
307: <li>Support building against openssl-1.0.0a</li>
308: <li>Fix vulnerability in legacy certificate signing introduced in
309: OpenSSH-5.6 and found by Mateusz Kocielski.</li>
1.3 deraadt 310: </ul>
311: </ul>
312: <p>
313:
314: <li>Mandoc 1.10.9:
315: <ul>
316: <li>New integrated <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tbl&sektion=7">tbl(7)</a> parser and renderer.
317: <li>Support the <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=roff&sektion=7">roff(7)</a> .de, .rm, and .so requests.
318: <li>Support all roff code used in the standard <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pod2man&sektion=1">pod2man(1)</a> preamble.
319: <li>Fully support roff quoting in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=man&sektion=7">man(7)</a> documents.
320: <li>Mandoc now copes with most formatting errors that used to be fatal.
321: <li>Much simplified and improved reporting of errors and warnings.
322: <li>Significantly improved -Thtml output quality.
323: <li>The ports tree now allows ports to use either mandoc or groff
324: to render manuals.
325: </ul>
326: <p>
327:
1.14 deraadt 328: <li>Over 6,800 ports, major robustness and speed improvements in package tools.
1.3 deraadt 329: <li>Many pre-built packages for each architecture:
330: <table border=0 cellspacing=0 cellpadding=2 width="95%">
331: <tr>
332: <td valign="top" width="25%">
333: <ul>
334: <li>i386: 6620
335: <li>sparc64: 6225
336: <li>alpha: 6000
337: </ul></td><td valign=top width="25%"><ul>
338: <li>sh: XXXX
339: <li>amd64: 6570
340: <li>powerpc: 6272
341: </ul></td><td valign=top width="25%"><ul>
342: <li>sparc: 4184
1.8 deraadt 343: <li>arm: 5673
344: <li>hppa: 5838
1.3 deraadt 345: </ul></td><td valign=top width="25%"><ul>
346: <li>vax: 1068
347: <li>mips64: 5492
348: <li>mips64el: 5499
349: </ul></td></tr></table>
350: Some highlights:
351: <ul>
352: <li>Gnome 2.32.1.
353: <li>KDE 3.5.10.
354: <li>Xfce 4.8.0.
355: <li>MySQL 5.1.54.
356: <li>PostgreSQL 9.0.3.
357: <li>Postfix 2.7.2.
358: <li>OpenLDAP 2.3.43 and 2.4.23.
359: <li>Mozilla Firefox 3.5.16 and 3.6.13.
360: <li>Mozilla Thunderbird 3.1.7.
361: <li>OpenOffice.org 3.3.0rc9.
362: <li>LibreOffice 3.3.0.4
363: <li>Emacs 21.4 and 22.3.
364: <li>Vim 7.3.3.
365: <li>PHP 5.2.16.
366: <li>Python 2.4.6, 2.5.4 and 2.6.6.
367: <li>Ruby 1.8.7.330 and 1.9.2.136.
368: <li>Mono 2.8.2.
369: </ul>
370: <p>
371:
372: <li>As usual, steady improvements in manual pages and other documentation.
373: <p>
374:
375: <li>The system includes the following major components from outside suppliers:
376: <ul>
1.13 matthieu 377: <li>Xenocara (based on X.Org 7.6 with xserver 1.9 + patches,
378: freetype 2.4.4,
379: fontconfig 2.8.0, Mesa 7.8.2, xterm 257 and more)
1.3 deraadt 380: <li>Gcc 2.95.3 (+ patches), 3.3.5 (+ patches) and 4.2.1 (+patches) XXXX
1.11 jj 381: <li>Perl 5.12.2 (+ patches) XXXX
1.3 deraadt 382: <li>Our improved and secured version of Apache 1.3, with SSL/TLS
383: and DSO support XXXX
1.11 jj 384: <li>OpenSSL 1.0.0a (+ patches) XXXX
1.3 deraadt 385: <li>Sendmail 8.14.3, with libmilter XXXX
386: <li>Bind 9.4.2-P2 (+ patches) XXXX
387: <li>Lynx 2.8.6rel.5 with HTTPS and IPv6 support (+ patches) XXXX
388: <li>Sudo 1.7.2 XXXX
389: <li>Ncurses 5.7 XXXX
390: <li>Heimdal 0.7.2 (+ patches) XXXX
391: <li>Arla 0.35.7 XXXX
392: <li>Binutils 2.15 (+ patches) XXXX
393: <li>Gdb 6.3 (+ patches) XXXX
394: </ul>
1.1 deraadt 395: <p>
396:
397: </ul>
398:
399: <a name="install"></a>
400: <hr>
401: <p>
402: <h3><font color="#0000e0">How to install</font></h3>
403: <p>
404: Following this are the instructions which you would have on a piece of
405: paper if you had purchased a CDROM set instead of doing an alternate
406: form of install. The instructions for doing an FTP (or other style
407: of) install are very similar; the CDROM instructions are left intact
408: so that you can see how much easier it would have been if you had
409: purchased a CDROM instead.
410: <p>
411:
412: <hr>
413: Please refer to the following files on the three CDROMs or FTP mirror for
414: extensive details on how to install OpenBSD 4.9 on your machine:
415: <p>
416: <ul>
417: <li>CD1:4.9/i386/INSTALL.i386
418: <p>
419: <li>CD2:4.9/amd64/INSTALL.amd64
420: <li>CD2:4.9/macppc/INSTALL.macppc
421: <p>
422: <li>CD3:4.9/sparc64/INSTALL.sparc64
423: <p>
424: <li>FTP:.../OpenBSD/4.9/alpha/INSTALL.alpha
425: <li>FTP:.../OpenBSD/4.9/armish/INSTALL.armish
426: <li>FTP:.../OpenBSD/4.9/hp300/INSTALL.hp300
427: <li>FTP:.../OpenBSD/4.9/hppa/INSTALL.hppa
428: <li>FTP:.../OpenBSD/4.9/landisk/INSTALL.landisk
429: <li>FTP:.../OpenBSD/4.9/loongson/INSTALL.loongson
430: <li>FTP:.../OpenBSD/4.9/mvme68k/INSTALL.mvme68k
431: <li>FTP:.../OpenBSD/4.9/mvme88k/INSTALL.mvme88k
432: <li>FTP:.../OpenBSD/4.9/sgi/INSTALL.sgi
433: <li>FTP:.../OpenBSD/4.9/socppc/INSTALL.socppc
434: <li>FTP:.../OpenBSD/4.9/sparc/INSTALL.sparc
435: <li>FTP:.../OpenBSD/4.9/vax/INSTALL.vax
436: <li>FTP:.../OpenBSD/4.9/zaurus/INSTALL.zaurus
437: </ul>
438: <hr>
439:
440: <p>
441: Quick installer information for people familiar with OpenBSD, and the
442: use of the "disklabel -E" command. If you are at all confused when
443: installing OpenBSD, read the relevant INSTALL.* file as listed above!
444: <p>
445:
446: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
447: <ul>
448: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
449: release is on CD1. If your BIOS does not support booting from CD, you will need
450: to create a boot floppy to install from. To create a boot floppy write
451: <i>CD1:4.9/i386/floppy49.fs</i> to a floppy and boot via the floppy drive.
452:
453: <p>
454: Use <i>CD1:4.9/i386/floppyB49.fs</i> instead for greater SCSI controller
455: support, or <i>CD1:4.9/i386/floppyC49.fs</i> for better laptop support.
456:
457: <p>
458: If you can't boot from a CD or a floppy disk,
459: you can install across the network using PXE as described in
460: the included INSTALL.i386 document.
461:
462: <p>
463: If you are planning on dual booting OpenBSD with another OS, you will need to
464: read INSTALL.i386.
465:
466: <p>
467: To make a boot floppy under MS-DOS, use the "rawrite" utility located
468: at <i>CD1:4.9/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
469: use the
470: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>
471: utility. The following is an example usage of
472: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>,
473: where the device could be "floppy", "rfd0c", or
474: "rfd0a".
475:
476: <ul><pre>
477: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
478: </pre></ul>
479:
480: <p>
481: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
482: your install will most likely fail. For more information on creating a boot
483: floppy and installing OpenBSD/i386 please refer to
484: <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
485: </ul>
486:
487: <p>
488: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
489: <ul>
490: The 4.9 release of OpenBSD/amd64 is located on CD2.
491: Boot from the CD to begin the install - you may need to adjust
492: your BIOS options first.
493: If you can't boot from the CD, you can create a boot floppy to install from.
494: To do this, write <i>CD2:4.9/amd64/floppy49.fs</i> to a floppy, then
495: boot from the floppy drive.
496:
497: <p>
498: If you can't boot from a CD or a floppy disk,
499: you can install across the network using PXE as described in the included
500: INSTALL.amd64 document.
501:
502: <p>
503: If you are planning to dual boot OpenBSD with another OS, you will need to
504: read INSTALL.amd64.
505: </ul>
506:
507: <p>
508: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
509: <ul>
510: Put CD2 in your CDROM drive and poweron your machine while holding down the
511: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
512:
513: <p>
514: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
515: /4.9/macppc/bsd.rd</i>
516: </ul>
517:
518: <p>
519: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
520: <ul>
521: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
522:
523: <p>
524: If this doesn't work, or if you don't have a CDROM drive, you can write
525: <i>CD3:4.9/sparc64/floppy49.fs</i> or <i>CD3:4.9/sparc64/floppyB49.fs</i>
526: (depending on your machine) to a floppy and boot it with <i>boot
527: floppy</i>. Refer to INSTALL.sparc64 for details.
528:
529: <p>
530: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
531: will most likely fail.
532:
533: <p>
534: You can also write <i>CD3:4.9/sparc64/miniroot49.fs</i> to the swap partition on
535: the disk and boot with <i>boot disk:b</i>.
536:
537: <p>
538: If nothing works, you can boot over the network as described in INSTALL.sparc64.
539: </ul>
540:
541: <p>
542: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
543: <ul>
544: <p>Write <i>FTP:4.9/alpha/floppy49.fs</i> or
545: <i>FTP:4.9/alpha/floppyB49.fs</i> (depending on your machine) to a diskette and
546: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
547:
548: <p>
549: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
550: will most likely fail.
551:
552: </ul>
553:
554: <p>
555: <h3><font color="#e00000">OpenBSD/armish:</font></h3>
556: <ul>
557: <p>
558: After connecting a serial port, Thecus can boot directly from the network
559: either tftp or http. Configure the network using fconfig, reset,
560: then load bsd.rd, see INSTALL.armish for specific details.
561: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
562: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
563: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
564: More details are available in INSTALL.armish.
565: </ul>
566:
567: <p>
568: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
569: <ul>
570: <p>
571: Boot over the network by following the instructions in INSTALL.hp300.
572: </ul>
573:
574: <p>
575: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
576: <ul>
577: <p>
578: Boot over the network by following the instructions in INSTALL.hppa or the
579: <a href="hppa.html#install">hppa platform page</a>.
580: </ul>
581:
582: <p>
583: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
584: <ul>
585: <p>
586: Write <i>miniroot49.fs</i> to the start of the CF
587: or disk, and boot normally.
588: </ul>
589:
590: <p>
591: <h3><font color="#e00000">OpenBSD/loongson:</font></h3>
592: <ul>
593: <p>
594: Write <i>miniroot49.fs</i> to a USB stick and boot bsd.rd from it
595: or boot bsd.rd via tftp.
596: Refer to the instructions in INSTALL.loongson for more details.
597: </ul>
598: <p>
599:
600: <p>
601: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
602: <ul>
603: <p>
604: You can create a bootable installation tape or boot over the network.<br>
605: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
606: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
607: for more details.
608: </ul>
609:
610: <p>
611: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
612: <ul>
613: <p>
614: You can create a bootable installation tape or boot over the network.<br>
615: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
616: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
617: for more details.
618: </ul>
619:
620: <p>
621: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
622: <ul>
623: <p>
624: To install on an O2, burn cd49.iso on a CD-R, put it in the CD drive of your
625: machine and select <i>Install System Software</i> from the System Maintenance
626: menu.
627:
628: <p>
629: On other systems, or if your machine doesn't have a CD drive, you can
630: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd.IP##" using
631: the kernel matching your system type.
632: Refer to the instructions in INSTALL.sgi for more details.
633: </ul>
634:
635: <p>
636: <h3><font color="#e00000">OpenBSD/socppc:</font></h3>
637: <ul>
638: <p>
639: After connecting a serial port, boot over the network via DHCP/tftp.
640: Refer to the instructions in INSTALL.socppc for more details.
641: </ul>
642:
643: <p>
644: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
645: <ul>
646: Boot from one of the provided install ISO images, using one of the two
647: commands listed below, depending on the version of your ROM.
648:
649: <ul><pre>
650: ok <strong>boot cdrom 4.9/sparc/bsd.rd</strong>
651: or
652: > <strong>b sd(0,6,0)4.9/sparc/bsd.rd</strong>
653: </pre></ul>
654:
655: <p>
656: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
657: To do so you need to write <i>floppy49.fs</i> to a floppy.
658: For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
659: To boot from the floppy use one of the two commands listed below,
660: depending on the version of your ROM.
661:
662: <ul><pre>
663: ok <strong>boot floppy</strong>
664: or
665: > <strong>b fd()</strong>
666: </pre></ul>
667:
668: <p>
669: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
670: will most likely fail.
671:
672: <p>
673: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
674: setup a bootable tape, or install via network, as told in the
675: INSTALL.sparc file.
676: </ul>
677:
678: <p>
679: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
680: <ul>
681: Boot over the network via mopbooting as described in INSTALL.vax.
682: </ul>
683:
684: <p>
685: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
686: <ul>
687: <p>
688: Using the Linux built-in graphical ipkg installer, install the
689: openbsd49_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
690: for a few important details.
691: </ul>
692:
693: <p>
694: <h3><font color="#e00000">Notes about the source code:</font></h3>
695: <ul>
696: src.tar.gz contains a source archive starting at /usr/src. This file
697: contains everything you need except for the kernel sources, which are
698: in a separate archive. To extract:
699: <p>
700: <ul><pre>
701: # <strong>mkdir -p /usr/src</strong>
702: # <strong>cd /usr/src</strong>
703: # <strong>tar xvfz /tmp/src.tar.gz</strong>
704: </pre></ul>
705: <p>
706: sys.tar.gz contains a source archive starting at /usr/src/sys.
707: This file contains all the kernel sources you need to rebuild kernels.
708: To extract:
709: <p>
710: <ul><pre>
711: # <strong>mkdir -p /usr/src/sys</strong>
712: # <strong>cd /usr/src</strong>
713: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
714: </pre></ul>
715: <p>
716: Both of these trees are a regular CVS checkout. Using these trees it
717: is possible to get a head-start on using the anoncvs servers as
718: described <a href="anoncvs.html">here</a>.
719: Using these files
720: results in a much faster initial CVS update than you could expect from
721: a fresh checkout of the full OpenBSD source tree.
722: <p>
723: </ul>
724:
725: <a name="upgrade"></a>
726: <hr>
727: <p>
728: <h3><font color="#0000e0">How to upgrade</font></h3>
729: <p>
1.2 deraadt 730: If you already have an OpenBSD 4.8 system, and do not want to reinstall,
1.1 deraadt 731: upgrade instructions and advice can be found in the
732: <a href="faq/upgrade49.html">Upgrade Guide</a>.
733:
734: <a name="ports"></a>
735: <hr>
736: <p>
737: <h3><font color="#0000e0">Ports Tree</font></h3>
738: <p>
739: A ports tree archive is also provided. To extract:
740: <p>
741: <ul><pre>
742: # <strong>cd /usr</strong>
743: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
744: # <strong>cd ports</strong>
745: </pre></ul>
746: <p>
747: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
748: read the <a href="faq/ports/index.html">ports</a> page
749: if you know nothing about ports
750: at this point. This text is not a manual of how to use ports.
751: Rather, it is a set of notes meant to kickstart the user on the
752: OpenBSD ports system.
753: <p>
754: The <i>ports/</i> directory represents a CVS (see the manpage for
755: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386">
756: cvs(1)</a> if
757: you aren't familiar with CVS) checkout of our ports. As with our complete
758: source tree, our ports tree is available via anoncvs. So, in
759: order to keep current with it, you must make the <i>ports/</i> tree
760: available on a read-write medium and update the tree with a command
761: like:
762: <p>
763: <ul><pre>
764: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_4_9</strong>
765: </pre></ul>
766: <p>
767: [Of course, you must replace the local directory and server name here
768: with the location of your ports collection and a nearby anoncvs
769: server.]
770: <p>
771: Note that most ports are available as packages through FTP. Updated
772: packages for the 4.9 release will be made available if problems arise.
773: <p>
774: If you're interested in seeing a port added, would like to help out, or just
775: would like to know more, the mailing list ports@openbsd.org is a good
776: place to know.
777: <p>
778:
779: <hr>
780: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
781: alt="OpenBSD"></a>
782: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
783: <br><small>
1.17 ! krw 784: $OpenBSD: 49.html,v 1.16 2011/04/24 21:52:31 krw Exp $
1.1 deraadt 785: </small>
786:
787: </body>
788: </html>