Annotation of www/errata21.html, Revision 1.95
1.81 bentley 1: <!doctype html>
2: <html lang=en id=errata>
3: <meta charset=utf-8>
4:
1.71 tj 5: <title>OpenBSD 2.1 Errata</title>
1.1 deraadt 6: <meta name="description" content="the OpenBSD CD errata page">
1.70 deraadt 7: <meta name="viewport" content="width=device-width, initial-scale=1">
8: <link rel="stylesheet" type="text/css" href="openbsd.css">
1.73 tb 9: <link rel="canonical" href="https://www.openbsd.org/errata21.html">
1.1 deraadt 10:
1.63 deraadt 11: <!--
12: IMPORTANT REMINDER
13: IF YOU ADD A NEW ERRATUM, MAIL THE PATCH TO TECH AND ANNOUNCE
14: -->
15:
1.1 deraadt 16:
1.81 bentley 17: <h2 id=OpenBSD>
1.70 deraadt 18: <a href="index.html">
1.81 bentley 19: <i>Open</i><b>BSD</b></a>
20: 2.1 Errata
1.71 tj 21: </h2>
1.70 deraadt 22: <hr>
1.2 deraadt 23:
1.25 deraadt 24: For errata on a certain release, click below:<br>
1.85 schwarze 25: <a href="errata20.html">2.0</a>,
1.24 deraadt 26: <a href="errata22.html">2.2</a>,
27: <a href="errata23.html">2.3</a>,
28: <a href="errata24.html">2.4</a>,
29: <a href="errata25.html">2.5</a>,
30: <a href="errata26.html">2.6</a>,
31: <a href="errata27.html">2.7</a>,
32: <a href="errata28.html">2.8</a>,
33: <a href="errata29.html">2.9</a>,
34: <a href="errata30.html">3.0</a>,
35: <a href="errata31.html">3.1</a>,
1.29 deraadt 36: <a href="errata32.html">3.2</a>,
1.30 david 37: <a href="errata33.html">3.3</a>,
1.34 david 38: <a href="errata34.html">3.4</a>,
1.35 miod 39: <a href="errata35.html">3.5</a>,
1.36 deraadt 40: <a href="errata36.html">3.6</a>,
1.85 schwarze 41: <br>
1.58 deraadt 42: <a href="errata37.html">3.7</a>,
1.38 deraadt 43: <a href="errata38.html">3.8</a>,
1.39 deraadt 44: <a href="errata39.html">3.9</a>,
1.40 deraadt 45: <a href="errata40.html">4.0</a>,
1.42 merdely 46: <a href="errata41.html">4.1</a>,
1.43 deraadt 47: <a href="errata42.html">4.2</a>,
1.44 deraadt 48: <a href="errata43.html">4.3</a>,
1.46 deraadt 49: <a href="errata44.html">4.4</a>,
1.47 deraadt 50: <a href="errata45.html">4.5</a>,
1.48 deraadt 51: <a href="errata46.html">4.6</a>,
1.49 deraadt 52: <a href="errata47.html">4.7</a>,
1.50 miod 53: <a href="errata48.html">4.8</a>,
1.51 nick 54: <a href="errata49.html">4.9</a>,
1.52 sthen 55: <a href="errata50.html">5.0</a>,
1.53 deraadt 56: <a href="errata51.html">5.1</a>,
1.54 deraadt 57: <a href="errata52.html">5.2</a>,
1.85 schwarze 58: <br>
1.55 deraadt 59: <a href="errata53.html">5.3</a>,
1.56 deraadt 60: <a href="errata54.html">5.4</a>,
1.62 jsg 61: <a href="errata55.html">5.5</a>,
1.65 deraadt 62: <a href="errata56.html">5.6</a>,
1.68 deraadt 63: <a href="errata57.html">5.7</a>,
1.69 deraadt 64: <a href="errata58.html">5.8</a>,
1.72 deraadt 65: <a href="errata59.html">5.9</a>,
1.75 tj 66: <a href="errata60.html">6.0</a>,
1.77 deraadt 67: <a href="errata61.html">6.1</a>,
1.78 deraadt 68: <a href="errata62.html">6.2</a>,
1.79 deraadt 69: <a href="errata63.html">6.3</a>,
1.80 deraadt 70: <a href="errata64.html">6.4</a>,
1.84 deraadt 71: <a href="errata65.html">6.5</a>,
1.86 deraadt 72: <a href="errata66.html">6.6</a>,
1.87 deraadt 73: <a href="errata67.html">6.7</a>,
1.88 deraadt 74: <a href="errata68.html">6.8</a>,
1.89 tj 75: <br>
1.90 deraadt 76: <a href="errata69.html">6.9</a>,
1.91 deraadt 77: <a href="errata70.html">7.0</a>,
1.92 deraadt 78: <a href="errata71.html">7.1</a>,
1.93 tj 79: <a href="errata72.html">7.2</a>,
1.94 tj 80: <a href="errata73.html">7.3</a>,
1.95 ! tj 81: <a href="errata74.html">7.4</a>,
! 82: <a href="errata75.html">7.5</a>.
1.2 deraadt 83: <hr>
84:
1.59 deraadt 85: <p>
1.75 tj 86: Patches for the OpenBSD base system are distributed as unified diffs.
87: Each patch contains usage instructions.
88: All the following patches are also available in one
89: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.1.tar.gz">tar.gz file</a>
90: for convenience.
1.59 deraadt 91:
92: <p>
1.75 tj 93: Patches for supported releases are also incorporated into the
1.76 tj 94: <a href="stable.html">-stable branch</a>.
1.12 ericj 95:
1.59 deraadt 96: <hr>
97:
1.1 deraadt 98: <ul>
1.82 deraadt 99:
1.83 deraadt 100: <li id="cdrelease1">
1.82 deraadt 101: <strong>001: CD RELEASE WORKAROUND</strong>
1.61 deraadt 102: <i>All architectures</i><br>
103: One of the install scripts has a flaw that makes the CD-ROM mount fail
104: when using the CD-ROM as the install source media.
105: To workaround this use the following sequence of commands before
106: starting the install script. This must be done each time the install
107: kernel is booted if the install script is to be run and the CD-ROM
108: is the media to install from. Do the following at the shell prompt:
1.1 deraadt 109: <pre><b>#</b> ed install.sub
110: /{_filesystem/s//{_fstype/
111: wq
112: <b>#</b>
113: </pre>
114: For architectures where the install scripts start automatically
115: (like amiga), you need to abort it at the (I)nstall or (U)pdate
116: prompt by pressing Ctrl-C before doing the above command. After
117: that you can restart the install by:
118: <pre><b>#</b> install
119: </pre>
1.61 deraadt 120: <p>
1.82 deraadt 121:
1.83 deraadt 122: <li id="cdrelease2">
1.82 deraadt 123: <strong>002: CD RELEASE WORKAROUND</strong>
1.61 deraadt 124: <i>alpha only</i><br>
125: CD2 does not boot on the alpha, as had been planned. Instead, you
126: must use the floppy install method. This is not significantly
127: harder..
128: <p>
1.82 deraadt 129:
1.83 deraadt 130: <li id="bootblock">
1.82 deraadt 131: <strong>003: BOOT BLOCK BUG</strong>
1.61 deraadt 132: <i>i386 only</i><br>
133: Some rarer PC BIOSs do not like the hardrive bootblocks when used
1.1 deraadt 134: as a MBR. The symptom is that the BIOS says "READ ERROR" when booting,
135: but everything suggests it should work fine. In those cases, it is
136: sufficient to install OS-BS or some other primary bootloader as the main
137: MBR, then install OpenBSD in a partition all by itself starting at a
138: non-zero offset. For instance, start OpenBSD at next track boundary or so.
1.61 deraadt 139: <p>
1.82 deraadt 140:
1.83 deraadt 141: <li id="checksums">
1.82 deraadt 142: <strong>004: WRONG CHECKSUMS</strong>
1.61 deraadt 143: <i>i386 only</i><br>
144: The i386/X11/SUMS.md5 file contains 4 incorrect MD5 checksums.
1.1 deraadt 145: These have been corrected on the ftp mirrors. The correct lines are:<br>
146: MD5 (X33doc.tgz) = 6aa0be7987f9a3cf32a63b5ea9a83b39<br>
147: MD5 (X33html.tgz) = 6ba39d41aef7c75c35a0533275c6f8c0<br>
148: MD5 (X33ps.tgz) = ea49fc1b12c17fc16ece7d0e4ad4ee06<br>
149: MD5 (RELNOTES) = 689fda20596a4eb82f86ded51efb01f4<br>
1.61 deraadt 150: <p>
151: A lot of people with IDE disk drives fail to read the
1.1 deraadt 152: INSTALL.i386 document, and hence end up with geometry translation
153: problems. Read the document, please.
1.61 deraadt 154: <p>
1.82 deraadt 155:
1.83 deraadt 156: <li id="tseng">
1.82 deraadt 157: <strong>005: RELEASE BUG</strong>
1.61 deraadt 158: <i>amiga only</i><br>
159: The amiga install has a flaw wrt Tseng based graphic cards: when entering
160: multiuser mode the console won't get a login prompt. This is due to
161: a problem in the shipped /dev/MAKEDEV script. To fix, enter single
162: user mode and do:
1.1 deraadt 163: <pre><b>#</b> cd /dev
164: <b>#</b> sh MAKEDEV ttye6
165: </pre>
1.61 deraadt 166: <p>
1.82 deraadt 167:
1.83 deraadt 168: <li id="sparcx">
1.82 deraadt 169: <strong>006: RELEASE BUG</strong>
1.61 deraadt 170: <i>sparc only</i><br>
171: The sparc X11R6.3 xdm-config files reference /usr/X11R6.3/... This is
172: to X11R6.3's default config file contents. To fix, su and
173: type:
1.1 deraadt 174: <pre><b>#</b> cd /usr
175: <b>#</b> ln -s X11R6 X11R6.3
176: </pre>
1.61 deraadt 177: <p>
1.83 deraadt 178:
179: <li id="sparcfd">
1.82 deraadt 180: <strong>007: RELEASE BUG</strong>
1.61 deraadt 181: <i>sparc only</i><br>
182: The sparc "single floppy install disk" has a problem when you specify
183: "dumb" in response to the terminal type query. As a work-around
184: first specify an invalid terminal such as "bogus" and when prompted
185: again for a terminal type, enter "dumb" and it will work correctly.
186: <p>
1.82 deraadt 187:
1.83 deraadt 188: <li id="sparctftp">
1.82 deraadt 189: <strong>008: RELEASE BUG</strong>
1.61 deraadt 190: <i>sparc only</i><br>
191: When netbooting an older sparc system such as a Sun4 or Sun4c, the boot
192: may hang up at the end of the tftp transfer of the bootstrap due
193: to the tftp transfer working in 512-byte blocks. If this occurs
194: create a "padded" version of the bootstrap (boot or zboot) as follows:
1.1 deraadt 195: <pre><b>#</b> cd /tftpboot
196: <b>#</b> dd if=boot of=newboot obs=512 conv=osync
197: <b>#</b> mv newboot boot
198: </pre>
1.61 deraadt 199: <p>
1.82 deraadt 200:
1.83 deraadt 201: <li id="sparcboot">
202: <strong>009: RELEASE BUG</strong>
1.61 deraadt 203: <i>sparc only</i><br>
204: The sparc install script has two flaws that make the kernel copy
205: and the bootblock install fail. The kernel copy only fails
206: then installing from CD-ROM. To workaround this use the
207: following sequence of commands before starting the install
208: script. This must be done each time the install kernel is
209: booted if the install script is to be run and the CD-ROM is
210: the media to install from. Do the following at the shell
211: prompt:
212: <p>
213: If you install from CD-ROM do the following:
1.56 deraadt 214: <pre><b>#</b> ed install.md
215: /\/bsd/s//\/mnt2\/2.1\/sparc\/bsd/
216: wq
1.1 deraadt 217: <b>#</b>
218: </pre>
219: ... or if you plan to use the bsd.scsi3 kernel you should use instead:
1.56 deraadt 220: <pre><b>#</b> ed install.md
221: /\/bsd/s//\/mnt2\/2.1\/sparc\/bsd.scsi3/
222: wq
1.1 deraadt 223: <b>#</b>
224: </pre>
1.61 deraadt 225: <p>
226: The following one you'll have to do always (not only then
227: installing from CD-ROM)
1.56 deraadt 228: <pre><b>#</b> ed /usr/mdec/binstall
229: /getopt/,/getopt/+4d
230: wq
1.1 deraadt 231: <b>#</b>
232: </pre>
1.61 deraadt 233: <p>
1.82 deraadt 234:
1.83 deraadt 235: <li id="mkfont">
236: <strong>010: RELEASE BUG</strong>
1.61 deraadt 237: <i>pmax only</i><br>
238: When using the X11R6 binaries from the 2.1 release you will get
1.1 deraadt 239: errors like:
240: <pre><b>#</b> mkfontdir
241: mkfontdir: undefined symbol: 'astpending' 12
242: Segmentation fault (core dumped)
243: </pre>
244: this is due to a little problem affecting the compatibility between
245: the OpenBSD/arc port (on which the X11R6 clients were build) and
246: OpenBSD/pmax. You can work around this problem by using the arc
1.16 miod 247: version of the shared libc instead of the pmax one. Once you have the
248: OpenBSD/arc 2.1 libc.so.16.1, do the following:
1.1 deraadt 249: <pre><b>#</b> cd /usr/lib
250: <b>#</b> mv libc.so.16.1 original_libc.so.16.1
251: <b>#</b> cp /where_you_have_downloaded_it_to/libc.so.16.1 .
252: <b>#</b> chown root.bin libc.so.16.1
253: <b>#</b> chmod 444 libc.so.16.1
254: </pre>
255: Please be careful while doing this - because the libc is a very
256: sensitive part of the system. You can remove the original_libc.so.16.1
257: after the next reboot if everything is working fine.
258: <p>
1.82 deraadt 259:
1.83 deraadt 260: <li id="fstab">
261: <strong>011: RELEASE BUG</strong>
1.61 deraadt 262: <i>mac68k only</i><br>
263: The installer generates incorrect /etc/fstab files causing messages such
264: as "file system read-only" on bootup. To correct, boot to single-user
265: mode (by clicking that checkbox in the Booter's Booting:Options dialog)
266: and do the following:
1.1 deraadt 267: <pre>
268: <b>#</b> mount /dev/sd0a /
269: <b>#</b> ed /etc/fstab
270: 1,$s/ ufs / ffs /
271: 1,$s/ ro / rw /
272: w
273: q
274: </pre>
1.56 deraadt 275: Alternately, simply invoke vi or another editor and change the root filesystem
1.1 deraadt 276: to be of type ffs rather than ufs and be rw (read-write) rather than ro
277: (read-only). In either case, you'll need to reboot the system afterwards.
278: Make this correction as soon as possible after installing the system.
279: The installer should not have specified the filesystem as the old
280: "ufs" type; the "ffs" type is more correct.
1.61 deraadt 281: <p>
1.82 deraadt 282:
1.83 deraadt 283: <li id="mac68kzip">
284: <strong>012: RELEASE BUG</strong>
1.61 deraadt 285: <i>mac68k only</i><br>
286: The installer forgets to install the kernel onto the filesystem.
1.56 deraadt 287: This is because the installer expects all packages including the kernel to
1.1 deraadt 288: be tar'ed and gzip'ed. The kernel was not shipped that way. Therefore, you
289: must make this correction <em>before attempting to boot the system</em>.
290: To correct, use the Installer mini-shell and do the following:
291: <pre>
292: > cpin :[internal-macos-path]:bsd-generic bsd
293: </pre>
294: This should place the kernel as /bsd on the filesystem. You should
295: replace the above string with the colon-delimited path from your desktop to
296: wherever you have placed the kernel. If possible, it is easiest to drag the
297: kernel into the same folder as the Installer, so you can simply issue a
298: command without leading colon(s) like:
299: <pre>
300: > cpin bsd-generic bsd
301: </pre>
1.61 deraadt 302: <p>
303:
1.85 schwarze 304: <li>
305: <strong>SECURITY VULNERABILITY</STRONG> in 4.4BSD procfs<br>
306: <a href="advisories/procfs.txt">OpenBSD advisory</a> (June 24, 1997)
307: <p>
308:
309: <li>
310: <strong>SECURITY VULNERABILITY</STRONG> in 4.4BSD rfork<br>
311: <a href="advisories/rfork.txt">OpenBSD advisory</a> (August 2, 1997)
312: <p>
313:
314: <li>
315: <strong>SECURITY VULNERABILITY</STRONG> in vacation<br>
316: <a href="advisories/sni_18_vacation.txt">Secure Networks advisory 18</a>
317: (September 1, 1997)
318: <p>
319:
320: <li>
321: <strong>SECURITY VULNERABILITY</STRONG> in I/O Signal Handling<br>
322: <a href="advisories/signals.txt">OpenBSD advisory</a> (September 15, 1997)
323: <p>
324:
325: <li>
326: <strong>SECURITY VULNERABILITY</STRONG> in lpd<br>
327: <a href="advisories/sni_19_lpd.txt">Secure Networks advisory 19</a>
328: (October 2, 1997)
329: <p>
330:
331: <li>
332: <strong>SECURITY VULNERABILITY</STRONG> in tgetent<br>
333: <a href="advisories/sni_20_tgetent.txt">Secure Networks advisory 20</a>
334: (October 21, 1997)
1.1 deraadt 335: </ul>
336:
1.64 tedu 337: <hr>