Patch-ID# 100192-01 Keywords: 4.1.1, colors, 128, colormap, black, white, background Synopsis: SunOS4.1.1: colormap is not correct when 128 colors are used. Date: 17-Dec-90 SunOS release: 4.1.1 Unbundled Product: Unbundled Release: Topic: BugID's fixed with this patch: 1046046 Architectures for which this patch is available: sun3, sun3x, sun4, sun4c Obsoleted by: Problem Description: When the colormap size is 65 or more except (256), the background of the window becomes white instead of black and some colors of graphics primitives are not correct on 4.1.1. When the colormap size is 32, 64, 256, the background of the window appears correct (i.e. black). But when the colormap size is 30, 65, 128, 245, the background becomes white. I tested this on a SS2 GX and a SS2/GS running 4.1.1 Beta. It will only happen under the following circumstances: (1) the window colormap segment is placed starting at entry 0 but is not a cmshog (2) the background color of the window is the same as the foreground color of the entire window system INSTALL: This fix will require reconfiguring your kernel. Information on kernel configuration procedures can be found in Chapter 9 of the "System & Network Administration" manual. The following file must be replaced: /usr/kvm/sys/sunX/OBJ/windt.o where "sunX" is one of sun3, sun3x, sun4 sun4c PROCEDURE: 1. Become superuser. tutorial% su Password: (your machine's root password) tutorial# 2. Save the existing object file (in case of accident). tutorial# mv /usr/kvm/sys/sunX/OBJ/windt.o /usr/kvm/sys/sunX/OBJ/windt.o.orig 3. Copy the replacement file into the sys area. tutorial# cp sunX/windt.o /usr/kvm/sys/sunX/OBJ tutorial# chmod 444 /usr/kvm/sys/sunX/OBJ/windt.o 4. Reconfigure and install the new kernel. tutorial# cd /usr/kvm/sys/sunX/conf tutorial# config GENERIC (or your preferred configuration) Doing a "make depend" tutorial# cd ../GENERIC tutorial# make (messages) tutorial# mv /vmunix /vmunix.generic tutorial# cp vmunix /vmunix tutorial# sync tutorial# shutdown -r now tutorial# reboot