Annotation of www/42.html, Revision 1.54
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: <a href="images/niftyartworkcomingsoon.jpg">
22: <img align="left" width="227" height="343" hspace="24" vspace="30"
23: src="images/niftyartworkcomingsoon.jpg" alt="OpenBSD 4.2 logo"></a>
24: <h2><font color="#0000e0">The OpenBSD 4.2 Release:</font></h2>
25: <p>
26: To be released Nov 1, 2007<br>
27: Copyright 1997-2007, Theo de Raadt.<br>
1.36 deraadt 28: <font color="#e00000">ISBN 978-0-9784475-0-2</font>
1.1 jasper 29: <br>
1.44 deraadt 30: <a href="lyrics.html#42">4.2 Song: "To be announced later"</a>
1.1 jasper 31: <p>
32:
33: <a href="#new">What's New</a><br>
34: <a href="#install">How to install</a><br>
35: <a href="#upgrade">How to upgrade</a><br>
36: <a href="#ports">How to use the ports tree</a><br>
37: <a href="orders.html">Ordering a CD set</a><br>
38:
39: <p>
40: <h3><font color="#0000e0">
41: To get the files for this release:
42: <ul>
43: <li>Order a CDROM from our <a href="orders.html">ordering system</a>.
44: <li>See the information on <a href="ftp.html">The FTP page</a> for
45: a list of mirror machines.
46: <li>Go to the <font color="#e00000">pub/OpenBSD/4.2/</font> directory on
47: one of the mirror sites.
48: <li>Briefly read the rest of this document.
1.20 deraadt 49: <li>Have a look at <a href="errata42.html">The 4.2 Errata page</a> for a list
1.1 jasper 50: of bugs and workarounds.
1.20 deraadt 51: <li>See a <a href="plus42.html">detailed log of changes</a> between the
1.1 jasper 52: 4.1 and 4.2 releases.
53: </ul>
54: </font></h3>
55: <br clear=all>
56:
57: <strong>Note:</strong> All applicable copyrights and credits can be found
58: in the applicable file sources found in the files src.tar.gz, sys.tar.gz,
1.52 matthieu 59: xenocara.tar.gz, or in the files fetched via ports.tar.gz. The distribution
1.1 jasper 60: files used to build packages from the ports.tar.gz file are not included on
61: the CDROM because of lack of space.
62: <p>
63:
64: <a name="new"></a>
65: <hr>
66: <p>
67: <h3><font color="#0000e0">What's New</font></h3>
68: <p>
69: This is a partial list of new features and systems included in OpenBSD 4.2.
1.20 deraadt 70: For a comprehensive list, see the <a href="plus42.html">changelog</a> leading
1.1 jasper 71: to 4.2.
72: <p>
73:
74: <ul>
75:
76: <li>New/extended platforms:
77: <ul>
1.15 kettenis 78: <li><a href="sparc64.html">OpenBSD/sparc64</a>.<br>
79: The PCIe UltraSPARC IIIi machines like the V215 and V245 are now
80: supported.
1.18 kettenis 81: <li><a href="hppa.html">OpenBSD/hppa</a>.<br>
1.15 kettenis 82: Four-digit B/C/J-class workstations like the B2000, C3750 or J6750
83: are now supported (in 32-bit mode).
1.41 matthieu 84: <li><a href="alpha.html">OpenBSD/alpha</a>.<br>
85: Add support in the alpha platform for a couple of new Alpha
86: models, AlphaServer 1200 and 4100.
1.1 jasper 87: </ul>
88: <p>
89:
1.34 deraadt 90: <li>Platforms skipped this release:
1.1 jasper 91: <ul>
1.34 deraadt 92: <li><a href="sgi.html">OpenBSD/sgi</a>.<br>
1.35 jasper 93: Due to various issues, this architecture will not be released
1.34 deraadt 94: this time.
1.1 jasper 95: </ul>
96: <p>
97:
98: <li>Improved hardware support, including:
99: <ul>
1.11 matthieu 100: <li> Native Serial-ATA support:
101: <ul>
1.39 matthieu 102: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ahci&sektion=4">ahci(4)</a>
1.24 dlg 103: driver for SATA controllers conforming to the Advanced Host Controller
104: Interface specification.
1.39 matthieu 105: <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.
106: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sili&sektion=4">sili(4)</a>
1.24 dlg 107: driver for SATA controllers using the Silicon Image 3124/3132/3531 SATALink
108: chipsets.
1.11 matthieu 109: </ul>
1.39 matthieu 110: <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:
111: <ul>
112: <li>Intel ICH8M PATA
113: <li>JMicron JMB36x PATA
114: <li>VIA CX700/VX700 PATA
115: </ul>
1.43 cnst 116: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=lm&sektion=4">lm(4)</a>
117: driver now supports Winbond W83627DHG and W83627EHF-A Super I/O Hardware Monitors.
1.22 kettenis 118: <li> The <a
119: href="http://www.openbsd.org/cgi-bin/man.cgi?query=siop&sektion=4">siop(4)</a>
120: driver now has support for NCR 53C720/770 controllers in big endian mode.
121: In particular this means that the onboard Fast-Wide SCSI on many hppa
122: machines is supported now.
1.39 matthieu 123: <li> New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tht&sektion=4">tht(4)</a>
124: driver for Tehuti Networks 10Gb Ethernet controllers.
1.25 jsg 125: <li> The <a
126: href="http://www.openbsd.org/cgi-bin/man.cgi?query=malo&sektion=4">malo(4)</a>
127: driver now supports Marvell 88W8385 802.11g based Compact Flash devices.
1.39 matthieu 128: <li> New <a
129: href="http://www.openbsd.org/cgi-bin/man.cgi?query=uts&sektion=4">uts(4)</a>
130: driver for USB touch screens, and the <a
131: href="http://www.openbsd.org/cgi-bin/man.cgi?query=xtsscale&sektion=1">xtsscale(1)</a>
132: calibration utility.
1.41 matthieu 133: <li> The <a
134: href="http://www.openbsd.org/cgi-bin/man.cgi?query=i810&sektion=4">i810(4)<a>
135: X.Org driver and the PCI AGP driver now support Intel i965GM chips.
1.27 jasper 136: <li> New <a
137: href="http://www.openbsd.org/cgi-bin/man.cgi?query=led&arch=sparc64">led(4)</a>
138: driver for the front panel LEDs on the V215/245.
139: <li> New <a
140: href="http://www.openbsd.org/cgi-bin/man.cgi?query=bbc&arch=sparc64">bbc(4)</a>
141: driver providing support for the BootBus Controllers in UltraSparc III systems.
142: <li> New <a
143: href="http://www.openbsd.org/cgi-bin/man.cgi?query=pmc&arch=sparc64">pmc(4)</a>
144: driver for the
145: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=watchdog§ion=4">
146: watchdog(4)</a> timer on the National Semiconductor PC87317 SuperIO chip.
1.39 matthieu 147: <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 148: <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.
149: <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.
150: <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 151: <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 152: <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 153: <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.
154: <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.
155: <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.
156: <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.
157: <li>Intel enhanced speedstep is now supported on OpenBSD/amd64.
1.39 matthieu 158: <li>New support for the on die CPU temperature sensor found on the Intel Core family of processors.
1.53 deraadt 159: <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 160: </ul>
161: <p>
1.8 matthieu 162:
1.1 jasper 163:
164: <li>New tools:
165: <ul>
1.10 matthieu 166: <li> <a
167: href="http://www.openbsd.org/cgi-bin/man.cgi?query=cwm&sektion=1">cwm(1)</a>
168: has replaced wm2 as a simple-looking low-resource window manager.
1.26 jsg 169: <li> <a
170: href="http://www.openbsd.org/cgi-bin/man.cgi?query=zless&sektion=1">zless(1)</a>,
171: view compressed files with
172: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=less&sektion=1">less(1)</a>.
1.31 david 173: <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 174: </ul>
175: <p>
1.10 matthieu 176:
1.1 jasper 177:
178: <li>New functionality:
179: <ul>
1.14 otto 180: <li>FFS2, the updated version of the fast file system.
1.23 kili 181: <li><a
182: href="http://www.openbsd.org/cgi-bin/man.cgi?query=ftp&sektion=1">ftp(1)</a>
183: now can send cookies loaded from a netscape-like cookiejar, supports
184: proxies requiring a password, and has a keep-alive option to avoid
185: over-agressive control connection dropping.
1.29 espie 186: <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
187: consistent error messages, and can deal with a lot more update scenarios
188: gracefully. It also has much better look-up capabilities for multiple entries
189: in <code>PKG_PATH</code>, stopping at the first directory with suitable
190: candidates.
1.30 simon 191: <li><a
192: href="http://www.openbsd.org/cgi-bin/man.cgi?query=ftp-proxy&sektion=8">ftp-proxy(8)</a>
193: is now able to automatically tag packets passing through the <a
194: href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4">pf(4)</a> rule with a supplied name.
1.31 david 195: <li>Kernel work queues,
196: <a href=http://www.openbsd.org/cgi-bin/man.cgi?query=workq_add_task&sektion=9&arch=i386>workq_add_task(9)</a>,
197: <a href=http://www.openbsd.org/cgi-bin/man.cgi?query=workq_create&sektion=9&arch=i386>workq_create(9)</a>,
198: <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 199: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ifconfig&sektion=8">ifconfig(8)</a>
200: now understands IP address/mask in CIDR notation.
1.40 matthieu 201: <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 202: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sensorsd&sektion=8">sensorsd(8)</a>
203: now supports a zero-configuration monitoring and has a more intuitive logging
204: for all sensors that automatically provide sensor state. It also features
205: advancements in user-specified monitoring, including monitoring of sensors
206: that are periodically flagged as invalid.
207: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sensorsd.conf&sektion=5">sensorsd.conf(5)</a>
208: now supports sensor matching by sensor type, allowing easier configuration.
1.46 kettenis 209: <li>The i386 bootloader can now load amd64 kernels.
210: <li>The amd64 bootloader can now load i386 kernels.
1.1 jasper 211: </ul>
212: <p>
213:
214: <li>Assorted improvements and code cleanup:
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.
224: <li>Various improvements in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4">pf</a>
225: increase performance drastically, stateful passing more than twice as fast than before.
1.54 ! cloder 226: <li>A change in how the kernel random pool is stirred greatly increases performance
! 227: with network interface cards that support interrupt mitigation.
1.38 krw 228: <li>i386 TLB handling improved to avoid possible corruption on Core2Duo processors.
229: <li>i386 and amd64 use the BIOS disk geometry when creating default disklabels.
1.42 ray 230: <li>Default disk geometry changed from 64 heads/32 sectors to 255 heads/63 sectors.
231: <li>More usb devices with various quirks coaxed to work.
1.38 krw 232: <li>Archive/Wangtek cartridge tape drives (wt*) no longer supported.
1.42 ray 233: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=rcs&sektion=1">rcs</a> has improved GNU compatibility.
1.43 cnst 234: <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 235: <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 236: <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 237: <li>The stability of <a href="alpha.html">OpenBSD/alpha</a> has been greatly improved.
238: <li>The stability of <a href="hppa.html">OpenBSD/hppa</a> has been greatly improved.
1.1 jasper 239: </ul>
240: <p>
241:
242: <li>Install/Upgrade process changes:
243: <ul>
1.38 krw 244: <li>Allow the specification of an NTP server during installation.
245: <li>Allow no fsck'ing of clean non-root partitions during upgrade.
246: <li>Check for INSTALL.<arch> to confirm sets are for the correct architecture.
247: <li>Create and format the MSDOS partition for macppc installs in a more flexible and reliable way.
1.1 jasper 248: </ul>
249: <p>
250:
251: <li>OpenBGPD 4.2:
252: <ul>
1.28 claudio 253: <li>Include support for Four-octet AS Number Space.
254: <li>Allow matching on communities using 0 in the AS part.
255: <li>Filtering on IPv6 prefixes is now possible.
256: <li>Various bugs in the encoding of multiprotocol updates were fixed.
257: <li>Allow the use of pkill -HUP bgpd to reload the config.
1.37 henning 258: <li>bgpctl can filter prefix output by community now
1.1 jasper 259: </ul>
260: <p>
261:
262: <li>OpenNTPD 4.2:
263: <ul>
1.47 kettenis 264: <li>Improved support for timedelta sensors.
1.1 jasper 265: </ul>
266: <p>
267:
268: <li>OpenOSPFD 4.2:
269: <ul>
1.28 claudio 270: <li>Added support for RFC 3137: OSPF Stub Router Advertisement
271: <li>It is possible to specify a carp demote group on interfaces and areas.
272: <li>Added support for mapping route labels to AS-external route tags and vice versa.
273: <li>Allow the use of pkill -HUP ospfd to reload the config.
1.1 jasper 274: </ul>
275: <p>
276:
1.45 pyr 277: <li>Hoststated 4.2:
278: <ul>
279: <li>Added support for Layer 7 load balancing (or relay).</li>
280: <li>Added support for reloading through hoststatectl or SIGHUP.</li>
281: <li>It is now possible to schedule an immediate poll.</li>
282: </ul>
283: <p>
284:
1.1 jasper 285: <li>OpenSSH 4.7:
286: <ul>
1.44 deraadt 287: <li>Prevent
288: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
289: from using a trusted X11 cookie if creation of an
290: untrusted cookie fails; found and fixed by Jan Pechanec.
291: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>
292: in new installations defaults to SSH Protocol 2 only.
293: Existing installations are unchanged.
294: <li>The SSH channel window size has been increased, and both
295: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
296: and
297: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>
298: now send window updates more aggressively.<br>
299: These improves performance on high-BDP (Bandwidth Delay Product) networks.
300: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
301: and
302: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>
303: now preserve MAC contexts between packets, which
304: saves 2 hash calls per packet and results in 12-16% speedup for
305: arcfour256/hmac-md5.
306: <li>A new MAC algorithm has been added, UMAC-64 (RFC4418) which is
307: approximately 20% faster than HMAC-MD5.
308: <li>A -K flag was added to
309: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
310: to set GSSAPIAuthentication=Yes.
311: <li>Failure to establish a
312: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
313: TunnelForward is now treated as a
314: fatal error when the ExitOnForwardFailure option is set.
315: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
316: returns a sensible exit status if the control master goes
317: away without passing the full exit status. (bz #1261)
1.1 jasper 318: </ul>
319: <p>
320:
1.44 deraadt 321: <li>Over 4,500 ports, minor robustness improvements in package tools.
322: <li>Many pre-built packages for each architecture:
323: <table border=0 cellspacing=0 cellpadding=2 width="95%">
324: <tr>
325: <td valign="top" width="33%">
326: <ul>
327: <li>i386: 4360
328: <li>sparc64: 4205
329: <li>alpha: 3779
330: <li>sh: XXXX
331: </ul></td><td valign=top width="33%"><ul>
332: <li>amd64: 4283
333: <li>powerpc: 4230
334: <li>sparc: XXXX
335: <li>m68k: XXXX
336: </ul></td><td valign=top width="33%"><ul>
337: <li>arm: XXXX
338: <li>hppa: 3215
339: </ul></td></tr></table>
1.1 jasper 340: Some highlights:
341: <ul>
1.44 deraadt 342: <!-- XXX double check versions -->
1.4 jasper 343: <li>Gnome 2.18.
1.16 jasper 344: <li>GNUstep 1.14.
1.4 jasper 345: <li>KDE 3.5.7 and koffice 1.6.3.
1.7 steven 346: <li>Xfce 4.4.1.
1.35 jasper 347: <li>OpenMotif 2.3.0.
1.9 steven 348: <li>OpenOffice.org 2.2.1.
349: <li>Mozilla Firefox 2.0.0.6.
1.4 jasper 350: <li>PostgreSQL 8.2.4.
1.5 jasper 351: <li>GHC 6.6.1 (amd64 and i386 only)
1.1 jasper 352: </ul>
353: <p>
354:
355: <li>As usual, steady improvements in manual pages and other documentation.
356: <p>
357:
358: <li>The system includes the following major components from outside suppliers:
359: <ul>
1.19 matthieu 360: <li>Xenocara (based on X.Org 7.2 + patches, freetype 2.2.1, fontconfig
1.1 jasper 361: 2.4.2, expat 2.0.0, Mesa 6.5.2, xterm 225 and more)
362: <li>Gcc 2.95.3
363: (+ <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gcc-local&sektion=1">patches</a>)
364: and 3.3.5
365: (+ <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gcc-local&sektion=1">patches</a>)
366: <li>Perl 5.8.8 (+ patches)
367: <li>Our improved and secured version of Apache 1.3, with SSL/TLS and DSO support
368: <li>OpenSSL 0.9.7j (+ patches)
369: <li>Groff 1.15
370: <li>Sendmail 8.14.1, with libmilter
371: <li>Bind 9.3.4 (+ patches)
372: <li>Lynx 2.8.5rel.4 with HTTPS and IPv6 support (+ patches)
373: <li>Sudo 1.6.9p4
374: <li>Ncurses 5.2
375: <li>Latest KAME IPv6
376: <li>Heimdal 0.7.2 (+ patches)
377: <li>Arla 0.35.7
378: <li>Binutils 2.15 (+ patches)
379: <li>Gdb 6.3 (+ patches)
380: <!-- XXX double check versions -->
381: </ul>
382: <p>
383:
384: </ul>
385:
386: <a name="install"></a>
387: <hr>
388: <p>
389: <h3><font color="#0000e0">How to install</font></h3>
390: <p>
391: Following this are the instructions which you would have on a piece of
392: paper if you had purchased a CDROM set instead of doing an alternate
393: form of install. The instructions for doing an FTP (or other style
394: of) install are very similar; the CDROM instructions are left intact
395: so that you can see how much easier it would have been if you had
396: purchased a CDROM instead.
397: <p>
398:
399: <hr>
400: Please refer to the following files on the three CDROMs or FTP mirror for
401: extensive details on how to install OpenBSD 4.2 on your machine:
402: <p>
403: <ul>
404: <li>CD1:4.2/i386/INSTALL.i386
405: <p>
406: <li>CD2:4.2/amd64/INSTALL.amd64
407: <li>CD2:4.2/macppc/INSTALL.macppc
408: <p>
409: <li>CD3:4.2/sparc64/INSTALL.sparc64
410: <p>
411: <li>FTP:.../OpenBSD/4.2/alpha/INSTALL.alpha
412: <li>FTP:.../OpenBSD/4.2/armish/INSTALL.armish
413: <li>FTP:.../OpenBSD/4.2/hp300/INSTALL.hp300
414: <li>FTP:.../OpenBSD/4.2/hppa/INSTALL.hppa
415: <li>FTP:.../OpenBSD/4.2/landisk/INSTALL.landisk
416: <li>FTP:.../OpenBSD/4.2/luna88k/INSTALL.luna88k
417: <li>FTP:.../OpenBSD/4.2/mac68k/INSTALL.mac68k
418: <li>FTP:.../OpenBSD/4.2/mvme68k/INSTALL.mvme68k
419: <li>FTP:.../OpenBSD/4.2/mvme88k/INSTALL.mvme88k
420: <li>FTP:.../OpenBSD/4.2/sparc/INSTALL.sparc
421: <li>FTP:.../OpenBSD/4.2/vax/INSTALL.vax
422: <li>FTP:.../OpenBSD/4.2/zaurus/INSTALL.zaurus
423: </ul>
424: <hr>
425:
426: <p>
427: Quick installer information for people familiar with OpenBSD, and the
428: use of the "disklabel -E" command. If you are at all confused when
429: installing OpenBSD, read the relevant INSTALL.* file as listed above!
430: <p>
431:
432: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
433: <ul>
434: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
435: release is on CD1. If your BIOS does not support booting from CD, you will need
436: to create a boot floppy to install from. To create a boot floppy write
437: <i>CD1:4.2/i386/floppy42.fs</i> to a floppy and boot via the floppy drive.
438:
439: <p>
440: Use <i>CD1:4.2/i386/floppyB42.fs</i> instead for greater SCSI controller
441: support, or <i>CD1:4.2/i386/floppyC42.fs</i> for better laptop support.
442:
443: <p>
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
456: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>
457: utility. The following is an example usage of
458: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>,
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:
576: <p>
577: <h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
578: <ul>
579: <p>
580: Copy bsd.rd to a Mach or UniOS partition, and boot it from the PROM.
581: Alternatively, you can create a bootable tape and boot from it. Refer to
582: the instructions in INSTALL.luna88k for more details.
583: </ul>
584:
585: <p>
586: <h3><font color="#e00000">OpenBSD/mac68k:</font></h3>
587: <ul>
588: <p>
589: Boot MacOS as normal and extract the Macside "BSD/Mac68k Booter" utility from
590: <i>FTP:4.2/mac68k/utils</i> onto your hard disk. Configure the "BSD/Mac68k
591: Booter" with the location of your bsd.rd kernel and boot into the installer.
592: Refer to the instructions in INSTALL.mac68k for more details.
593: </ul>
594:
595: <p>
596: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
597: <ul>
598: <p>
599: You can create a bootable installation tape or boot over the network.<br>
600: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
601: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
602: for more details.
603: </ul>
604:
605: <p>
606: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
607: <ul>
608: <p>
609: You can create a bootable installation tape or boot over the network.<br>
610: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
611: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
612: for more details.
613: </ul>
614:
615: <p>
616: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
617: <ul>
1.21 deraadt 618: Boot from one of the provided install ISO images, using one of the two
619: commands listed below, depending on the version of your ROM.
1.1 jasper 620:
621: <ul><pre>
622: ok <strong>boot cdrom 4.2/sparc/bsd.rd</strong>
623: or
624: > <strong>b sd(0,6,0)4.2/sparc/bsd.rd</strong>
625: </pre></ul>
626:
627: <p>
628: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
1.21 deraadt 629: To do so you need to write <i>floppy42.fs</i> to a floppy.
1.1 jasper 630: For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.1</a>.
631: To boot from the floppy use one of the two commands listed below,
632: depending on the version of your ROM.
633:
634: <ul><pre>
635: ok <strong>boot floppy</strong>
636: or
637: > <strong>b fd()</strong>
638: </pre></ul>
639:
640: <p>
641: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
642: will most likely fail.
643:
644: <p>
645: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
646: setup a bootable tape, or install via network, as told in the
647: INSTALL.sparc file.
648: </ul>
649:
650: <p>
651: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
652: <ul>
653: Boot over the network via mopbooting as described in INSTALL.vax.
654: </ul>
655:
656: <p>
657: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
658: <ul>
659: <p>
660: Using the Linux built-in graphical ipkg installer, install the
661: openbsd42_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
662: for a few important details.
663: </ul>
664:
665: <p>
666: <h3><font color="#e00000">Notes about the source code:</font></h3>
667: <ul>
668: src.tar.gz contains a source archive starting at /usr/src. This file
669: contains everything you need except for the kernel sources, which are
670: in a separate archive. To extract:
671: <p>
672: <ul><pre>
673: # <strong>mkdir -p /usr/src</strong>
674: # <strong>cd /usr/src</strong>
675: # <strong>tar xvfz /tmp/src.tar.gz</strong>
676: </pre></ul>
677: <p>
678: sys.tar.gz contains a source archive starting at /usr/src/sys.
679: This file contains all the kernel sources you need to rebuild kernels.
680: To extract:
681: <p>
682: <ul><pre>
683: # <strong>mkdir -p /usr/src/sys</strong>
684: # <strong>cd /usr/src</strong>
685: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
686: </pre></ul>
687: <p>
688: Both of these trees are a regular CVS checkout. Using these trees it
689: is possible to get a head-start on using the anoncvs servers as
690: described <a href="anoncvs.html">here</a>.
691: Using these files
692: results in a much faster initial CVS update than you could expect from
693: a fresh checkout of the full OpenBSD source tree.
694: <p>
695: </ul>
696:
697: <a name="upgrade"></a>
698: <hr>
699: <p>
700: <h3><font color="#0000e0">How to upgrade</font></h3>
701: <p>
702: If you already have an OpenBSD 4.1 system, and do not want to reinstall,
703: upgrade instructions and advice can be found in the
704: <a href="faq/upgrade42.html">Upgrade Guide</a>.
705:
706: <a name="ports"></a>
707: <hr>
708: <p>
709: <h3><font color="#0000e0">Ports Tree</font></h3>
710: <p>
711: A ports tree archive is also provided. To extract:
712: <p>
713: <ul><pre>
714: # <strong>cd /usr</strong>
715: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
716: # <strong>cd ports</strong>
717: </pre></ul>
718: <p>
719: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
720: read the <a href="ports.html">ports</a> page
721: if you know nothing about ports
722: at this point. This text is not a manual of how to use ports.
723: Rather, it is a set of notes meant to kickstart the user on the
724: OpenBSD ports system.
725: <p>
726: The <i>ports/</i> directory represents a CVS (see the manpage for
727: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386&format=html">
728: cvs(1)</a> if
729: you aren't familiar with CVS) checkout of our ports. As with our complete
730: source tree, our ports tree is available via anoncvs. So, in
731: order to keep current with it, you must make the <i>ports/</i> tree
732: available on a read-write medium and update the tree with a command
733: like:
734: <p>
735: <ul><pre>
736: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_4_2</strong>
737: </pre></ul>
738: <p>
739: [Of course, you must replace the local directory and server name here
740: with the location of your ports collection and a nearby anoncvs
741: server.]
742: <p>
743: Note that most ports are available as packages through FTP. Updated
744: packages for the 4.2 release will be made available if problems arise.
745: <p>
746: If you're interested in seeing a port added, would like to help out, or just
747: would like to know more, the mailing list ports@openbsd.org is a good
748: place to know.
749: <p>
750:
751: <hr>
752: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
753: alt="OpenBSD"></a>
754: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
755: <br><small>
1.54 ! cloder 756: $OpenBSD: 42.html,v 1.53 2007/09/06 15:13:53 deraadt Exp $
1.1 jasper 757: </small>
758:
759: </body>
760: </html>