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