Annotation of www/74.html, Revision 1.11
1.1 deraadt 1: <!doctype html>
2: <html lang=en id=release>
3: <head>
4: <meta charset=utf-8>
5:
6: <title>OpenBSD 7.4</title>
7: <meta name="description" content="OpenBSD 7.4">
8: <meta name="viewport" content="width=device-width, initial-scale=1">
9: <link rel="stylesheet" type="text/css" href="openbsd.css">
10: <link rel="canonical" href="https://www.openbsd.org/74.html">
11: </head><body>
12: <h2 id=OpenBSD>
13: <a href="index.html">
14: <i>Open</i><b>BSD</b></a>
15: 7.4
16: </h2>
17:
18: <table>
19: <tr>
20: <td>
21: <a href="images/XXX.png">
22: <img width="227" height="303" src="images/XXX-s.gif" alt="XXX"></a>
23: <td>
24: Released Oct XXX, 2023. (55th OpenBSD release)<br>
25: Copyright 1997-2023, Theo de Raadt.<br>
26: <br>
1.4 job 27: Artwork by Jessica Scott.
1.1 deraadt 28: <br>
29: <ul>
30: <li>See the information on <a href="ftp.html">the FTP page</a> for
31: a list of mirror machines.
32: <li>Go to the <code class=reldir>pub/OpenBSD/7.4/</code> directory on
33: one of the mirror sites.
34: <li>Have a look at <a href="errata74.html">the 7.4 errata page</a> for a list
35: of bugs and workarounds.
36: <li>See a <a href="plus74.html">detailed log of changes</a> between the
37: 7.3 and 7.4 releases.
38: <p>
39: <li><a href="https://man.openbsd.org/signify.1">signify(1)</a>
40: pubkeys for this release:<p>
41:
42: <table class=signify>
43: <tr><td>
44: openbsd-74-base.pub:
45: <td>
46: <a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/openbsd-74-base.pub">
47: RWRoyQmAD08ajTqgzK3UcWaVlwaJMckH9/CshU8Md5pN1GoIrcBdTF+c</a>
48: <tr><td>
49: openbsd-74-fw.pub:
50: <td>
51: RWTRA9KXRuZKunpXYK0ed5OxbE0K7rYWpDnTu+M8wZdqzRroFqed0U6I
52: <tr><td>
53: openbsd-74-pkg.pub:
54: <td>
55: RWR/h7gubZ9M/O46RNy3PzLTPevOCK24LGCPca41IHMwSH4YuVA+jnWO
56: <tr><td>
57: openbsd-74-syspatch.pub:
58: <td>
59: RWQqty2voy8V8afR9/v2RzuNr7r4y9cKwljABN7Tytd7JcPdBjnXg0Ue
60: </table>
61: </ul>
62: <p>
63: All applicable copyrights and credits are in the src.tar.gz,
64: sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the
65: files fetched via <code>ports.tar.gz</code>.
66: </table>
67:
68: <hr>
69:
70: <section id=new>
71: <h3>What's New</h3>
72: <p>
73: This is a partial list of new features and systems included in OpenBSD 7.4.
74: For a comprehensive list, see the <a href="plus74.html">changelog</a> leading
75: to 7.4.
76:
77: <ul>
78:
79: <li>New/extended platforms:
80: <ul>
1.11 ! benno 81: <li>On arm64, implement branch target protection using the branch
! 82: target identification feature introduced in Armv8.5. This provides
! 83: "head-CFI" to complement the "tail-CFI" provided by retguard, and is
! 84: supported on Apple M2.
1.1 deraadt 85: </ul>
86:
87: <li>Various kernel improvements:
88: <ul>
1.11 ! benno 89: <li>On amd64, identify IBT capability in cpu(4) dmesg lines.
! 90: <li>On arm64, show BT and SBSS features in dmesg(8).
! 91: <li>Map device tree read/write to unbreak root on softraid(4).
1.1 deraadt 92: </ul>
93:
94: <li>SMP Improvements
95: <ul>
96: <li>...
97: </ul>
98:
99: <li>Direct Rendering Manager and graphics drivers
100: <ul>
101: <li>...
102: </ul>
103:
104: <li>VMM/VMD improvements
105: <ul>
1.11 ! benno 106: <li>Avoid use of uninitialised memory in vmd(8).
1.1 deraadt 107: </ul>
108:
109: <li>Various new userland features:
110: <ul>
1.11 ! benno 111: <li>Update zoneinfo to tzdata2023c.
1.1 deraadt 112: </ul>
113:
114: <li>Various bugfixes and tweaks in userland:
115: <ul>
1.11 ! benno 116: <li>Refactoring and documenting of fdisk(8) code, to make the code
! 117: easier to maintain.
! 118: <li>In clang, allow out-of-class defaulting of comparison operators,
! 119: by ways of backporting an upstream commit.
! 120: <li>Improve the code of aucat(1) and fix spelling mistakes.
! 121: <li>Improve the code quality of find(1).
! 122: <li>Many changes in mg(1):
! 123: <ul>
! 124: <li>Improve the readability of the code of mg(1).
! 125: <li>In mg(1), fall back to /bin/sh if $SHELL is undefined.
! 126: <li>Fix parsing of tag files with duplicate entries in mg (1).
! 127: Instead of erroring out ignore duplicates. Fixes using
! 128: /var/db/libc.tags again.
! 129: <li>In mg(1), change tagvisit (aka visit-tag-table) to immediately
! 130: load the tag file, and drop the lazy mechanics.
! 131: <li>Remove useless global variable in mg(1).
! 132: <li>Plug memory leak in mg(1).
! 133: <li>Replace strncpy() with strlcpy() in mg(1).
! 134: <li>Skip checking permissions of conffile with access(2).
! 135: </ul>
! 136: <li>On aarch64 architectures improve how BTI control flow integretry
! 137: enforcement is implemented in the executable entry point and enable
! 138: support for BTI control flow integrety checks in libc assembly
! 139: functions.
! 140:
1.1 deraadt 141: </ul>
142:
143: <li>Improved hardware support and driver bugfixes, including:
144: <ul>
1.11 ! benno 145: <li>Add support for the RK3568 32k RTC clock in rkclock(4)
! 146: <li>In dwpcie(4) attach Baikal-M PCIe.
! 147: <li>In openfirmware, implement regulator notifiers which get called
! 148: when the voltage/current for a regulator is changed or when the
! 149: regulator gets initialized when it attaches for the first time. The
! 150: latter makes it possible to register a notifier for a regulator that
! 151: hasn't attached yet.
! 152: <li>Add rkiovd(4), a driver for the IO voltage domains on Rockchip SoCs.
! 153:
1.1 deraadt 154: </ul>
155:
156: <li>New or improved network hardware support:
157: <ul>
1.11 ! benno 158: <li>Fix dwqe(4) on several boards that use rgephy(4) by configuring
! 159: the RGMII interface before taking the PHY out of reset.
! 160: <li>Document that Intel i226 adapters are supported by igc(4).
! 161: <li>Add ngbe(4), a driver for WangXun WX1860 PCI Express 10/100/1Gb Ethernet devices.
1.1 deraadt 162: </ul>
163:
164: <li>Added or improved wireless network drivers:
165: <ul>
1.11 ! benno 166: <li>Improve how Quectel LTE&5G devices attach to umb(4).
1.1 deraadt 167: </ul>
168:
169: <li>IEEE 802.11 wireless stack improvements and bugfixes:
170: <ul>
171: <li>...
172: </ul>
173:
174: <li>Installer, upgrade and bootloader improvements:
175: <ul>
1.11 ! benno 176: <li>In the arm64 ramdisk, simplify apple firmware copying to make it
! 177: easier to add new firmware.
! 178: <li>On armv7 and arm64, silence informational messages from dd(1)
! 179: when zeroing a disk's first 1MB. Use character not block devices with
! 180: dd(1) like on other architectures.
! 181: <li>Refactor the code of md_installboot() on armv7 and arm64 to be
! 182: more in line with other architectures.
! 183: <li>Improve the dialogue of the installer without affecting
! 184: autoinstall(8) files.
! 185: <li>Enable ufshci(4) on arm64 RAMDISKs.
! 186:
1.1 deraadt 187: </ul>
188:
189: <li>Security improvements:
190: <ul>
1.11 ! benno 191: <li>Change malloc(3) chunk sizes to be fine grained. [needs better explaination]
! 192: <li>In malloc(3), check all chunks in the delayed free list for write-after-free.
1.1 deraadt 193: </ul>
194:
195: <li>Changes in the network stack:
196: <ul>
197: <li>...
198: </ul>
199:
200: <li>Routing daemons and other userland network improvements:
201: <ul>
202: <li>IPsec support was improved:
203: <ul>
1.11 ! benno 204: <li>In isakmpd(8), avoid a double free in ec_init() when using the OpenSSL API.
! 205: <li>In iked(8), do not treat the return value of i2d_ECDSA_SIG() as
! 206: lenght as it can be negative.
! 207: <li>Prepare isakmpd(8) for a libcrypto library that is lacking binary field
! 208: support.
! 209: <li>In isakmpd(8), avoid a potential crash by addind a missing NULL check.
! 210:
1.1 deraadt 211: </ul>
212: <li>In <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a>,
213: <ul>
214: <li>...
215: </ul>
216: <li><a href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a> saw some changes:
217: <ul>
218: <li>...
219: </ul>
220:
221: <li>In <a href="https://man.openbsd.org/snmpd.8">snmpd(8)</a>,
222: <ul>
223: <li>...
224: </ul>
225:
1.11 ! benno 226: <li>Make dig(1) use less deprecated LibreSSL API.
! 227: <li>In ypldap(8), reduce memory usage when updating larger directories.
1.1 deraadt 228: </ul>
229:
230: <li><a href="https://man.openbsd.org/tmux.1">tmux(1)</a> improvements and bug fixes:
231: <ul>
1.11 ! benno 232: <li>For passthrough, don't write to clients attached to different sessions.
! 233: <li>Add a format to show if there are unseen changes while in a mode.
1.1 deraadt 234: </ul>
235:
1.7 tb 236: <li>LibreSSL version 3.8.2
1.1 deraadt 237: <ul>
1.7 tb 238: <li>Security fixes
239: <ul>
240: <li>Disabled TLSv1.0 and TLSv1.1 in libssl so that they may no longer
241: be selected for use.
242: <li>BN_is_prime{,_fasttest}_ex() refuse to check numbers larger than
243: 32 kbits for primality. This mitigates various DoS vectors.
244: <li>Restricted the RFC 3779 code to IPv4 and IPv6. It was not written
245: to be able to deal with anything else.
246: </ul>
247: <li>Portable changes
248: <ul>
249: <li>Extended the endian.h compat header with hto* and *toh macros.
250: <li>Adapted more tests to the portable framework.
251: <li>Internal tools are now statically linked.
252: <li>Applications bundled as part of the LibreSSL package internally,
253: nc(1) and openssl(1), now are linked statically if static libraries
254: are built.
255: <li>Internal compatibility function symbols are no longer exported from
256: libcrypto. Instead, the libcompat library is linked to libcrypto,
257: libssl, and libtls separately. This increases size a little, but
258: ensures that the libraries are not exporting symbols to programs
259: unintentionally.
260: <li>Selective removal of CET implementation on platforms where it is
261: not supported (macOS).
262: <li>Integrated four more tests.
263: <li>Added Windows ARM64 architecture to tested platforms.
264: <li>Removed Solaris 10 support, fixed Solaris 11.
265: <li>libtls no longer links statically to libcrypto / libssl unless
266: <code>--enable-libtls-only</code> is specified at configure time.
267: <li>Improved Windows compatibility library, namely handling of files vs
268: sockets, correcting an exception when operating on a closed socket.
269: <li>CMake builds no longer hardcode <code>-O2</code> into the compiler flags,
270: instead using flags from the CMake build type instead.
271: <li>Set the CMake default build type to <code>Release</code>. This can be overridden
272: during configuration.
273: <li>Fixed broken ASM support with MinGW builds.
274: </ul>
1.1 deraadt 275: <li>New features
276: <ul>
1.7 tb 277: <li>Added support for truncated SHA-2 and for SHA-3.
278: <li>The BPSW primality test performs additional Miller-Rabin rounds
279: with random bases to reduce the likelihood of composites passing.
280: <li>Allow testing of ciphers and digests using badly aligned buffers
281: in openssl speed using -unalign.
282: <li>Ed25519 certificates are now supported in openssl(1) ca and req.
283: Prepared Ed25519 support in libssl.
284: <li>Add branch target information (BTI) support to amd64 and arm64
285: assembly.
1.1 deraadt 286: </ul>
287: <li>Compatibility changes
288: <ul>
1.7 tb 289: <li>Added a workaround for a poorly thought-out change in OpenSSL 3 that
290: broke privilege separation support in libtls.
291: <li>Moved libtls from ECDSA_METHOD to EC_KEY_METHOD.
292: <li>Removed GF2m support: BIGNUM no longer supports binary extension
293: field arithmetic and all binary elliptic builtin curves were removed.
294: <li>Removed dangerous, "fast" NIST prime and elliptic curve implementations.
295: In particular, EC_GFp_nist_method() is no longer available.
296: <li>Removed most public symbols that were deprecated in OpenSSL 0.9.8.
297: <li>Removed the public X9.31 API (RSA_X931_PADDING is still available).
298: <li>Removed Cipher Text Stealing mode.
299: <li>Removed ENGINE support, including ECDH_METHOD and ECDSA_METHOD.
300: <li>Removed COMP, DSO, dynamic loading of conf modules and support for
301: custom ex_data and error stacks.
302: <li>Removed proxy certificate (RFC 3820) support.
303: <li>Removed SXNET and NETSCAPE_CERT_SEQUENCE support including the
1.8 tb 304: openssl(1) nseq command.
1.7 tb 305: <li>ENGINE support was removed and OPENSSL_NO_ENGINE is set. In spite
306: of this, some stub functions are provided to avoid patching some
307: applications that do not honor OPENSSL_NO_ENGINE.
308: <li>The POLICY_TREE and its related structures and API were removed.
309: <li>In X509_VERIFY_PARAM_inherit() copy hostflags independently of the
310: host list.
311: <li>Made CRYPTO_get_ex_new_index() not return 0 to allow applications
312: to use *_{get,set}_app_data() and *_{get,set}_ex_data() alongside
313: each other.
314: <li>X509_NAME_get_text_by_{NID,OBJ}() now only succeed if they contain
315: valid UTF-8 without embedded NUL.
316: <li>The explicitText user notice uses UTF8String instead of VisibleString
317: to reduce the risk of emitting certificates with invalid DER-encoding.
318: <li>Initial fixes for RSA-PSS support to make the TLSv1.3 stack more
319: compliant with RFC 8446.
320: <li>Fixed EVP_CIPHER_CTX_iv_length() to return what was set with
321: EVP_CTRL_AEAD_SET_IVLEN or one of its aliases.
1.1 deraadt 322: </ul>
1.7 tb 323: <li>Internal improvements
1.1 deraadt 324: <ul>
1.7 tb 325: <li>Improved sieve of Eratosthenes script used for generating a table
326: of small primes.
327: <li>Removed incomplete and dangerous BN_RECURSION code.
328: <li>Imported RFC 5280 policy checking code from BoringSSL and used it
329: to replace the old exponential time code.
330: <li>Converted more of libcrypto to use CBB/CBS.
331: <li>Started cleaning up and rewriting SHA internals.
332: <li>Reduced the dependency of hash implementations on many layers of
333: macros. This results in significant speedups since modern compilers
334: are now less confused.
335: <li>Improved BIGNUM internals and performance.
336: <li>Significantly simplified the BN_BLINDING internals used in RSA.
337: <li>Made BN_num_bits() independent of bn->top.
338: <li>Rewrote and simplified bn_sqr().
339: <li>Significantly improved Montgomery multiplication performance.
340: <li>Rewrote and improved BN_exp() and BN_copy().
341: <li>Changed ASN1_item_sign_ctx() and ASN1_item_verify() to work with
342: Ed25519 and fixed a few bugs in there.
343: <li>Lots of cleanup for DH, DSA, EC, RSA internals. Plugged numerous
344: memory leaks, fixed logic errors and inconsistencies.
345: <li>Cleaned up and simplified various ECDH and ECDSA internals.
346: <li>Removed EC_GROUP precomp machinery.
347: <li>Fixed various issues with EVP_PKEY_CTX_{new,dup}().
348: <li>Rewrote OBJ_find_sigid_algs() and OBJ_find_sigid_by_algs().
349: <li>Improved X.509 certificate version checks.
350: <li>Ensure no X.509v3 extensions appear more than once in certificates.
351: <li>Replaced ASN1_bn_print with a cleaner internal implementation.
352: <li>Fix OPENSSL_cpuid_setup() invocations on arm/aarch64.
353: <li>Improved checks for commonName in libtls.
354: <li>Fixed error check for X509_get_ext_d2i() failure in libtls.
355: <li>Removed code guarded by #ifdef ZLIB.
356: <li>Plug a potential memory leak in ASN1_TIME_normalize().
357: <li>Fixed a use of uninitialized in i2r_IPAddrBlocks().
358: <li>Rewrote CMS_SignerInfo_{sign,verify}().
1.1 deraadt 359: </ul>
1.7 tb 360: <li>Bug fixes
1.1 deraadt 361: <ul>
1.7 tb 362: <li>Correctly handle negative input to various BIGNUM functions.
363: <li>Ensure ERR_load_ERR_strings() does not set errno unexpectedly.
364: <li>Fix error checking of i2d_ECDSA_SIG() in ossl_ecdsa_sign().
1.8 tb 365: <li>Fixed aliasing issue in BN_mod_inverse(). Disallowed aliasing of result
366: and modulus in various BN_mod_* functions.
1.7 tb 367: <li>Fixed detection of extended operations (XOP) on AMD hardware.
368: <li>Ensure Montgomery exponentiation is used for the initial RSA blinding.
369: <li>Policy is always checked in X509 validation. Critical policy extensions
370: are no longer silently ignored.
371: <li>Fixed error handling in tls_check_common_name().
372: <li>Add missing pointer invalidation in SSL_free().
373: <li>Fixed X509err() and X509V3err() and their internal versions.
374: <li>Ensure that OBJ_obj2txt() always returns a C string again.
375: <li>Made EVP_PKEY_set1_hkdf_key() fail on a NULL key.
376: <li>On socket errors in the poll loop, netcat could issue system calls
377: on invalidated file descriptors.
378: <li>Allow IP addresses to be specified in a URI.
379: <li>Fixed a copy-paste error in ASN1_TIME_compare() that could lead
380: to two UTCTimes or two GeneralizedTimes incorrectly being compared
381: as equal.
382: </ul>
383: <li>Documentation improvements
384: <ul>
385: <li>Improved documentation of BIO_ctrl(3), BIO_set_info_callback(3),
386: BIO_get_info_callback(3), BIO_method_type(3), and BIO_method_name(3).
387: <li>Marked BIO_CB_return(), BIO_cb_pre(), and BIO_cb_post() as intentionally
388: undocumented.
389: <li>Made it very explicit that the verify callback should not be used.
390: <li>Called out that the CRL lastUpdate is standardized as thisUpdate.
391: <li>Documented the RFC 3779 API and its shortcomings.
392: </ul>
393: <li>Testing and Proactive Security
394: <ul>
395: <li>Significantly improved test coverage of BN_mod_sqrt() and GCD.
396: <li>As always, new test coverage is added as bugs are fixed and subsystems
397: are cleaned up.
1.1 deraadt 398: </ul>
399: </ul>
400:
401: <li>OpenSSH XXX.YYY
402: <ul>
403: <li>Security
404: <ul>
405: <li>...
406: </ul>
407: <li>Potentially-incompatible changes
408: <ul>
409: <li>...
410: </ul>
411: <li>Bugfixes
412: <ul>
413: <li>...
414: </ul>
415: </ul>
416:
417: <li>mandoc XXX plus some new features and many bugfixes, including:
418: <ul>
419: <li>...
420: </ul>
421:
422: <li>Ports and packages:
423: <p>Many pre-built packages for each architecture:
424: <!-- number of FTP packages minus SHA256, SHA256.sig, index.txt -->
425: <ul style="column-count: 3">
426: <li>aarch64:
427: <li>amd64:
428: <li>arm:
429: <li>i386:
430: <li>mips64:
431: <li>powerpc:
432: <li>powerpc64:
433: <li>riscv64:
434: <li>sparc64:
435: </ul>
436:
437: <p>Some highlights:
1.7 tb 438: <ul style="column-count: 3"><!-- XXX all need to be checked/updated 2023-03-04 -->
1.6 matthieu 439: <li>Asterisk 16.30.1, 18.19.0 and 20.4.0
1.5 matthieu 440: <li>Audacity 3.3.3
441: <li>CMake 3.27.5
1.10 matthieu 442: <li>Chromium 117.0.5838.149
1.5 matthieu 443: <li>Emacs 29.1
444: <li>FFmpeg 4.4.4
1.1 deraadt 445: <li>GCC 8.4.0 and 11.2.0
1.5 matthieu 446: <li>GHC 9.2.7
447: <li>GNOME 44
448: <li>Go 1.21.1
449: <li>JDK 8u382, 11.0.20 and 17.0.8
450: <li>KDE Applications 23.08.0
1.1 deraadt 451: <li>KDE Frameworks 5.98.0
1.5 matthieu 452: <li>Krita 5.1.5
453: <li>LLVM/Clang 13.0.0 and 16.0.6
454: <li>LibreOffice 7.6.2.1
455: <li>Lua 5.1.5, 5.2.4, 5.3.6 and 5.4.6
456: <li>MariaDB 10.9.6
457: <li>Mono 6.12.0.199
458: <li>Mozilla Firefox 118.0.1 and ESR 115.3.1
459: <li>Mozilla Thunderbird 115.3.1
460: <li>Mutt 2.2.12 and NeoMutt 20230517
461: <li>Node.js 18.18.0
1.1 deraadt 462: <li>OCaml 4.12.1
1.5 matthieu 463: <li>OpenLDAP 2.6.6
464: <li>PHP 7.4.33, 8.0.30, 8.1.24 and 8.2.11
465: <li>Postfix 3.7.3
466: <li>PostgreSQL 15.4
467: <li>Python 2.7.18, 3.9.18, 3.10.13 and 3.11.5
468: <li>Qt 5.15.10 and 6.5.2
469: <li>R 4.2.3
470: <li>Ruby 3.0.6, 3.1.4 and 3.2.2
471: <li>Rust 1.72.1
1.9 lteo 472: <li>SQLite 3.42.0
1.5 matthieu 473: <li>Shotcut 23.07.29
474: <li>Sudo 1.9.14.2
475: <li>Suricata 6.0.12
476: <li>Tcl/Tk 8.5.19 and 8.6.13
477: <li>TeX Live 2022
478: <li>Vim 9.0.1897 and Neovim 0.9.1
479: <li>Xfce 4.18
1.1 deraadt 480: </ul>
481: <p>
482:
483: <li>As usual, steady improvements in manual pages and other documentation.
484:
485: <li>The system includes the following major components from outside suppliers:
1.7 tb 486: <ul><!-- XXX all need to be checked/updated 2023-03-04 -->
1.5 matthieu 487: <li>Xenocara (based on X.Org 7.7 with xserver 21.1.8 + patches,
488: freetype 2.13.0, fontconfig 2.14.2, Mesa 22.3.7, xterm 378,
1.1 deraadt 489: xkeyboard-config 2.20, fonttosfnt 1.2.2 and more)
490: <li>LLVM/Clang 13.0.0 (+ patches)
491: <li>GCC 4.2.1 (+ patches) and 3.3.6 (+ patches)
1.5 matthieu 492: <li>Perl 5.36.1 (+ patches)
493: <li>NSD 4.7.0
494: <li>Unbound 1.18.0
1.1 deraadt 495: <li>Ncurses 5.7
496: <li>Binutils 2.17 (+ patches)
497: <li>Gdb 6.3 (+ patches)
1.5 matthieu 498: <li>Awk September 12, 2023
499: <li>Expat 2.5.0
1.1 deraadt 500: </ul>
501:
502: </ul>
503: </section>
504:
505: <hr>
506:
507: <section id=install>
508: <h3>How to install</h3>
509: <p>
510: Please refer to the following files on the mirror site for
511: extensive details on how to install OpenBSD 7.4 on your machine:
512:
513: <ul>
514: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/alpha/INSTALL.alpha">
1.2 jsg 515: .../OpenBSD/7.4/alpha/INSTALL.alpha</a>
1.1 deraadt 516: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/amd64/INSTALL.amd64">
1.2 jsg 517: .../OpenBSD/7.4/amd64/INSTALL.amd64</a>
1.1 deraadt 518: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/arm64/INSTALL.arm64">
1.2 jsg 519: .../OpenBSD/7.4/arm64/INSTALL.arm64</a>
1.1 deraadt 520: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/armv7/INSTALL.armv7">
1.2 jsg 521: .../OpenBSD/7.4/armv7/INSTALL.armv7</a>
1.1 deraadt 522: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/hppa/INSTALL.hppa">
1.2 jsg 523: .../OpenBSD/7.4/hppa/INSTALL.hppa</a>
1.1 deraadt 524: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/i386/INSTALL.i386">
1.2 jsg 525: .../OpenBSD/7.4/i386/INSTALL.i386</a>
1.1 deraadt 526: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/landisk/INSTALL.landisk">
1.2 jsg 527: .../OpenBSD/7.4/landisk/INSTALL.landisk</a>
1.1 deraadt 528: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/loongson/INSTALL.loongson">
1.2 jsg 529: .../OpenBSD/7.4/loongson/INSTALL.loongson</a>
1.1 deraadt 530: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/luna88k/INSTALL.luna88k">
1.2 jsg 531: .../OpenBSD/7.4/luna88k/INSTALL.luna88k</a>
1.1 deraadt 532: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/macppc/INSTALL.macppc">
1.2 jsg 533: .../OpenBSD/7.4/macppc/INSTALL.macppc</a>
1.1 deraadt 534: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/octeon/INSTALL.octeon">
1.2 jsg 535: .../OpenBSD/7.4/octeon/INSTALL.octeon</a>
1.1 deraadt 536: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/powerpc64/INSTALL.powerpc64">
1.2 jsg 537: .../OpenBSD/7.4/powerpc64/INSTALL.powerpc64</a>
1.1 deraadt 538: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/riscv64/INSTALL.riscv64">
1.2 jsg 539: .../OpenBSD/7.4/riscv64/INSTALL.riscv64</a>
1.1 deraadt 540: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/sparc64/INSTALL.sparc64">
1.2 jsg 541: .../OpenBSD/7.4/sparc64/INSTALL.sparc64</a>
1.1 deraadt 542: </ul>
543: </section>
544:
545: <hr>
546:
547: <section id=quickinstall>
548: <p>
549: Quick installer information for people familiar with OpenBSD, and the use of
550: the "<a href="https://man.openbsd.org/disklabel.8">disklabel</a> -E" command.
551: If you are at all confused when installing OpenBSD, read the relevant
552: INSTALL.* file as listed above!
553:
554: <h3>OpenBSD/alpha:</h3>
555:
556: <p>
557: If your machine can boot from CD, you can write <i>install74.iso</i> or
558: <i>cd74.iso</i> to a CD and boot from it.
559: Refer to INSTALL.alpha for more details.
560:
561: <h3>OpenBSD/amd64:</h3>
562:
563: <p>
564: If your machine can boot from CD, you can write <i>install74.iso</i> or
565: <i>cd74.iso</i> to a CD and boot from it.
566: You may need to adjust your BIOS options first.
567:
568: <p>
569: If your machine can boot from USB, you can write <i>install74.img</i> or
570: <i>miniroot74.img</i> to a USB stick and boot from it.
571:
572: <p>
573: If you can't boot from a CD, floppy disk, or USB,
574: you can install across the network using PXE as described in the included
575: INSTALL.amd64 document.
576:
577: <p>
578: If you are planning to dual boot OpenBSD with another OS, you will need to
579: read INSTALL.amd64.
580:
581: <h3>OpenBSD/arm64:</h3>
582:
583: <p>
584: Write <i>install74.img</i> or <i>miniroot74.img</i> to a disk and boot from it
585: after connecting to the serial console. Refer to INSTALL.arm64 for more
586: details.
587:
588: <h3>OpenBSD/armv7:</h3>
589:
590: <p>
591: Write a system specific miniroot to an SD card and boot from it after connecting
592: to the serial console. Refer to INSTALL.armv7 for more details.
593:
594: <h3>OpenBSD/hppa:</h3>
595:
596: <p>
597: Boot over the network by following the instructions in INSTALL.hppa or the
598: <a href="hppa.html#install">hppa platform page</a>.
599:
600: <h3>OpenBSD/i386:</h3>
601:
602: <p>
603: If your machine can boot from CD, you can write <i>install74.iso</i> or
604: <i>cd74.iso</i> to a CD and boot from it.
605: You may need to adjust your BIOS options first.
606:
607: <p>
608: If your machine can boot from USB, you can write <i>install74.img</i> or
609: <i>miniroot74.img</i> to a USB stick and boot from it.
610:
611: <p>
612: If you can't boot from a CD, floppy disk, or USB,
613: you can install across the network using PXE as described in
614: the included INSTALL.i386 document.
615:
616: <p>
617: If you are planning on dual booting OpenBSD with another OS, you will need to
618: read INSTALL.i386.
619:
620: <h3>OpenBSD/landisk:</h3>
621:
622: <p>
623: Write <i>miniroot74.img</i> to the start of the CF
624: or disk, and boot normally.
625:
626: <h3>OpenBSD/loongson:</h3>
627:
628: <p>
629: Write <i>miniroot74.img</i> to a USB stick and boot bsd.rd from it
630: or boot bsd.rd via tftp.
631: Refer to the instructions in INSTALL.loongson for more details.
632:
633: <h3>OpenBSD/luna88k:</h3>
634:
635: <p>
636: Copy 'boot' and 'bsd.rd' to a Mach or UniOS partition, and boot the bootloader
637: from the PROM, and then bsd.rd from the bootloader.
638: Refer to the instructions in INSTALL.luna88k for more details.
639:
640: <h3>OpenBSD/macppc:</h3>
641:
642: <p>
643: Burn the image from a mirror site to a CDROM, and power on your machine
644: while holding down the <i>C</i> key until the display turns on and
645: shows <i>OpenBSD/macppc boot</i>.
646:
647: <p>
648: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
1.2 jsg 649: /7.4/macppc/bsd.rd</i>
1.1 deraadt 650:
651: <h3>OpenBSD/octeon:</h3>
652:
653: <p>
654: After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
655: Refer to the instructions in INSTALL.octeon for more details.
656:
657: <h3>OpenBSD/powerpc64:</h3>
658:
659: <p>
660: To install, write <i>install74.img</i> or <i>miniroot74.img</i> to a
661: USB stick, plug it into the machine and choose the <i>OpenBSD
662: install</i> menu item in Petitboot.
663: Refer to the instructions in INSTALL.powerpc64 for more details.
664:
665: <h3>OpenBSD/riscv64:</h3>
666:
667: <p>
668: To install, write <i>install74.img</i> or <i>miniroot74.img</i> to a
669: USB stick, and boot with that drive plugged in.
670: Make sure you also have the microSD card plugged in that shipped with the
671: HiFive Unmatched board.
672: Refer to the instructions in INSTALL.riscv64 for more details.
673:
674: <h3>OpenBSD/sparc64:</h3>
675:
676: <p>
677: Burn the image from a mirror site to a CDROM, boot from it, and type
678: <i>boot cdrom</i>.
679:
680: <p>
681: If this doesn't work, or if you don't have a CDROM drive, you can write
682: <i>floppy74.img</i> or <i>floppyB74.img</i>
683: (depending on your machine) to a floppy and boot it with <i>boot
684: floppy</i>. Refer to INSTALL.sparc64 for details.
685:
686: <p>
687: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
688: will most likely fail.
689:
690: <p>
691: You can also write <i>miniroot74.img</i> to the swap partition on
692: the disk and boot with <i>boot disk:b</i>.
693:
694: <p>
695: If nothing works, you can boot over the network as described in INSTALL.sparc64.
696: </section>
697:
698: <hr>
699:
700: <section id=upgrade>
701: <h3>How to upgrade</h3>
702: <p>
1.3 jsg 703: If you already have an OpenBSD 7.3 system, and do not want to reinstall,
1.1 deraadt 704: upgrade instructions and advice can be found in the
705: <a href="faq/upgrade74.html">Upgrade Guide</a>.
706: </section>
707:
708: <hr>
709:
710: <section id=sourcecode>
711: <h3>Notes about the source code</h3>
712: <p>
713: <code>src.tar.gz</code> contains a source archive starting at <code>/usr/src</code>.
714: This file contains everything you need except for the kernel sources,
715: which are in a separate archive.
716: To extract:
717: <blockquote><pre>
718: # <kbd>mkdir -p /usr/src</kbd>
719: # <kbd>cd /usr/src</kbd>
720: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
721: </pre></blockquote>
722: <p>
723: <code>sys.tar.gz</code> contains a source archive starting at <code>/usr/src/sys</code>.
724: This file contains all the kernel sources you need to rebuild kernels.
725: To extract:
726: <blockquote><pre>
727: # <kbd>mkdir -p /usr/src/sys</kbd>
728: # <kbd>cd /usr/src</kbd>
729: # <kbd>tar xvfz /tmp/sys.tar.gz</kbd>
730: </pre></blockquote>
731: <p>
732: Both of these trees are a regular CVS checkout. Using these trees it
733: is possible to get a head-start on using the anoncvs servers as
734: described <a href="anoncvs.html">here</a>.
735: Using these files
736: results in a much faster initial CVS update than you could expect from
737: a fresh checkout of the full OpenBSD source tree.
738: </section>
739:
740: <hr>
741:
742: <section id=ports>
743: <h3>Ports Tree</h3>
744: <p>
745: A ports tree archive is also provided. To extract:
746: <blockquote><pre>
747: # <kbd>cd /usr</kbd>
748: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
749: </pre></blockquote>
750: <p>
751: Go read the <a href="faq/ports/index.html">ports</a> page
752: if you know nothing about ports
753: at this point. This text is not a manual of how to use ports.
754: Rather, it is a set of notes meant to kickstart the user on the
755: OpenBSD ports system.
756: <p>
757: The <i>ports/</i> directory represents a CVS checkout of our ports.
758: As with our complete source tree, our ports tree is available via
759: <a href="anoncvs.html">AnonCVS</a>.
760: So, in order to keep up to date with the -stable branch, you must make
761: the <i>ports/</i> tree available on a read-write medium and update the tree
762: with a command like:
763: <blockquote><pre>
764: # <kbd>cd /usr/ports</kbd>
1.2 jsg 765: # <kbd>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_7_4</kbd>
1.1 deraadt 766: </pre></blockquote>
767: <p>
768: [Of course, you must replace the server name here with a nearby anoncvs
769: server.]
770: <p>
771: Note that most ports are available as packages on our mirrors. Updated
772: ports for the 7.4 release will be made available if problems arise.
773: <p>
774: If you're interested in seeing a port added, would like to help out, or just
775: would like to know more, the mailing list
776: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
777: </section>
778: </body>
779: </html>