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