Patch-ID# 109797-03
Keywords: security dtr SPC E150 PSP
Synopsis: SunOS 5.7: kernel/drv/stc Patch
Date: Apr/15/2003

Install Requirements: Reboot after installation                      
                      
Solaris Release: 7

SunOS Release: 5.7

Unbundled Product: 

Unbundled Release: 

Xref: 

Topic: SunOS 5.7: kernel/drv/stc Patch
	***********************************************************
	NOTE: This patch may contain one or more OEM-specific platform ports.
	      See the appropriate OEM_NOTES file within the patch for
	      information specific to these platforms.
	      DO NOT INSTALL this patch on an OEM system if a corresponding
	      OEM_NOTES file is not present (or is present, but instructs not
	      to install the patch), unless the OEM vendor directs otherwise.
	***********************************************************

Relevant Architectures: sparc

BugId's fixed with this patch: 4211224 4255596 4321509 4587859

Changes incorporated in this version: 4587859

Patches accumulated and obsoleted by this patch: 

Patches which conflict with this patch: 

Patches required with this patch: 106541-24 or greater

Obsoleted by: 

Files included with this patch: 

/platform/sun4c/kernel/drv/stc
/platform/sun4d/kernel/drv/stc
/platform/sun4m/kernel/drv/stc
/platform/sun4u/kernel/drv/sparcv9/stc
/platform/sun4u/kernel/drv/stc
/usr/include/sys/stcio.h
/usr/include/sys/stcvar.h

Problem Description:

4587859 I_STR ioctl payloads are improperly validated
 
(from 109797-02)
 
4321509 kernel exhaustion due to memory leak in stc driver
 
(from 109797-01)
 
4211224 SPC cards out-of-order with E150 + PSP
4255596 The dtr transition on SPC ports is too fast.

Patch Installation Instructions:
--------------------------------
 
For Solaris 2.0-2.6 releases, refer to the Install.info file and/or
the README within the patch for instructions on using the generic
'installpatch' and 'backoutpatch' scripts provided with each patch.
 
For Solaris 7-9 releases, refer to the man pages for instructions
on using 'patchadd' and 'patchrm' scripts provided with Solaris.
Any other special or non-generic installation instructions should be
described below as special instructions.  The following example
installs a patch to a standalone machine:
 
       example# patchadd /var/spool/patch/104945-02
 
The following example removes a patch from a standalone system:
 
       example# patchrm 104945-02
 
For additional examples please see the appropriate man pages.

Special Install Instructions:
-----------------------------
 
Special Instructions (bug id 4255596):
 
"In rare cases, the serial lines of the SPC may become hung for no
apparent reason.  If this situation occurs, the driver has a mechanism
to attempt a recovery that MAY RESULT IN DATA LOSS.  A "deadman"
routine can be made to run periodically; if it detects a hung state a
corrective action can be issued. If you are instructed by Sun support
personnel, the following /etc/system variables can be set to control
the behavior of the deadman routine:
 
stc:stc_deadman_enable  // defaults to 0, if non-zero deadman will be
                        // run every stc_deadman_timer microseconds;
                        // otherwise, the deadman will not run
 
stc:stc_deadman_timer   // defaults to 15000000 (15 seconds)
 
stc:stc_verbose_deadman // if zero, no deadman-related messages are
                        // printed; if 1 (default), a moderate amount
                        // of status messages are printed out; if two,
                        // even more status messages are printed out.
 
If you are not experiencing problems, DO NOT enable the deadman
mechanism!
 
ONLY ENABLE THE DEADMAN MECHANISM IF INSTRUCTED TO DO SO BY SUN
SUPPORT PERSONNEL."

README -- Last modified date:  Tuesday, April 15, 2003

