Patch Name: PHNE_22085 Patch Description: s700_800 10.20 Streams PTY cumulative patch Creation Date: 00/07/28 Post Date: 00/09/07 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: N/A Filesets: Streams-TIO.STRTIO-KRN Automatic Reboot?: Yes Status: General Release Critical: Yes PHNE_22085: MEMORY_LEAK PHNE_16132: PANIC PHNE_10831: PANIC Path Name: /hp-ux_patches/s700_800/10.X/PHNE_22085 Symptoms: PHNE_22085: System hangs due to memory starvation when using pckt module. PHNE_18525: Resizing a window on busy PTY pair causes the window to hang. PHNE_14975: Streams pty did not work in UTF8 environment. This patch is an enhancement that provides UTF8 support. PHNE_16132: System panic type 15 in pckt_rsrv in the Streams pty code. PHNE_12038: ioctl TCFLSH failed to work on Streams PTY. PHNE_10831: System panic at ldtty_copymsg() in streams pty code. PHNE_10174: Characters are not echoed as they are typed until VMIN is reached. Rlogin does not use the defaults from stty < /dev/ttyconf Defect Description: PHNE_22085: Memory leak when processing M_FLUSHR message in pckt module. Resolution: Free the undeallocated message used in processing M_FLUSHR message in pckt module. PHNE_18525: If a window is resized when there is a lot of activity on the window, the window hangs. Resolution: The fix was to not use flow control for the high priority messages like M_IOCACK and M_IOCNAK. These messages were sent upstream to the STREAMS head, even when the STREAMS head was flow-controlled. PHNE_14975: This patch is an enhancement for UTF8 support for STREAMS pty line discipline. PHNE_16132: The type 15 panic was caused the b_rptr pointer in the mblk being overwritten by a bad value when M_FLUSH was being processed and the system ran out of memory. PHNE_12038: This problem was caused by a miss handling of M_FLUSH message on the Packet Mode module on the Streams PTY. PHNE_10831: This panic was caused by the fact that ldtty_copymsg() was referencing a streams message that has already been freed. This happened when the streams pty is in raw mode. PHNE_10174: The first problem was caused by the fact that the VTIME timer was not started until a read is pending. Since the application was using select, no read was pending. As a result, data were not available for read until the VMIN requirement is met. The second problem was due to the fact the /dev/ttyconf feature was not implemented on Streams PTY which is used by rlogind starting HP-UX 10.20. The /dev/ttyconf feature is a new feature added to the BSD line discipline recently to provide backward compatibility. It was not expected that users would need this feature on Streams PTY. SR: 5003365049 5003355248 1653192013 5003376368 5003429548 1653284232 8606152552 Patch Files: /usr/conf/lib/libstrtio.a /usr/include/sys/eucioctl.h what(1) Output: /usr/conf/lib/libstrtio.a: PATCH_10.20: pckt.o 1.3.112.6 00/07/24 PHNE_22085 PATCH_10.20: ptem.o 1.3.112.2 97/02/28 PHNE_10174 PATCH_10.20: pty.o 1.3.112.2 97/02/28 PHNE_10174 PATCH_10.20: ldtty_euc.o 1.3.112.4 98/05/08 PHNE_ 14975 PATCH_10.20: ldtty.o 1.4.112.8 98/05/08 PHNE_1497 5 /usr/include/sys/eucioctl.h: eucioctl.h 1.1 8/31/90 cksum(1) Output: 979712296 80452 /usr/conf/lib/libstrtio.a 2854442824 2948 /usr/include/sys/eucioctl.h Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_10174 PHNE_10831 PHNE_12038 PHNE_16132 PHNE_14975 PHNE_18525 Equivalent Patches: None Patch Package Size: 140 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHNE_22085 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_22085.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHNE_22085. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. WARNING: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHNE_22085.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHNE_22085.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None