Annotation of www/42.html, Revision 1.80
1.1 jasper 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
1.71 deraadt 4: <title>OpenBSD 4.2</title>
1.1 jasper 5: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6: <meta name="description" content="OpenBSD 4.2">
7: <meta name="copyright" content="This document copyright 2007 by OpenBSD.">
1.76 sthen 8: <link rel="canonical" href="http://www.openbsd.org/42.html">
1.1 jasper 9: </head>
10:
11: <body bgcolor="#ffffff" text="#000000" link="#24248E">
12:
13: <a href="index.html">
14: <img alt="[OpenBSD]" height="30" width="141" hspace="24" src="images/smalltitle.gif" border="0"></a>
1.73 deraadt 15: <p>
1.1 jasper 16:
1.55 deraadt 17: <a href="images/Marathon.jpg">
1.71 deraadt 18: <img align="left" width="227" height="343" hspace="24"
1.55 deraadt 19: src="images/Marathon.jpg" alt="OpenBSD 4.2 logo"></a>
1.71 deraadt 20: <h2><font color="#0000e0">OpenBSD 4.2</font></h2>
1.1 jasper 21: <p>
1.67 deraadt 22: Released Nov 1, 2007<br>
1.1 jasper 23: Copyright 1997-2007, Theo de Raadt.<br>
1.36 deraadt 24: <font color="#e00000">ISBN 978-0-9784475-0-2</font>
1.1 jasper 25: <br>
1.78 deraadt 26: 4.2 Song: <a href="lyrics.html#42">"100001 1010101"</a>
1.1 jasper 27: <p>
28: <ul>
1.75 deraadt 29: <li>Order a CDROM from our <a href="https://openbsdstore.com">ordering system</a>.
1.1 jasper 30: <li>See the information on <a href="ftp.html">The FTP page</a> for
31: a list of mirror machines.
32: <li>Go to the <font color="#e00000">pub/OpenBSD/4.2/</font> directory on
33: one of the mirror sites.
1.20 deraadt 34: <li>Have a look at <a href="errata42.html">The 4.2 Errata page</a> for a list
1.1 jasper 35: of bugs and workarounds.
1.20 deraadt 36: <li>See a <a href="plus42.html">detailed log of changes</a> between the
1.1 jasper 37: 4.1 and 4.2 releases.
38: </ul>
39: <br clear=all>
1.72 deraadt 40: <p>
1.71 deraadt 41: All applicable copyrights and credits can be found in the applicable
42: file sources found in the files src.tar.gz, sys.tar.gz,
43: xenocara.tar.gz, or in the files fetched via ports.tar.gz. The
44: distribution files used to build packages from the ports.tar.gz file
45: are not included on the CDROM because of lack of space.
1.1 jasper 46: <p>
47:
48: <a name="new"></a>
49: <hr>
50: <p>
51: <h3><font color="#0000e0">What's New</font></h3>
52: <p>
53: This is a partial list of new features and systems included in OpenBSD 4.2.
1.20 deraadt 54: For a comprehensive list, see the <a href="plus42.html">changelog</a> leading
1.1 jasper 55: to 4.2.
56: <p>
57:
58: <ul>
59:
60: <li>New/extended platforms:
61: <ul>
1.15 kettenis 62: <li><a href="sparc64.html">OpenBSD/sparc64</a>.<br>
63: The PCIe UltraSPARC IIIi machines like the V215 and V245 are now
64: supported.
1.18 kettenis 65: <li><a href="hppa.html">OpenBSD/hppa</a>.<br>
1.15 kettenis 66: Four-digit B/C/J-class workstations like the B2000, C3750 or J6750
67: are now supported (in 32-bit mode).
1.41 matthieu 68: <li><a href="alpha.html">OpenBSD/alpha</a>.<br>
69: Add support in the alpha platform for a couple of new Alpha
70: models, AlphaServer 1200 and 4100.
1.1 jasper 71: </ul>
72: <p>
73:
1.34 deraadt 74: <li>Platforms skipped this release:
1.1 jasper 75: <ul>
1.34 deraadt 76: <li><a href="sgi.html">OpenBSD/sgi</a>.<br>
1.35 jasper 77: Due to various issues, this architecture will not be released
1.34 deraadt 78: this time.
1.1 jasper 79: </ul>
80: <p>
81:
82: <li>Improved hardware support, including:
83: <ul>
1.11 matthieu 84: <li> Native Serial-ATA support:
85: <ul>
1.80 ! sthen 86: <li><a href="http://man.openbsd.org/?query=ahci&sektion=4">ahci(4)</a>
1.24 dlg 87: driver for SATA controllers conforming to the Advanced Host Controller
88: Interface specification.
1.80 ! sthen 89: <li><a href=http://man.openbsd.org/?query=jmb&sektion=4&arch=i386>jmb(4)</a> driver for the JMicron JMB36x SATA II and PATA Host Controller.
! 90: <li><a href="http://man.openbsd.org/?query=sili&sektion=4">sili(4)</a>
1.24 dlg 91: driver for SATA controllers using the Silicon Image 3124/3132/3531 SATALink
92: chipsets.
1.11 matthieu 93: </ul>
1.80 ! sthen 94: <li>The <a href="http://man.openbsd.org/?query=pciide&sektion=4">pciide(4)</a> driver has had support added for newer chipsets, including:
1.39 matthieu 95: <ul>
96: <li>Intel ICH8M PATA
97: <li>JMicron JMB36x PATA
98: <li>VIA CX700/VX700 PATA
99: </ul>
1.80 ! sthen 100: <li>The <a href="http://man.openbsd.org/?query=lm&sektion=4">lm(4)</a>
1.43 cnst 101: driver now supports Winbond W83627DHG and W83627EHF-A Super I/O Hardware Monitors.
1.22 kettenis 102: <li> The <a
1.80 ! sthen 103: href="http://man.openbsd.org/?query=siop&sektion=4">siop(4)</a>
1.22 kettenis 104: driver now has support for NCR 53C720/770 controllers in big endian mode.
105: In particular this means that the onboard Fast-Wide SCSI on many hppa
106: machines is supported now.
1.80 ! sthen 107: <li> New <a href="http://man.openbsd.org/?query=tht&sektion=4">tht(4)</a>
1.39 matthieu 108: driver for Tehuti Networks 10Gb Ethernet controllers.
1.25 jsg 109: <li> The <a
1.80 ! sthen 110: href="http://man.openbsd.org/?query=malo&sektion=4">malo(4)</a>
1.25 jsg 111: driver now supports Marvell 88W8385 802.11g based Compact Flash devices.
1.39 matthieu 112: <li> New <a
1.80 ! sthen 113: href="http://man.openbsd.org/?query=uts&sektion=4">uts(4)</a>
1.39 matthieu 114: driver for USB touch screens, and the <a
1.80 ! sthen 115: href="http://man.openbsd.org/?query=xtsscale&sektion=1">xtsscale(1)</a>
1.39 matthieu 116: calibration utility.
1.41 matthieu 117: <li> The <a
1.80 ! sthen 118: href="http://man.openbsd.org/?query=i810&sektion=4">i810(4)</a>
1.41 matthieu 119: X.Org driver and the PCI AGP driver now support Intel i965GM chips.
1.27 jasper 120: <li> New <a
1.80 ! sthen 121: href="http://man.openbsd.org/?query=led&arch=sparc64">led(4)</a>
1.27 jasper 122: driver for the front panel LEDs on the V215/245.
123: <li> New <a
1.80 ! sthen 124: href="http://man.openbsd.org/?query=bbc&arch=sparc64">bbc(4)</a>
1.27 jasper 125: driver providing support for the BootBus Controllers in UltraSparc III systems.
126: <li> New <a
1.80 ! sthen 127: href="http://man.openbsd.org/?query=pmc&arch=sparc64">pmc(4)</a>
1.27 jasper 128: driver for the
1.80 ! sthen 129: <a href="http://man.openbsd.org/?query=watchdog§ion=4">
1.27 jasper 130: watchdog(4)</a> timer on the National Semiconductor PC87317 SuperIO chip.
1.80 ! sthen 131: <li>New <a href=http://man.openbsd.org/?query=pyro&sektion=4&arch=sparc64>pyro(4)</a> driver for the SPARC64 Host/PCIe bridge.
! 132: <li>New <a href=http://man.openbsd.org/?query=astro&sektion=4&arch=hppa>astro(4)</a> driver for the Astro Memory and I/O controller on hppa.
! 133: <li>New <a href=http://man.openbsd.org/?query=elroy&sektion=4&arch=hppa>elroy(4)</a> driver for the Elroy PCI hostbridge on hppa.
! 134: <li>New <a href=http://man.openbsd.org/?query=lcd&sektion=4&arch=hppa>lcd(4)</a> driver for the front panel LCD display on hppa.
! 135: <li>New <a href=http://man.openbsd.org/?query=ssio&sektion=4&arch=hppa>ssio(4)</a> driver for the National Semiconductor PC87560 Legacy IO on hppa.
! 136: <li>New <a href=http://man.openbsd.org/?query=pxammc&sektion=4&arch=zaurus>pxammc(4)</a> driver for the MMC/SD/SDIO controller on zaurus.
! 137: <li>New <a href=http://man.openbsd.org/?query=&sektion=4&arch=macppc>xlights(4)</a> driver for the front panel lights on the Xserve G4.
! 138: <li>New <a href=http://man.openbsd.org/?query=sysbutton&sektion=4&arch=macppc>sysbutton(4)</a> driver for the system identification button on the Xserve G4.
! 139: <li>New <a href=http://man.openbsd.org/?query=piixpcib&sektion=4&arch=i386>piixpcib(4)</a> driver for System Management Mode initiated speedstep frequency scaling on certain pairings of the Intel PIIX4 ISA bridges and Intel Pentium 3 processors.
1.33 gwk 140: <li>CPU frequency and voltage can now be scaled on all CPUs when running GENERIC.MP on a multiprocessor i386 or AMD64 machine with enhanced speedstep or powernow.
141: <li>Intel enhanced speedstep is now supported on OpenBSD/amd64.
1.39 matthieu 142: <li>New support for the on die CPU temperature sensor found on the Intel Core family of processors.
1.80 ! sthen 143: <li>The <a href=http://man.openbsd.org/?query=nvram&sektion=4&arch=amd64>nvram(4)</a> driver is now available on OpenBSD/amd64.
1.1 jasper 144: </ul>
145: <p>
1.8 matthieu 146:
1.1 jasper 147:
148: <li>New tools:
149: <ul>
1.10 matthieu 150: <li> <a
1.80 ! sthen 151: href="http://man.openbsd.org/?query=cwm&sektion=1">cwm(1)</a>
1.10 matthieu 152: has replaced wm2 as a simple-looking low-resource window manager.
1.26 jsg 153: <li> <a
1.80 ! sthen 154: href="http://man.openbsd.org/?query=zless&sektion=1">zless(1)</a>,
1.26 jsg 155: view compressed files with
1.80 ! sthen 156: <a href="http://man.openbsd.org/?query=less&sektion=1">less(1)</a>.
! 157: <li><a href=http://man.openbsd.org/?query=mount_vnd&sektion=8&arch=i386>mount_vnd(8)</a>, a utility to configure vnode disks from <a href=http://man.openbsd.org/?query=fstab&sektion=5&arch=i386>fstab(5)</a>.
1.1 jasper 158: </ul>
159: <p>
1.10 matthieu 160:
1.1 jasper 161:
162: <li>New functionality:
163: <ul>
1.14 otto 164: <li>FFS2, the updated version of the fast file system.
1.23 kili 165: <li><a
1.80 ! sthen 166: href="http://man.openbsd.org/?query=ftp&sektion=1">ftp(1)</a>
1.23 kili 167: now can send cookies loaded from a netscape-like cookiejar, supports
168: proxies requiring a password, and has a keep-alive option to avoid
1.59 ray 169: overly aggressive control connection dropping.
1.80 ! sthen 170: <li><a href="http://man.openbsd.org/?query=pkg_add&sektion=1">pkg_add(1)</a> has been vastly improved. It is more robust, outputs more
1.29 espie 171: consistent error messages, and can deal with a lot more update scenarios
172: gracefully. It also has much better look-up capabilities for multiple entries
173: in <code>PKG_PATH</code>, stopping at the first directory with suitable
174: candidates.
1.30 simon 175: <li><a
1.80 ! sthen 176: href="http://man.openbsd.org/?query=ftp-proxy&sektion=8">ftp-proxy(8)</a>
1.30 simon 177: is now able to automatically tag packets passing through the <a
1.80 ! sthen 178: href="http://man.openbsd.org/?query=pf&sektion=4">pf(4)</a> rule with a supplied name.
1.31 david 179: <li>Kernel work queues,
1.80 ! sthen 180: <a href=http://man.openbsd.org/?query=workq_add_task&sektion=9&arch=i386>workq_add_task(9)</a>,
! 181: <a href=http://man.openbsd.org/?query=workq_create&sektion=9&arch=i386>workq_create(9)</a>,
! 182: <a href=http://man.openbsd.org/?query=workq_destroy&sektion=9&arch=i386>workq_destroy(9)</a> provides a mechanism to defer tasks to a process context when it is impossible to run such a task in the current context.
! 183: <li><a href="http://man.openbsd.org/?query=ifconfig&sektion=8">ifconfig(8)</a>
1.37 henning 184: now understands IP address/mask in CIDR notation.
1.80 ! sthen 185: <li>Add IP (v4 and v6) load balancing to <a href="http://man.openbsd.org/?query=carp&sektion=4&format=html">carp(4)</a>, similar to the ARP balancing.
! 186: <li><a href="http://man.openbsd.org/?query=sensorsd&sektion=8">sensorsd(8)</a>
1.43 cnst 187: now supports a zero-configuration monitoring and has a more intuitive logging
188: for all sensors that automatically provide sensor state. It also features
189: advancements in user-specified monitoring, including monitoring of sensors
190: that are periodically flagged as invalid.
1.80 ! sthen 191: <li><a href="http://man.openbsd.org/?query=sensorsd.conf&sektion=5">sensorsd.conf(5)</a>
1.43 cnst 192: now supports sensor matching by sensor type, allowing easier configuration.
1.46 kettenis 193: <li>The i386 bootloader can now load amd64 kernels.
194: <li>The amd64 bootloader can now load i386 kernels.
1.1 jasper 195: </ul>
196: <p>
197:
198: <li>Assorted improvements and code cleanup:
199: <ul>
1.56 cloder 200: <li>Huge performance improvements in the network stack, including:
201: <ul>
1.57 henning 202: <li>In pf, store routing table ID, queue ID etc directly in the packet header mbuf instead of using
203: mbuf tags (which use malloc'd memory). This yields a 100% improvement in pf performance.
1.56 cloder 204: <li>Packet forwarding can skip IPSEC stack if no IPSEC flows are defined. This
205: yields a further 5% improvement in packet forwarding performance.
1.57 henning 206: <li>Skip TCP/UDP/ICMP/ICMP6 checksumming when not necessary.
1.56 cloder 207: This yields a further 10% improvement in pf performance.
208: <li>A change in the way the kernel random pool is stirred greatly increases
209: performance with network interface cards that support interrupt mitigation, especially
210: on architectures where reading the clock is expensive (such as amd64).
1.80 ! sthen 211: <li>Enable interrupt holdoff on <a href="http://man.openbsd.org/?query=sis&sektion=4">sis(4)</a>
1.56 cloder 212: chips that support it. Significant performance gain for slower CPU devices with sis(4), such as Soekris.
213: </ul>
1.29 espie 214: <li>Large (>1TB) disk and partition support in the disklabel and buffer cache
1.14 otto 215: code and in the userland utilities that manipulate disk blocks. Note
216: that some parts of the system are not 64-bit disk block clean yet, so partition
217: larger than 2TB cannot be used at the moment.
1.38 krw 218: <li>Large (>2^32-1 sectors) SCSI disk sizes now probed.
1.16 jasper 219: <li>Thread support for the Objective-C library (libobjc).
1.80 ! sthen 220: <li><a href="http://man.openbsd.org/?query=carp&sektion=4">carp</a>
1.42 ray 221: route handling has been fixed, solving some problems the routing daemons were exhibiting.
1.38 krw 222: <li>i386 TLB handling improved to avoid possible corruption on Core2Duo processors.
1.65 chl 223: <li>Rework TLB shootdown code for i386 and amd64, gives fairly large speed
224: improvements.
1.38 krw 225: <li>i386 and amd64 use the BIOS disk geometry when creating default disklabels.
1.42 ray 226: <li>Default disk geometry changed from 64 heads/32 sectors to 255 heads/63 sectors.
227: <li>More usb devices with various quirks coaxed to work.
1.38 krw 228: <li>Archive/Wangtek cartridge tape drives (wt*) no longer supported.
1.80 ! sthen 229: <li><a href="http://man.openbsd.org/?query=rcs&sektion=1">rcs</a> has improved GNU compatibility.
! 230: <li><a href="http://man.openbsd.org/?query=make&sektion=1">make(1)</a> has improved stability of -j option.
! 231: <li><a href="http://man.openbsd.org/?query=isakmpd&sektion=8">isakmpd(8)</a> now allows key exchange with RSA signature authentication to work with Cisco IOS.
! 232: <li>Fixed <a href="http://man.openbsd.org/?query=isakmpd&sektion=8">isakmpd(8)</a> interop-issues with peers, that start rekeying on port 4500 for NAT-T (e.g. Cisco, Openswan)
1.49 deraadt 233: <li>The stability of <a href="alpha.html">OpenBSD/alpha</a> has been greatly improved.
234: <li>The stability of <a href="hppa.html">OpenBSD/hppa</a> has been greatly improved.
1.1 jasper 235: </ul>
236: <p>
237:
238: <li>Install/Upgrade process changes:
239: <ul>
1.38 krw 240: <li>Allow the specification of an NTP server during installation.
241: <li>Allow no fsck'ing of clean non-root partitions during upgrade.
242: <li>Check for INSTALL.<arch> to confirm sets are for the correct architecture.
243: <li>Create and format the MSDOS partition for macppc installs in a more flexible and reliable way.
1.1 jasper 244: </ul>
245: <p>
246:
247: <li>OpenBGPD 4.2:
248: <ul>
1.28 claudio 249: <li>Include support for Four-octet AS Number Space.
250: <li>Allow matching on communities using 0 in the AS part.
251: <li>Filtering on IPv6 prefixes is now possible.
252: <li>Various bugs in the encoding of multiprotocol updates were fixed.
253: <li>Allow the use of pkill -HUP bgpd to reload the config.
1.37 henning 254: <li>bgpctl can filter prefix output by community now
1.1 jasper 255: </ul>
256: <p>
257:
258: <li>OpenNTPD 4.2:
259: <ul>
1.47 kettenis 260: <li>Improved support for timedelta sensors.
1.1 jasper 261: </ul>
262: <p>
263:
264: <li>OpenOSPFD 4.2:
265: <ul>
1.28 claudio 266: <li>Added support for RFC 3137: OSPF Stub Router Advertisement
267: <li>It is possible to specify a carp demote group on interfaces and areas.
268: <li>Added support for mapping route labels to AS-external route tags and vice versa.
269: <li>Allow the use of pkill -HUP ospfd to reload the config.
1.1 jasper 270: </ul>
271: <p>
272:
1.45 pyr 273: <li>Hoststated 4.2:
274: <ul>
275: <li>Added support for Layer 7 load balancing (or relay).</li>
276: <li>Added support for reloading through hoststatectl or SIGHUP.</li>
277: </ul>
278: <p>
279:
1.1 jasper 280: <li>OpenSSH 4.7:
281: <ul>
1.44 deraadt 282: <li>Prevent
1.80 ! sthen 283: <a href="http://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>
1.44 deraadt 284: from using a trusted X11 cookie if creation of an
285: untrusted cookie fails; found and fixed by Jan Pechanec.
1.80 ! sthen 286: <li><a href="http://man.openbsd.org/?query=sshd&sektion=8">sshd(8)</a>
1.44 deraadt 287: in new installations defaults to SSH Protocol 2 only.
288: Existing installations are unchanged.
289: <li>The SSH channel window size has been increased, and both
1.80 ! sthen 290: <a href="http://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>
1.44 deraadt 291: and
1.80 ! sthen 292: <a href="http://man.openbsd.org/?query=sshd&sektion=8">sshd(8)</a>
1.44 deraadt 293: now send window updates more aggressively.<br>
294: These improves performance on high-BDP (Bandwidth Delay Product) networks.
1.80 ! sthen 295: <li><a href="http://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>
1.44 deraadt 296: and
1.80 ! sthen 297: <a href="http://man.openbsd.org/?query=sshd&sektion=8">sshd(8)</a>
1.44 deraadt 298: now preserve MAC contexts between packets, which
299: saves 2 hash calls per packet and results in 12-16% speedup for
300: arcfour256/hmac-md5.
301: <li>A new MAC algorithm has been added, UMAC-64 (RFC4418) which is
302: approximately 20% faster than HMAC-MD5.
303: <li>A -K flag was added to
1.80 ! sthen 304: <a href="http://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>
1.44 deraadt 305: to set GSSAPIAuthentication=Yes.
306: <li>Failure to establish a
1.80 ! sthen 307: <a href="http://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>
1.44 deraadt 308: TunnelForward is now treated as a
309: fatal error when the ExitOnForwardFailure option is set.
1.80 ! sthen 310: <li><a href="http://man.openbsd.org/?query=ssh&sektion=1">ssh(1)</a>
1.44 deraadt 311: returns a sensible exit status if the control master goes
312: away without passing the full exit status. (bz #1261)
1.1 jasper 313: </ul>
314: <p>
315:
1.44 deraadt 316: <li>Over 4,500 ports, minor robustness improvements in package tools.
317: <li>Many pre-built packages for each architecture:
318: <table border=0 cellspacing=0 cellpadding=2 width="95%">
319: <tr>
320: <td valign="top" width="33%">
321: <ul>
322: <li>i386: 4360
323: <li>sparc64: 4205
324: <li>alpha: 3779
1.61 deraadt 325: <li>sh: 817
1.44 deraadt 326: </ul></td><td valign=top width="33%"><ul>
327: <li>amd64: 4283
328: <li>powerpc: 4230
1.58 deraadt 329: <li>sparc: 3283
1.60 martin 330: <li>m68k: 1107
1.44 deraadt 331: </ul></td><td valign=top width="33%"><ul>
1.61 deraadt 332: <li>arm: 2131
1.44 deraadt 333: <li>hppa: 3215
1.61 deraadt 334: <li>vax: 108
1.44 deraadt 335: </ul></td></tr></table>
1.1 jasper 336: Some highlights:
337: <ul>
1.44 deraadt 338: <!-- XXX double check versions -->
1.4 jasper 339: <li>Gnome 2.18.
1.16 jasper 340: <li>GNUstep 1.14.
1.4 jasper 341: <li>KDE 3.5.7 and koffice 1.6.3.
1.7 steven 342: <li>Xfce 4.4.1.
1.35 jasper 343: <li>OpenMotif 2.3.0.
1.9 steven 344: <li>OpenOffice.org 2.2.1.
345: <li>Mozilla Firefox 2.0.0.6.
1.4 jasper 346: <li>PostgreSQL 8.2.4.
1.5 jasper 347: <li>GHC 6.6.1 (amd64 and i386 only)
1.1 jasper 348: </ul>
349: <p>
350:
351: <li>As usual, steady improvements in manual pages and other documentation.
352: <p>
353:
354: <li>The system includes the following major components from outside suppliers:
355: <ul>
1.19 matthieu 356: <li>Xenocara (based on X.Org 7.2 + patches, freetype 2.2.1, fontconfig
1.1 jasper 357: 2.4.2, expat 2.0.0, Mesa 6.5.2, xterm 225 and more)
358: <li>Gcc 2.95.3
1.80 ! sthen 359: (+ <a href="http://man.openbsd.org/?query=gcc-local&sektion=1">patches</a>)
1.1 jasper 360: and 3.3.5
1.80 ! sthen 361: (+ <a href="http://man.openbsd.org/?query=gcc-local&sektion=1">patches</a>)
1.1 jasper 362: <li>Perl 5.8.8 (+ patches)
363: <li>Our improved and secured version of Apache 1.3, with SSL/TLS and DSO support
364: <li>OpenSSL 0.9.7j (+ patches)
365: <li>Groff 1.15
366: <li>Sendmail 8.14.1, with libmilter
367: <li>Bind 9.3.4 (+ patches)
368: <li>Lynx 2.8.5rel.4 with HTTPS and IPv6 support (+ patches)
369: <li>Sudo 1.6.9p4
370: <li>Ncurses 5.2
371: <li>Latest KAME IPv6
372: <li>Heimdal 0.7.2 (+ patches)
373: <li>Arla 0.35.7
374: <li>Binutils 2.15 (+ patches)
375: <li>Gdb 6.3 (+ patches)
376: <!-- XXX double check versions -->
377: </ul>
378: <p>
379:
380: </ul>
381:
382: <a name="install"></a>
383: <hr>
384: <p>
385: <h3><font color="#0000e0">How to install</font></h3>
386: <p>
387: Following this are the instructions which you would have on a piece of
388: paper if you had purchased a CDROM set instead of doing an alternate
389: form of install. The instructions for doing an FTP (or other style
390: of) install are very similar; the CDROM instructions are left intact
391: so that you can see how much easier it would have been if you had
392: purchased a CDROM instead.
393: <p>
394:
395: <hr>
396: Please refer to the following files on the three CDROMs or FTP mirror for
397: extensive details on how to install OpenBSD 4.2 on your machine:
398: <p>
399: <ul>
400: <li>CD1:4.2/i386/INSTALL.i386
401: <p>
402: <li>CD2:4.2/amd64/INSTALL.amd64
403: <li>CD2:4.2/macppc/INSTALL.macppc
404: <p>
405: <li>CD3:4.2/sparc64/INSTALL.sparc64
406: <p>
407: <li>FTP:.../OpenBSD/4.2/alpha/INSTALL.alpha
408: <li>FTP:.../OpenBSD/4.2/armish/INSTALL.armish
409: <li>FTP:.../OpenBSD/4.2/hp300/INSTALL.hp300
410: <li>FTP:.../OpenBSD/4.2/hppa/INSTALL.hppa
411: <li>FTP:.../OpenBSD/4.2/landisk/INSTALL.landisk
412: <li>FTP:.../OpenBSD/4.2/mac68k/INSTALL.mac68k
413: <li>FTP:.../OpenBSD/4.2/mvme68k/INSTALL.mvme68k
414: <li>FTP:.../OpenBSD/4.2/mvme88k/INSTALL.mvme88k
415: <li>FTP:.../OpenBSD/4.2/sparc/INSTALL.sparc
416: <li>FTP:.../OpenBSD/4.2/vax/INSTALL.vax
417: <li>FTP:.../OpenBSD/4.2/zaurus/INSTALL.zaurus
418: </ul>
419: <hr>
420:
421: <p>
422: Quick installer information for people familiar with OpenBSD, and the
423: use of the "disklabel -E" command. If you are at all confused when
424: installing OpenBSD, read the relevant INSTALL.* file as listed above!
425: <p>
426:
427: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
428: <ul>
429: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
430: release is on CD1. If your BIOS does not support booting from CD, you will need
431: to create a boot floppy to install from. To create a boot floppy write
432: <i>CD1:4.2/i386/floppy42.fs</i> to a floppy and boot via the floppy drive.
433:
434: <p>
435: Use <i>CD1:4.2/i386/floppyB42.fs</i> instead for greater SCSI controller
436: support, or <i>CD1:4.2/i386/floppyC42.fs</i> for better laptop support.
437:
438: <p>
1.66 tom 439: NOTE: some older BIOSes appear to have problems booting CD1.
440: A workaround can be found on the
441: <a href="errata42.html#003_i386_boot">4.2 errata page</a>.
442:
443: <p>
1.1 jasper 444: If you can't boot from a CD or a floppy disk,
445: you can install across the network using PXE as described in
446: the included INSTALL.i386 document.
447:
448: <p>
449: If you are planning on dual booting OpenBSD with another OS, you will need to
450: read INSTALL.i386.
451:
452: <p>
453: To make a boot floppy under MS-DOS, use the "rawrite" utility located
454: at <i>CD1:4.2/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
455: use the
1.80 ! sthen 456: <a href="http://man.openbsd.org/?query=dd&sektion=1">dd(1)</a>
1.1 jasper 457: utility. The following is an example usage of
1.80 ! sthen 458: <a href="http://man.openbsd.org/?query=dd&sektion=1">dd(1)</a>,
1.1 jasper 459: where the device could be "floppy", "rfd0c", or
460: "rfd0a".
461:
462: <ul><pre>
463: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
464: </pre></ul>
465:
466: <p>
467: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
468: your install will most likely fail. For more information on creating a boot
469: floppy and installing OpenBSD/i386 please refer to
470: <a href="faq/faq4.html#MkFlop">FAQ 4.3.1</a>.
471: </ul>
472:
473: <p>
474: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
475: <ul>
476: The 4.2 release of OpenBSD/amd64 is located on CD2.
477: Boot from the CD to begin the install - you may need to adjust
478: your BIOS options first.
479: If you can't boot from the CD, you can create a boot floppy to install from.
480: To do this, write <i>CD2:4.2/amd64/floppy42.fs</i> to a floppy, then
481: boot from the floppy drive.
482:
483: <p>
484: If you can't boot from a CD or a floppy disk,
485: you can install across the network using PXE as described in the included
486: INSTALL.amd64 document.
487:
488: <p>
489: If you are planning to dual boot OpenBSD with another OS, you will need to
490: read INSTALL.amd64.
491: </ul>
492:
493: <p>
494: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
495: <ul>
496: Put CD2 in your CDROM drive and poweron your machine while holding down the
497: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
498:
499: <p>
500: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
501: /4.2/macppc/bsd.rd</i>
502: </ul>
503:
504: <p>
505: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
506: <ul>
507: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
508:
509: <p>
510: If this doesn't work, or if you don't have a CDROM drive, you can write
511: <i>CD3:4.2/sparc64/floppy42.fs</i> or <i>CD3:4.2/sparc64/floppyB42.fs</i>
512: (depending on your machine) to a floppy and boot it with <i>boot
513: floppy</i>. Refer to INSTALL.sparc64 for details.
514:
515: <p>
516: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
517: will most likely fail.
518:
519: <p>
520: You can also write <i>CD3:4.2/sparc64/miniroot42.fs</i> to the swap partition on
521: the disk and boot with <i>boot disk:b</i>.
522:
523: <p>
524: If nothing works, you can boot over the network as described in INSTALL.sparc64.
525: </ul>
526:
527: <p>
528: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
529: <ul>
530: <p>Write <i>FTP:4.2/alpha/floppy42.fs</i> or
531: <i>FTP:4.2/alpha/floppyB42.fs</i> (depending on your machine) to a diskette and
532: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
533:
534: <p>
535: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
536: will most likely fail.
537:
538: </ul>
539:
540: <p>
541: <h3><font color="#e00000">OpenBSD/armish:</font></h3>
542: <ul>
543: <p>
544: After connecting a serial port, Thecus can boot directly from the network
545: either tftp or http. Configure the network using fconfig, reset,
546: then load bsd.rd, see INSTALL.armish for specific details.
547: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
548: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
549: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
550: More details are available in INSTALL.armish.
551: </ul>
552:
553: <p>
554: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
555: <ul>
556: <p>
557: Boot over the network by following the instructions in INSTALL.hp300.
558: </ul>
559:
560: <p>
561: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
562: <ul>
563: <p>
564: Boot over the network by following the instructions in INSTALL.hppa or the
565: <a href="hppa.html#install">hppa platform page</a>.
566: </ul>
567:
568: <p>
569: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
570: <ul>
571: <p>
1.21 deraadt 572: Write <i>miniroot42.fs</i> to the start of the CF
1.1 jasper 573: or disk, and boot normally.
574: </ul>
575:
1.68 miod 576: <!--
1.1 jasper 577: <p>
578: <h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
579: <ul>
580: <p>
581: Copy bsd.rd to a Mach or UniOS partition, and boot it from the PROM.
582: Alternatively, you can create a bootable tape and boot from it. Refer to
583: the instructions in INSTALL.luna88k for more details.
584: </ul>
1.68 miod 585: -->
1.1 jasper 586:
587: <p>
588: <h3><font color="#e00000">OpenBSD/mac68k:</font></h3>
589: <ul>
590: <p>
591: Boot MacOS as normal and extract the Macside "BSD/Mac68k Booter" utility from
592: <i>FTP:4.2/mac68k/utils</i> onto your hard disk. Configure the "BSD/Mac68k
593: Booter" with the location of your bsd.rd kernel and boot into the installer.
594: Refer to the instructions in INSTALL.mac68k for more details.
595: </ul>
596:
597: <p>
598: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
599: <ul>
600: <p>
601: You can create a bootable installation tape or boot over the network.<br>
602: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
603: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
604: for more details.
605: </ul>
606:
607: <p>
608: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
609: <ul>
610: <p>
611: You can create a bootable installation tape or boot over the network.<br>
612: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
613: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
614: for more details.
615: </ul>
616:
617: <p>
618: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
619: <ul>
1.21 deraadt 620: Boot from one of the provided install ISO images, using one of the two
621: commands listed below, depending on the version of your ROM.
1.1 jasper 622:
623: <ul><pre>
624: ok <strong>boot cdrom 4.2/sparc/bsd.rd</strong>
625: or
626: > <strong>b sd(0,6,0)4.2/sparc/bsd.rd</strong>
627: </pre></ul>
628:
629: <p>
630: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
1.21 deraadt 631: To do so you need to write <i>floppy42.fs</i> to a floppy.
1.1 jasper 632: For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.1</a>.
633: To boot from the floppy use one of the two commands listed below,
634: depending on the version of your ROM.
635:
636: <ul><pre>
637: ok <strong>boot floppy</strong>
638: or
639: > <strong>b fd()</strong>
640: </pre></ul>
641:
642: <p>
643: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
644: will most likely fail.
645:
646: <p>
647: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
648: setup a bootable tape, or install via network, as told in the
649: INSTALL.sparc file.
650: </ul>
651:
652: <p>
653: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
654: <ul>
655: Boot over the network via mopbooting as described in INSTALL.vax.
656: </ul>
657:
658: <p>
659: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
660: <ul>
661: <p>
662: Using the Linux built-in graphical ipkg installer, install the
663: openbsd42_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
664: for a few important details.
665: </ul>
666:
667: <p>
668: <h3><font color="#e00000">Notes about the source code:</font></h3>
669: <ul>
670: src.tar.gz contains a source archive starting at /usr/src. This file
671: contains everything you need except for the kernel sources, which are
672: in a separate archive. To extract:
673: <p>
674: <ul><pre>
675: # <strong>mkdir -p /usr/src</strong>
676: # <strong>cd /usr/src</strong>
677: # <strong>tar xvfz /tmp/src.tar.gz</strong>
678: </pre></ul>
679: <p>
680: sys.tar.gz contains a source archive starting at /usr/src/sys.
681: This file contains all the kernel sources you need to rebuild kernels.
682: To extract:
683: <p>
684: <ul><pre>
685: # <strong>mkdir -p /usr/src/sys</strong>
686: # <strong>cd /usr/src</strong>
687: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
688: </pre></ul>
689: <p>
690: Both of these trees are a regular CVS checkout. Using these trees it
691: is possible to get a head-start on using the anoncvs servers as
692: described <a href="anoncvs.html">here</a>.
693: Using these files
694: results in a much faster initial CVS update than you could expect from
695: a fresh checkout of the full OpenBSD source tree.
696: <p>
697: </ul>
698:
699: <a name="upgrade"></a>
700: <hr>
701: <p>
702: <h3><font color="#0000e0">How to upgrade</font></h3>
703: <p>
704: If you already have an OpenBSD 4.1 system, and do not want to reinstall,
705: upgrade instructions and advice can be found in the
706: <a href="faq/upgrade42.html">Upgrade Guide</a>.
707:
708: <a name="ports"></a>
709: <hr>
710: <p>
711: <h3><font color="#0000e0">Ports Tree</font></h3>
712: <p>
713: A ports tree archive is also provided. To extract:
714: <p>
715: <ul><pre>
716: # <strong>cd /usr</strong>
717: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
718: # <strong>cd ports</strong>
719: </pre></ul>
720: <p>
721: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
1.69 jasper 722: read the <a href="faq/faq15.html">ports</a> page
1.1 jasper 723: if you know nothing about ports
724: at this point. This text is not a manual of how to use ports.
725: Rather, it is a set of notes meant to kickstart the user on the
726: OpenBSD ports system.
727: <p>
728: The <i>ports/</i> directory represents a CVS (see the manpage for
1.80 ! sthen 729: <a href="http://man.openbsd.org/?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386&format=html">
1.1 jasper 730: cvs(1)</a> if
731: you aren't familiar with CVS) checkout of our ports. As with our complete
732: source tree, our ports tree is available via anoncvs. So, in
733: order to keep current with it, you must make the <i>ports/</i> tree
734: available on a read-write medium and update the tree with a command
735: like:
736: <p>
737: <ul><pre>
738: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_4_2</strong>
739: </pre></ul>
740: <p>
741: [Of course, you must replace the local directory and server name here
742: with the location of your ports collection and a nearby anoncvs
743: server.]
744: <p>
745: Note that most ports are available as packages through FTP. Updated
746: packages for the 4.2 release will be made available if problems arise.
747: <p>
748: If you're interested in seeing a port added, would like to help out, or just
749: would like to know more, the mailing list ports@openbsd.org is a good
750: place to know.
751: <p>
752:
753: </body>
754: </html>