Annotation of www/40.html, Revision 1.49
1.1 david 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <title>OpenBSD 4.0 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.0">
9: <meta name="keywords" content="openbsd,main">
10: <meta name="distribution" content="global">
11: <meta name="copyright" content="This document copyright 2006 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>
1.46 deraadt 21: <a href="images/Pufferix.jpg">
22: <img align="left" width="227" height="343" hspace="24" vspace="30"
23: src="images/Pufferix.jpg" alt="OpenBSD 4.0 logo"></a>
1.1 david 24: <h2><font color="#0000e0">The OpenBSD 4.0 Release:</font></h2>
25: <p>
26: Released Nov 1, 2006<br>
27: Copyright 1997-2006, Theo de Raadt.<br>
28: <!-- XXX ISBN
29: <font color="#e00000">ISBN XXX </font>
30: -->
31: <!-- XXX song
32: <br>
33: <a href="lyrics.html#40">4.0 Song: "XXX"</a>
34: -->
35: <p>
36:
37: <a href="#new">What's New</a><br>
38: <a href="#install">How to install</a><br>
39: <a href="#upgrade">How to upgrade</a><br>
40: <a href="#ports">How to use the ports tree</a><br>
41: <a href="orders.html">Ordering a CD set</a><br>
42:
43: <p>
44: <h3><font color="#0000e0">
45: To get the files for this release:
46: <ul>
47: <li>Order a CDROM from our <a href="orders.html">ordering system</a>.
48: <li>See the information on <a href="ftp.html">The FTP page</a> for
49: a list of mirror machines.
50: <li>Go to the <font color="#e00000">pub/OpenBSD/4.0/</font> directory on
51: one of the mirror sites.
52: <li>Briefly read the rest of this document.
53: <li>Have a look at <a href="errata.html">The 4.0 Errata page</a> for a list
54: of bugs and workarounds.
55: <li>See a <a href="plus.html">detailed log of changes</a> between the
56: 3.9 and 4.0 releases.
57: <!-- XXX plus40.html -->
58: </ul>
59: </font></h3>
60: <br clear=all>
61:
62: <strong>Note:</strong> All applicable copyrights and credits can be found
63: in the applicable file sources found in the files src.tar.gz, sys.tar.gz,
64: XF4.tar.gz, or in the files fetched via ports.tar.gz. The distribution
65: files used to build packages from the ports.tar.gz file are not included on
66: the CDROM because of lack of space.
67: <p>
68:
69: <a name="new"></a>
70: <hr>
71: <p>
72: <h3><font color="#0000e0">What's New</font></h3>
73: <p>
74: This is a partial list of new features and systems included in OpenBSD 4.0.
75: For a comprehensive list, see the <a href="plus.html">changelog</a> leading
76: to 4.0.
77: <!-- XXX plus40.html -->
78: <p>
79:
80: <ul>
81:
1.11 jsg 82: <li>New platforms:
83: <ul>
84: <li><a href="armish.html">OpenBSD/armish</a>.<br>
85: Various ARM-based appliances, using the Redboot boot loader, currently only supporting the Thecus N2100 and IOData HDL-G.
86: </ul>
87: <p>
88:
1.1 david 89: <li>Improved hardware support, including:
90: <ul>
1.30 niallo 91: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=msk&sektion=4">msk(4)</a> driver for Marvell/SysKonnect Yukon-2 Gigabit Ethernet.
92: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bnx&sektion=4">bnx(4)</a> driver for Broadcom NetXtreme II Gigabit Ethernet.
93: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=xge&sektion=4">xge(4)</a> driver for Neterion Xframe/Xframe II 10Gb Ethernet.
94: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=rum&sektion=4">rum(4)</a> driver for Ralink Technology 2nd gen USB IEEE 802.11a/b/g wireless.
95: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=acx&sektion=4">acx(4)</a> driver for Texas Instruments ACX100/ACX111 IEEE 802.11a/b/g wireless.
1.42 brad 96: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pgt&sektion=4">pgt(4)</a> driver for Connexant/Intersil Prism GT Full-MAC IEEE 802.11a/b/g wireless.
97: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=uath&sektion=4">uath(4)</a> driver for Atheros USB IEEE 802.11a/b/g wireless.
1.30 niallo 98: <li>New binary blob free <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=wpi&sektion=4">wpi(4)</a> driver for Intel PRO/Wireless 3945ABG IEEE 802.11a/b/g wireless.
99: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=arc&sektion=4">arc(4)</a> driver for Areca Technology Corporation SATA RAID.
100: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mfi&sektion=4">mfi(4)</a> driver for LSI Logic & Dell MegaRAID SAS RAID.
101: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=azalia&sektion=4">azalia(4)</a> driver for generic High Definition Audio.
1.46 deraadt 102: <li>New SD/MMC/SDIO drivers (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sdhc&sektion=4">sdhc(4)</a>, <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sdmmc&sektion=4">sdmmc(4)</a>), currently supporting SD memory cards as fake SCSI <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sd&sektion=4">sd(4)</a> drives.
1.30 niallo 103: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=udcf&sektion=4">udcf(4)</a> driver for Gude ADS Expert mouseCLOCK DCF77/HBG time signal station receivers.
104: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=uslcom&sektion=4">uslcom(4)</a> driver for Silicon Laboratories CP2101/CP2102 based USB serial adapters.
105: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ucycom&sektion=4">ucycom(4)</a> driver for Cypress microcontroller based USB serial adapters.
106: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=uark&sektion=4">uark(4)</a> driver for Arkmicro Technologies ARK3116 based USB serial adapters.
107: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=umsm&sektion=4">umsm(4)</a> driver for Qualcomm MSM EVDO based modems.
1.21 jsg 108: <li>New Dallas/Maxim 1-Wire bus support, including:
109: <ul>
110: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gpioow&sektion=4">gpioow(4)</a> driver for 1-Wire bus bit-banging through GPIO pin
111: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=onewire&sektion=4">onewire(4)</a> 1-Wire bus driver
112: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=owid&sektion=4">owid(4)</a> 1-Wire ID family driver
113: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=owtemp&sektion=4">owtemp(4)</a> 1-Wire temperature family driver
114: </ul>
1.30 niallo 115: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=isagpio&sektion=4">isagpio(4)</a> driver for ISA I/O mapped as GPIO.
1.49 ! mbalmer 116: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nmea&sektion=4">nmea(4)</a>
! 117: line discipline for NMEA 0183 (GPS) devices. The new
! 118: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nmeaattach&sektion=8">nmeaattach(8)</a>
! 119: utility can be used to receive NMEA 0183 data and provide the time
! 120: received as a timedelta sensor to be used by, for example,
! 121: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ntpd&sektion=8">ntpd(8)</a>.
1.37 jsg 122: <li>New VAX framebuffer drivers:
123: <ul>
124: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=lcg&sektion=4&arch=vax">lcg(4)</a> driver for VAXstation 4000/60 and VLC color frame buffers
125: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=lcspx&sektion=4&arch=vax">lcspx(4)</a> driver for Low-Cost SPX color frame buffers
126: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gpx&sektion=4&arch=vax">gpx(4)</a> driver for GPX color frame buffers
127: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=smg&sektion=4&arch=vax">smg(4)</a> driver for Small Monochrome Graphics frame buffers heavily updated to be a modern <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=wscons&sektion=4">wscons(4)</a> driver
128: </ul>
129: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=vxtbus&sektion=4&arch=vax">vxtbus(4)</a> support for VAX VXT2000 bus.
130: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=led&sektion=4&arch=vax">led(4)</a> VAX LED driver
1.30 niallo 131: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bge&sektion=4">bge(4)</a> driver supporting newer chipsets, such as the Broadcom BCM5754, BCM5755, BCM5786, and BCM5787.
132: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=em&sektion=4">em(4)</a> driver supporting newer chipsets, such as the Intel ESB2 and ICH8.
133: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nfe&sektion=4">nfe(4)</a> driver supporting newer chipsets, such as the NVIDIA MCP61 and MCP65.
134: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=re&sektion=4">re(4)</a> driver supporting newer chipsets, such as the Realtek RT8101E, RT8168, and RT8169SC.
135: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dc&sektion=4">dc(4)</a> driver supporting newer chipsets, such as the ADMtek ADM9511 and ADM9513.
1.6 brad 136: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pciide&sektion=4">pciide(4)</a> driver supporting newer chipsets, such as:
137: <ul>
1.38 jsg 138: <li>ATI IXP300 SATA, IXP600 IDE
139: <li>Intel 6321ESB IDE/SATA, 82801G SATA, and 82801H SATA
140: <li>IT Express IT8211F IDE
141: <li>NVIDIA MCP61 SATA, MCP65 SATA
1.6 brad 142: <li>Promise PDC205xx SATA
143: <li>ServerWorks SATA
1.38 jsg 144: <li>VIA VT8237A SATA
1.6 brad 145: </ul>
1.31 brad 146: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mpt&sektion=4">mpt(4)</a> driver has been replaced with <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mpi&sektion=4">mpi(4)</a>, a more stable driver that supports more hardware.
1.30 niallo 147: <li>Working interrupt routing on Sun Netra t1 105, Ultra 60 and possibly other <a href="sparc64.html">sparc64</a> systems.
148: <li>Work around broken VIA and NVIDIA MPBIOSes, fixes interrupt routing with GENERIC.MP on several systems.
149: <li>Initial <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bio&sektion=4">bio(4)</a> support for Compaq/HP <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ciss&sektion=4">ciss(4)</a> Smart ARRAY 5/6 SAS/SCSI RAID controllers.
1.10 steven 150: <li>UltraSPARC III based <a href="sparc64.html">sparc64</a> machines are now supported!
1.39 jsg 151: <li>Support for the Zaurus SL-C3200 in <a href="zaurus.html">OpenBSD/zaurus</a>.
1.1 david 152: </ul>
153: <p>
154:
155: <li>New tools:
156: <ul>
1.28 niallo 157: <li>GNU RCS has been replaced with <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=rcs&sektion=1">OpenRCS</a>.
1.1 david 158: </ul>
159: <p>
160:
161: <li>New functionality:
162: <ul>
1.32 naddy 163: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ipsecctl&sektion=8">ipsecctl(8)</a> has been greatly extended and completely supersedes ipsecadm(8).
1.15 steven 164: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ftp&sektion=1">ftp(1)</a> now supports HTTPS.
1.18 steven 165: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cdio&sektion=1">cdio(1)</a> can now perform track-at-once burning and rewritable blanking.
1.29 niallo 166: <li>spppcontrol(8) and wicontrol(8) functionality has been merged into
1.17 steven 167: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ifconfig&sektion=8">ifconfig(8)</a>.
1.16 steven 168: <li>gcc(1) provides a new warning, -Wstack-larger-than-N, to report functions
169: which are too greedy in stack variables, see
170: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gcc-local&sektion=1">gcc-local(1)</a> for details.
1.30 niallo 171: <li>An in-kernel <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=getcwd&sektion=3">getcwd(3)</a> implementation.
1.49 ! mbalmer 172: <li>A new system call <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=adjfreq&sektion=2">adjfreq(2)</a>
1.12 otto 173: to allow <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ntpd&sektion=8">ntpd(8)</a>
174: to adjust the tick rate of the system clock automatically.
1.37 jsg 175: <li>Support for X11 on VAX has been added
1.30 niallo 176: <li>Virtual Allocation Table (VAT) support for <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mount_udf&sektion=8">UDF</a>.
1.16 steven 177: <li>C99 functions
178: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=round&sektion=3">round(3)</a>,
179: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=roundf&sektion=3">roundf(3)</a>,
180: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=trunc&sektion=3">trunc(3)</a>, and
181: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=truncf&sektion=3">truncf(3)</a>
182: have been added to libm, the math library.
1.34 djm 183: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4">pf(4)</a>
184: now supports Unicast Reverse Path Forwarding (uRPF) checks for simplified
1.35 aanriot 185: ingress filtering.
1.34 djm 186: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bpf&sektion=4">bpf(4)</a>
187: can now ignore packets based on their direction (inbound/outbound) using the
1.35 aanriot 188: BIOCSDIRFILT ioctl.
1.36 martin 189: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pdisk&sektion=8&arch=mac68k">pdisk(8)</a>
190: can now set up slices on HFS(DPME) partitioned disks on mac68k.
1.44 mpf 191: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sasyncd&sektion=8">sasyncd(8)</a>
1.47 ian 192: communicates with its
1.46 deraadt 193: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=isakmpd&sektion=8">isakmpd(8)</a>,
194: telling it to run active or passive. This makes IPsec failover setups much more robust.
1.1 david 195: </ul>
196: <p>
197:
198: <li>Assorted improvements and code cleanup:
199: <ul>
1.13 otto 200: <li>Much better time keeping for multiprocessor <a href="i386.html">OpenBSD/i386</a>
201: systems.
202: <li>Much improved implementation of <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=telldir&sektion=3">telldir(3)</a>
203: and friends.
1.34 djm 204: <li>Replacement of all
205: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=malloc&sektion=3">malloc(3)</a>
206: calls that follow a pattern prone to integer overflow with safer constructs.
1.44 mpf 207: <li>Improved failover handling in
208: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=carp&sektion=4">carp(4)</a>:
209: <ul>
210: <li>Extend the carp protocol with the demotion counter to act smarter on multiple failures.
211: <li>Group failovers now work without carp running preempt mode.
212: <li>Demotion can now be controlled via interface groups.
213: </ul>
1.1 david 214: </ul>
215: <p>
216:
217: <li>OpenSSH 4.4:
218: <ul>
1.40 dtucker 219: <li>Conditional configuration in <a href=
220: "http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5"
221: >sshd_config(5)</a> using the <b>Match</b> directive. This allows some
222: configuration options to be selectively overridden if specific criteria
223: (based on user, group, hostname and/or address) are met.
224: <li>Add support for Diffie-Hellman group exchange key agreement with a
225: final hash of SHA256.
226: <li>Added a <b>ForceCommand</b> directive to <a href=
227: "http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5"
228: >sshd_config(5)</a>, similar to the command="..." option in
229: ~/.ssh/authorized_keys.
230: <li>Added a <b>PermitOpen</b> directive to <a href=
231: "http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5"
232: >sshd_config(5)</a>, similar to the permitopen="..." option in
233: authorized_keys, to allow control over the port-forwardings that a
234: user is allowed to establish.
235: <li>Added an <b>ExitOnForwardFailure</b> option to cause ssh(1) to exit (with
236: a non-zero exit code) when requested port forwardings could not be
237: established.
238: <li>Added optional logging of transactions to <a href=
239: "http://www.openbsd.org/cgi-bin/man.cgi?query=sftp-server&sektion=8"
240: >sftp-server(8)</a>.
241: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1"
242: >ssh(1)</a> will now record port numbers for hosts stored in
243: ~/.ssh/authorized_keys when a non-standard port has been requested.
244: <li>Extended the <a href=
245: "http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5"
246: >sshd_config(5)</a> "SubSystem" directive to allow the
247: specification of commandline arguments.
248: <li>Many manpage fixes and improvements
1.1 david 249: </ul>
250: <p>
251:
252: <li>OpenBGPD 4.0:
253: <ul>
1.48 henning 254: <li>new nexthop selection logic ignoring bgpd routes, helps in complex setups
255: with ospfd
256: <li>add a "detailed" show rib view to bgpctl, including communities
257: <li>allow requesting a route refresh from a peer that supports it
258: <li>have bgpd always report back the result of an operation to bgpctl, so
259: the operator can spot errors quicker
260: <li>allow bgpd to manipulate carp demotion counters based on session states,
261: gives even greater failover support
262: <li>support restarting sessions that reached max-prefix after a given time
263: <li>bgpctl can now show all routes received from a neighbor before filters
264: were applied, and routes sent to neighbors
265: <li>assorted fixes and improvements, as usual
1.1 david 266: </ul>
267: <p>
268:
1.41 norby 269: <li>OpenOSPFD 4.0:
1.1 david 270: <ul>
1.41 norby 271: <li>Track uptime of the daemon itself.
272: <li>Track uptime of all ospf enabled interfaces.
273: <li>Adjust logging behaviour to prevent unwanted logging.
274: <li>Delay LSA updates when removing and adding - prevent flapping.
275: <li>Fix plaintext authentication.
1.43 brad 276: <li>Improve the output of 'ospfctl show interfaces'.
1.41 norby 277: <li>Support rtlabels when redistributing routes.
1.1 david 278: </ul>
279: <p>
1.41 norby 280:
1.49 ! mbalmer 281: <li>OpenNTPD:
! 282: <ul>
! 283: <li>Optionally use timedelta sensors provided by hardware drivers like the new
! 284: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nmea&sektion=4">nmea(4)</a>
! 285: line discipline for NMEA 0183 (GPS) devices and the new
! 286: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=udcf&sektion=4">udcf(4)</a>
! 287: driver for Gude ADS Expert mouseCLOCK DCF77/HBG time signal station receivers.
! 288: <li>Use the new
! 289: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=adjfreq&sektion=2">adjfreq(2)</a>
! 290: system call to adjust the tick rate of the system clock automatically.
! 291: </ul>
! 292: <p>
1.1 david 293:
1.9 steven 294: <li>Over 3700 ports, 3400 pre-built packages, improved package tools.
1.1 david 295: <!-- XXX update numbers -->
296: <p>
297:
298: <li>As usual, steady improvements in manual pages and other documentation.
299: <p>
300:
301: <li>The system includes the following major components from outside suppliers:
302: <ul>
303: <li>X.Org 6.9.0 (+ patches, and i386 contains XFree86 3.3.6 servers
304: (+ patches) for legacy chipsets not supported by X.Org)
305: <li>Gcc 2.95.3
306: (+ <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gcc-local&sektion=1">patches</a>)
307: and 3.3.5
308: (+ <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gcc-local&sektion=1">patches</a>)
309: <li>Perl 5.8.8 (+ patches)
310: <li>Apache 1.3.29, mod_ssl 2.8.16, DSO support (+ patches)
311: <li>OpenSSL 0.9.7j (+ patches)
312: <li>Groff 1.15
313: <li>Sendmail 8.13.8, with libmilter
1.26 david 314: <li>Bind 9.3.2-P1 (+ patches)
1.1 david 315: <li>Lynx 2.8.5rel.4 with HTTPS and IPv6 support (+ patches)
316: <li>Sudo 1.6.8p9
317: <li>Ncurses 5.2
318: <li>Latest KAME IPv6
1.24 biorn 319: <li>Heimdal 0.7.2 (+ patches)
1.1 david 320: <li>Arla 0.35.7
321: <li>Binutils 2.15 (+ patches)
322: <li>Gdb 6.3
323: <!-- XXX double check versions -->
324: </ul>
325: <p>
326:
327: </ul>
328:
329: <a name="install"></a>
330: <hr>
331: <p>
332: <h3><font color="#0000e0">How to install</font></h3>
333: <p>
334: Following this are the instructions which you would have on a piece of
335: paper if you had purchased a CDROM set instead of doing an alternate
336: form of install. The instructions for doing an FTP (or other style
337: of) install are very similar; the CDROM instructions are left intact
338: so that you can see how much easier it would have been if you had
339: purchased a CDROM instead.
340: <p>
341:
342: <hr>
343: Please refer to the following files on the three CDROMs or FTP mirror for
344: extensive details on how to install OpenBSD 4.0 on your machine:
345: <p>
346: <ul>
347: <li>CD1:4.0/i386/INSTALL.i386
348: <p>
349: <li>CD2:4.0/amd64/INSTALL.amd64
350: <li>CD2:4.0/macppc/INSTALL.macppc
351: <p>
352: <li>CD3:4.0/sparc/INSTALL.sparc
353: <li>CD3:4.0/sparc64/INSTALL.sparc64
354: <p>
355: <li>FTP:.../OpenBSD/4.0/alpha/INSTALL.alpha
1.33 brad 356: <li>FTP:.../OpenBSD/4.0/armish/INSTALL.armish
1.1 david 357: <li>FTP:.../OpenBSD/4.0/cats/INSTALL.cats
358: <li>FTP:.../OpenBSD/4.0/hp300/INSTALL.hp300
359: <li>FTP:.../OpenBSD/4.0/hppa/INSTALL.hppa
360: <li>FTP:.../OpenBSD/4.0/luna88k/INSTALL.luna88k
361: <li>FTP:.../OpenBSD/4.0/mac68k/INSTALL.mac68k
362: <li>FTP:.../OpenBSD/4.0/mvme68k/INSTALL.mvme68k
363: <li>FTP:.../OpenBSD/4.0/mvme88k/INSTALL.mvme88k
364: <li>FTP:.../OpenBSD/4.0/sgi/INSTALL.sgi
365: <li>FTP:.../OpenBSD/4.0/vax/INSTALL.vax
366: <li>FTP:.../OpenBSD/4.0/zaurus/INSTALL.zaurus
367: </ul>
368: <hr>
369:
370: <p>
371: Quick installer information for people familiar with OpenBSD, and the
372: use of the "disklabel -E" command. If you are at all confused when
373: installing OpenBSD, read the relevant INSTALL.* file as listed above!
374: <p>
375:
376: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
377: <ul>
378: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
379: release is on CD1. If your BIOS does not support booting from CD, you will need
380: to create a boot floppy to install from. To create a boot floppy write
381: <i>CD1:4.0/i386/floppy40.fs</i> to a floppy and boot via the floppy drive.
382:
383: <p>
384: Use <i>CD1:4.0/i386/floppyB40.fs</i> instead for greater SCSI controller
385: support, or <i>CD1:4.0/i386/floppyC40.fs</i> for better laptop support.
386:
387: <p>
388: If you can't boot from a CD or a floppy disk,
389: you can install across the network using PXE as described in
390: the included INSTALL.i386 document.
391:
392: <p>
393: If you are planning on dual booting OpenBSD with another OS, you will need to
394: read INSTALL.i386.
395:
396: <p>
397: To make a boot floppy under MS-DOS, use the "rawrite" utility located
398: at <i>CD1:4.0/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
399: use the
400: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>
401: utility. The following is an example usage of
402: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>,
403: where the device could be "floppy", "rfd0c", or
404: "rfd0a".
405:
406: <ul><pre>
407: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
408: </pre></ul>
409:
410: <p>
411: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
412: your install will most likely fail. For more information on creating a boot
413: floppy and installing OpenBSD/i386 please refer to
414: <a href="faq/faq4.html#MkFlop">FAQ 4.3.1</a>.
415: </ul>
416:
417: <p>
418: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
419: <ul>
420: The 4.0 release of OpenBSD/amd64 is located on CD2.
421: Boot from the CD to begin the install - you may need to adjust
422: your BIOS options first.
423: If you can't boot from the CD, you can create a boot floppy to install from.
424: To do this, write <i>CD2:4.0/amd64/floppy40.fs</i> to a floppy, then
425: boot from the floppy drive.
426:
427: <p>
428: If you can't boot from a CD or a floppy disk,
429: you can install across the network using PXE as described in the included
430: INSTALL.amd64 document.
431:
432: <p>
433: If you are planning to dual boot OpenBSD with another OS, you will need to
434: read INSTALL.amd64.
435: </ul>
436:
437: <p>
438: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
439: <ul>
440: Put CD2 in your CDROM drive and poweron your machine while holding down the
441: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
442:
443: <p>
444: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
445: /4.0/macppc/bsd.rd</i>
446: </ul>
447:
448: <p>
449: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
450: <ul>
451: The 4.0 release of OpenBSD/sparc is located on CD3. To boot off of this CD you
452: can use one of the two commands listed below, depending on the version of your
453: ROM.
454:
455: <ul><pre>
456: ok <strong>boot cdrom 4.0/sparc/bsd.rd</strong>
457: or
458: > <strong>b sd(0,6,0)4.0/sparc/bsd.rd</strong>
459: </pre></ul>
460:
461: <p>
462: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
463: To do so you need to write <i>CD3:4.0/sparc/floppy40.fs</i> to a floppy.
464: For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.1</a>.
465: To boot from the floppy use one of the two commands listed below,
466: depending on the version of your ROM.
467:
468: <ul><pre>
469: ok <strong>boot floppy</strong>
470: or
471: > <strong>b fd()</strong>
472: </pre></ul>
473:
474: <p>
475: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
476: will most likely fail.
477:
478: <p>
479: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
480: setup a bootable tape, or install via network, as told in the
481: INSTALL.sparc file.
482: </ul>
483:
484: <p>
485: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
486: <ul>
487: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
488:
489: <p>
490: If this doesn't work, or if you don't have a CDROM drive, you can write
491: <i>CD3:4.0/sparc64/floppy40.fs</i> or <i>CD3:4.0/sparc64/floppyB40.fs</i>
492: (depending on your machine) to a floppy and boot it with <i>boot
493: floppy</i>. Refer to INSTALL.sparc64 for details.
494:
495: <p>
496: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
497: will most likely fail.
498:
499: <p>
500: You can also write <i>CD3:4.0/sparc64/miniroot40.fs</i> to the swap partition on
501: the disk and boot with <i>boot disk:b</i>.
502:
503: <p>
504: If nothing works, you can boot over the network as described in INSTALL.sparc64.
505: </ul>
506:
507: <p>
508: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
509: <ul>
510: <p>Write <i>FTP:4.0/alpha/floppy40.fs</i> or
511: <i>FTP:4.0/alpha/floppyB40.fs</i> (depending on your machine) to a diskette and
512: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
513:
514: <p>
515: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
516: will most likely fail.
517:
518: </ul>
519:
520: <p>
521: <h3><font color="#e00000">OpenBSD/armish:</font></h3>
522: <ul>
523: <p>
1.33 brad 524: Boot over the network by following the instructions in INSTALL.armish.
1.1 david 525: </ul>
526:
527: <p>
528: <h3><font color="#e00000">OpenBSD/cats:</font></h3>
529: <ul>
530: <p>
531: After updating the firmware to at least ABLE 1.95 if necessary, boot
532: <i>FTP:4.0/cats/bsd.rd</i> from an ABLE-supported device (such as a CD-ROM
533: or an existing FFS or EXT2FS partition).
534: </ul>
535:
536: <p>
537: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
538: <ul>
539: <p>
540: Boot over the network by following the instructions in INSTALL.hp300.
541: </ul>
542:
543: <p>
544: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
545: <ul>
546: <p>
547: Boot over the network by following the instructions in INSTALL.hppa or the
548: <a href="hppa.html#install">hppa platform page</a>.
549: </ul>
550:
551: <p>
552: <h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
553: <ul>
554: <p>
555: Copy bsd.rd to a Mach or UniOS partition, and boot it from the PROM.
556: Alternatively, you can create a bootable tape and boot from it. Refer to
557: the instructions in INSTALL.luna88k for more details.
558: </ul>
559:
560: <p>
561: <h3><font color="#e00000">OpenBSD/mac68k:</font></h3>
562: <ul>
563: <p>
564: Boot MacOS as normal and extract the Macside "BSD/Mac68k Booter" utility from
565: <i>FTP:4.0/mac68k/utils</i> onto your hard disk. Configure the "BSD/Mac68k
566: Booter" with the location of your bsd.rd kernel and boot into the installer.
567: Refer to the instructions in INSTALL.mac68k for more details.
568: </ul>
569:
570: <p>
571: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
572: <ul>
573: <p>
574: You can create a bootable installation tape or boot over the network.<br>
575: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
576: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
577: for more details.
578: </ul>
579:
580: <p>
581: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
582: <ul>
583: <p>
584: You can create a bootable installation tape or boot over the network.<br>
585: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
586: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
587: for more details.
588: </ul>
589:
590: <p>
591: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
592: <ul>
593: <p>
594: Burn cd40.iso on a CD-R, put it in the CD drive of your machine and
595: select <i>Install System Software</i> from the System Maintenance menu.
596:
597: <p>
598: If your machine doesn't have a CD drive, you can
599: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd".
600: Refer to the instructions in INSTALL.sgi for more details.
601: </ul>
602:
603: <p>
604: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
605: <ul>
606: Boot over the network via mopbooting as described in INSTALL.vax.
607: </ul>
608:
609: <p>
610: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
611: <ul>
612: <p>
613: Using the Linux built-in graphical ipkg installer, install the
614: openbsd40_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
615: for a few important details.
616: </ul>
617:
618: <p>
619: <h3><font color="#e00000">Notes about the source code:</font></h3>
620: <ul>
621: src.tar.gz contains a source archive starting at /usr/src. This file
622: contains everything you need except for the kernel sources, which are
623: in a separate archive. To extract:
624: <p>
625: <ul><pre>
626: # <strong>mkdir -p /usr/src</strong>
627: # <strong>cd /usr/src</strong>
628: # <strong>tar xvfz /tmp/src.tar.gz</strong>
629: </pre></ul>
630: <p>
631: sys.tar.gz contains a source archive starting at /usr/src/sys.
632: This file contains all the kernel sources you need to rebuild kernels.
633: To extract:
634: <p>
635: <ul><pre>
636: # <strong>mkdir -p /usr/src/sys</strong>
637: # <strong>cd /usr/src</strong>
638: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
639: </pre></ul>
640: <p>
641: Both of these trees are a regular CVS checkout. Using these trees it
642: is possible to get a head-start on using the anoncvs servers as
643: described <a href="anoncvs.html">here</a>.
644: Using these files
645: results in a much faster initial CVS update than you could expect from
646: a fresh checkout of the full OpenBSD source tree.
647: <p>
648: </ul>
649:
650: <a name="upgrade"></a>
651: <hr>
652: <p>
653: <h3><font color="#0000e0">How to upgrade</font></h3>
654: <p>
655: If you already have an OpenBSD 3.9 system, and do not want to reinstall,
656: upgrade instructions and advice can be found in the
1.14 henning 657: <a href="faq/upgrade40.html">Upgrade Guide</a>.
1.1 david 658: <!-- XXX upgrade40.html -->
659:
660: <a name="ports"></a>
661: <hr>
662: <p>
663: <h3><font color="#0000e0">Ports Tree</font></h3>
664: <p>
665: A ports tree archive is also provided. To extract:
666: <p>
667: <ul><pre>
668: # <strong>cd /usr</strong>
669: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
670: # <strong>cd ports</strong>
671: </pre></ul>
672: <p>
673: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
674: read the <a href="ports.html">ports</a> page
675: if you know nothing about ports
676: at this point. This text is not a manual of how to use ports.
677: Rather, it is a set of notes meant to kickstart the user on the
678: OpenBSD ports system.
679: <p>
680: The <i>ports/</i> directory represents a CVS (see the manpage for
681: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386&format=html">
682: cvs(1)</a> if
683: you aren't familiar with CVS) checkout of our ports. As with our complete
684: source tree, our ports tree is available via anoncvs. So, in
685: order to keep current with it, you must make the <i>ports/</i> tree
686: available on a read-write medium and update the tree with a command
687: like:
688: <p>
689: <ul><pre>
690: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_4_0</strong>
691: </pre></ul>
692: <p>
693: [Of course, you must replace the local directory and server name here
694: with the location of your ports collection and a nearby anoncvs
695: server.]
696: <p>
697: Note that most ports are available as packages through FTP. Updated
698: packages for the 4.0 release will be made available if problems arise.
699: <p>
700: If you're interested in seeing a port added, would like to help out, or just
701: would like to know more, the mailing list ports@openbsd.org is a good
702: place to know.
703: <p>
704:
705: <hr>
706: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
707: alt="OpenBSD"></a>
708: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
709: <br><small>
1.49 ! mbalmer 710: $OpenBSD: 40.html,v 1.48 2006/09/17 16:47:00 henning Exp $
1.1 david 711: </small>
712:
713: </body>
714: </html>