Annotation of www/34.html, Revision 1.53
1.1 david 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
1.47 deraadt 4: <title>OpenBSD 3.4</title>
1.1 david 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 3.4">
8: <meta name="keywords" content="openbsd,main">
9: <meta name="distribution" content="global">
10: <meta name="copyright" content="This document copyright 2003 by OpenBSD.">
1.53 ! sthen 11: <link rel="canonical" href="http://www.openbsd.org/34.html">
1.1 david 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>
1.49 deraadt 18: <p>
1.1 david 19:
20: <a href="images/Hood.gif">
1.47 deraadt 21: <img align="left" width="255" height="343" hspace="24"
1.1 david 22: src="images/Hood.gif" alt="OpenBSD 3.4 logo"></a>
1.47 deraadt 23: <h2><font color="#0000e0">OpenBSD 3.4</font></h2>
1.1 david 24: <p>
25: Released Nov 1, 2003<br>
26: Copyright 1997-2003, Theo de Raadt.<br>
27: <font color="#e00000">ISBN 0-9731791-2-0</font>
1.41 deraadt 28: <br>
29: <a href="lyrics.html#34">3.4 Song: "The Legend of Puffy Hood"</a>
1.1 david 30: <p>
31: <ul>
1.52 deraadt 32: <li>Order a CDROM from our <a href="https://openbsdstore.com">ordering system</a>.
1.1 david 33: <li>See the information on <a href="ftp.html">The FTP page</a> for
1.8 david 34: a list of mirror machines.
1.1 david 35: <li>Go to the <font color="#e00000">pub/OpenBSD/3.4/</font> directory on
1.8 david 36: one of the mirror sites.
1.40 deraadt 37: <li>Have a look at <a href="errata34.html">The 3.4 Errata page</a> for a list
1.8 david 38: of bugs and workarounds.
1.38 david 39: <li>See a <a href="plus34.html">detailed log of changes</a> between the
1.8 david 40: 3.3 and 3.4 releases.
1.1 david 41: </ul>
42: <br clear=all>
1.48 deraadt 43: <p>
1.47 deraadt 44: All applicable copyrights and credits can be found in the applicable
45: file sources found in the files src.tar.gz, sys.tar.gz,
1.51 jsg 46: XF4.tar.gz, or in the files fetched via ports.tar.gz. The
1.47 deraadt 47: distribution files used to build packages from the ports.tar.gz file
48: are not included on the CDROM because of lack of space.
1.1 david 49: <p>
50:
51: <a name="new"></a>
52: <hr>
53: <p>
54: <h3><font color="#0000e0">What's New</font></h3>
55: <p>
56: This is a partial list of new features and systems included in OpenBSD 3.4.
1.38 david 57: For a comprehensive list, see the <a href="plus34.html">changelog</a> leading
1.1 david 58: to 3.4.
59: <p>
60:
61: <ul>
62:
1.27 avsm 63: <li>The i386 architecture has been switched to the
64: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=elf">ELF</a>
65: executable format.
1.1 david 66: <p>
67:
1.6 tedu 68: <li>Further W^X improvements, including support for the i386 architecture.
69: Native i386 binaries have their executable segments rearranged to support
1.42 david 70: isolating code from data, and the CPU CS limit is used to impose a best
1.14 deraadt 71: effort limit on code execution.
1.1 david 72: <p>
73:
1.20 deraadt 74: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ld.so">ld.so(1)</a>
75: on ELF platforms now loads libraries in a random order for
1.14 deraadt 76: greater resistance to attacks. The i386 architecture also maps libraries
1.28 avsm 77: into somewhat randomized addresses. Together with W^X and
1.27 avsm 78: <a href="http://www.research.ibm.com/trl/projects/security/ssp/">ProPolice</a>,
1.31 tedu 79: these changes increase the difficulty of successfully exploiting an
80: application error, such as a buffer overflow.
1.1 david 81: <p>
82:
83: <li>A static bounds checker has been added to the compiler to perform basic
1.4 avsm 84: checks on functions which accept buffers and sizes. The checker aims to
1.8 david 85: find common mistakes in the use of library functions such as
1.4 avsm 86: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=strlcpy">strlcpy(3)</a>
87: or <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sscanf">sscanf(3)</a>
88: without emitting any false positives. Running it over the source and ports
89: trees revealed over a hundred real bugs, which were fixed and submitted back
90: to the original authors where possible.
1.1 david 91: <p>
92:
1.20 deraadt 93: <li>Privilege separation has been implemented for the
94: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=syslogd">syslogd(8)</a>
1.21 david 95: daemon, making it much more robust against future errors. The child which
96: listens to network traffic now runs as a normal user and chroots itself,
97: while the parent process tracks the state of the child and performs
98: privileged operations on its behalf.
1.1 david 99: <p>
100:
101: <li>Many unsafe string functions have been removed from the kernel and userland
1.6 tedu 102: utilities. This audit is one of the most comprehensive OpenBSD has ever
103: done, with thousands of occurrences of
1.12 deraadt 104: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=strcpy">strcpy(3)</a>,
105: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=strcat">strcat(3)</a>,
106: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sprintf">sprintf(3)</a>,
1.8 david 107: and
1.12 deraadt 108: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=vsprintf">vsprintf(3)</a>
1.4 avsm 109: being replaced with safer, bounded alternatives such as
1.12 deraadt 110: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=strlcpy">strlcpy(3)</a>,
111: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=strlcat">strlcat(3)</a>,
112: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=snprintf">snprintf(3)</a>,
113: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=vsnprintf">vsnprintf(3)</a>,
114: and
115: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=asprintf">asprintf(3)</a>.
1.1 david 116: <p>
117:
1.31 tedu 118: <li>Many improvements to and bugs fixed in the
119: <a href="http://www.research.ibm.com/trl/projects/security/ssp/">
1.33 miod 120: ProPolice</a> stack protector. Several other code generation bugs
1.31 tedu 121: for RISC architectures fixed.
122: <p>
123:
1.13 david 124: <li><a href="http://www.research.ibm.com/trl/projects/security/ssp/">
125: ProPolice</a> stack protection has been enabled in the kernel as well.
1.1 david 126: <p>
127:
1.18 avsm 128: <li>Privilege separation has been implemented in the X server. The privileged
1.15 david 129: child process is responsible for the operations that can't be done after the
130: main process has switched to a non-privileged user. This greatly reduces the
131: potential damage that could be caused by malicious X clients, in case of
132: bugs in the X server.
133: <p>
134:
1.20 deraadt 135: <li>Emulation support for binary compatibility is now controlled via
1.24 avsm 136: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sysctl&sektion=8">sysctl(8)</a>.
1.19 tedu 137: Emulation is now disabled by default to limit exposure to malicious
138: binaries, and can be enabled in
139: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sysctl.conf">
140: sysctl.conf(5)</a>.
1.16 tedu 141: <p>
142:
1.1 david 143: <li>Manual pages have been greatly cleaned up and improved.
144: <p>
145:
1.8 david 146: <li>The ports tree now supports building programs under
147: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=systrace">
148: systrace(1)</a>, preventing the possibility of applications harming the
149: system at compile-time via trojaned configuration scripts or otherwise.
1.1 david 150: <p>
151:
1.25 avsm 152: <li>Symbol caching in
153: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ld.so">ld.so(1)</a>
154: reduces the startup time of large applications.
1.23 tedu 155: <p>
156:
1.25 avsm 157: <li>More license fixes, including the removal of the advertising clause
1.6 tedu 158: for large parts of the source tree.
159: <p>
160:
1.20 deraadt 161: <li>Replacement of GNU
1.22 deraadt 162: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=diff">diff(1)</a>,
163: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=diff3">diff3(1)</a>,
164: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=grep">grep(1)</a>,
165: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=egrep">egrep(1)</a>,
166: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fgrep">fgrep(1)</a>,
167: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=zgrep">zgrep(1)</a>,
168: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=zegrep">zegrep(1)</a>,
169: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=zfgrep">zfgrep(1)</a>,
170: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gzip">gzip(1)</a>,
171: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=zcat">zcat(1)</a>,
172: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gunzip">gunzip(1)</a>,
173: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gzcat">gzcat(1)</a>,
174: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=zcmp">zcmp(1)</a>,
175: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=zmore">zmore(1)</a>,
176: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=zdiff">zdiff(1)</a>,
177: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=zforce">zforce(1)</a>,
178: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gzexe">gzexe(1)</a>,
1.20 deraadt 179: and
1.22 deraadt 180: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=znew">znew(1)</a>
1.20 deraadt 181: commands with BSD licensed equivalents.
182: <p>
183:
184: <li>Addition of read-only support for
185: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mount_ntfs">NTFS</a>
186: file systems.
187: <p>
188:
189: <li>Reliability improvements to layered file systems, enabling
190: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mount_null">NULLFS</a>
191: to work again.
1.6 tedu 192: <p>
193:
1.31 tedu 194: <li>Import of
195: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=growfs">growfs(8)</a>
196: utility, allowing expansion of existing file systems.
197: <p>
198:
1.26 deraadt 199: <li>Improvements to
200: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=compat_linux">linux emulation</a>
201: enabling more applications to run.
1.6 tedu 202: <p>
203:
1.27 avsm 204: <li>Significant improvements to the
205: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pthreads">pthreads(3)</a>
206: library.
1.16 tedu 207: <p>
208:
1.20 deraadt 209: <li>Replace many static fd_set uses, to instead use
210: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=poll">poll(2)</a>
211: or dynamic allocation.
1.16 tedu 212: <p>
213:
1.31 tedu 214: <li>ANSIfication and stricter prototypes for a large portion of the source tree.
215: <p>
216:
1.13 david 217: <li>Legacy KerberosIV support has been removed, and the remaining KerberosV
218: codebase has been restructured for easier management.
1.3 jason 219: <p>
220:
1.13 david 221: <li>Over 2400 ports, 2200 pre-built packages.
1.1 david 222: <p>
223:
224: <li>A large number of bug fixes, changes, and optimizations to our packet filter
1.20 deraadt 225: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf">pf(4)</a>
1.1 david 226: including:
227: <ul>
1.20 deraadt 228: <li>packet tagging (e.g. filter on tags added by bridge based on MAC address)
1.10 frantzen 229: <li>stateful TCP normalization (prevent uptime calculation and NAT detection)
1.9 dhartmei 230: <li>passive OS detection (filter or redirect connections based on source OS)
231: <li>SYN proxy (protect servers against SYN flood attacks)
232: <li>adaptive state timeouts (prevent state table overflows under attack)
1.1 david 233: </ul>
234: <p>
235:
1.16 tedu 236: <li>Improved hardware support, including:
237: <ul>
1.31 tedu 238: <li>Kauai ATA controllers (Apple ATA100 wdc)
239: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=kauaiata&arch=macppc">
240: kauaiata(4)</a> enabling support for Powerbook 12" and 17" models.
1.16 tedu 241: <li>Support for controlling LongRun registers on Transmeta CPUs.
1.19 tedu 242: <li>Many fixes to
243: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=aac">aac(4)</a>,
244: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ahc">ahc(4)</a>,
245: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=osiop">osiop(4)</a>,
246: and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=siop">siop(4)</a>
247: SCSI drivers.
248: <li>New
249: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=it">it(4)</a>,
1.31 tedu 250: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=lm">lm(4)</a>, and
251: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=viaenv">viaenv(4)</a>
1.19 tedu 252: hardware monitor drivers.
253: <li>New
254: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=safe">safe(4)</a>
1.39 david 255: driver for SafeNet crypto accelerators.
1.19 tedu 256: <li>New
257: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mtd">mtd(4)</a>
258: driver for Myson Technologies network cards.
259: <li>More ethernet cards supported by
1.31 tedu 260: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sk">sk(4)</a>,
261: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=wi">wi(4)</a>,
262: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fxp">fxp(4)</a>,
1.21 david 263: and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dc&sektion=4">dc(4)</a>.
1.19 tedu 264: <li>Massive overhaul and sync with NetBSD of the entire
1.21 david 265: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=usb&sektion=4">usb(4)</a>
1.19 tedu 266: support system.
267: <li>New and better support for various controllers in
268: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pciide">pciide(4)</a>,
269: including experimental support for Serial ATA.
1.31 tedu 270: <li>New drivers to support
271: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mgx&arch=sparc">
1.32 tedu 272: mgx(4)</a> and
1.31 tedu 273: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pninek&arch=sparc">
1.32 tedu 274: pninek(4)</a> SPARC framebuffers. The
1.31 tedu 275: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=vigra&arch=sparc">
1.32 tedu 276: vigra(4)</a> driver also supports more models.
1.31 tedu 277: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pcmcia">pcmcia(4)</a>
278: support for Tadpole SPARCBooks and SPARCs with pcmcia-sbus bridges.
1.34 markus 279: <li>Watchdog support for
1.35 horacio 280: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=elansc&arch=i386">elansc(4)</a>
1.34 markus 281: and
1.35 horacio 282: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=geodesc&arch=i386">geodesc(4)</a>
1.34 markus 283: as used on Soekris boards.
1.16 tedu 284: </ul>
285: <p>
286:
1.1 david 287: <li>The system includes the following major components from outside suppliers:
288: <ul>
1.7 david 289: <li>XFree86 4.3.0 (+ patches, and i386 contains 3.3.X servers also, thus
290: providing support for all chipsets)
1.1 david 291: <li>Gcc 2.95.3 (+ patches)
292: <li>Perl 5.8.0 (+ patches)
293: <li>Apache 1.3.28, mod_ssl 2.8.15, DSO support (+ patches)
1.30 david 294: <li>OpenSSL 0.9.7b (+ patches)
1.1 david 295: <li>Groff 1.15
1.37 david 296: <li>Sendmail 8.12.9 (+ parse8.359.2.8 security patch)
1.1 david 297: <li>Bind 9.2.2 (+ patches)
1.5 avsm 298: <li>Lynx 2.8.4rel.1 with HTTPS and IPv6 support (+ patches)
1.1 david 299: <li>Sudo 1.6.7p5
300: <li>Ncurses 5.2
301: <li>Latest KAME IPv6
302: <li>Heimdal 0.6rc1 (+ patches)
303: <li>Arla-current
1.36 david 304: <li>OpenSSH 3.7.1 (now with GSSAPI support)
1.1 david 305: </ul>
306: <p>
307:
308: <p>
309: <li>Many improvements for security and reliability (look for the red
1.38 david 310: print in the <a href="plus34.html">complete changelog</a>).
1.1 david 311: <p>
312: <li> and much more.
313:
314: </ul>
315:
316: <a name="install"></a>
317: <hr>
318: <p>
319: <h3><font color="#0000e0">How to install</font></h3>
320: <p>
321: Following this are the instructions which you would have on a piece of
322: paper if you had purchased a CDROM set instead of doing an alternate
323: form of install. The instructions for doing an ftp (or other style
324: of) install are very similar; the CDROM instructions are left intact
325: so that you can see how much easier it would have been if you had
326: purchased a CDROM instead.
327: <p>
328:
329: <hr>
330: Please refer to the following files on the three CDROMs or ftp mirror for
331: extensive details on how to install OpenBSD 3.4 on your machine:
332: <p>
333: <ul>
1.8 david 334: <li>CD1:3.4/i386/INSTALL.i386
1.1 david 335: <p>
1.8 david 336: <li>CD2:3.4/macppc/INSTALL.macppc
337: <li>CD2:3.4/vax/INSTALL.vax
1.1 david 338: <p>
1.8 david 339: <li>CD3:3.4/sparc/INSTALL.sparc
340: <li>CD3:3.4/sparc64/INSTALL.sparc64
1.1 david 341: <p>
1.8 david 342: <li>FTP:.../OpenBSD/3.4/alpha/INSTALL.alpha
343: <li>FTP:.../OpenBSD/3.4/hp300/INSTALL.hp300
344: <li>FTP:.../OpenBSD/3.4/hppa/INSTALL.hppa
345: <li>FTP:.../OpenBSD/3.4/mac68k/INSTALL.mac68k
346: <li>FTP:.../OpenBSD/3.4/mvme68k/INSTALL.mvme68k
1.1 david 347: </ul>
348: <hr>
349:
350: <p>
351: Quick installer information for people familiar with OpenBSD, and the
352: use of the "disklabel -E" command. If you are at all confused when
353: installing OpenBSD, read the relevant INSTALL.* file as listed above!
354: <p>
355:
356: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
357: <ul>
358: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
359: release is on CD1. If your BIOS does not support booting from CD, you will need
360: to create a boot floppy to install from. To create a boot floppy write
361: <i>CD1:3.4/i386/floppy34.fs</i> to a floppy and boot via the floppy drive.
362:
363: <p>
364: Use <i>CD1:3.4/i386/floppyB34.fs</i> instead for greater scsi controller
365: support, or <i>CD1:3.4/i386/floppyC34.fs</i> for better laptop support.
366:
367: <p>
1.2 david 368: If you are planning on dual booting OpenBSD with another OS, you will need to
369: read the included INSTALL.i386 document.
1.1 david 370:
371: <p>
372: To make a boot floppy under MS-DOS, use the "rawrite" utility located
1.2 david 373: at <i>CD:/3.4/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
374: use the <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=
375: dd&sektion=1">dd(1)</a> utility. The following is an example usage of
376: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)
377: </a>, where the device could be "floppy", "rfd0c", or
378: "rfd0a".
1.1 david 379:
380: <ul><pre>
381: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
382: </pre></ul>
383:
384: <p>
1.2 david 385: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
386: your install will most likely fail. For more information on creating a boot
387: floppy and installing OpenBSD/i386 please refer to
388: <a href="faq/faq4.html#MkFlop">FAQ4.1</a>.
1.1 david 389: </ul>
390:
391: <p>
392: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
393: <ul>
394: Put the CD2 in your CDROM drive and poweron your machine while holding down the
395: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
396:
397: <p>
398: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
399: /3.4/macppc/bsd.rd</i>
400: </ul>
401:
402: <p>
403: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
404: <ul>
405: Boot over the network via mopbooting as described in INSTALL.vax.
406: </ul>
407:
408: <p>
409: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
410: <ul>
1.2 david 411: The 3.4 release of OpenBSD/sparc is located on CD3. To boot off of this CD you
412: can use one of the two commands listed below, depending on the version of your
413: ROM.
1.1 david 414:
415: <ul><pre>
1.8 david 416: > <strong>boot cdrom 3.4/sparc/bsd.rd</strong>
1.1 david 417: or
1.43 miod 418: > <strong>b sd(0,6,0)3.4/sparc/bsd.rd</strong>
1.1 david 419: </pre></ul>
420:
421: <p>
422: If your sparc does not have a CD drive, you can alternatively boot from floppy.
1.2 david 423: To do so you need to write "CD3:3.4/sparc/floppy34.fs" to a floppy.
424: For more information see <a href="faq/faq4.html#MkFlop">FAQ4.1</a>. To boot from
425: the floppy use one of the two commands listed below, depending on the version of
426: your ROM.
1.1 david 427:
428: <ul><pre>
1.8 david 429: > <strong>boot floppy</strong>
1.1 david 430: or
1.8 david 431: > <strong>boot fd()</strong>
1.1 david 432: </pre></ul>
433:
434: <p>
1.2 david 435: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
436: will most likely fail.
1.1 david 437:
438: <p>
439: If your sparc doesn't have a floppy drive nor a CD drive, you can either
440: setup a bootable tape, or install via network, as told in the
441: INSTALL.sparc file.
442: </ul>
443:
444: <p>
445: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
446: <ul>
447: Put the CD3 in your CDROM drive and type <i>boot cdrom</i>.
448:
449: <p>
450: If this doesn't work, or if you don't have a CDROM drive, you can write
451: <i>CD3:3.4/sparc64/floppy34.fs</i> to a floppy and boot it with <i>boot
452: floppy</i>.<br>
1.2 david 453: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
454: will most likely fail.
1.1 david 455:
456: <p>
457: You can also write <i>CD3:3.4/sparc64/miniroot34.fs</i> to the swap partition on
458: the disk and boot with <i>boot disk:b</i>.
459:
460: <p>
461: If nothing works, you can boot over the network as described in INSTALL.sparc64
462: </ul>
463:
464: <p>
465: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
466: <ul>
467: <p>Write <i>FTP:3.4/alpha/floppy34.fs</i> or
468: <i>FTP:3.4/alpha/floppyB34.fs</i> (depending on your machine) to a diskette and
469: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
470:
471: <p>
1.2 david 472: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
473: will most likely fail.
1.1 david 474:
475: </ul>
476:
477: <p>
478: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
479: <ul>
480: <p>
481: Boot over the network by following the instructions in INSTALL.hp300.
482: </ul>
483:
484: <p>
485: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
486: <ul>
487: <p>
488: Boot over the network by following the instructions in INSTALL.hppa or the
489: <a href="hppa.html#netboot">hppa platform page</a>.
490: </ul>
491:
492: <p>
493: <h3><font color="#e00000">OpenBSD/mac68k:</font></h3>
494: <ul>
495: <p>
496: Boot MacOS as normal and partition your disk with the appropriate A/UX
497: configurations. Then, extract the Macside utilities from
498: <i>FTP:3.4/mac68k/utils</i> onto your hard disk. Run Mkfs to create your
499: filesystems on the A/UX partitions you just made. Then, use the
500: "BSD/Mac68k Installer" to copy all the sets in <i>FTP:3.4/mac68k/</i> onto your
501: partitions. Finally, you will be ready to configure the "BSD/Mac68k
502: Booter" with the location of your kernel and boot the system.
503: </ul>
504:
505: <p>
506: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
507: <ul>
508: <p>
509: You can create a bootable installation tape or boot over the network.<br>
510: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
511: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
512: for more details.
513: </ul>
514:
515: <p>
516: <h3><font color="#e00000">Notes about the source code:</font></h3>
517: <ul>
518: src.tar.gz contains a source archive starting at /usr/src. This file
519: contains everything you need except for the kernel sources, which are
520: in a separate archive. To extract:
521: <p>
522: <ul><pre>
523: # <strong>mkdir -p /usr/src</strong>
524: # <strong>cd /usr/src</strong>
525: # <strong>tar xvfz /tmp/src.tar.gz</strong>
526: </pre></ul>
527: <p>
528: sys.tar.gz contains a source archive starting at /usr/src/sys.
529: This file contains all the kernel sources you need to rebuild kernels.
530: To extract:
531: <p>
532: <ul><pre>
533: # <strong>mkdir -p /usr/src/sys</strong>
534: # <strong>cd /usr/src</strong>
535: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
536: </pre></ul>
537: <p>
538: Both of these trees are a regular CVS checkout. Using these trees it
539: is possible to get a head-start on using the anoncvs servers as
540: described <a href="anoncvs.html">here</a>.
541: Using these files
542: results in a much faster initial CVS update than you could expect from
543: a fresh checkout of the full OpenBSD source tree.
544: <p>
545: </ul>
546: <a name="ports"></a>
547: <hr>
548: <p>
549: <h3><font color="#0000e0">Ports Tree</font></h3>
550: <p>
551: A ports tree archive is also provided. To extract:
552: <p>
553: <ul><pre>
554: # <strong>cd /usr</strong>
555: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
556: # <strong>cd ports</strong>
557: </pre></ul>
558: <p>
559: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
1.45 jasper 560: read the <a href="faq/faq15.html">ports</a> page
1.1 david 561: if you know nothing about ports
562: at this point. This text is not a manual of how to use ports.
563: Rather, it is a set of notes meant to kickstart the user on the
564: OpenBSD ports system.
565: <p>
566: The <i>ports/</i> directory represents a CVS (see the manpage for
567: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386&format=html">
568: cvs(1)</a> if
569: you aren't familiar with CVS) checkout of our ports. As with our complete
570: source tree, our ports tree is available via anoncvs. So, in
571: order to keep current with it, you must make the <i>ports/</i> tree
572: available on a read-write medium and update the tree with a command
573: like:
574: <p>
575: <ul><pre>
1.44 deraadt 576: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_3_4</strong>
1.1 david 577: </pre></ul>
578: <p>
579: [Of course, you must replace the local directory and server name here
580: with the location of your ports collection and a nearby anoncvs
581: server.]
582: <p>
583: Note that most ports are available as packages through ftp. Updated
584: packages for the 3.4 release will be made available if problems arise.
585: <p>
586: If you're interested in seeing a port added, would like to help out, or just
587: would like to know more, the mailing list ports@openbsd.org is a good
588: place to know.
589: <p>
590:
591: </body>
592: </html>