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