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