Patch-ID# 101398-09 Keywords: SPC/SPIFF asynchronous tcdrain SLCT toggle DTR modem stc SS20M502 Synopsis: SunOS 5.3: stc driver fixes Date: Oct/18/96 Solaris Release: 2.3 SunOS Release: 5.3 Unbundled Product: Unbundled Release: Topic: SunOS 5.3: stc driver fixes BugId's fixed with this patch: 1143400 1144685 1147793 1150807 1178079 1178140 1186263 1188734 1189635 1189831 1195700 1256257 Changes incorporated in this version: 1256257 Relevant Architectures: sparc Patches accumulated and obsoleted by this patch: Patches which conflict with this patch: Patches required with this patch: Obsoleted by: Files included with this patch: /kernel/drv/stc Problem Description: 1256257 When using bidirectional portmonitor, DTR does not drop properly. (from 101398-08) 1188734 stc: System goes to hard hang on SS20M502 (from 101398-07) 1195700 stc: Need to setup SPC serial ports in /kernel/drv/options.conf as we do for tty 1186263 stc: Panic Memory address alignment in stc_ioctl 1189635 stc: DTR drops for a very short time when used as a bidirectional modem port. (from 101398-06) 1189831 stc: Panic data fault (from 101398-05) 1178140 The temporary stc patch T101398-03 introduces a flow control problem on serial (from 101398-04) 1178079 DTR broken under Solaris 2.4 using spif cards and modems Fixes the problem that spif boot time configuration parameters are ignored. This often mainifests itself as the DTR line not following opens and closes of a serial port. Bug id 1148079 (from 101398-03) Eliminates several parallel and serial port hang issues (from 101398-02) 1150807 panic from using SPIF parallel in program Make sure to check for NULL address arguments to ioctl() calls before attempting MCOPY in the driver. 1144685 CTEspiff tcdrain() returns asynchronous, shouldn't return until all data on wire The tcdrain() function does not seem to wait until all data has been output to the line (per the man page) before returning. The CPU ports behave correctly in this regard. Customer needs this functionality to be correct to use these ports reliably with his hardare (from 101398-01) 1147793 SC2000 is crashing whenever there is serial activity on their spif card. Customer has a SC2000 running Solaris 2.3. The system is crashing whenever there is serial I/O through a modem connected to SPIF card. 1143400 uucp panics when used with an SPC/SPIFF controller System panics when many modems are attached to the SPC. Customer has 6 modems hooked to the SPC. If he attempts to transfer files using 2 or more at once, that is when the system panics. Patch Installation Instructions: -------------------------------- Refer to the Install.info file within the patch for instructions on using the generic 'installpatch' and 'backoutpatch' scripts provided with each patch. Any other special or non-generic installation instructions should be described below. Special Install Instructions: ----------------------------- Reboot after installation or all activities on all serial ports and parallel ports associated with SPC/S cards must be terminated and the stc driver modunload'ed and the new driver modloaded.