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