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