Patch-ID# 109893-04 Keywords: security logical device namespace printer nodetype stc I_STR ioctl Synopsis: SunOS 5.8: stc driver patch Date: Dec/24/2002 Install Requirements: Reboot after installation Solaris Release: 8 SunOS Release: 5.8 Unbundled Product: Unbundled Release: Xref: Topic: SunOS 5.8: stc driver 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. *********************************************************** NOTE: Refer to Special Install Instructions section for IMPORTANT specific information on this patch. Relevant Architectures: sparc BugId's fixed with this patch: 4211224 4255596 4309750 4321509 4587859 Changes incorporated in this version: 4587859 Patches accumulated and obsoleted by this patch: 109312-01 Patches which conflict with this patch: Patches required with this patch: 108528-18 or greater 108528-18 or greater Obsoleted by: Files included with this patch: /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 109893-03) 4321509 kernel exhaustion due to memory leak in stc driver (from 109893-02) 4255596 The dtr transition on SPC ports is too fast. 4211224 SPC cards out-of-order with E150 + PSP (from 109893-01) This patch revision was generated to accumulate and obsolete the feature changes introduced in point patch 109312-01. (from 109312-01) 4309750 Support for logical device namespace for printers and new printer minor node type 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: ----------------------------- Reboot the system after patch installation. NOTE 1: To get the full support for logical device namespace for printers and new printer minor node type, one needs to install the following patches: 108528-03 (or newer) kernel update patch 108979-08 (or newer) devfsadm, platform nexus, I2C and Netra ct patch 109880-01 (or newer) forthdebug patch 109883-01 (or newer) ecppsys.h patch 109892-01 (or newer) ecpp patch 109893-01 (or newer) stc patch 109894-01 (or newer) bpp patch 109877-01 (or newer) dma_i8237A.h patch 109890-01 (or newer) pmserver.jar patch 109896-01 (or newer) USB patch NOTE 2: 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, December 24, 2002