Patch-ID# 101508-15
Keywords: watchdog panic faults frag freeing hang corrupted
Synopsis: SunOS 4.1.3_U1: Sun4m kernel patch
Date: Aug/20/96

Solaris Release: 1.1.1A 1.1.1B

SunOS Release: 4.1.3_U1A 4.1.3_U1B

Unbundled Product: 

Unbundled Release: 

Architectures for which this patch is available: sun4m

Topic: 4.1.3_U1: sun4m jumbo patch for kernel performance, microsparc, sunpc
       and memory bugs, xbox compatibility

 NOTE:  IMPORTANT: 

        This patch rev is compatible with Solaris 1.1.1 versions A and B.

	This patch can be installed on a system running SunDBE 1.3 
	for those platforms that support SunDBE 1.3. Install dbe patch
	from 1.1.1B CD prior to installing this patch. Refer to 1.1.1B
	Release Notes for details how to install dbe patch.

	Please note the special install instructions below.

	SBUS ISSUES:

        If the machine on which this patch is installed has a Sbus Expansion
        Subsystem, then this patch should be installed after  the
        installation of the Sbus expansion software 1.2.

	GS/GT ISSUES:

        *NOTE* To determine your system type use devinfo(8S)
                Sun microSPARC based systems are:
 
                SPARCstation-LX
                SPARCClassic
                SPARCstation-5
                
        *NOTE* microSPARC based systems do not support GS or GT framebuffers.

	If the machine on which this patch is being installed has a GT
	framebuffer, then patch # 101532-01 (or a later rev) MUST be
	installed after this patch.

	If the machine on which this patch is being installed has a GS
	framebuffer, then patch # 101539-01 (or a later rev) MUST be
	installed after this patch.

	To determine if this machine has a GT framebuffer, type the following:

	/etc/dmesg | grep gt

	If this machine has a GT framebuffer, then the message

	gt0 at SBus slot 1 0x0 pri 7

	will appear (the numbers may vary on your machine).

	To determine if this machine has a GS framebuffer, type the following
 
	/etc/dmesg | grep cgtwelve
 
	If this machine has a GS framebuffer, then the message
 
	cgtwelve0 at SBus slot 1 0x0 pri 7
 
	will appear (the numbers may vary on your machine). 

BugId's fixed with this patch: 1116706 1110382 1130786 1137976 1134185 1153766 1118195 1121151 1122110 1126760 1148420 1148412 1150390 1151384 1131290 1101875 1164753 1174572 1174847 1178295 1179093 1176458 1150617 1171171 1200496 1198894 1228994 1123992 1230169 1261813

Changes incorporated in this version: 1261813 

Patches which may conflict with this patch: 

Patches required with this patch: 101592-05 or higher 

Other patches this accumulates and obsoletes: 101487 101509

	This patch also obsoletes the ms2 (microSPARC2) patch distributed
	on the Solaris 1.1.1B media.
					
Obsoleted by: 

Files included with this patch:

        README
	copypatchfiles 	- script to assist copying patch files to /sys
	vm:
		seg_u.h
	sun4m:
		async.h iommu.h mmu.h openprom_xxx.c
	sun4m/OBJ:
		seg_u.o lwputil.o
		machdep.o module_tsu_asm.o mem.o module_vik.o 
		memerr.o module_vik_asm.o autoconf.o module.o overflow.o
		module_asm.o sr.o fillsysinfo.o module_swift.o subr.o
		klock_asm.o module_swift_asm.o module_conf.o module_ross.o
		locore.o module_tsu.o vm_hat.o trap.o
	sun4m-dbe/OBJ:
		locore.o  vm_hat.o

Problem Description: 

1261813 Included Support for SUNDBE in trap.o
1230169 Asynchronous Fault Interrupt received if sbus slot 0 not occupied
1123992 SuperSPARC/Ecache Parity error on a read is not reported correctly
1228994 4.1.4 bug causes performance degradation
1198894 System panics (mapsearch freeing free frag) when users hit
        quota limits on 4.x.
1200496 Machines intermittently hang on bootup in 101508-08 is
	installed in segu_get.
1150617 panics and watchdog resets when using aioread/aiocancel on NFS file
1171171 Machine soft hangs under load with kernel looping in hat_pteunload
1174572 SM51 workaround enabled on parts that do not need it
1174847 SS5 running 4.1.3U1 - running customer application - HARD HANGS
1178295 /usr/sbin/eeprom caused SS5  machine to panic
1176458 Excessive memory errors causing Asynchronous memory fault panics
1179093 SS5 systems panic during install off of 1.1.1b CD

Note:1)	Files relating to the cgsix driver have been taken out of this jumbo
	kernel patch . The latest version of cgsix.o can be found in
	patchid 102096.
     2) Files relating to the audio_4231 driver have been separated from
	this jumbo kernel patch. The audio_4231 patch can now be found in
	patchid 102161.

1164753 The Sbus Expansion software 1.2 is not compatible with patch 101508-05
1131290 SuperSPARC/mbus has a noncached ld bug
1101875 SparcStation 10 model 30  may hang after some hours  of use
1118195 panic: ifree: freeing free inode.
1121151 panic: alloccgblk: can't find blk in cyl.
1126760 write() requests which fail due to ENOSPC will
              still set the file size.
1122110 fsck fails to fix a corrupted directory after a ufs panic.
1153766 Patch 100726-12 needs to be ported to 4.1.3U1.
1116706 User Progs occasionally dump core on SS10/20, 30
1110382 bug in locore.s logic which made the system loop forever.
1130786 multiple mbus-to-sbus asynchronous faults panic system
1137976 KERNEL/SUNPC W/ ACCELERATOR CARD DOESN'T WORK
1134185 OS/4M MP, THE SYSTEM CRASHES WHILE SYNCING FILESYSTEMS
1148420 microSPARC2 support is incomplete in 1.1.1B

Install Instructions: 

************************************************************************
* NOTE: THERE IS ALSO A SUNDBE 1.3 SUPPLEMENT TO THIS PATCH AVAILABLE  *
*	IN A SEPARATE DIRECTORY. 				       *
************************************************************************

For SunOS 4.1.3_U1
-----------------

CHECK THAT YOUR KERNEL ARCHITECTURE IS SUN4M:

	% arch -k
	sun4m

	If your kernel architecture is not sun4m then this 
	patch is not appropriate to install onto your machine.

AS ROOT, CD TO PATCH DIRECTORY:

1.a   FOR ALL INSTALLATIONS:

	Run copypatchfiles script to copy patch files to /sys directory

		# ./copypatchfiles

1.b   FOR DBE INSTALLATIONS ONLY:

	From the sun4m-dbe/OBJ patch directory copy the new modules to
	/sys/sun4m/OBJ

		# cp sun4m-dbe/OBJ/*.o /sys/sun4m/OBJ


2. Rebuild the kernel and reboot the system.

	Refer to the System Administration Manual for information about
	building and booting new kernels using config(8) and make(1).
