Patch Name: PHNE_30103 Patch Description: s700_800 11.11 Streams Pty cumulative patch Creation Date: 03/12/11 Post Date: 04/03/31 Hardware Platforms - OS Releases: s700: 11.11 s800: 11.11 Products: N/A Filesets: Streams-TIO.STRTIO2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP Streams-TIO.STRTIO2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP Streams-TIO.STRTIO-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP Automatic Reboot?: Yes Status: General Release Critical: Yes PHNE_30103: HANG CORRUPTION PHNE_24101: PANIC Category Tags: defect_repair enhancement general_release critical panic halts_system corruption Path Name: /hp-ux_patches/s700_800/11.X/PHNE_30103 Symptoms: PHNE_30103: 1. { SR: 8606226042 CR: JAGad95113 } System hangs during reboot/shutdown.TOC dump shows the following stack trace. _sleep+0x86c streams_mpsleep+0x194 ldtty_close+0x234 close_wrapper+0x38 csq_protect+0x11c osr_pop_subr+0x22c osr_close_subr+0x2fc hpstreams_close_int+0x2f8 hpstreams_close+0x2c call_open_close+0x28c closed+0xe4 spec_close+0x64 vn_close+0x48 vno_close+0x20 closef+0x64 close+0x58 syscall+0x204 $syscallrtn+0x0 2. { SR: 8606275682 CR: JAGae39758 } System hangs during reboot/shutdown.TOC dump shows the following stack trace. _sleep+0x86c streams_mpsleep+0x194 ptem_close+0x148 close_wrapper+0x38 csq_protect+0x11c osr_pop_subr+0x22c osr_close_subr+0x2fc hpstreams_close_int+0x2f8 hpstreams_close+0x2c call_open_close+0x28c closed+0xe4 spec_close+0x64 vn_close+0x48 vno_close+0x20 closef+0x64 close+0x58 syscall+0x204 $syscallrtn+0x0 3. { SR: 8606319222 CR: JAGae81712 } After sending the intr, quit or susp character, the screen display for applications running on top of Streams PTY could be incorrect. PHNE_25083: LDTERM does not work with GB18030 character set. PHNE_24101: System panics in ldtty_intimeout: the message is panic in ldtty_intimeout+0x18 : an ldtty timer deferenced a closed queue Defect Description: PHNE_30103: 1. { SR: 8606226042 CR: JAGad95113 } The wall command, which is normally invoked during reboot/shutdown, gets blocked due to one of the (Streams) PTY devices that is hung in ldtty_close(). This results in a system hang. Resolution: The close(2) for streams pty has been modified so that it does not block. 2. { SR: 8606275682 CR: JAGae39758 } The wall command, which is normally invoked during reboot/shutdown, gets blocked due to one of the (Streams) PTY devices that is hung in ptem_close(). This results in a system hang. Resolution: The close(2) for streams pty has been modified so that it does not block. 3. { SR: 8606319222 CR: JAGae81712 } When user sends intr, quit or susp character, streams PTY may return data in an incorrect order. This results in an incorrect display. The problem is due to improper handling of the intr, quit and susp characters. Resolution: The streams PTY module has been modified to ensure that it returns data in the correct order. PHNE_25083: Currently there are no support for the GB18030 character set. PHNE_24101: A timer was left active after a close. Enhancement: No (superseded patches contained enhancements) PHNE_25083: This patch is to support the GB18030 character set. SR: 8606187489 8606200973 8606226042 8606275682 8606319222 Patch Files: Streams-TIO.STRTIO2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libstrtio.a(ldtty.o) /usr/conf/lib/libstrtio.a(ldtty_euc.o) /usr/conf/lib/libstrtio.a(ptem.o) /usr/conf/lib/libstrtio.a(pty.o) Streams-TIO.STRTIO2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libstrtio.a(ldtty.o) /usr/conf/lib/libstrtio.a(ldtty_euc.o) /usr/conf/lib/libstrtio.a(ptem.o) /usr/conf/lib/libstrtio.a(pty.o) Streams-TIO.STRTIO-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32/64, v=HP: /usr/include/sys/eucioctl.h what(1) Output: Streams-TIO.STRTIO2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libstrtio.a(ldtty.o): ldtty.c $Date: 2003/12/01 09:33:00 PATCH_11.11 (PHNE _30103) /usr/conf/lib/libstrtio.a(ldtty_euc.o): ldtty_euc.c $Date: 2001/09/10 09:34:12 $Revision: gb 18030_11_11/1 PATCH_11.11 (PHNE_25083) /usr/conf/lib/libstrtio.a(ptem.o): ptem.c $Date: 2003/12/02 14:18:00 PATCH_11.11 (PHNE_ 30103) /usr/conf/lib/libstrtio.a(pty.o): pty.c $Date: 2003/12/02 14:19:00 PATCH_11.11 (PHNE_3 0103) Streams-TIO.STRTIO2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libstrtio.a(ldtty.o): ldtty.c $Date: 2003/12/01 09:33:00 PATCH_11.11 (PHNE _30103) /usr/conf/lib/libstrtio.a(ldtty_euc.o): ldtty_euc.c $Date: 2001/09/10 09:34:12 $Revision: gb 18030_11_11/1 PATCH_11.11 (PHNE_25083) /usr/conf/lib/libstrtio.a(ptem.o): ptem.c $Date: 2003/12/02 14:18:00 PATCH_11.11 (PHNE_ 30103) /usr/conf/lib/libstrtio.a(pty.o): pty.c $Date: 2003/12/02 14:19:00 PATCH_11.11 (PHNE_3 0103) Streams-TIO.STRTIO-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32/64, v=HP: /usr/include/sys/eucioctl.h: common/sys/eucioctl.h $Revision: $ eucioctl.h $Date: 2001/09/10 15:09:37 $Revision: gb1 8030_11_11/1 PATCH_11.11 (PHNE_25083) cksum(1) Output: Streams-TIO.STRTIO2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: 983865895 32500 /usr/conf/lib/libstrtio.a(ldtty.o) 2963125370 21828 /usr/conf/lib/libstrtio.a(ldtty_euc.o) 1611400622 8556 /usr/conf/lib/libstrtio.a(ptem.o) 4015208145 13588 /usr/conf/lib/libstrtio.a(pty.o) Streams-TIO.STRTIO2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: 4214090217 70144 /usr/conf/lib/libstrtio.a(ldtty.o) 3983298179 53344 /usr/conf/lib/libstrtio.a(ldtty_euc.o) 7056270 19712 /usr/conf/lib/libstrtio.a(ptem.o) 2965910496 37440 /usr/conf/lib/libstrtio.a(pty.o) Streams-TIO.STRTIO-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32/64, v=HP: 580519076 4088 /usr/include/sys/eucioctl.h Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_24101 PHNE_25083 Equivalent Patches: None Patch Package Size: 130 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_30103 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHNE_30103.depot By default swinstall will archive the original software in /var/adm/sw/save/PHNE_30103. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHNE_30103.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHNE_30103.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHNE_30103.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None