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