Annotation of www/52.html, Revision 1.12
1.1 deraadt 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <title>OpenBSD 5.2 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 5.2">
9: <meta name="keywords" content="openbsd,main">
10: <meta name="distribution" content="global">
11: <meta name="copyright" content="This document copyright 2012 by OpenBSD.">
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/Brazil.jpg">
22: <img align="left" width="227" height="343" hspace="24" vspace="30"
23: src="images/Brazil.jpg" alt="OpenBSD 5.2 logo"></a>
24: <h2><font color="#0000e0">The OpenBSD 5.2 Release:</font></h2>
25: <p>
1.2 deraadt 26: To be released Nov 1, 2012<br>
1.1 deraadt 27: Copyright 1997-2012, Theo de Raadt.<br>
28: <font color="#e00000">ISBN 978-0-9881561-0-4</font>
29: <br>
30: <a href="lyrics.html#52">5.2 Song: song not released yet</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>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/5.2/</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="errata52.html">The 5.2 Errata page</a> for a list
50: of bugs and workarounds.
51: <li>See a <a href="plus52.html">detailed log of changes</a> between the
52: 5.1 and 5.2 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 5.2.
70: For a comprehensive list, see the <a href="plus52.html">changelog</a> leading
71: to 5.2.
72: <p>
73:
74: <ul>
75: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pthreads&sektion=3">pthreads(3)</a> support
76: <ul>
77: <li>The most significant change in this release is the replacement of
78: the user-level uthreads by kernel-level rthreads.
79: <li>Use PTHREAD_MUTEX_STRICT_NP as default mutex type.
1.6 guenther 80: <li>Added pthread spinlock and barrier routines.
81: <li>Added <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pthread_mutex_lock&sektion=3">pthread_mutex_timedlock(3)</a> and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sem_wait&sektion=3">sem_timedwait(3)</a>.
82: <li>Added <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pthread_condattr_init&sektion=3">pthread_condattr_setclock(3)</a>.
1.1 deraadt 83: <li>Added support for live multi-threaded debugging in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gdb&sektion=1">gdb(1)</a>.
1.6 guenther 84: <li>Improved handling for <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=getrusage&sektion=2">rusage</a> totals and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=getitimer&sektion=2">interval times</a> in threaded processes.
85: <li>Changed the RLIMIT_CPU <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=getrlimit&sektion=2">rlimit</a> to count processes instead of threads.
86: <li>Added a new system limit <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sysctl&sektion=8">kern.maxthread</a> for the max number of threads.
87: <li>Closed race conditions in thread creation, and in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fork&sektion=2">fork(2)</a> and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=open&sektion=2">open(2)</a> in a threaded process.
88: <li>Improved handling of threaded processes in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ps&sektion=1">ps</a> and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fstat&sektion=1">fstat</a>
1.1 deraadt 89: </ul>
90: <p>
91:
92: <li>Improved hardware support, including:
93: <ul>
1.10 sthen 94: <li>Added hibernation support on i386. Currently only working on <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pciide&sektion=4">pciide(4)</a> and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=wd&sektion=4">wd(4)</a> disks..
95: <li>Improved support for ALPS based touchpads in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=wsmouse&sektion=4">wsmouse(4)</a> and the <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=synaptics&sektion=4">synaptics(4)</a> X.Org input driver</a>.
96: <li>Performance improvements with <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ix&sektion=4">ix(4)</a> Intel 10Gb ethernet NICs.
97: <li>Support for i350 based devices in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=em&sektion=4">em(4)</a>.
98: <li>Flow control support for <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bnx&sektion=4">bnx(4)</a>.
99: <li>Hardware watchdog and HPET support for <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tcpcib&sektion=4">tcpcib(4)</a> (Intel Atom E600) as found in some embedded x86 systems.
100: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=urndis&sektion=4">urndis(4)</a> supports additional Android devices.
1.1 deraadt 101: <li>...
102: </ul>
103: <p>
104:
105: <li>Generic network stack improvements:
106: <ul>
1.10 sthen 107: <li>Cleanup handling of sockaddrs in degenerate use cases.
1.6 guenther 108: <li>Improved handling of error and limit cases in file-descriptor passing.
109: <li>Improved error handling in socket splicing.
1.12 ! sperreau 110: <li>IPv6 privacy addresses now appear alongside SLAAC addresses.
1.1 deraadt 111: <li>...
112: </ul>
113: <p>
114:
115: <li>Routing daemons and other userland network improvements:
116: <ul>
1.5 camield 117: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=aucat&sektion=1">aucat(1)</a>,
118: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bgpd&sektion=8">bgpd(8)</a>,
119: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dvmrpd&sektion=8">dvmrpd(8)</a>,
120: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ftp-proxy&sektion=8">ftp-proxy(8)</a>,
121: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=iked&sektion=8">iked(8)</a>,
122: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=iscsid&sektion=8">iscsid(8)</a>,
1.1 deraadt 123: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ldapd&sektion=8">ldapd(8)</a>,
1.5 camield 124: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ldpd&sektion=8">ldpd(8)</a>,
125: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nsd&sektion=8">nsd(8)</a>,
126: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ospf6d&sektion=8">ospf6d(8)</a>,
127: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ospfd&sektion=8">ospfd(8)</a>,
128: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=relayd&sektion=8">relayd(8)</a>,
129: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ripd&sektion=8">ripd(8)</a>,
130: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=snmpd&sektion=8">snmpd(8)</a>,
131: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=spamd&sektion=8">spamd(8)</a>,
132: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>,
133: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tcpbench&sektion=1">tcpbench(1)</a> and
134: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tmux&sektion=1">tmux(1)</a>
1.1 deraadt 135: now rate limit their accepting of new connections when experiencing file descriptor exhaustion.
136: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tcpdump&sektion=8">tcpdump(8)</a>
137: now recognizes additional Internet Key Exchange DH groups.
138: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ipsecctl&sektion=8">ipsecctl(8)</a>
139: now allows SA lifetimes to be specified in its
140: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ipsec.conf&sektion=5">ipsec.conf(5)</a>
141: file.
142: <li>Rewrote <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tftpd&sektion=8">tftpd(8)</a> as a persistent, non-blocking daemon.
1.9 sthen 143: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=snmpd&sektion=8">snmpd(8)</a> now supports PF-MIB, UCD-DISKIO-MIB, and
144: additional OIDs in HOST-RESOURCES-MIB.
145: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bgpd&sektion=8">bgpd(8)</a> is now more robust to network instability.
146: <li>ASCII packet dumping support in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tcpdump&sektion=8">tcpdump(8)</a>.
147: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tftp&sektion=1">tftp(1)</a> client now supports IPv6.
1.1 deraadt 148: <li>...
149: </ul>
150: <p>
151:
152: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4">pf(4)</a> improvements:
153: <ul>
1.9 sthen 154: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4">pf(4)</a> now ignores/preserves the lower 2 bits of the tos-header (used for Explicit Congestion Notification).
1.1 deraadt 155: <li>
156: </ul>
157: <p>
158:
159: <li>Assorted improvements:
160: <ul>
161: <li>Added <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nginx&sektion=8">nginx(8)</a>,
162: an HTTP server, reverse proxy server and mail proxy server.
1.8 espie 163: <li>Added SQLite 3.7.13, a self-contained SQL database engine.
1.1 deraadt 164: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pcap&sektion=3">libpcap</a>
165: has been updated with several core functions from tcpdump.org's libpcap-1.2.0 API, without
166: the clutter.
167: <li>Disabled SSLv2 in OpenSSL.
1.8 espie 168: <li>Moved <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=libtool&sektion=1">libtool(1)</a> into the base system. Much work remains to be done.
1.1 deraadt 169: <li>Removed lint(1).
170: <li>Removed raid(4) RAIDframe driver and the corresponding raidctl(8) utility.
171: <li>Added posix_spawn(3).
172: <li>Added mbsnrtowcs(3), and wcsnrtombs(3).
1.6 guenther 173: <li>Added getdelim(3) and getline(3).
1.1 deraadt 174: <li>More configuration variables for sysconf(3) and pathconf(3).
175: <li>dirfd(3) is a now function instead of a macro.
176: <li>posix_memalign(3) supports arbitrarily large alignments.
177: <li>Improved realloc(3) performance.
178: <li>ld.so(1) recognizes the DF_1_NOOPEN flag and refuses to dlopen(3)
179: shared objects linked with "-z nodlopen".
1.6 guenther 180: <li>Improved compliance and/or cleanliness of header files, particularly
1.7 guenther 181: <dirent.h>, <time.h>, <sys/time.h>, <limits.h>,
1.6 guenther 182: <arpa/inet.h>, <netinet/in.h>, and <sys/param.h>.
183: <li>Improved kernel uvm memory allocator.
1.7 guenther 184: <li>Added support for using AMT to provide console-over-ethernet. (c.f. the amtterm port).
1.6 guenther 185: <li>Improved support for amd64 boxes with many memory extents.
186: <li>compat_linux improvements: TLS-vs-clone and futex fixes, added support
187: for statfs64(), tgkill(), gettid(), SOCK_CLOEXEC, and SOCK_NONBLOCK.
1.7 guenther 188: <li>Improved handling of bare FAT media.
189: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=kdump&sektion=1">kdump</a> improvements, including the ability to show thread IDs and dumping of timespec, timeval, sigaction, rlimit, sigset, clockid, and fdset arguments and results.
1.1 deraadt 190: <li>...
191: </ul>
192: <p>
193:
194: <li>OpenSSH 6.1:
195: <ul>
196: <li>New features:
197: <ul>
198: <li>...
199: </ul>
200: <li>The following significant bugs have been fixed in this release:
201: <ul>
202: <li>...
203: </ul>
204: </ul>
205: <p>
206:
1.8 espie 207: <li>Over 7600 ports, major performance and stability improvements in
1.1 deraadt 208: the package build process
209: <ul>
1.8 espie 210: <li>dpb got simpler and faster. Handles distfiles, works without any
211: option.
212: <li>simpler and less error-prone mechanisms for handling MD differences.
213: <li>dpb is now used for mirroring distfiles, to the great joy of
214: <a href="ftp://ftp.openbsd.org/pub/OpenBSD/distfiles/">ftp://ftp.openbsd.org/pub/OpenBSD/distfiles/</a>
1.1 deraadt 215: </ul>
216: <p>
217: <li>Many pre-built packages for each architecture:
218: <table border=0 cellspacing=0 cellpadding=2 width="95%">
219: <tr>
220: <td valign="top" width="25%">
221: <ul>
222: <li>i386: 7483
223: <li>sparc64: 6820
224: <li>alpha: 5993
225: </ul></td><td valign=top width="25%"><ul>
226: <li>sh: XXXX
227: <li>amd64: 7439
228: <li>powerpc: 7050
229: </ul></td><td valign=top width="25%"><ul>
230: <li>sparc: 4466
231: <li>arm: XXXX
232: <li>hppa: 6316
233: </ul></td><td valign=top width="25%"><ul>
234: <li>vax: XXXX
235: <li>mips64: 5845
236: <li>mips64el: 5908
237: </ul></td></tr></table>
238: <p>
239:
240: <li>Some highlights:
241: <ul>
1.11 sthen 242: <li>GNOME 3.4.2 <li>KDE 3.5.10
1.1 deraadt 243: <li>Xfce 4.10 <li>MySQL 5.1.63
244: <li>PostgreSQL 9.1.4 <li>Postfix 2.9.3
245: <li>OpenLDAP 2.3.43 and 2.4.31 <li>Mozilla Firefox 3.5.19, 3.6.28 and 13.0.1
246: <li>Mozilla Thunderbird 13.0.1 <li>GHC 7.0.4
247: <li>LibreOffice 3.5.5.3 <li>Emacs 21.4, 22.3 and 23.4
248: <li>Vim 7.3.154 <li>PHP 5.2.17 and 5.3.14
249: <li>Python 2.5.4, 2.7.3 and 3.2.3 <li>Ruby 1.8.7.370 and 1.9.3.194
250: <li>Tcl/Tk 8.5.11 <li>Jdk 1.7
251: <li>Mono 2.10.9 <li>Chromium 20.0.1132.57
252: <li>Groff 1.21 <li>Go 1.0.2
253: <li>GCC 4.6.3 and 4.7.1 <li>LLVM/Clang 3.1
254: </ul>
255: <p>
256:
257: <li>As usual, steady improvements in manual pages and other documentation.
258: <p>
259:
260: <li>The system includes the following major components from outside suppliers:
261: <ul>
1.3 matthieu 262: <li>Xenocara (based on X.Org 7.7 with xserver 1.12.2 + patches,
263: freetype 2.4.10, fontconfig 2.8.0, Mesa 7.10.3, xterm 279,
264: xkeyboard-config 2.6 and more)
1.1 deraadt 265: <li>Gcc 4.2.1 (+patches), 3.3.5 (+ patches) and 2.95.3 (+ patches)
266: <li>Perl 5.12.2 (+ patches)
267: <li>Our improved and secured version of Apache 1.3, with
268: SSL/TLS and DSO support
269: <li>Nginx 1.2.2 (+ patches)
270: <li>OpenSSL 1.0.0f (+ patches)
271: <li>SQLite 3.7.13 (+ patches)
272: <li>Sendmail 8.14.5, with libmilter
273: <li>Bind 9.4.2-P2 (+ patches)
274: <li>NSD 3.2.11
275: <li>Lynx 2.8.7rel.2 with HTTPS and IPv6 support (+ patches)
276: <li>Sudo 1.7.2p8
277: <li>Ncurses 5.7
278: <li>Heimdal 0.7.2 (+ patches)
279: <li>Arla 0.35.7
280: <li>Binutils 2.15 (+ patches)
281: <li>Gdb 6.3 (+ patches)
282: <li>Less 444 (+ patches)
283: <li>Awk Aug 10, 2011 version
284: </ul>
285:
286: </ul>
287:
288: <a name="install"></a>
289: <hr>
290: <p>
291: <h3><font color="#0000e0">How to install</font></h3>
292: <p>
293: Following this are the instructions which you would have on a piece of
294: paper if you had purchased a CDROM set instead of doing an alternate
295: form of install. The instructions for doing an FTP (or other style
296: of) install are very similar; the CDROM instructions are left intact
297: so that you can see how much easier it would have been if you had
298: purchased a CDROM instead.
299: <p>
300:
301: <hr>
302: Please refer to the following files on the three CDROMs or FTP mirror for
303: extensive details on how to install OpenBSD 5.2 on your machine:
304: <p>
305: <ul>
306: <li>CD1:5.2/i386/INSTALL.i386
307: <p>
308: <li>CD2:5.2/amd64/INSTALL.amd64
309: <p>
310: <li>CD3:5.2/sparc64/INSTALL.sparc64
311: <p>
312: <li>FTP:.../OpenBSD/5.2/alpha/INSTALL.alpha
313: <li>FTP:.../OpenBSD/5.2/armish/INSTALL.armish
314: <li>FTP:.../OpenBSD/5.2/hp300/INSTALL.hp300
315: <li>FTP:.../OpenBSD/5.2/hppa/INSTALL.hppa
316: <li>FTP:.../OpenBSD/5.2/landisk/INSTALL.landisk
317: <li>FTP:.../OpenBSD/5.2/loongson/INSTALL.loongson
318: <li>FTP:.../OpenBSD/5.2/luna88k/INSTALL.luna88k
319: <li>FTP:.../OpenBSD/5.2/macppc/INSTALL.macppc
320: <li>FTP:.../OpenBSD/5.2/mvme68k/INSTALL.mvme68k
321: <li>FTP:.../OpenBSD/5.2/mvme88k/INSTALL.mvme88k
322: <li>FTP:.../OpenBSD/5.2/sgi/INSTALL.sgi
323: <li>FTP:.../OpenBSD/5.2/socppc/INSTALL.socppc
324: <li>FTP:.../OpenBSD/5.2/sparc/INSTALL.sparc
325: <li>FTP:.../OpenBSD/5.2/vax/INSTALL.vax
326: <li>FTP:.../OpenBSD/5.2/zaurus/INSTALL.zaurus
327: </ul>
328: <hr>
329:
330: <p>
331: Quick installer information for people familiar with OpenBSD, and the
332: use of the "disklabel -E" command. If you are at all confused when
333: installing OpenBSD, read the relevant INSTALL.* file as listed above!
334: <p>
335:
336: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
337: <ul>
338: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
339: release is on CD1. If your BIOS does not support booting from CD, you will need
340: to create a boot floppy to install from. To create a boot floppy write
341: <i>CD1:5.2/i386/floppy52.fs</i> to a floppy and boot via the floppy drive.
342:
343: <p>
344: Use <i>CD1:5.2/i386/floppyB52.fs</i> instead for greater SCSI controller
345: support, or <i>CD1:5.2/i386/floppyC52.fs</i> for better laptop support.
346:
347: <p>
348: If you can't boot from a CD or a floppy disk,
349: you can install across the network using PXE as described in
350: the included INSTALL.i386 document.
351:
352: <p>
353: If you are planning on dual booting OpenBSD with another OS, you will need to
354: read INSTALL.i386.
355:
356: <p>
357: To make a boot floppy under MS-DOS, use the "rawrite" utility located
358: at <i>CD1:5.2/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
359: use the
360: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>
361: utility. The following is an example usage of
362: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>,
363: where the device could be "floppy", "rfd0c", or
364: "rfd0a".
365:
366: <ul><pre>
367: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
368: </pre></ul>
369:
370: <p>
371: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
372: your install will most likely fail. For more information on creating a boot
373: floppy and installing OpenBSD/i386 please refer to
374: <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
375: </ul>
376:
377: <p>
378: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
379: <ul>
380: The 5.2 release of OpenBSD/amd64 is located on CD2.
381: Boot from the CD to begin the install - you may need to adjust
382: your BIOS options first.
383: If you can't boot from the CD, you can create a boot floppy to install from.
384: To do this, write <i>CD2:5.2/amd64/floppy52.fs</i> to a floppy, then
385: boot from the floppy drive.
386:
387: <p>
388: If you can't boot from a CD or a floppy disk,
389: you can install across the network using PXE as described in the included
390: INSTALL.amd64 document.
391:
392: <p>
393: If you are planning to dual boot OpenBSD with another OS, you will need to
394: read INSTALL.amd64.
395: </ul>
396:
397: <p>
398: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
399: <ul>
400: Burn the image from the FTP site to a CDROM, and poweron your machine
401: while holding down the <i>C</i> key until the display turns on and
402: shows <i>OpenBSD/macppc boot</i>.
403:
404: <p>
405: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
406: /5.2/macppc/bsd.rd</i>
407: </ul>
408:
409: <p>
410: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
411: <ul>
412: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
413:
414: <p>
415: If this doesn't work, or if you don't have a CDROM drive, you can write
416: <i>CD3:5.2/sparc64/floppy52.fs</i> or <i>CD3:5.2/sparc64/floppyB52.fs</i>
417: (depending on your machine) to a floppy and boot it with <i>boot
418: floppy</i>. Refer to INSTALL.sparc64 for details.
419:
420: <p>
421: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
422: will most likely fail.
423:
424: <p>
425: You can also write <i>CD3:5.2/sparc64/miniroot52.fs</i> to the swap partition on
426: the disk and boot with <i>boot disk:b</i>.
427:
428: <p>
429: If nothing works, you can boot over the network as described in INSTALL.sparc64.
430: </ul>
431:
432: <p>
433: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
434: <ul>
435: <p>Write <i>FTP:5.2/alpha/floppy52.fs</i> or
436: <i>FTP:5.2/alpha/floppyB52.fs</i> (depending on your machine) to a diskette and
437: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
438:
439: <p>
440: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
441: will most likely fail.
442:
443: </ul>
444:
445: <p>
446: <h3><font color="#e00000">OpenBSD/armish:</font></h3>
447: <ul>
448: <p>
449: After connecting a serial port, Thecus can boot directly from the network
450: either tftp or http. Configure the network using fconfig, reset,
451: then load bsd.rd, see INSTALL.armish for specific details.
452: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
453: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
454: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
455: More details are available in INSTALL.armish.
456: </ul>
457:
458: <p>
459: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
460: <ul>
461: <p>
462: Boot over the network by following the instructions in INSTALL.hp300.
463: </ul>
464:
465: <p>
466: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
467: <ul>
468: <p>
469: Boot over the network by following the instructions in INSTALL.hppa or the
470: <a href="hppa.html#install">hppa platform page</a>.
471: </ul>
472:
473: <p>
474: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
475: <ul>
476: <p>
477: Write <i>miniroot52.fs</i> to the start of the CF
478: or disk, and boot normally.
479: </ul>
480:
481: <p>
482: <h3><font color="#e00000">OpenBSD/loongson:</font></h3>
483: <ul>
484: <p>
485: Write <i>miniroot52.fs</i> to a USB stick and boot bsd.rd from it
486: or boot bsd.rd via tftp.
487: Refer to the instructions in INSTALL.loongson for more details.
488: </ul>
489: <p>
490:
491: <p>
492: <h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
493: <ul>
494: <p>
495: Copy bsd.rd to a Mach or UniOS partition, and boot it from the PROM.
496: Alternatively, you can create a bootable tape and boot from it. Refer to
497: the instructions in INSTALL.luna88k for more details.
498: </ul>
499:
500: <p>
501: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
502: <ul>
503: <p>
504: You can create a bootable installation tape or boot over the network.<br>
505: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
506: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
507: for more details.
508: </ul>
509:
510: <p>
511: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
512: <ul>
513: <p>
514: You can create a bootable installation tape or boot over the network.<br>
515: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
516: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
517: for more details.
518: </ul>
519:
520: <p>
521: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
522: <ul>
523: <p>
524: To install on an O2, burn cd52.iso on a CD-R, put it in the CD drive of your
525: machine and select <i>Install System Software</i> from the System Maintenance
526: menu.
527:
528: <p>
529: On other systems, or if your machine doesn't have a CD drive, you can
530: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd.IP##" using
531: the kernel matching your system type.
532: Refer to the instructions in INSTALL.sgi for more details.
533: </ul>
534:
535: <p>
536: <h3><font color="#e00000">OpenBSD/socppc:</font></h3>
537: <ul>
538: <p>
539: After connecting a serial port, boot over the network via DHCP/tftp.
540: Refer to the instructions in INSTALL.socppc for more details.
541: </ul>
542:
543: <p>
544: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
545: <ul>
546: Boot from one of the provided install ISO images, using one of the two
547: commands listed below, depending on the version of your ROM.
548:
549: <ul><pre>
550: ok <strong>boot cdrom 5.2/sparc/bsd.rd</strong>
551: or
552: > <strong>b sd(0,6,0)5.2/sparc/bsd.rd</strong>
553: </pre></ul>
554:
555: <p>
556: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
557: To do so you need to write <i>floppy52.fs</i> to a floppy.
558: For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
559: To boot from the floppy use one of the two commands listed below,
560: depending on the version of your ROM.
561:
562: <ul><pre>
563: ok <strong>boot floppy</strong>
564: or
565: > <strong>b fd()</strong>
566: </pre></ul>
567:
568: <p>
569: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
570: will most likely fail.
571:
572: <p>
573: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
574: setup a bootable tape, or install via network, as told in the
575: INSTALL.sparc file.
576: </ul>
577:
578: <p>
579: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
580: <ul>
581: Boot over the network via mopbooting as described in INSTALL.vax.
582: </ul>
583:
584: <p>
585: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
586: <ul>
587: <p>
588: Using the Linux built-in graphical ipkg installer, install the
589: openbsd52_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
590: for a few important details.
591: </ul>
592:
593: <p>
594: <h3><font color="#e00000">Notes about the source code:</font></h3>
595: <ul>
596: src.tar.gz contains a source archive starting at /usr/src. This file
597: contains everything you need except for the kernel sources, which are
598: in a separate archive. To extract:
599: <p>
600: <ul><pre>
601: # <strong>mkdir -p /usr/src</strong>
602: # <strong>cd /usr/src</strong>
603: # <strong>tar xvfz /tmp/src.tar.gz</strong>
604: </pre></ul>
605: <p>
606: sys.tar.gz contains a source archive starting at /usr/src/sys.
607: This file contains all the kernel sources you need to rebuild kernels.
608: To extract:
609: <p>
610: <ul><pre>
611: # <strong>mkdir -p /usr/src/sys</strong>
612: # <strong>cd /usr/src</strong>
613: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
614: </pre></ul>
615: <p>
616: Both of these trees are a regular CVS checkout. Using these trees it
617: is possible to get a head-start on using the anoncvs servers as
618: described <a href="anoncvs.html">here</a>.
619: Using these files
620: results in a much faster initial CVS update than you could expect from
621: a fresh checkout of the full OpenBSD source tree.
622: <p>
623: </ul>
624:
625: <a name="upgrade"></a>
626: <hr>
627: <p>
628: <h3><font color="#0000e0">How to upgrade</font></h3>
629: <p>
630: If you already have an OpenBSD 5.1 system, and do not want to reinstall,
631: upgrade instructions and advice can be found in the
632: <a href="faq/upgrade52.html">Upgrade Guide</a>.
633:
634: <a name="ports"></a>
635: <hr>
636: <p>
637: <h3><font color="#0000e0">Ports Tree</font></h3>
638: <p>
639: A ports tree archive is also provided. To extract:
640: <p>
641: <ul><pre>
642: # <strong>cd /usr</strong>
643: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
644: # <strong>cd ports</strong>
645: </pre></ul>
646: <p>
647: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
648: read the <a href="faq/ports/index.html">ports</a> page
649: if you know nothing about ports
650: at this point. This text is not a manual of how to use ports.
651: Rather, it is a set of notes meant to kickstart the user on the
652: OpenBSD ports system.
653: <p>
654: The <i>ports/</i> directory represents a CVS (see the manpage for
655: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386">
656: cvs(1)</a> if
657: you aren't familiar with CVS) checkout of our ports. As with our complete
658: source tree, our ports tree is available via anoncvs. So, in
659: order to keep current with it, you must make the <i>ports/</i> tree
660: available on a read-write medium and update the tree with a command
661: like:
662: <p>
663: <ul><pre>
664: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_5_2</strong>
665: </pre></ul>
666: <p>
667: [Of course, you must replace the local directory and server name here
668: with the location of your ports collection and a nearby anoncvs
669: server.]
670: <p>
671: Note that most ports are available as packages through FTP. Updated
672: packages for the 5.2 release will be made available if problems arise.
673: <p>
674: If you're interested in seeing a port added, would like to help out, or just
675: would like to know more, the mailing list
676: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
677: <p>
678:
679: <hr>
680: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
681: alt="OpenBSD"></a>
682: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
683: <br><small>
1.12 ! sperreau 684: $OpenBSD: 52.html,v 1.11 2012/09/05 14:32:50 sthen Exp $
1.1 deraadt 685: </small>
686:
687: </body>
688: </html>