Annotation of www/42.html, Revision 1.10
1.1 jasper 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <title>OpenBSD 4.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 4.2">
9: <meta name="keywords" content="openbsd,main">
10: <meta name="distribution" content="global">
11: <meta name="copyright" content="This document copyright 2007 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: <!-- XXX .jpg
22: <a href="images/niftyartworkcomingsoon.jpg">
23: <img align="left" width="227" height="343" hspace="24" vspace="30"
24: src="images/niftyartworkcomingsoon.jpg" alt="OpenBSD 4.2 logo"></a>
25: -->
26: <h2><font color="#0000e0">The OpenBSD 4.2 Release:</font></h2>
27: <p>
28: To be released Nov 1, 2007<br>
29: <!-- XXX s/To be released/Released -->
30: Copyright 1997-2007, Theo de Raadt.<br>
31: <!-- XXX ISBN
32: <font color="#e00000">ISBN XXX</font>
33: -->
34: <!-- XXX song
35: <br>
36: <a href="lyrics.html#42">4.2 Song: "XXX"</a>
37: -->
38: <p>
39:
40: <a href="#new">What's New</a><br>
41: <a href="#install">How to install</a><br>
42: <a href="#upgrade">How to upgrade</a><br>
43: <a href="#ports">How to use the ports tree</a><br>
44: <a href="orders.html">Ordering a CD set</a><br>
45:
46: <p>
47: <h3><font color="#0000e0">
48: To get the files for this release:
49: <ul>
50: <li>Order a CDROM from our <a href="orders.html">ordering system</a>.
51: <li>See the information on <a href="ftp.html">The FTP page</a> for
52: a list of mirror machines.
53: <li>Go to the <font color="#e00000">pub/OpenBSD/4.2/</font> directory on
54: one of the mirror sites.
55: <li>Briefly read the rest of this document.
56: <li>Have a look at <a href="errata.html">The 4.2 Errata page</a> for a list
57: of bugs and workarounds.
58: <!-- XXX errata42.html -->
59: <li>See a <a href="plus.html">detailed log of changes</a> between the
60: 4.1 and 4.2 releases.
61: <!-- XXX plus42.html -->
62: </ul>
63: </font></h3>
64: <br clear=all>
65:
66: <strong>Note:</strong> All applicable copyrights and credits can be found
67: in the applicable file sources found in the files src.tar.gz, sys.tar.gz,
68: XF4.tar.gz, or in the files fetched via ports.tar.gz. The distribution
69: files used to build packages from the ports.tar.gz file are not included on
70: the CDROM because of lack of space.
71: <p>
72:
73: <a name="new"></a>
74: <hr>
75: <p>
76: <h3><font color="#0000e0">What's New</font></h3>
77: <p>
78: This is a partial list of new features and systems included in OpenBSD 4.2.
79: For a comprehensive list, see the <a href="plus.html">changelog</a> leading
80: to 4.2.
81: <!-- XXX plus42.html -->
82: <p>
83:
84: <ul>
85:
86: <!-- XXX fill in
87: <li>New/extended platforms:
88: <ul>
89: <li>...
90: </ul>
91: <p>
92: -->
93:
94: <!-- XXX fill in
95: <li>Removed platforms:
96: <ul>
97: <li>...
98: </ul>
99: <p>
100: -->
101:
102: <li>Improved hardware support, including:
103: <ul>
1.8 matthieu 104: <li> New <a
105: href="http://www.openbsd.org/cgi-bin/man.cgi?query=ahci&sektion=4">ahci(4)</a>
106: driver for Serial ATA controllers conforming to the Advanced Host
107: Controller Interface specification.
108: <li> New <a
109: href="http://www.openbsd.org/cgi-bin/man.cgi?query=uts&sektion=4">uts(4)</a>
110: driver for USB touch screens, and the <a
111: href="http://www.openbsd.org/cgi-bin/man.cgi?query=xtsscale&sektion=1">xtsscale(1)</a>
112: calibration utility.
1.1 jasper 113: </ul>
114: <p>
1.8 matthieu 115:
1.1 jasper 116:
117: <li>New tools:
118: <ul>
1.10 ! matthieu 119: <li> <a
! 120: href="http://www.openbsd.org/cgi-bin/man.cgi?query=cwm&sektion=1">cwm(1)</a>
! 121: has replaced wm2 as a simple-looking low-resource window manager.
1.1 jasper 122: </ul>
123: <p>
1.10 ! matthieu 124:
1.1 jasper 125:
126: <!-- XXX fill in
127: <li>New functionality:
128: <ul>
129: <li>...
130: </ul>
131: <p>
132: -->
133:
134: <!-- XXX fill in
135: <li>Assorted improvements and code cleanup:
136: <ul>
137: <li>...
138: </ul>
139: <p>
140: -->
141:
142: <!-- XXX fill in
143: <li>Install/Upgrade process changes:
144: <ul>
145: <li>...
146: </ul>
147: <p>
148: -->
149:
150: <!-- XXX fill in
151: <li>OpenBGPD 4.2:
152: <ul>
153: <li>...
154: </ul>
155: <p>
156: -->
157:
158: <!-- XXX fill in
159: <li>OpenNTPD 4.2:
160: <ul>
161: <li>...
162: </ul>
163: <p>
164: -->
165:
166: <!-- XXX fill in
167: <li>OpenOSPFD 4.2:
168: <ul>
169: <li>...
170: </ul>
171: <p>
172: -->
173:
174: <!-- XXX fill in
175: <li>OpenSSH 4.7:
176: <ul>
177: <li>...
178: </ul>
179: <p>
180: -->
181:
182: <li>Over 4500 ports, 4300 pre-built packages (for i386), minor robustness improvements in package tools.
183: <!-- XXX update numbers -->
184: Some highlights:
185: <ul>
1.4 jasper 186: <li>Gnome 2.18.
187: <li>KDE 3.5.7 and koffice 1.6.3.
1.7 steven 188: <li>Xfce 4.4.1.
1.9 steven 189: <li>OpenOffice.org 2.2.1.
190: <li>Mozilla Firefox 2.0.0.6.
1.4 jasper 191: <li>PostgreSQL 8.2.4.
1.5 jasper 192: <li>GHC 6.6.1 (amd64 and i386 only)
1.1 jasper 193: </ul>
194: <p>
195:
196: <li>As usual, steady improvements in manual pages and other documentation.
197: <p>
198:
199: <li>The system includes the following major components from outside suppliers:
200: <ul>
201: <li>Xenocara (based on X.Org 7.2.0 + patches, freetype 2.2.1, fontconfig
202: 2.4.2, expat 2.0.0, Mesa 6.5.2, xterm 225 and more)
203: <li>Gcc 2.95.3
204: (+ <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gcc-local&sektion=1">patches</a>)
205: and 3.3.5
206: (+ <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gcc-local&sektion=1">patches</a>)
207: <li>Perl 5.8.8 (+ patches)
208: <li>Our improved and secured version of Apache 1.3, with SSL/TLS and DSO support
209: <li>OpenSSL 0.9.7j (+ patches)
210: <li>Groff 1.15
211: <li>Sendmail 8.14.1, with libmilter
212: <li>Bind 9.3.4 (+ patches)
213: <li>Lynx 2.8.5rel.4 with HTTPS and IPv6 support (+ patches)
214: <li>Sudo 1.6.9p4
215: <li>Ncurses 5.2
216: <li>Latest KAME IPv6
217: <li>Heimdal 0.7.2 (+ patches)
218: <li>Arla 0.35.7
219: <li>Binutils 2.15 (+ patches)
220: <li>Gdb 6.3 (+ patches)
221: <!-- XXX double check versions -->
222: </ul>
223: <p>
224:
225: </ul>
226:
227: <a name="install"></a>
228: <hr>
229: <p>
230: <h3><font color="#0000e0">How to install</font></h3>
231: <p>
232: Following this are the instructions which you would have on a piece of
233: paper if you had purchased a CDROM set instead of doing an alternate
234: form of install. The instructions for doing an FTP (or other style
235: of) install are very similar; the CDROM instructions are left intact
236: so that you can see how much easier it would have been if you had
237: purchased a CDROM instead.
238: <p>
239:
240: <hr>
241: Please refer to the following files on the three CDROMs or FTP mirror for
242: extensive details on how to install OpenBSD 4.2 on your machine:
243: <p>
244: <ul>
245: <li>CD1:4.2/i386/INSTALL.i386
246: <p>
247: <li>CD2:4.2/amd64/INSTALL.amd64
248: <li>CD2:4.2/macppc/INSTALL.macppc
249: <p>
250: <li>CD3:4.2/sparc64/INSTALL.sparc64
251: <p>
252: <li>FTP:.../OpenBSD/4.2/alpha/INSTALL.alpha
253: <li>FTP:.../OpenBSD/4.2/armish/INSTALL.armish
254: <li>FTP:.../OpenBSD/4.2/hp300/INSTALL.hp300
255: <li>FTP:.../OpenBSD/4.2/hppa/INSTALL.hppa
256: <li>FTP:.../OpenBSD/4.2/landisk/INSTALL.landisk
257: <li>FTP:.../OpenBSD/4.2/luna88k/INSTALL.luna88k
258: <li>FTP:.../OpenBSD/4.2/mac68k/INSTALL.mac68k
259: <li>FTP:.../OpenBSD/4.2/mvme68k/INSTALL.mvme68k
260: <li>FTP:.../OpenBSD/4.2/mvme88k/INSTALL.mvme88k
261: <li>FTP:.../OpenBSD/4.2/sparc/INSTALL.sparc
262: <li>FTP:.../OpenBSD/4.2/vax/INSTALL.vax
263: <li>FTP:.../OpenBSD/4.2/zaurus/INSTALL.zaurus
264: </ul>
265: <hr>
266:
267: <p>
268: Quick installer information for people familiar with OpenBSD, and the
269: use of the "disklabel -E" command. If you are at all confused when
270: installing OpenBSD, read the relevant INSTALL.* file as listed above!
271: <p>
272:
273: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
274: <ul>
275: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
276: release is on CD1. If your BIOS does not support booting from CD, you will need
277: to create a boot floppy to install from. To create a boot floppy write
278: <i>CD1:4.2/i386/floppy42.fs</i> to a floppy and boot via the floppy drive.
279:
280: <p>
281: Use <i>CD1:4.2/i386/floppyB42.fs</i> instead for greater SCSI controller
282: support, or <i>CD1:4.2/i386/floppyC42.fs</i> for better laptop support.
283:
284: <p>
285: If you can't boot from a CD or a floppy disk,
286: you can install across the network using PXE as described in
287: the included INSTALL.i386 document.
288:
289: <p>
290: If you are planning on dual booting OpenBSD with another OS, you will need to
291: read INSTALL.i386.
292:
293: <p>
294: To make a boot floppy under MS-DOS, use the "rawrite" utility located
295: at <i>CD1:4.2/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
296: use the
297: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>
298: utility. The following is an example usage of
299: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>,
300: where the device could be "floppy", "rfd0c", or
301: "rfd0a".
302:
303: <ul><pre>
304: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
305: </pre></ul>
306:
307: <p>
308: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
309: your install will most likely fail. For more information on creating a boot
310: floppy and installing OpenBSD/i386 please refer to
311: <a href="faq/faq4.html#MkFlop">FAQ 4.3.1</a>.
312: </ul>
313:
314: <p>
315: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
316: <ul>
317: The 4.2 release of OpenBSD/amd64 is located on CD2.
318: Boot from the CD to begin the install - you may need to adjust
319: your BIOS options first.
320: If you can't boot from the CD, you can create a boot floppy to install from.
321: To do this, write <i>CD2:4.2/amd64/floppy42.fs</i> to a floppy, then
322: boot from the floppy drive.
323:
324: <p>
325: If you can't boot from a CD or a floppy disk,
326: you can install across the network using PXE as described in the included
327: INSTALL.amd64 document.
328:
329: <p>
330: If you are planning to dual boot OpenBSD with another OS, you will need to
331: read INSTALL.amd64.
332: </ul>
333:
334: <p>
335: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
336: <ul>
337: Put CD2 in your CDROM drive and poweron your machine while holding down the
338: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
339:
340: <p>
341: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
342: /4.2/macppc/bsd.rd</i>
343: </ul>
344:
345: <p>
346: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
347: <ul>
348: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
349:
350: <p>
351: If this doesn't work, or if you don't have a CDROM drive, you can write
352: <i>CD3:4.2/sparc64/floppy42.fs</i> or <i>CD3:4.2/sparc64/floppyB42.fs</i>
353: (depending on your machine) to a floppy and boot it with <i>boot
354: floppy</i>. Refer to INSTALL.sparc64 for details.
355:
356: <p>
357: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
358: will most likely fail.
359:
360: <p>
361: You can also write <i>CD3:4.2/sparc64/miniroot42.fs</i> to the swap partition on
362: the disk and boot with <i>boot disk:b</i>.
363:
364: <p>
365: If nothing works, you can boot over the network as described in INSTALL.sparc64.
366: </ul>
367:
368: <p>
369: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
370: <ul>
371: <p>Write <i>FTP:4.2/alpha/floppy42.fs</i> or
372: <i>FTP:4.2/alpha/floppyB42.fs</i> (depending on your machine) to a diskette and
373: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
374:
375: <p>
376: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
377: will most likely fail.
378:
379: </ul>
380:
381: <p>
382: <h3><font color="#e00000">OpenBSD/armish:</font></h3>
383: <ul>
384: <p>
385: After connecting a serial port, Thecus can boot directly from the network
386: either tftp or http. Configure the network using fconfig, reset,
387: then load bsd.rd, see INSTALL.armish for specific details.
388: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
389: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
390: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
391: More details are available in INSTALL.armish.
392: </ul>
393:
394: <p>
395: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
396: <ul>
397: <p>
398: Boot over the network by following the instructions in INSTALL.hp300.
399: </ul>
400:
401: <p>
402: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
403: <ul>
404: <p>
405: Boot over the network by following the instructions in INSTALL.hppa or the
406: <a href="hppa.html#install">hppa platform page</a>.
407: </ul>
408:
409: <p>
410: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
411: <ul>
412: <p>
413: Write <i>CD3:4.2/landisk/miniroot42.fs</i> to the start of the CF
414: or disk, and boot normally.
415: </ul>
416:
417: <p>
418: <h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
419: <ul>
420: <p>
421: Copy bsd.rd to a Mach or UniOS partition, and boot it from the PROM.
422: Alternatively, you can create a bootable tape and boot from it. Refer to
423: the instructions in INSTALL.luna88k for more details.
424: </ul>
425:
426: <p>
427: <h3><font color="#e00000">OpenBSD/mac68k:</font></h3>
428: <ul>
429: <p>
430: Boot MacOS as normal and extract the Macside "BSD/Mac68k Booter" utility from
431: <i>FTP:4.2/mac68k/utils</i> onto your hard disk. Configure the "BSD/Mac68k
432: Booter" with the location of your bsd.rd kernel and boot into the installer.
433: Refer to the instructions in INSTALL.mac68k for more details.
434: </ul>
435:
436: <p>
437: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
438: <ul>
439: <p>
440: You can create a bootable installation tape or boot over the network.<br>
441: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
442: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
443: for more details.
444: </ul>
445:
446: <p>
447: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
448: <ul>
449: <p>
450: You can create a bootable installation tape or boot over the network.<br>
451: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
452: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
453: for more details.
454: </ul>
455:
456: <p>
457: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
458: <ul>
459: The 4.2 release of OpenBSD/sparc is located on CD3. To boot off of this CD you
460: can use one of the two commands listed below, depending on the version of your
461: ROM.
462:
463: <ul><pre>
464: ok <strong>boot cdrom 4.2/sparc/bsd.rd</strong>
465: or
466: > <strong>b sd(0,6,0)4.2/sparc/bsd.rd</strong>
467: </pre></ul>
468:
469: <p>
470: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
471: To do so you need to write <i>CD3:4.2/sparc/floppy42.fs</i> to a floppy.
472: For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.1</a>.
473: To boot from the floppy use one of the two commands listed below,
474: depending on the version of your ROM.
475:
476: <ul><pre>
477: ok <strong>boot floppy</strong>
478: or
479: > <strong>b fd()</strong>
480: </pre></ul>
481:
482: <p>
483: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
484: will most likely fail.
485:
486: <p>
487: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
488: setup a bootable tape, or install via network, as told in the
489: INSTALL.sparc file.
490: </ul>
491:
492: <p>
493: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
494: <ul>
495: Boot over the network via mopbooting as described in INSTALL.vax.
496: </ul>
497:
498: <p>
499: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
500: <ul>
501: <p>
502: Using the Linux built-in graphical ipkg installer, install the
503: openbsd42_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
504: for a few important details.
505: </ul>
506:
507: <p>
508: <h3><font color="#e00000">Notes about the source code:</font></h3>
509: <ul>
510: src.tar.gz contains a source archive starting at /usr/src. This file
511: contains everything you need except for the kernel sources, which are
512: in a separate archive. To extract:
513: <p>
514: <ul><pre>
515: # <strong>mkdir -p /usr/src</strong>
516: # <strong>cd /usr/src</strong>
517: # <strong>tar xvfz /tmp/src.tar.gz</strong>
518: </pre></ul>
519: <p>
520: sys.tar.gz contains a source archive starting at /usr/src/sys.
521: This file contains all the kernel sources you need to rebuild kernels.
522: To extract:
523: <p>
524: <ul><pre>
525: # <strong>mkdir -p /usr/src/sys</strong>
526: # <strong>cd /usr/src</strong>
527: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
528: </pre></ul>
529: <p>
530: Both of these trees are a regular CVS checkout. Using these trees it
531: is possible to get a head-start on using the anoncvs servers as
532: described <a href="anoncvs.html">here</a>.
533: Using these files
534: results in a much faster initial CVS update than you could expect from
535: a fresh checkout of the full OpenBSD source tree.
536: <p>
537: </ul>
538:
539: <a name="upgrade"></a>
540: <hr>
541: <p>
542: <h3><font color="#0000e0">How to upgrade</font></h3>
543: <p>
544: If you already have an OpenBSD 4.1 system, and do not want to reinstall,
545: upgrade instructions and advice can be found in the
546: <a href="faq/upgrade42.html">Upgrade Guide</a>.
547:
548: <a name="ports"></a>
549: <hr>
550: <p>
551: <h3><font color="#0000e0">Ports Tree</font></h3>
552: <p>
553: A ports tree archive is also provided. To extract:
554: <p>
555: <ul><pre>
556: # <strong>cd /usr</strong>
557: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
558: # <strong>cd ports</strong>
559: </pre></ul>
560: <p>
561: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
562: read the <a href="ports.html">ports</a> page
563: if you know nothing about ports
564: at this point. This text is not a manual of how to use ports.
565: Rather, it is a set of notes meant to kickstart the user on the
566: OpenBSD ports system.
567: <p>
568: The <i>ports/</i> directory represents a CVS (see the manpage for
569: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386&format=html">
570: cvs(1)</a> if
571: you aren't familiar with CVS) checkout of our ports. As with our complete
572: source tree, our ports tree is available via anoncvs. So, in
573: order to keep current with it, you must make the <i>ports/</i> tree
574: available on a read-write medium and update the tree with a command
575: like:
576: <p>
577: <ul><pre>
578: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_4_2</strong>
579: </pre></ul>
580: <p>
581: [Of course, you must replace the local directory and server name here
582: with the location of your ports collection and a nearby anoncvs
583: server.]
584: <p>
585: Note that most ports are available as packages through FTP. Updated
586: packages for the 4.2 release will be made available if problems arise.
587: <p>
588: If you're interested in seeing a port added, would like to help out, or just
589: would like to know more, the mailing list ports@openbsd.org is a good
590: place to know.
591: <p>
592:
593: <hr>
594: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
595: alt="OpenBSD"></a>
596: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
597: <br><small>
1.10 ! matthieu 598: $OpenBSD: 42.html,v 1.9 2007/08/20 06:11:58 steven Exp $
1.1 jasper 599: </small>
600:
601: </body>
602: </html>