Patch-ID# 100726-18
Keywords: watchdog, panic, faults, mbus-to-sb, asynchrono, multiple, hang, sundbe
Synopsis: SunOS 4.1.3: sun4m jumbo patch for kernel performance and memory bugs
Date: Aug/04/95

Solaris Release: 1.1

SunOS release: 4.1.3, 4.1.3C

Unbundled Product: 

Unbundled Release: 

Topic: 4.1.3, 4.1.3C: sun4m jumbo patch for kernel performance and memory bugs

 IMPORTANT: 

	All versions of this patch, except 4.1.3C, can be installed on
	a system running SunDBE 1.3 (At the time this patch was made
	SunDBE was not available for SUN architectures running 4.1.3C.)
	Please read the file SunDBE_installation.README included with
	this patch and note the special install instructions below.

	If the machine on which the patch is being installed has a GT framebuffer
	then patchid 101192-01 or greater revision (eg. -02) must be installed
	following this patch. If the machine has a GS (cgtwelve) framebuffer
	installed then patchid 100844-02 or greater revision (eg. -03) must
	be installed following this patch.

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

	/etc/dmesg | grep gt

	If this machine has a GT 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 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: 1099405 1097555 1098573 1101875 1102235 1080798 1106399 1120212 1116706 1110382 1125085 1118195 1127988 1121791 1123885 1130786 1109160 1137976 1134185 1140198 1152277 1150617 1148412 1155287 1183931

Changes incorporated in this version: 1183931

Architectures for which this patch is available: sun4m

Patches which may conflict with this patch: 

Other patches this accumulates and obsoletes: 100743, 100744

Obsoleted by: 

Files included with this patch:

        README, SunDBE_installation.README

	low.o lwputil.o uipc_mbuf.o sparc_subr.o mb_machdep.o
	subr_crash.o locore.o machdep.o klock_asm.o mem.o
	memerr.o mmu.o module.o module_asm.o module_ross_asm.o
	module_vik.o module_vik_asm.o overflow.o seg_kmem.o subr.o
	swtch.o trap.o underflow.o vm_hat.o ufs_vnodeops.o vm_machdep.o


Problem Description: 
1155287 SYSTEMS WITH DBE_1.3 RUNNING ORACLE V6.0.36.7.1 ARE PANICING TWICE A
	WEEK WITH PATCHES 100726-10 and 100948-01.
1150617 panic in lwputil.c when asynchio is used on an nfs file.
1148412 Kernelpanic non-parity synchronous memory error mmaping non-existing.
1152277 Patch 100726-12 now conflicts with patch 100948-01/-02
1099405 Galaxy/Ross with 768MB or 1GB using 16MB SIMMS panic while booting
1097555 kernel panics with kmem_free: block already free
1098573 SYSTEM CRASH/PANIC/HANG running Gupta Sqlbase on 4.1.2 on sun4m
1101875 Heavily Loaded SPARCstation 10 May Hang
1102235 User Programs May Halt and Coredump
1080798 I/O Performance problems with SPARCsystem 600MP Series
1106399 fault address register (MFAR) failures on Viking machines
1120212 Add kernel support for 3.0 Vikings.
1116706 User Progs occasionally dump core on SS10/20, 30
1110382 bug in locore.s logic which made the system loop forever.
1125085 mfar workaround can fail for kernel store using out registers.
1118195 kernel panics with freeing free frag, mapsearch corrupted, or 
        free block overlap.
1127988 User program core dumps with SIGSEGV only on a SS10 model 41
1121791 bad trap, Invalid Address on supv data store running lwp
1123885 BAD TRAP memory addr align from _hat_map_percpu
1130786 multiple mbus-to-sbus asynchronous faults panic system
1109160 4.1.3 sun4m hard hangs at random intervals: GENERIC kernel
1137976 KERNEL/SUNPC W/ ACCELERATOR CARD DOESN'T WORK
1134185 OS/4M MP, THE SYSTEM CRASHES WHILE SYNCING FILESYSTEMS
1140198 integrate machdep.c changes for SunOS4.1.3 so
	that patches 100726 and 100948 don't conflict.
1183931 panic read_hwmap invalid pte (orig boxhill tape drive)

Install Instructions: 

