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