OBSOLETE Patch-ID# 101552-01 Keywords: kernel pty libc Dell DSA panic SCSI Synopsis: OBSOLETED by 102022 Date: Mar/04/94 Solaris Release: 2.1 x86 SunOS Release: 5.1 x86 Unbundled Product: Unbundled Release: Relevant Architectures: BugId's fixed with this patch: 1147603 1113208 1139830 1146857 Changes incorporated in this version: Patches accumulated and obsoleted by this patch: 101375-02 Patches which conflict with this patch: Patches required with this patch: Obsoleted by: 102022 on Sep/15/94 Files included with this patch: kernel/unix usr/kernel/drv/ptc usr/kernel/drv/pts etc/lib/ld.so.1 usr/lib/ld.so.1 usr/lib/libc.a usr/lib/libc.so usr/lib/libc.so.1 usr/lib/libp/libc.a usr/lib/pics/libc_pic.a Problem Description: 1146857 Under heavy load, while returning from mutex_exit, T_DONTSWAP is decremented in the assembly language function, and then again in C code. Thus a thread holding a mutex gets its T_DONTSWAP value set from 0 to 0xffffffff, and is swapped out while holding a mutex. In the Dell dsa driver, the thread holding the key mutex in the dmult_strategy routine sleeps forever, thus ending all disk and tape io on the system. (From 101375-02) 1113208 SunOS 5.1 does not support more than 48 ptys, which limits the number of rlogins and telnets. The problem is rooted in two places. The pseudo-tty driver (/usr/kernel/drv/pts) has a built-in limit of 48. The library routines getut() and getutx() have a problem that prevents them from supporting more than 62 users. This patch provides fixes to libc and pts that support both problems. 1139830 Change the way nodes are named to allow for greater than 64 names. 1147603 The maximum number of pseudo terminal slaves is hardcoded to 48. While it is possible to change pt_cnt in /etc/system to any value, it is not used as one would expect. Patch Installation Instructions: -------------------------------- Generic 'installpatch' and 'backoutpatch' scripts are provided within each patch package with instructions appended to this section. Other specific or unique installation instructions may also be necessary and should be described below. Special Install Instructions: -----------------------------