************************************************************************
* NOTE: THERE IS ALSO A SUNDBE 1.3 VERSION OF THE PATCH AVAILABLE IN   *
* SEPARATE DIRECTORY. PLS READ SunDBE_installation.README FILE BEFORE  *
* INSTALLING THIS  PATCH.                                              *
************************************************************************

For SunOS 4.1.3
---------------
AS ROOT:

1. FOR BOTH NON-DBE AND DBE INSTALLATIONS:

save FCS version of the file

mv /sys/sun4m/OBJ/klock_asm.o /sys/sun4m/OBJ/klock_asm.o.FCS
mv /sys/sun4m/OBJ/low.o /sys/sun4m/OBJ/low.o.FCS
mv /sys/sun4m/OBJ/locore.o /sys/sun4m/OBJ/locore.o.FCS
mv /sys/sun4m/OBJ/lwputil.o /sys/sun4m/OBJ/lwputil.o.FCS
mv /sys/sun4m/OBJ/machdep.o /sys/sun4m/OBJ/machdep.o.FCS
mv /sys/sun4m/OBJ/mb_machdep.o /sys/sun4m/OBJ/mb_machdep.o.FCS
mv /sys/sun4m/OBJ/mem.o /sys/sun4m/OBJ/mem.o.FCS
mv /sys/sun4m/OBJ/memerr.o /sys/sun4m/OBJ/memerr.o.FCS
mv /sys/sun4m/OBJ/mmu.o /sys/sun4m/OBJ/mmu.o.FCS
mv /sys/sun4m/OBJ/module.o /sys/sun4m/OBJ/module.o.FCS
mv /sys/sun4m/OBJ/module_asm.o /sys/sun4m/OBJ/module_asm.o.FCS
mv /sys/sun4m/OBJ/module_ross_asm.o /sys/sun4m/OBJ/module_ross_asm.o.FCS
mv /sys/sun4m/OBJ/module_vik.o /sys/sun4m/OBJ/module_vik.o.FCS
mv /sys/sun4m/OBJ/module_vik_asm.o /sys/sun4m/OBJ/module_vik_asm.o.FCS
mv /sys/sun4m/OBJ/overflow.o /sys/sun4m/OBJ/overflow.o.FCS
mv /sys/sun4m/OBJ/seg_kmem.o /sys/sun4m/OBJ/seg_kmem.o.FCS
mv /sys/sun4m/OBJ/sparc_subr.o /sys/sun4m/OBJ/sparc_subr.o.FCS
mv /sys/sun4m/OBJ/subr.o /sys/sun4m/OBJ/subr.o.FCS
mv /sys/sun4m/OBJ/subr_crash.o /sys/sun4m/OBJ/subr_crash.o.FCS
mv /sys/sun4m/OBJ/swtch.o /sys/sun4m/OBJ/swtch.o.FCS
mv /sys/sun4m/OBJ/trap.o  /sys/sun4m/OBJ/trap.o.FCS
mv /sys/sun4m/OBJ/ufs_vnodeops.o /sys/sun4m/OBJ/ufs_vnodeops.o.FCS
mv /sys/sun4m/OBJ/uipc_mbuf.o /sys/sun4m/OBJ/uipc_mbuf.o.FCS
mv /sys/sun4m/OBJ/underflow.o /sys/sun4m/OBJ/underflow.o.FCS
mv /sys/sun4m/OBJ/vm_hat.o /sys/sun4m/OBJ/vm_hat.o.FCS
mv /sys/sun4m/OBJ/vm_machdep.o /sys/sun4m/OBJ/vm_machdep.o.FCS

2a. FOR NON-DBE INSTALLATIONS ONLY:

From the sun4m/4.1.3{,C} patch directory copy the new modules to
/sys/sun4m/OBJ:

cp sun4m/4.1.3{,C}/*.o /sys/sun4m/OBJ

2b. FOR DBE INSTALLATIONS ONLY:

From the sun4m/4.1.3_dbe patch directory copy the new modules to 
/sys/sun4m/OBJ:

cp sun4m/4.1.3_dbe/*.o /sys/sun4m/OBJ

3. Rebuild the kernel and reboot the system.

Refer to the System Administration Manual for information about
building and booting new kernels.
