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