Patch-ID# 101539-02
Keywords: 4.1.3_U1, gs, cgtwelve
Synopsis: SunOS 4.1.3_U1: GS Jumbo patch
Date: Aug/11/94

Solaris Release: 1.1.1A

SunOS Release: 4.1.3_U1A

Unbundled Product: 

Unbundled Release:

Topic: kernel and libpixrect patch for GS sunview bugs included here
       also fix for GS SunPC bug.

BugId's fixed with this patch: 1112134 1101764 1137977 1153766 1169859

Changes incorporated in this version: 1169859

Relevant Architecture: sparc
    NOTE: sun4c sun4m

	****************** IMPORTANT NOTE !!!!!!*****************
	* If the kernel architecture is sun4m, the sun4m jumbo	*
	* patch MUST be installed before installing this patch. *
	* The sun4m jumbo patch number MUST be 101508-01 or	*
	* later revision (ie. 101508-02).			*
	*********************************************************

Patches which may conflict with this patch:

Other patches this accumulates and obsoletes: 

Obsoleted by:

Problem Description:

1169859
KERNEL - PATCH 101539-01 WON'T INSTALL WITH 101508-05/6

1153766
patches 100726 and 101408 need to be ported to 4.1.3_U1.

1112134

SunDiag will print a failure message that includes the following
phrase at the end:

  " ... ***Failed to allocate CG12 virtual buffer-gp-alloc() error"

This is an indication that they system has no more buffers for command
blocks so that SunDiag can post commands to the GS.

This problem appears under SunDiag 2.3.1 (SunOS 4.1.3_U1), normally
after less than eight hours of running. It can be made to fail in as
little as one to two hours by limiting the SunDiag tests to only the
geometry subset of the cg12 tests.

1101764

The signal 24 (SIGXCPU) usually is sent to a process, such as cg12 Sundiag
test, when the hardware is not responding within a certain time limit.
However, this time limit is usually reached quite often when the cg12
Sundiag test is running on a C2 system.

1137977

GS frame buffer does not have support to allow the SunPC accelerator card to
write directly to the frame buffer via the SBus. 


INSTALL:

   To patch libpixrect you must type the following commands as root:
   Let the directory containing this README file be known as $PATCHDIR

   mv /usr/lib/libpixrect.a /usr/lib/libpixrect.a.fcs

   cp $PATCHDIR/patch/libpixrect.a /usr/lib/libpixrect.a 
   cp $PATCHDIR/patch/libpixrect.sa.2.15 /usr/lib/libpixrect.sa.2.15
   cp $PATCHDIR/patch/libpixrect.so.2.15 /usr/lib/libpixrect.so.2.15

   test -f /usr/lib/libpixrect_p.a && (mv /usr/lib/libpixrect_p.a \
	/usr/lib/libpixrect_p.a.fcs; \
	cp $PATCHDIR/patch/libpixrect_p.a /usr/lib/libpixrect_p.a)

   /usr/etc/ldconfig

   mv /usr/lib/libpixrect.sa.2.14 /usr/lib/libpixrect.sa.2.14.fcs
   mv /usr/lib/libpixrect.so.2.14 /usr/lib/libpixrect.so.2.14.fcs

   ---

   To patch the the GS driver you must do the following as root:

   Make a backup copy of the files to be patched:

   mv /sys/`arch -k`/OBJ/cg12_colormap.o /sys/`arch -k`/OBJ/cg12_colormap.o.fcs
   mv /sys/`arch -k`/OBJ/cg12_ioctl.o	 /sys/`arch -k`/OBJ/cg12_ioctl.o.fcs
   mv /sys/`arch -k`/OBJ/cgtwelve.o	 /sys/`arch -k`/OBJ/cgtwelve.o.fcs
   mv /sys/sun/fbio.h			 /sys/sun/fbio.h.fcs
   mv /usr/include/sun/fbio.h		 /usr/include/sun/fbio.h.fcs

   Now install the patched files:

   cp $PATCHDIR/patch/`arch -k`/cg12_colormap.o	/sys/`arch -k`/OBJ
   cp $PATCHDIR/patch/`arch -k`/cg12_ioctl.o	/sys/`arch -k`/OBJ
   cp $PATCHDIR/patch/`arch -k`/cgtwelve.o	/sys/`arch -k`/OBJ
   cp $PATCHDIR/sun/fbio.h			/sys/sun/fbio.h
   cp $PATCHDIR/sun/fbio.h			/usr/include/sun/fbio.h

   Then a new kernel will need to be made.  Please refer to the System
   and Network Administration manual on building and installing a
   custom kernel.
