Annotation of www/errata.html, Revision 1.46
1.1 deraadt 1: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML Strict//EN">
2: <html>
3: <head>
1.9 graichen 4: <title>OpenBSD CD 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.25 deraadt 16: <h2>This is the OpenBSD 2.2 CD errata list:</h2>
17: <ul>
1.43 deraadt 18: <a name=all></a>
1.25 deraadt 19: <li><strong>All architectures</strong>
20: <ul>
1.39 deraadt 21: <li>Building an object tree from a read-only source tree (such as off a CDROM)
22: may fail under certain circumstances (e.g. when creating a symlink on sparc
23: whose target name is exactly 33 characters). As a workaround you have to
24: either provide the source tree read/write, or install a newer version of
25: /usr/bin/readlink. You wish to use
1.34 deraadt 26: <a href=http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/readlink/readlink.c?rev=1.13>
27: revision 1.13 of usr.bin/readlink/readlink.c</a>.
1.39 deraadt 28: <p>
1.25 deraadt 29: </ul>
1.42 deraadt 30: <a name=i386></a>
1.25 deraadt 31: <li><strong>i386</strong>
32: <ul>
1.39 deraadt 33: <li>The Intel P5 F00F bug was discovered after the CDR's had already been
34: sent to the manufacturer. This problem permits any user who has an account
35: to lock your machine up using a 4-line program. The problem only affects
36: Intel P5 processors (the i386, i486, P-Pro, and P-II are not vulnerable,
37: nor are processors by other manufacturers).
1.44 deraadt 38: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/i386/f00f.patch>
1.39 deraadt 39: A kernel source-code patch is available</a>.
40: <p>
1.33 deraadt 41: <li>Some Linux binaries will execute in SVR4 emulation mode, which is
42: definately a problem for people who need Linux emulation to work correctly.
1.39 deraadt 43: To solve this mis-identification problem,
1.32 deraadt 44: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/i386/compat_linux.patch>
1.33 deraadt 45: a patch file is provided.</a> (This patch works on OpenBSD current. It has
46: not been tested on 2.2 yet, please test this and mail deraadt@openbsd.org
1.39 deraadt 47: so that I can remove this bracketed warning).
48: <p>
1.45 deraadt 49: <li>APM can crash on machines without it.
50: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/i386/apm.patch>
51: A kernel source-code patch is available</a>.
52: <p>
1.39 deraadt 53: <li>A few people are running into this problem, particularily if they had some
54: other *BSD operating system on their machine before trying OpenBSD: if after
55: installation onto an IDE-based machine, the kernel fails to mount the root
56: partition because it thinks that it should be opening sd0 (0x400), this means
57: you have incorrectly setup your disklabel for the IDE drive -- the disklabel
58: is indicating that the drive is SCSI.
59: To repair this, use the floppy to run "disklabel -E wd0", then using the
60: "edit" command ensure the type field is set to "ST506".
61: <p>
62: </ul>
63: <li><strong>mac68k</strong>
64: <ul>
1.46 ! gene 65: <li>Unfortunately, X11 binaries for the mac68k did not manage to make it onto the
! 66: CDROM. However, X Windows for the mac68k is immediately available from
! 67: <a href="ftp://ftp.openbsd.org/pub/OpenBSD/2.2/mac68k/X11/X11R6.tar.gz">
! 68: ftp://ftp.OpenBSD.org/pub/OpenBSD/2.2/mac68k/X11/X11R6.tar.gz</a>. Please
! 69: 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
! 70: and setting up X.
1.39 deraadt 71: <p>
1.25 deraadt 72: </ul>
73: <li><strong>sparc</strong>
74: <ul>
1.39 deraadt 75: <li>No problems identified yet.
76: <p>
77: </ul>
78: <li><strong>alpha</strong>
79: <p>
80: <ul>
81: <li>No problems identified yet.
82: <p>
83: </ul>
84: <li><strong>amiga</strong>
85: <p>
86: <ul>
87: <li>No problems identified yet.
1.25 deraadt 88: </ul>
1.39 deraadt 89: <li><strong>hp300</strong>
90: <p>
1.25 deraadt 91: <ul>
1.39 deraadt 92: <li>No problems identified yet.
93: <p>
1.25 deraadt 94: </ul>
95: <li><strong>pmax</strong>
96: <ul>
1.39 deraadt 97: <li>No problems identified yet.
98: <p>
1.25 deraadt 99: </ul>
100: <li><strong>arc</strong>
101: <ul>
1.39 deraadt 102: <li>No problems identified yet.
103: <p>
1.25 deraadt 104: </ul>
105: <li><strong>mvme68k</strong>
106: <ul>
1.39 deraadt 107: <li>No problems identified yet.
108: <p>
1.25 deraadt 109: </ul>
110: </ul>
111: <br>
112: <hr>
113: <h2>This is the OpenBSD 2.1 CD errata list:</h2>
1.13 pefo 114: <br>
1.14 pefo 115: <ul>
1.13 pefo 116: <li><strong>All architectures</strong>
117: <ul>
118: <li>One of the install scripts has a flaw that makes the CD-ROM mount fail
119: when using the CD-ROM as the install source media.
120: To workaround this use the following sequence of commands before
121: starting the install script. This must be done each time the install
122: kernel is booted if the install script is to be run and the CD-ROM
123: is the media to install from. Do the following at the shell prompt:
1.16 pefo 124: <pre><b>#</b> ed install.sub
125: /{_filesystem/s//{_fstype/
126: wq
1.13 pefo 127: <b>#</b>
128: </pre>
1.22 niklas 129: For architectures where the install scripts start automatically
130: (like amiga), you need to abort it at the (I)nstall or (U)pdate
1.29 todd 131: prompt by pressing Ctrl-C before doing the above command. After
1.22 niklas 132: that you can restart the install by:
133: <pre><b>#</b> install
134: </pre>
1.13 pefo 135: </ul>
1.1 deraadt 136: <br>
1.6 grr 137: <li><strong>Alpha</strong>
138: <ul>
1.1 deraadt 139: <li>CD2 does not boot on the alpha, as had been planned. Instead, you
1.3 deraadt 140: must use the floppy install method. This is not significantly
141: harder..
1.6 grr 142: </ul>
1.11 millert 143: <br>
1.7 deraadt 144: <li><strong>i386</strong>
145: <ul>
146: <li>Some rarer PC BIOS's do not like the hardrive bootblocks when used
147: as a MBR. The symptom is that the BIOS says "READ ERROR" when booting,
148: but everything suggests it should work fine. In those cases, it is
149: sufficient to install OS-BS or some other primary bootloader as the main
150: MBR, then install OpenBSD in a partition all by itself starting at a
1.24 mickey 151: non-zero offset. For instance, start OpenBSD at next track boundary or so.
1.8 deraadt 152: <li>The i386/X11/SUMS.md5 file contains 4 incorrect MD5 checksums.
1.24 mickey 153: These have been corrected on the ftp mirrors. The correct lines are:<br>
1.8 deraadt 154: MD5 (X33doc.tgz) = 6aa0be7987f9a3cf32a63b5ea9a83b39<br>
155: MD5 (X33html.tgz) = 6ba39d41aef7c75c35a0533275c6f8c0<br>
156: MD5 (X33ps.tgz) = ea49fc1b12c17fc16ece7d0e4ad4ee06<br>
157: MD5 (RELNOTES) = 689fda20596a4eb82f86ded51efb01f4<br>
1.21 deraadt 158: <li>A lot of people with IDE disk drives fail to read the
159: INSTALL.i386 document, and hence end up with geometry translation
160: problems. Read the document, please.
1.7 deraadt 161: </ul>
1.11 millert 162: <br>
1.6 grr 163: <li><strong>Amiga</strong>
164: <ul>
1.4 niklas 165: <li>The amiga install has a flaw wrt Tseng based graphic cards: when entering
166: multiuser mode the console won't get a login prompt. This is due to
167: a problem in the shipped /dev/MAKEDEV script. To fix, enter single
168: user mode and do:
1.5 todd 169: <pre><b>#</b> cd /dev
1.4 niklas 170: <b>#</b> sh MAKEDEV ttye6
171: </pre>
1.6 grr 172: </ul>
173: <li><strong>Sparc</strong>
174: <ul>
1.5 todd 175: <li>The sparc X11R6.3 xdm-config files reference /usr/X11R6.3/... This is
176: due to X11R6.3's default config file contents. To fix, su and
177: type:
178: <pre><b>#</b> cd /usr
179: <b>#</b> ln -s X11R6 X11R6.3
180: </pre>
1.6 grr 181: <li>The sparc "single floppy install disk" has a problem when you specify
182: "dumb" in response to the terminal type query. As a work-around
183: first specify an invalid terminal such as "bogus" and when prompted
184: again for a terminal type, enter "dumb" and it will work correctly.
185: <li>When netbooting an older sparc system such as a Sun4 or Sun4c, the boot
186: may hang up at the end of the tftp transfer of the bootstrap due
187: to the tftp transfer working in 512-byte blocks. If this occurs
188: create a "padded" version of the bootstrap (boot or zboot) as follows:
189: <pre><b>#</b> cd /tftpboot
190: <b>#</b> dd if=boot of=newboot obs=512 conv=osync
191: <b>#</b> mv newboot boot
192: </pre>
1.19 graichen 193: <li>The sparc install script has two flaws that make the kernel copy
194: and the bootblock install fail. The kernel copy only fails
195: then installing from CD-ROM. To workaround this use the
196: following sequence of commands before starting the install
197: script. This must be done each time the install kernel is
198: booted if the install script is to be run and the CD-ROM is
199: the media to install from. Do the following at the shell
200: prompt:
201: if you install from CD-ROM do the following:
202: <pre><b>#</b> ed install.md
203: /\/bsd/s//\/mnt2\/2.1\/sparc\/bsd/
204: wq
205: <b>#</b>
206: </pre>
207: ... or if you plan to use the bsd.scsi3 kernel you should use instead:
208: <pre><b>#</b> ed install.md
209: /\/bsd/s//\/mnt2\/2.1\/sparc\/bsd.scsi3/
210: wq
211: <b>#</b>
212: </pre>
213: The following one you'll have to do always (not only then
214: installing from from CD-ROM)
215: <pre><b>#</b> ed /usr/mdec/binstall
216: /getopt/,/getopt/+4d
217: wq
218: <b>#</b>
219: </pre>
1.6 grr 220: </ul>
1.9 graichen 221: <li><strong>Pmax</strong>
222: <ul>
1.10 millert 223: <li> When using the X11R6 binaries from the 2.1 release you will get
1.9 graichen 224: errors like:
225: <pre><b>#</b> mkfontdir
226: mkfontdir: undefined symbol: 'astpending' 12
227: Segmentation fault (core dumped)
228: </pre>
229: this is due to a little problem affecting the compatibility between
230: the OpenBSD/arc port (on which the X11R6 clients were build) and
231: OpenBSD/pmax. You can work around this problem by using the arc
232: version of the shared libc instead of the pmax one. You may get a copy
233: of the OpenBSD/arc 2.1 libc.so.16.1 from <a
234: href=ftp://miranda.rz-berlin.mpg.de/pub/OpenBSD/pmax/fixes/libc.so.16.1>
235: here </a>. Simply download it and do the following:
236: <pre><b>#</b> cd /usr/lib
237: <b>#</b> mv libc.so.16.1 original_libc.so.16.1
238: <b>#</b> cp /where_you_have_downloaded_it_to/libc.so.16.1 .
239: <b>#</b> chown root.bin libc.so.16.1
240: <b>#</b> chmod 444 libc.so.16.1
241: </pre>
242: Please be careful while doing this - because the libc is a very
243: sensitive part of the system. You can remove the original_libc.so.16.1
244: after the next reboot if everything is working fine.
245: </ul>
1.18 deraadt 246: <p>
1.17 deraadt 247: <li><strong>Mac68k</strong>
248: <ul>
1.20 gene 249: <li>The installer generates incorrect /etc/fstab files causing messages such as "file system read-only" on bootup.
250: 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 251: <pre>
1.18 deraadt 252: <b>#</b> mount /dev/sd0a /
253: <b>#</b> ed /etc/fstab
254: 1,$s/ ufs / ffs /
1.20 gene 255: 1,$s/ ro / rw /
1.18 deraadt 256: w
257: q
1.17 deraadt 258: </pre>
1.20 gene 259: Alternately, simply invoke vi or another editor and change the root filesystem
260: to be of type ffs rather than ufs and be rw (read-write) rather than ro
261: (read-only). In either case, you'll need to reboot the system afterwards.
262: Make this correction as soon as possible after installing the system.
1.17 deraadt 263: The installer should not have specified the filesystem as the old
264: "ufs" type; the "ffs" type is more correct.
1.20 gene 265:
1.17 deraadt 266: <li>The installer forgets to install the kernel onto the filesystem.
1.20 gene 267: This is because the installer expects all packages including the kernel to
268: be tar'ed and gzip'ed. The kernel was not shipped that way. Therefore, you
269: must make this correction <em>before attempting to boot the system</em>.
1.17 deraadt 270: To correct, use the Installer mini-shell and do the following:
271: <pre>
1.20 gene 272: > cpin :[internal-macos-path]:bsd-generic bsd
273: </pre>
274: This should place the kernel as /bsd on the filesystem. You should
1.23 gene 275: replace the above string with the colon-delimited path from your desktop to
1.20 gene 276: wherever you have placed the kernel. If possible, it is easiest to drag the
1.23 gene 277: kernel into the same folder as the Installer, so you can simply issue a
278: command without leading colon(s) like:
1.20 gene 279: <pre>
1.23 gene 280: > cpin bsd-generic bsd
1.17 deraadt 281: </pre>
1.20 gene 282: Good luck.
1.17 deraadt 283: </ul>
1.1 deraadt 284: </ul>
1.2 deraadt 285:
286: <hr>
287: <a href=orders.html><img src=back.gif border=0 alt=OpenBSD></a>
288: <a href=mailto:www@openbsd.org>www@openbsd.org</a>
1.46 ! gene 289: <br><small>$OpenBSD: errata.html,v 1.45 1997/12/11 02:41:37 deraadt Exp $</small>
1.2 deraadt 290:
291: </body>
292: </html>