Annotation of www/errata.html, Revision 1.68
1.1 deraadt 1: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML Strict//EN">
2: <html>
3: <head>
1.64 deraadt 4: <title>OpenBSD release errata</title>
1.1 deraadt 5: <link rev=made href=mailto:www@openbsd.org>
6: <meta name="resource-type" content="document">
7: <meta name="description" content="the OpenBSD CD errata page">
8: <meta name="keywords" content="openbsd,cd,errata">
9: <meta name="distribution" content="global">
10: <meta name="copyright" content="This document copyright 1997 by OpenBSD.">
11: </head>
12:
13: <BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#23238E">
14:
1.37 deraadt 15: <img alt="[OpenBSD]" SRC="images/smalltitle.gif">
1.68 ! deraadt 16: <h2><font color=#0000e0>
! 17: This is the OpenBSD 2.2 release errata & patch list:
! 18: </font></h2>
! 19:
1.25 deraadt 20: <ul>
1.43 deraadt 21: <a name=all></a>
1.67 deraadt 22: <li><h3><font color=#e00000>All architectures</font></h3>
1.25 deraadt 23: <ul>
1.39 deraadt 24: <li>Building an object tree from a read-only source tree (such as off a CDROM)
25: may fail under certain circumstances (e.g. when creating a symlink on sparc
26: whose target name is exactly 33 characters). As a workaround you have to
27: either provide the source tree read/write, or install a newer version of
28: /usr/bin/readlink. You wish to use
1.34 deraadt 29: <a href=http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/readlink/readlink.c?rev=1.13>
30: revision 1.13 of usr.bin/readlink/readlink.c</a>.
1.39 deraadt 31: <p>
1.62 deraadt 32: <a name=ruserok></a>
1.61 deraadt 33: <li><strong>IMPORTANT</strong>
34: A combination localhost+remote host security problem exists if a
35: local user running a setuid binary causes a non-existant root .rhosts
36: file to be created via a symbolic link with a specific kind of corefile,
37: and then subsequently uses rsh/rlogin to enter the machine from remote.
38: A similar exploit might also be possible using sshd which lacks any code
39: for checking for deviations from the expected format in the .rhosts or
40: .shosts files, but we have not confirmed this yet. The following two
41: fixes are recommended:
42: <p>
43: <ul>
44: <li>
45: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/common/nosuidcoredump.patch>
46: (1) Adds a new sysctl option which permits the adminstrator to decide
47: whether setuid corefiles should be written or not.</a>
48: <p>
49: <li><a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/common/rcmd.patch>
50: (2) Replaces the ruserok() function in libc with a much more paranoid
51: version which can detect these bogus looking .rhosts files better. If the
52: previous patch is used to stop setuid coredumps, then this patch is not
53: as important.</a>
54: </ul>
55: <p>
56: This problem is fixed much better in OpenBSD-current, where the kernel's
57: symbolic link handling has been improved such that coredumping will not
58: create a file on the other side of a symbolic link. Such a patch is not
59: possible for the 4.4lite1 VFS layer in the OpenBSD 2.2 kernel.
60: <p>
1.25 deraadt 61: </ul>
1.42 deraadt 62: <a name=i386></a>
1.67 deraadt 63: <li><h3><font color=#e00000>i386</font></h3>
1.25 deraadt 64: <ul>
1.39 deraadt 65: <li>The Intel P5 F00F bug was discovered after the CDR's had already been
66: sent to the manufacturer. This problem permits any user who has an account
67: to lock your machine up using a 4-line program. The problem only affects
68: Intel P5 processors (the i386, i486, P-Pro, and P-II are not vulnerable,
69: nor are processors by other manufacturers).
1.44 deraadt 70: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/i386/f00f.patch>
1.39 deraadt 71: A kernel source-code patch is available</a>.
72: <p>
1.33 deraadt 73: <li>Some Linux binaries will execute in SVR4 emulation mode, which is
74: definately a problem for people who need Linux emulation to work correctly.
1.39 deraadt 75: To solve this mis-identification problem,
1.32 deraadt 76: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/i386/compat_linux.patch>
1.56 deraadt 77: a patch file is provided.</a>
1.39 deraadt 78: <p>
1.45 deraadt 79: <li>APM can crash on machines without it.
80: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/i386/apm.patch>
81: A kernel source-code patch is available</a>.
82: <p>
1.39 deraadt 83: <li>A few people are running into this problem, particularily if they had some
84: other *BSD operating system on their machine before trying OpenBSD: if after
85: installation onto an IDE-based machine, the kernel fails to mount the root
86: partition because it thinks that it should be opening sd0 (0x400), this means
87: you have incorrectly setup your disklabel for the IDE drive -- the disklabel
88: is indicating that the drive is SCSI.
89: To repair this, use the floppy to run "disklabel -E wd0", then using the
90: "edit" command ensure the type field is set to "ST506".
91: <p>
92: </ul>
1.47 deraadt 93: <a name=mac68k></a>
1.67 deraadt 94: <li><h3><font color=#e00000>mac68k</font></h3>
1.39 deraadt 95: <ul>
1.46 gene 96: <li>Unfortunately, X11 binaries for the mac68k did not manage to make it onto the
97: CDROM. However, X Windows for the mac68k is immediately available from
98: <a href="ftp://ftp.openbsd.org/pub/OpenBSD/2.2/mac68k/X11/X11R6.tar.gz">
99: ftp://ftp.OpenBSD.org/pub/OpenBSD/2.2/mac68k/X11/X11R6.tar.gz</a>. Please
100: be sure to read the <a href="ftp://ftp.openbsd.org/pub/OpenBSD/2.2/mac68k/X11/README.X11">README file</a> also in that directory for instructions on installing
101: and setting up X.
1.39 deraadt 102: <p>
1.25 deraadt 103: </ul>
1.65 deraadt 104: <a name=sparc></a>
1.67 deraadt 105: <li><h3><font color=#e00000>sparc</font></h3>
1.25 deraadt 106: <ul>
1.58 deraadt 107: <li>Older 4/xxx systems (particularily the 4/300's) cannot boot
108: with the 2.2 kernel due to bugs in the scsi device driver.
1.57 jason 109: <a href=ftp://ftp.OpenBSD.org/pub/OpenBSD/patches/2.2/sparc/esp.patch>
110: A kernel source patch is available.</a>
1.60 jason 111: Replacement kernels are available for:
112: <a href=ftp://ftp.OpenBSD.org/pub/OpenBSD/patches/2.2/sparc/bsd>bsd</a>,
113: <a href=ftp://ftp.OpenBSD.org/pub/OpenBSD/patches/2.2/sparc/bsd.scsi3>bsd.scsi3</a>,
114: and a replacement for bsd.rd is coming soon.
1.39 deraadt 115: <p>
1.65 deraadt 116: <a name=sparciommu></a>
1.63 marc 117: <li>SPARCstation 4 and 5 (Microsparc 2) users may see kernel panics when
118: using a custom kernel configured for option sun4m only.
119: <a href=ftp://ftp.OpenBSD.org/pub/OpenBSD/patches/2.2/sparc/sun4m.patch>
120: A workaround (kernel source patch) is available.</a> Apply the patch and
121: then re-build your kernel.
122: <p>
1.39 deraadt 123: </ul>
1.67 deraadt 124: <li><h3><font color=#e00000>amiga</font></h3>
1.39 deraadt 125: <p>
126: <ul>
1.48 niklas 127: <li>Missing Xamiga manual page. Get
128: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/amiga/Xamiga-manual.tgz>
129: this package</a> and execute, <i>as root</i>:<br>
1.49 deraadt 130: <pre><b># </b>pkg_add Xamiga-manual.tgz</pre>
1.51 deraadt 131: The MD5 checksum of this package is:<br>
1.49 deraadt 132: <b>MD5 (Xamiga-manual.tgz) = 2362a7857264b9d17f65cca258b42031</b><p>
1.48 niklas 133: <li>The Ariadne ethernet support was broken, there will be both binary and
134: source level fixes available shortly. If you are in a hurry mail
1.49 deraadt 135: <a href=mailto:niklas@openbsd.org>Niklas</a> for a test kernel.<p>
1.25 deraadt 136: </ul>
1.65 deraadt 137: <a name=pmax></a>
1.67 deraadt 138: <li><h3><font color=#e00000>pmax</font></h3>
1.25 deraadt 139: <ul>
1.53 deraadt 140: <li>There is a Year-1998 problem in the time-setting code (which causes the
141: date and time to be set incorrectly after a reboot in 1998).
142: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/pmax/clock.patch>
143: A source code patch file is available.</a> plus replacement installation
144: kernels for the 2.2 release at
145: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/pmax/bsd.NFS>bsd.NFS</a>,
146: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/pmax/bsd>bsd</a>,
147: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/pmax/bsd.rz0>bsd.rz0</a>.
1.66 deraadt 148: <p>
1.53 deraadt 149: <li>X11 support for the 3min and 3maxplus machines was broken
150: due to a kernel bug.
151: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/pmax/fb.patch>
152: A source code patch is available</a>.
1.66 deraadt 153: <p>
1.59 deraadt 154: <li>A bug in the shared library linker <strong>ld.so</strong> requires that
155: you replace it with a new binary.
156: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2//pmax/ld.so>
157: The replacement binary is here.</a>
1.39 deraadt 158: <p>
1.25 deraadt 159: </ul>
1.65 deraadt 160: <a name=arc></a>
1.67 deraadt 161: <li><h3><font color=#e00000>arc</font></h3>
1.59 deraadt 162: <ul>
163: <li>A bug in the shared library linker <strong>ld.so</strong> requires that
164: you replace it with a new binary.
165: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2//pmax/ld.so>
166: The replacement binary is here.</a>
167: </ul>
1.67 deraadt 168: <li><h3><font color=#e00000>alpha</font></h3>
1.56 deraadt 169: <p>
170: <ul>
171: <li>No problems identified yet.
172: <p>
173: </ul>
1.67 deraadt 174: <li><h3><font color=#e00000>hp300</font></h3>
1.56 deraadt 175: <p>
176: <ul>
177: <li>No problems identified yet.
178: <p>
179: </ul>
1.67 deraadt 180: <li><h3><font color=#e00000>mvme68k</font></h3>
1.25 deraadt 181: <ul>
1.39 deraadt 182: <li>No problems identified yet.
183: <p>
1.25 deraadt 184: </ul>
185: </ul>
186: <br>
187: <hr>
1.68 ! deraadt 188: <h2><font color=#0000e0>
! 189: This is the OpenBSD 2.1 release errata & patch list:
! 190: </font></h3></h2>
1.13 pefo 191: <br>
1.14 pefo 192: <ul>
1.67 deraadt 193: <li><h3><font color=#e00000>All architectures</font></h3>
1.13 pefo 194: <ul>
195: <li>One of the install scripts has a flaw that makes the CD-ROM mount fail
196: when using the CD-ROM as the install source media.
197: To workaround this use the following sequence of commands before
198: starting the install script. This must be done each time the install
199: kernel is booted if the install script is to be run and the CD-ROM
200: is the media to install from. Do the following at the shell prompt:
1.16 pefo 201: <pre><b>#</b> ed install.sub
202: /{_filesystem/s//{_fstype/
203: wq
1.13 pefo 204: <b>#</b>
205: </pre>
1.22 niklas 206: For architectures where the install scripts start automatically
207: (like amiga), you need to abort it at the (I)nstall or (U)pdate
1.29 todd 208: prompt by pressing Ctrl-C before doing the above command. After
1.22 niklas 209: that you can restart the install by:
210: <pre><b>#</b> install
211: </pre>
1.13 pefo 212: </ul>
1.1 deraadt 213: <br>
1.67 deraadt 214: <li><h3><font color=#e00000>Alpha</font></h3>
1.6 grr 215: <ul>
1.1 deraadt 216: <li>CD2 does not boot on the alpha, as had been planned. Instead, you
1.3 deraadt 217: must use the floppy install method. This is not significantly
218: harder..
1.6 grr 219: </ul>
1.11 millert 220: <br>
1.67 deraadt 221: <li><h3><font color=#e00000>i386</font></h3>
1.7 deraadt 222: <ul>
223: <li>Some rarer PC BIOS's do not like the hardrive bootblocks when used
224: as a MBR. The symptom is that the BIOS says "READ ERROR" when booting,
225: but everything suggests it should work fine. In those cases, it is
226: sufficient to install OS-BS or some other primary bootloader as the main
227: MBR, then install OpenBSD in a partition all by itself starting at a
1.24 mickey 228: non-zero offset. For instance, start OpenBSD at next track boundary or so.
1.8 deraadt 229: <li>The i386/X11/SUMS.md5 file contains 4 incorrect MD5 checksums.
1.24 mickey 230: These have been corrected on the ftp mirrors. The correct lines are:<br>
1.8 deraadt 231: MD5 (X33doc.tgz) = 6aa0be7987f9a3cf32a63b5ea9a83b39<br>
232: MD5 (X33html.tgz) = 6ba39d41aef7c75c35a0533275c6f8c0<br>
233: MD5 (X33ps.tgz) = ea49fc1b12c17fc16ece7d0e4ad4ee06<br>
234: MD5 (RELNOTES) = 689fda20596a4eb82f86ded51efb01f4<br>
1.21 deraadt 235: <li>A lot of people with IDE disk drives fail to read the
236: INSTALL.i386 document, and hence end up with geometry translation
237: problems. Read the document, please.
1.7 deraadt 238: </ul>
1.11 millert 239: <br>
1.67 deraadt 240: <li><h3><font color=#e00000>Amiga</font></h3>
1.6 grr 241: <ul>
1.4 niklas 242: <li>The amiga install has a flaw wrt Tseng based graphic cards: when entering
243: multiuser mode the console won't get a login prompt. This is due to
244: a problem in the shipped /dev/MAKEDEV script. To fix, enter single
245: user mode and do:
1.5 todd 246: <pre><b>#</b> cd /dev
1.4 niklas 247: <b>#</b> sh MAKEDEV ttye6
248: </pre>
1.6 grr 249: </ul>
1.67 deraadt 250: <li><h3><font color=#e00000>Sparc</font></h3>
1.6 grr 251: <ul>
1.5 todd 252: <li>The sparc X11R6.3 xdm-config files reference /usr/X11R6.3/... This is
253: due to X11R6.3's default config file contents. To fix, su and
254: type:
255: <pre><b>#</b> cd /usr
256: <b>#</b> ln -s X11R6 X11R6.3
257: </pre>
1.6 grr 258: <li>The sparc "single floppy install disk" has a problem when you specify
259: "dumb" in response to the terminal type query. As a work-around
260: first specify an invalid terminal such as "bogus" and when prompted
261: again for a terminal type, enter "dumb" and it will work correctly.
262: <li>When netbooting an older sparc system such as a Sun4 or Sun4c, the boot
263: may hang up at the end of the tftp transfer of the bootstrap due
264: to the tftp transfer working in 512-byte blocks. If this occurs
265: create a "padded" version of the bootstrap (boot or zboot) as follows:
266: <pre><b>#</b> cd /tftpboot
267: <b>#</b> dd if=boot of=newboot obs=512 conv=osync
268: <b>#</b> mv newboot boot
269: </pre>
1.19 graichen 270: <li>The sparc install script has two flaws that make the kernel copy
271: and the bootblock install fail. The kernel copy only fails
272: then installing from CD-ROM. To workaround this use the
273: following sequence of commands before starting the install
274: script. This must be done each time the install kernel is
275: booted if the install script is to be run and the CD-ROM is
276: the media to install from. Do the following at the shell
277: prompt:
278: if you install from CD-ROM do the following:
279: <pre><b>#</b> ed install.md
280: /\/bsd/s//\/mnt2\/2.1\/sparc\/bsd/
281: wq
282: <b>#</b>
283: </pre>
284: ... or if you plan to use the bsd.scsi3 kernel you should use instead:
285: <pre><b>#</b> ed install.md
286: /\/bsd/s//\/mnt2\/2.1\/sparc\/bsd.scsi3/
287: wq
288: <b>#</b>
289: </pre>
290: The following one you'll have to do always (not only then
291: installing from from CD-ROM)
292: <pre><b>#</b> ed /usr/mdec/binstall
293: /getopt/,/getopt/+4d
294: wq
295: <b>#</b>
296: </pre>
1.6 grr 297: </ul>
1.67 deraadt 298: <li><h3><font color=#e00000>Pmax</font></h3>
1.9 graichen 299: <ul>
1.10 millert 300: <li> When using the X11R6 binaries from the 2.1 release you will get
1.9 graichen 301: errors like:
302: <pre><b>#</b> mkfontdir
303: mkfontdir: undefined symbol: 'astpending' 12
304: Segmentation fault (core dumped)
305: </pre>
306: this is due to a little problem affecting the compatibility between
307: the OpenBSD/arc port (on which the X11R6 clients were build) and
308: OpenBSD/pmax. You can work around this problem by using the arc
309: version of the shared libc instead of the pmax one. You may get a copy
310: of the OpenBSD/arc 2.1 libc.so.16.1 from <a
311: href=ftp://miranda.rz-berlin.mpg.de/pub/OpenBSD/pmax/fixes/libc.so.16.1>
312: here </a>. Simply download it and do the following:
313: <pre><b>#</b> cd /usr/lib
314: <b>#</b> mv libc.so.16.1 original_libc.so.16.1
315: <b>#</b> cp /where_you_have_downloaded_it_to/libc.so.16.1 .
316: <b>#</b> chown root.bin libc.so.16.1
317: <b>#</b> chmod 444 libc.so.16.1
318: </pre>
319: Please be careful while doing this - because the libc is a very
320: sensitive part of the system. You can remove the original_libc.so.16.1
321: after the next reboot if everything is working fine.
322: </ul>
1.18 deraadt 323: <p>
1.67 deraadt 324: <li><h3><font color=#e00000>Mac68k</font></h3>
1.17 deraadt 325: <ul>
1.20 gene 326: <li>The installer generates incorrect /etc/fstab files causing messages such as "file system read-only" on bootup.
327: To correct, boot to single-user mode (by clicking that checkbox in the Booter's Booting:Options dialog) and do the following:
1.17 deraadt 328: <pre>
1.18 deraadt 329: <b>#</b> mount /dev/sd0a /
330: <b>#</b> ed /etc/fstab
331: 1,$s/ ufs / ffs /
1.20 gene 332: 1,$s/ ro / rw /
1.18 deraadt 333: w
334: q
1.17 deraadt 335: </pre>
1.20 gene 336: Alternately, simply invoke vi or another editor and change the root filesystem
337: to be of type ffs rather than ufs and be rw (read-write) rather than ro
338: (read-only). In either case, you'll need to reboot the system afterwards.
339: Make this correction as soon as possible after installing the system.
1.17 deraadt 340: The installer should not have specified the filesystem as the old
341: "ufs" type; the "ffs" type is more correct.
1.20 gene 342:
1.17 deraadt 343: <li>The installer forgets to install the kernel onto the filesystem.
1.20 gene 344: This is because the installer expects all packages including the kernel to
345: be tar'ed and gzip'ed. The kernel was not shipped that way. Therefore, you
346: must make this correction <em>before attempting to boot the system</em>.
1.17 deraadt 347: To correct, use the Installer mini-shell and do the following:
348: <pre>
1.20 gene 349: > cpin :[internal-macos-path]:bsd-generic bsd
350: </pre>
351: This should place the kernel as /bsd on the filesystem. You should
1.23 gene 352: replace the above string with the colon-delimited path from your desktop to
1.20 gene 353: wherever you have placed the kernel. If possible, it is easiest to drag the
1.23 gene 354: kernel into the same folder as the Installer, so you can simply issue a
355: command without leading colon(s) like:
1.20 gene 356: <pre>
1.23 gene 357: > cpin bsd-generic bsd
1.17 deraadt 358: </pre>
1.20 gene 359: Good luck.
1.17 deraadt 360: </ul>
1.1 deraadt 361: </ul>
1.2 deraadt 362:
363: <hr>
364: <a href=orders.html><img src=back.gif border=0 alt=OpenBSD></a>
365: <a href=mailto:www@openbsd.org>www@openbsd.org</a>
1.68 ! deraadt 366: <br><small>$OpenBSD: errata.html,v 1.67 1998/02/14 12:11:06 deraadt Exp $</small>
1.2 deraadt 367:
368: </body>
369: </html>