Annotation of www/41.html, Revision 1.99
1.1 deraadt 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
1.94 deraadt 4: <title>OpenBSD 4.1</title>
1.1 deraadt 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.1">
8: <meta name="keywords" content="openbsd,main">
9: <meta name="distribution" content="global">
1.11 david 10: <meta name="copyright" content="This document copyright 2007 by OpenBSD.">
1.1 deraadt 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.96 deraadt 17: <p>
1.1 deraadt 18:
1.85 deraadt 19: <a href="images/openbsd41_cover.gif">
1.94 deraadt 20: <img align="left" width="227" height="343" hspace="24"
1.89 deraadt 21: src="images/PuffyBaba.jpg" alt="OpenBSD 4.1 logo"></a>
1.94 deraadt 22: <h2><font color="#0000e0">OpenBSD 4.1</font></h2>
1.1 deraadt 23: <p>
1.91 jj 24: Released May 1, 2007<br>
1.1 deraadt 25: Copyright 1997-2007, Theo de Raadt.<br>
26: <font color="#e00000">ISBN 978-0-9731791-9-4</font>
27: <br>
1.90 deraadt 28: <a href="lyrics.html#41">4.1 Song: "Puffy Baba and the 40 Vendors"</a>
1.1 deraadt 29: <p>
30: <ul>
1.99 ! deraadt 31: <li>Order a CDROM from our <a href="https://openbsdstore.com">ordering system</a>.
1.1 deraadt 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.1/</font> directory on
35: one of the mirror sites.
1.10 deraadt 36: <li>Have a look at <a href="errata41.html">The 4.1 Errata page</a> for a list
1.1 deraadt 37: of bugs and workarounds.
1.9 deraadt 38: <li>See a <a href="plus41.html">detailed log of changes</a> between the
1.1 deraadt 39: 4.0 and 4.1 releases.
40: </ul>
41: <br clear=all>
1.95 deraadt 42: <p>
1.94 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,
1.98 jsg 45: XF4.tar.gz, or in the files fetched via ports.tar.gz. The
1.94 deraadt 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 deraadt 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.1.
1.9 deraadt 56: For a comprehensive list, see the <a href="plus41.html">changelog</a> leading
1.1 deraadt 57: to 4.1.
58: <p>
59:
60: <ul>
61:
62: <li>New/extended platforms:
63: <ul>
1.4 dlg 64: <li><a href="landisk.html">OpenBSD/landisk</a>.<br>
1.2 deraadt 65: Various SH4-based appliances, made by IO-Data and resold by Plextor.
1.1 deraadt 66: <li><a href="sparc64.html">OpenBSD/sparc64</a>.<br>
1.31 kettenis 67: UltraSPARC III based machines are now supported even better, and
68: run at full speed now!
1.1 deraadt 69: </ul>
70: <p>
71:
1.6 deraadt 72: <li>Removed platforms:
73: <ul>
74: <li><a href="cats.html">OpenBSD/cats</a>.<br>
1.14 henning 75: Because the machines are very hard to find, and the developers
1.6 deraadt 76: hate them.
77: </ul>
78: <p>
79:
1.1 deraadt 80: <li>Improved hardware support, including:
81: <ul>
1.7 dlg 82: <li>New USB client controller support:
83: <ul>
84: <li>Support for the USB client functionality in the
1.28 henning 85: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pxaudc&sektion=4&arch=zaurus">pxaudc(4)</a> driver on the Zaurus.
1.7 dlg 86: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=usbf&sektion=4">usbf(4)</a> midlayer for USB Client controllers.
87: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cdcef&sektion=4">cdcef(4)</a> driver for providing a CDCE function on USB client controllers.
88: </ul>
1.8 dlg 89: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cas&sektion=4">cas(4)</a> driver for Sun Cassini 10/100/Gigabit Ethernet devices.
1.12 jsg 90: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=uow&sektion=4">uow(4)</a> driver for Maxim/Dallas DS2490 USB 1-Wire devices.
1.13 jsg 91: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=owsbm&sektion=4">owsbm(4)</a> driver for 1-Wire smart battery monitor devices.
1.12 jsg 92: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=zyd&sektion=4">zyd(4)</a> driver for ZyDAS ZD1211/ZD1211B USB IEEE 802.11b/g wireless network devices.
93: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=moscom&sektion=4">moscom(4)</a> driver for MosChip Semiconductor MCS7703 based USB serial adapters.
1.37 tom 94: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=glxsb&sektion=4&arch=i386">glxsb(4)</a> driver for hardware random numbers and AES acceleration on the AMD Geode LX processor.
1.12 jsg 95: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=vic&sektion=4">vic(4)</a> driver for VMware VMXnet Virtual Interface Controllers.
96: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=malo&sektion=4">malo(4)</a> driver for Marvell Libertas IEEE 802.11b/g wireless network devices.
97: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pwdog&sektion=4">pwdog(4)</a> driver for Quancom PWDOG1 watchdog timer devices.
98: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=uberry&sektion=4">uberry(4)</a> driver for Research In Motion Blackberry devices.
99: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mbg&sektion=4">mbg(4)</a> driver for Meinberg Funkuhren radio clocks.
1.83 kettenis 100: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mesh&sektion=4&arch=macppc">mesh(4)</a> driver for the on-board SCSI controller of old world Apple Power Macintosh systems.
101: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mc&sektion=4&arch=macppc">mc(4)</a> driver for the on-board Ethernet of many old world Apple Power Macintosh systems
1.33 kettenis 102: <li>Improved <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=msk&sektion=4">msk(4)</a> driver now supports many more Marvell Yukon-2 variants including dual port cards and fiber cards.
1.34 kettenis 103: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gem&sektion=4">gem(4)</a> driver now supports fiber cards.
1.37 tom 104: <li>The <a href="amd64.html">OpenBSD/amd64</a>
1.35 otto 105: platform now has more accurate and robust time keeping.
1.37 tom 106: <li>The <a href="i386.html">OpenBSD/i386</a>
107: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=boot&sektion=8&arch=i386">boot(8)</a>
108: program now works properly on Intel-based Macs.
1.75 tom 109: <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:
1.48 jasper 110: <ul>
1.75 tom 111: <li>AMD CS5536 IDE;
112: </li><li>Intel i31244;
113: </li><li>NVIDIA MCP67 PATA, MCP67 SATA.
1.48 jasper 114: </li></ul>
1.52 jasper 115: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=com&sektion=4">com(4)</a> driver now supports ST16C654 devices.
1.75 tom 116: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=adt&sektion=4">adt(4)</a> driver supports some newer chipsets, such as the ADT7475.
1.84 gwk 117: <li>The <a href="macppc.html">OpenBSD/macppc</a> platform now automatically turns the machine back on following an unexpected loss of power.
118: <li>boot.mac an XCOFF formated boot loader for <a href="macppc.html">OpenBSD/macppc</a> capable of booting on many old world macs.
1.1 deraadt 119: </ul>
120: <p>
121:
122: <li>New tools:
123: <ul>
1.57 deanna 124: <li>BSD-licensed <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pkg-config&sektion=1">pkg-config(1)</a>, a complete rewrite of the GNU tool of
1.70 deraadt 125: the same name, significantly smaller and more maintainable.
1.65 deanna 126: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=hoststated&sektion=8">hoststated(8)</a>, a layer 3 and layer 7 server load balancing daemon with host monitoring capacities.
1.73 fkr 127: <li>new BSD-licensed <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ripd&sektion=8">ripd(8)</a>.
1.69 espie 128: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bgplg&sektion=8">bgplg(8)</a>, a CGI looking glass for OpenBGPD, is now available for use with the system httpd.
1.88 aanriot 129: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bgplgsh&sektion=8">bgplgsh(8)</a>, a looking glass shell for OpenBGPD, is now available for use as a restricted read-only command line interface.
1.1 deraadt 130: </ul>
131: <p>
132:
133: <li>New functionality:
134: <ul>
1.27 henning 135: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=syslogd&sektion=8">syslogd(8)</a>
136: can now pipe logs directly to other programs, making real-time log analysis easier.
1.70 deraadt 137: <li>The IP_RECVTTL
1.30 henning 138: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ip&sektion=4">ip(4)</a>
1.21 henning 139: socket option allows programs to receive the incoming ttl on raw and udp sockets.
1.70 deraadt 140: <li>The IP_MINTTL
1.30 henning 141: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ip&sektion=4">ip(4)</a>
1.21 henning 142: socket option allows programs to ask the kernel to discard any packets with a ttl
1.29 henning 143: smaller than the given one, for implementing the IP TTL security hack aka the Generalized
1.21 henning 144: TTL Security Mechanism specified in RFC 3682.
1.70 deraadt 145: <li>Multiple, independent routing tables, with
1.30 henning 146: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4">pf(4)</a>
1.23 henning 147: acting as selector.
1.30 henning 148: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=route&sektion=8">route(8)</a>
1.23 henning 149: can be told which table to work with now, and routing daemons have been modified to
150: cope as well.
1.70 deraadt 151: <li>The
1.30 henning 152: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pflog&sektion=4">pflog(4)</a>
1.23 henning 153: interface is now clonable.
1.30 henning 154: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4">pf(4)</a>
1.23 henning 155: can log to multiple pflog interfaces now, each rule can specify which pflog interface
156: to log to.
1.30 henning 157: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pflogd&sektion=8">pflogd(8)</a> and
158: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=spamlogd&sektion=8">spamlogd(8)</a>
1.23 henning 159: can now be told which pflog interface to work with.
1.70 deraadt 160: <li>The
1.30 henning 161: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pfsync&sektion=4">pfsync(4)</a>
1.23 henning 162: interface is now clonable as well, thus only there when actually needed.
1.24 henning 163: <li>
1.30 henning 164: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pfctl&sektion=8">pfctl(8)</a>
1.24 henning 165: can now expire table entries.
1.87 mcbride 166: <li><i>keep state</i> is now the default for <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf.conf&sektion=5">pf.conf(5)</a> rules, as is the <i>flags S/SA</i> option on TCP connections. <i>no state</i> and <i>flags any</i> can be used to disable stateful filtering or TCP flags checking.
167: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pfctl&sektion=8">pfctl(8)</a> ruleset optimiser can be enabled in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf.conf&sektion=5">pf.conf(5)</a>.
168: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4">pf(4)</a> anchors can now be loaded inline in the main <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf.conf&sektion=5">pf.conf(5)</a> and can be printed recursively.
1.70 deraadt 169: <li>Allow
1.30 henning 170: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4">pf(4)</a>
1.70 deraadt 171: rules inside anchors to have their counters reset, and make counter read
172: & reset an atomic operation.
1.24 henning 173: <li>
1.30 henning 174: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sensorsd&sektion=8">sensorsd(8)</a>
1.24 henning 175: dampens status changes now, thus not alerting for a single wrong sensor read, since many
176: sensors lie once in a while.
1.46 beck 177: <li>
1.82 jcs 178: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=spamd&sektion=8">spamd(8)</a> and
179: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=spamlogd&sektion=8">spamlogd(8)</a> now support synchronisation of the greylist database across multiple hosts. The greytrapping mechanism now allows for whole domain traps, and noticing out of order MX use.
1.51 beck 180: <li>
1.82 jcs 181: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=spamd&sektion=8">spamd(8)</a> database format has changed from DB_BTREE to DB_HASH for much better performance on large installations with big databases.
1.66 reyk 182: <li>
183: The
184: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bridge&sektion=4">bridge(4)</a> driver and the
185: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=brconfig&sektion=8">brconfig(8)</a> tool now support
186: the Rapid Spanning Tree Protocol (RSTP).
187: The new RSTP mode is now used by default when enabled with the <em>stp</em> option.
1.77 krw 188: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cd&sektion=4">cd(4)</a> now supports reading from region protected DVDs.
189: <li>Detect
190: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mount_msdos&sektion=8">MS-DOS filesystems</a>
191: and spoof disklabel partitions for them even when there is no MBR, e.g. on some newer iPods.
1.1 deraadt 192: </ul>
193: <p>
194: <li>Assorted improvements and code cleanup:
195: <ul>
1.25 otto 196: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fsck_ffs&sektion=8">fsck_ffs(8)</a>
197: command has been improved to be more robust to various forms of inode and
198: superblock corruption.
199: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=top&sektion=1">top(1)</a>
200: command got some new ways of filtering the display.
1.36 kurt 201: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pthreads&sektion=3">pthreads(3)</a>
202: file descriptor handling has been improved to eliminate several race and deadlock conditions and improve performance.
1.38 tom 203: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mount_msdos&sektion=8">MS-DOS filesystem</a>
204: has had a potential corruption issue fixed, and is more reliable when given
205: a corrupted filesystem to mount.
1.76 krw 206: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mount_msdos&sektion=8">MS-DOS filesystem</a>
207: and the
208: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fdisk&sektion=8&arch=i386">fdisk(8)</a>
209: command have been enhanced to work on devices with 2048 byte sectors,
210: e.g. newer iPods.
1.47 niallo 211: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=rcs&sektion=1">OpenRCS</a> tools
1.54 niallo 212: are smarter at handling files, especially when dealing with binary files.
213: GNU RCS compatibility has also been improved.
1.56 jasper 214: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mg&sektion=1">mg(1)</a>
215: editor now displays column numbers in the status bar. It has also
216: received several improvements which make it more reliable: line
217: numbers, file insertions, and search wrapping all now work as
1.55 jasper 218: expected.
1.64 deanna 219: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=systat&sektion=1">systat(1)</a>
1.63 deanna 220: command has a cleaner look, and a display was added for hardware sensors.
1.68 kettenis 221: <li>The <a href="alpha.html">OpenBSD/alpha</a> platform now uses gcc3.
1.77 krw 222: <li>Improved support for usb attached cd drives and ever more odd
223: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=umass&sektion=4">umass(4)</a>
1.79 jmc 224: devices.
1.77 krw 225: <li>Don't treat NetBSD or FreeBSD MBR partitions as substitutes for an OpenBSD partition. i.e. don't try to boot from them or use them to store OpenBSD disklabels.
1.47 niallo 226: </ul>
1.1 deraadt 227: <p>
228:
1.88 aanriot 229: <li>Install/Upgrade process changes:
1.1 deraadt 230: <ul>
1.70 deraadt 231: <li>More reliable detection of disk and cd devices.
232: <li>More reliable installation from MSDOS FAT partitions.
233: <li>New sanity check in case sets for the wrong architecture are selected.
234: <li>No need to specify the filesystem types of source partitions during disk
235: or cd installs.
236: <li>No need to select a source partition during disk or cd installs when
237: there is only one to choose from.
1.1 deraadt 238: </ul>
239: <p>
240:
1.17 henning 241: <li>OpenBGPD 4.1:
242: <ul>
1.79 jmc 243: <li>Fixes for sessions with tcp md5sig and ipsec. Now sessions can be migrated
1.70 deraadt 244: from and to any form of ipsec and tcpmd5 with just a simple
245: <em>bgpctl reload</em>, and the session migrates the next time it gets
246: established.
247: <li>Include file support in the config parser.
248: <li>Can now use the new IP_MINTTL socket option to implement the ttl security
249: mechanism.
1.17 henning 250: </ul>
251: <p>
252:
1.78 claudio 253: <li>OpenOSPFD 4.1:
254: <ul>
255: <li>Reload support added. It is no longer needed to restart ospfd after a
256: configuration change.
257: <li>Multiple networks per interface are now supported.
258: <li>It is now possible to specify the route metric and type for each
259: redistribution rule.
260: </ul>
261: <p>
262:
1.17 henning 263: <li>OpenNTPD 4.1:
264: <ul>
1.70 deraadt 265: <li>Greatly improved support for timedelta sensors.
266: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ntpd&sektion=8">ntpd</a>
267: now uses a strictly monotonically increasing time (uptime, basically)
268: for its internal timers, so setting the system clock doesn't influence
269: query rates, trust levels, etc. any more.
1.17 henning 270: </ul>
271: <p>
272:
1.86 djm 273: <li>OpenSSH 4.6:
274: <ul>
275: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd</a>
276: now allows the enabling and disabling of authentication
277: methods on a per user, group, host and network basis via the
278: <em>Match</em> directive in
279: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5">sshd_config(5)</a>.
280: </ul>
281: <p>
282:
1.71 pvalchev 283: <li>Over 4200 ports, 4000 pre-built packages (for i386), minor robustness improvements
1.40 espie 284: in package tools. Some highlights:
285: <ul>
286: <li>gstreamer-0.10 tools.
287: <li>OpenOffice.org package, available through ftp for size reasons.
288: <li>KDE 3.5.6 and koffice 1.6.2.
1.45 espie 289: <li>a large (> 500) number of new/updated perl modules, from CPAN, including
290: most of the catalyst web framework.
1.42 bernd 291: <li>NetBeans 5.5 Java IDE.
1.43 jasper 292: <li>updated Linux emulation support by using Fedora Core libraries.
1.44 jasper 293: <li>Mozilla Firefox 2.0.0.2 (with translations).
294: <li>PostgreSQL 8.2.3.
1.40 espie 295: </ul>
1.1 deraadt 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)
1.15 henning 310: <li>our improved and secured version of Apache 1.3, with SSL/TLS and DSO support
1.1 deraadt 311: <li>OpenSSL 0.9.7j (+ patches)
312: <li>Groff 1.15
1.11 david 313: <li>Sendmail 8.14.0, with libmilter
314: <li>Bind 9.3.4 (+ patches)
1.1 deraadt 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
319: <li>Heimdal 0.7.2 (+ patches)
320: <li>Arla 0.35.7
321: <li>Binutils 2.15 (+ patches)
322: <li>Gdb 6.3 (+ patches)
323: </ul>
324: <p>
325:
326: </ul>
327:
328: <a name="install"></a>
329: <hr>
330: <p>
331: <h3><font color="#0000e0">How to install</font></h3>
332: <p>
333: Following this are the instructions which you would have on a piece of
334: paper if you had purchased a CDROM set instead of doing an alternate
335: form of install. The instructions for doing an FTP (or other style
336: of) install are very similar; the CDROM instructions are left intact
337: so that you can see how much easier it would have been if you had
338: purchased a CDROM instead.
339: <p>
340:
341: <hr>
342: Please refer to the following files on the three CDROMs or FTP mirror for
343: extensive details on how to install OpenBSD 4.1 on your machine:
344: <p>
345: <ul>
346: <li>CD1:4.1/i386/INSTALL.i386
347: <p>
348: <li>CD2:4.1/amd64/INSTALL.amd64
349: <li>CD2:4.1/macppc/INSTALL.macppc
350: <p>
351: <li>CD3:4.1/sparc/INSTALL.sparc
352: <li>CD3:4.1/sparc64/INSTALL.sparc64
353: <p>
354: <li>FTP:.../OpenBSD/4.1/alpha/INSTALL.alpha
355: <li>FTP:.../OpenBSD/4.1/armish/INSTALL.armish
356: <li>FTP:.../OpenBSD/4.1/hp300/INSTALL.hp300
357: <li>FTP:.../OpenBSD/4.1/hppa/INSTALL.hppa
1.3 deraadt 358: <li>FTP:.../OpenBSD/4.1/landisk/INSTALL.landisk
1.1 deraadt 359: <li>FTP:.../OpenBSD/4.1/luna88k/INSTALL.luna88k
360: <li>FTP:.../OpenBSD/4.1/mac68k/INSTALL.mac68k
361: <li>FTP:.../OpenBSD/4.1/mvme68k/INSTALL.mvme68k
362: <li>FTP:.../OpenBSD/4.1/mvme88k/INSTALL.mvme88k
363: <li>FTP:.../OpenBSD/4.1/sgi/INSTALL.sgi
364: <li>FTP:.../OpenBSD/4.1/vax/INSTALL.vax
365: <li>FTP:.../OpenBSD/4.1/zaurus/INSTALL.zaurus
366: </ul>
367: <hr>
368:
369: <p>
370: Quick installer information for people familiar with OpenBSD, and the
371: use of the "disklabel -E" command. If you are at all confused when
372: installing OpenBSD, read the relevant INSTALL.* file as listed above!
373: <p>
374:
375: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
376: <ul>
377: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
378: release is on CD1. If your BIOS does not support booting from CD, you will need
379: to create a boot floppy to install from. To create a boot floppy write
380: <i>CD1:4.1/i386/floppy41.fs</i> to a floppy and boot via the floppy drive.
381:
382: <p>
383: Use <i>CD1:4.1/i386/floppyB41.fs</i> instead for greater SCSI controller
384: support, or <i>CD1:4.1/i386/floppyC41.fs</i> for better laptop support.
385:
386: <p>
387: If you can't boot from a CD or a floppy disk,
388: you can install across the network using PXE as described in
389: the included INSTALL.i386 document.
390:
391: <p>
392: If you are planning on dual booting OpenBSD with another OS, you will need to
393: read INSTALL.i386.
394:
395: <p>
396: To make a boot floppy under MS-DOS, use the "rawrite" utility located
397: at <i>CD1:4.1/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
398: use the
399: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>
400: utility. The following is an example usage of
401: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>,
402: where the device could be "floppy", "rfd0c", or
403: "rfd0a".
404:
405: <ul><pre>
406: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
407: </pre></ul>
408:
409: <p>
410: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
411: your install will most likely fail. For more information on creating a boot
412: floppy and installing OpenBSD/i386 please refer to
413: <a href="faq/faq4.html#MkFlop">FAQ 4.3.1</a>.
414: </ul>
415:
416: <p>
417: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
418: <ul>
419: The 4.1 release of OpenBSD/amd64 is located on CD2.
420: Boot from the CD to begin the install - you may need to adjust
421: your BIOS options first.
422: If you can't boot from the CD, you can create a boot floppy to install from.
423: To do this, write <i>CD2:4.1/amd64/floppy41.fs</i> to a floppy, then
424: boot from the floppy drive.
425:
426: <p>
427: If you can't boot from a CD or a floppy disk,
428: you can install across the network using PXE as described in the included
429: INSTALL.amd64 document.
430:
431: <p>
432: If you are planning to dual boot OpenBSD with another OS, you will need to
433: read INSTALL.amd64.
434: </ul>
435:
436: <p>
437: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
438: <ul>
439: Put CD2 in your CDROM drive and poweron your machine while holding down the
440: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
441:
442: <p>
443: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
444: /4.1/macppc/bsd.rd</i>
445: </ul>
446:
447: <p>
448: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
449: <ul>
450: The 4.1 release of OpenBSD/sparc is located on CD3. To boot off of this CD you
451: can use one of the two commands listed below, depending on the version of your
452: ROM.
453:
454: <ul><pre>
455: ok <strong>boot cdrom 4.1/sparc/bsd.rd</strong>
456: or
457: > <strong>b sd(0,6,0)4.1/sparc/bsd.rd</strong>
458: </pre></ul>
459:
460: <p>
461: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
462: To do so you need to write <i>CD3:4.1/sparc/floppy41.fs</i> to a floppy.
463: For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.1</a>.
464: To boot from the floppy use one of the two commands listed below,
465: depending on the version of your ROM.
466:
467: <ul><pre>
468: ok <strong>boot floppy</strong>
469: or
470: > <strong>b fd()</strong>
471: </pre></ul>
472:
473: <p>
474: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
475: will most likely fail.
476:
477: <p>
478: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
479: setup a bootable tape, or install via network, as told in the
480: INSTALL.sparc file.
481: </ul>
482:
483: <p>
484: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
485: <ul>
486: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
487:
488: <p>
489: If this doesn't work, or if you don't have a CDROM drive, you can write
490: <i>CD3:4.1/sparc64/floppy41.fs</i> or <i>CD3:4.1/sparc64/floppyB41.fs</i>
491: (depending on your machine) to a floppy and boot it with <i>boot
492: floppy</i>. Refer to INSTALL.sparc64 for details.
493:
494: <p>
495: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
496: will most likely fail.
497:
498: <p>
499: You can also write <i>CD3:4.1/sparc64/miniroot41.fs</i> to the swap partition on
500: the disk and boot with <i>boot disk:b</i>.
501:
502: <p>
503: If nothing works, you can boot over the network as described in INSTALL.sparc64.
504: </ul>
505:
506: <p>
507: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
508: <ul>
509: <p>Write <i>FTP:4.1/alpha/floppy41.fs</i> or
510: <i>FTP:4.1/alpha/floppyB41.fs</i> (depending on your machine) to a diskette and
511: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
512:
513: <p>
514: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
515: will most likely fail.
516:
517: </ul>
518:
519: <p>
520: <h3><font color="#e00000">OpenBSD/armish:</font></h3>
521: <ul>
522: <p>
523: After connecting a serial port, Thecus can boot directly from the network
524: either tftp or http. Configure the network using fconfig, reset,
525: then load bsd.rd, see INSTALL.armish for specific details.
526: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
527: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
528: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
529: More details are available in INSTALL.armish.
530: </ul>
531:
532: <p>
1.3 deraadt 533: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
1.1 deraadt 534: <ul>
535: <p>
1.3 deraadt 536: Boot over the network by following the instructions in INSTALL.hp300.
1.1 deraadt 537: </ul>
538:
539: <p>
1.3 deraadt 540: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
1.1 deraadt 541: <ul>
542: <p>
1.3 deraadt 543: Boot over the network by following the instructions in INSTALL.hppa or the
544: <a href="hppa.html#install">hppa platform page</a>.
1.1 deraadt 545: </ul>
546:
547: <p>
1.3 deraadt 548: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
1.1 deraadt 549: <ul>
1.11 david 550: <p>
1.3 deraadt 551: Write <i>CD3:4.1/landisk/miniroot41.fs</i> to the start of the CF
552: or disk, and boot normally.
1.1 deraadt 553: </ul>
554:
555: <p>
556: <h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
557: <ul>
558: <p>
559: Copy bsd.rd to a Mach or UniOS partition, and boot it from the PROM.
560: Alternatively, you can create a bootable tape and boot from it. Refer to
561: the instructions in INSTALL.luna88k for more details.
562: </ul>
563:
564: <p>
565: <h3><font color="#e00000">OpenBSD/mac68k:</font></h3>
566: <ul>
567: <p>
568: Boot MacOS as normal and extract the Macside "BSD/Mac68k Booter" utility from
569: <i>FTP:4.1/mac68k/utils</i> onto your hard disk. Configure the "BSD/Mac68k
570: Booter" with the location of your bsd.rd kernel and boot into the installer.
571: Refer to the instructions in INSTALL.mac68k for more details.
572: </ul>
573:
574: <p>
575: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
576: <ul>
577: <p>
578: You can create a bootable installation tape or boot over the network.<br>
579: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
580: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
581: for more details.
582: </ul>
583:
584: <p>
585: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
586: <ul>
587: <p>
588: You can create a bootable installation tape or boot over the network.<br>
589: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
590: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
591: for more details.
592: </ul>
593:
594: <p>
595: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
596: <ul>
597: <p>
598: Burn cd41.iso on a CD-R, put it in the CD drive of your machine and
599: select <i>Install System Software</i> from the System Maintenance menu.
600:
601: <p>
602: If your machine doesn't have a CD drive, you can
603: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd".
604: Refer to the instructions in INSTALL.sgi for more details.
605: </ul>
606:
607: <p>
608: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
609: <ul>
610: Boot over the network via mopbooting as described in INSTALL.vax.
611: </ul>
612:
613: <p>
614: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
615: <ul>
616: <p>
617: Using the Linux built-in graphical ipkg installer, install the
618: openbsd41_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
619: for a few important details.
620: </ul>
621:
622: <p>
623: <h3><font color="#e00000">Notes about the source code:</font></h3>
624: <ul>
625: src.tar.gz contains a source archive starting at /usr/src. This file
626: contains everything you need except for the kernel sources, which are
627: in a separate archive. To extract:
628: <p>
629: <ul><pre>
630: # <strong>mkdir -p /usr/src</strong>
631: # <strong>cd /usr/src</strong>
632: # <strong>tar xvfz /tmp/src.tar.gz</strong>
633: </pre></ul>
634: <p>
635: sys.tar.gz contains a source archive starting at /usr/src/sys.
636: This file contains all the kernel sources you need to rebuild kernels.
637: To extract:
638: <p>
639: <ul><pre>
640: # <strong>mkdir -p /usr/src/sys</strong>
641: # <strong>cd /usr/src</strong>
642: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
643: </pre></ul>
644: <p>
645: Both of these trees are a regular CVS checkout. Using these trees it
646: is possible to get a head-start on using the anoncvs servers as
647: described <a href="anoncvs.html">here</a>.
648: Using these files
649: results in a much faster initial CVS update than you could expect from
650: a fresh checkout of the full OpenBSD source tree.
651: <p>
652: </ul>
653:
654: <a name="upgrade"></a>
655: <hr>
656: <p>
657: <h3><font color="#0000e0">How to upgrade</font></h3>
658: <p>
659: If you already have an OpenBSD 4.0 system, and do not want to reinstall,
660: upgrade instructions and advice can be found in the
661: <a href="faq/upgrade41.html">Upgrade Guide</a>.
662:
663: <a name="ports"></a>
664: <hr>
665: <p>
666: <h3><font color="#0000e0">Ports Tree</font></h3>
667: <p>
668: A ports tree archive is also provided. To extract:
669: <p>
670: <ul><pre>
671: # <strong>cd /usr</strong>
672: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
673: # <strong>cd ports</strong>
674: </pre></ul>
675: <p>
676: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
1.92 jasper 677: read the <a href="faq/faq15.html">ports</a> page
1.1 deraadt 678: if you know nothing about ports
679: at this point. This text is not a manual of how to use ports.
680: Rather, it is a set of notes meant to kickstart the user on the
681: OpenBSD ports system.
682: <p>
683: The <i>ports/</i> directory represents a CVS (see the manpage for
684: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386&format=html">
685: cvs(1)</a> if
686: you aren't familiar with CVS) checkout of our ports. As with our complete
687: source tree, our ports tree is available via anoncvs. So, in
688: order to keep current with it, you must make the <i>ports/</i> tree
689: available on a read-write medium and update the tree with a command
690: like:
691: <p>
692: <ul><pre>
1.11 david 693: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_4_1</strong>
1.1 deraadt 694: </pre></ul>
695: <p>
696: [Of course, you must replace the local directory and server name here
697: with the location of your ports collection and a nearby anoncvs
698: server.]
699: <p>
700: Note that most ports are available as packages through FTP. Updated
701: packages for the 4.1 release will be made available if problems arise.
702: <p>
703: If you're interested in seeing a port added, would like to help out, or just
704: would like to know more, the mailing list ports@openbsd.org is a good
705: place to know.
706: <p>
707:
708: </body>
709: </html>