Patch Name: PHNE_30463 Patch Description: s700_800 11.11 Cumulative Mux and Pty Patch Creation Date: 04/03/29 Post Date: 04/04/19 Hardware Platforms - OS Releases: s700: 11.11 s800: 11.11 Products: N/A Filesets: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP OS-Core.KERN2-RUN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP OS-Core.KERN2-RUN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: No (superseded patches were critical) PHNE_27760: ABORT HANG PHNE_26326: PANIC This patch fixes the System HPMC, which occurs when there is activity on the direct mapped UART and if the GSP/MP goes into reset mode. Category Tags: defect_repair hardware_enablement enhancement general_release critical panic halts_system manual_dependencies Path Name: /hp-ux_patches/s700_800/11.X/PHNE_30463 Symptoms: PHNE_30463: ( SR:8606350106 CR:JAGaf10927 ) Need to add support in the asio0 driver for built-in Processor Dependant Hardware (PDH) UARTs on the C8000 system. ( SR:8606341630 CR:JAGaf02539 ) Applications using ddfa(7) may fail on 64-bit systems. PHNE_29577: ( SR:8606324072 CR:JAGae86537 ) SIIG Dual Profile Serial Port card(Product No:AB632A) is not supported by the asio0 driver on rp3440 system. ( SR:8606324292 CR:JAGae86757 ) Incorrect display on the console screen during kernel installation. PHNE_27760: ( SR:8606238526 CR:JAGae07549 ) System hangs with proc table filled up. Stack trace is as below, sleep+0x7b0 asio0_sleep+0x18 delay+0x64 asio0_hw_init+0x110 asio0_param+0xb4 asio0_ioctl+0x5d0 spubind_cdev_ioctl+0x94 cn_ioctl+0x3c spubind_cdev_ioctl+0x94 spec_ioctl+0xac vno_ioctl+0x90 ioctl+0x1d8 syscall+0x480 $syscallrtn+0x0 ( SR:8606279346 CR:JAGae43399 ) PHNE_23594 generates a core file when updating HPUX from 10.20 to 11.11. ( SR:8606258816 CR:JAGae23136 ) On rp4440 systems, GSP/MP Serial ports are not recognized by HPUX asio0 driver. PHNE_26326: ( SR:8606263900 CR:JAGae28226 ) If the GSP/MP goes in to reset mode and when there is activity on the UPS port, the system will generate an HPMC with the following trace. asio0_modemstat+0x2c asio0_control+0xa40 asio0_ioctl+0xa00 spubind_cdev_ioctl+0xa8 spec_ioctl+0xac vno_ioctl+0x98 ioctl+0x120 syscall+0x750 $syscallrtn+0x0 PHNE_23594: ( SR:8606200933 CR:JAGad70109 ) "ioscan -f" reports UNCLAIMED for the "S/W State" field, and UNKNOWN for the "H/W Type" field. For example: # ioscan -fnC tty Class I H/W Path Drvr S/W State H/W Type Description =========================================================== unknown -1 0/0/4/0 UNCLAIMED UNKNOWN PCI BaseSystem(103c128d) tty 0 0/0/4/1 asio0 CLAIMED INTERFAC PCI Serial(103c1048) PHNE_23932: Enhance the pty() master write to support the O_NONBLOCK option. This change is to prevent ied() from hanging. Defect Description: PHNE_30463: ( SR:8606350106 CR:JAGaf10927 ) The asio0 driver does not support built-in PDH UARTs on the C8000 system. Resolution: Code has been modified to support built-in PDH UARTs on the C8000 system. ( SR:8606341630 CR:JAGaf02539 ) ddfa(7) incorrectly sends a telnet break causing applications using ddfa(7) to fail on 64 bit machines. This problem is due to incorrect interpretation of line control ioctl commands by the BSD PTY driver. Resolution: Code has been modified to correctly interpret line control ioctl commands. PHNE_29577: ( SR:8606324072 CR:JAGae86537 ) The asio0 driver has to be modified to support SIIG Dual Profile Serial Port card(Product No:AB632A, Part No:AB632-60101) on the rp3440 system. Resolution: The asio0 driver has been modified to support SIIG Dual Profile Serial Port card(Product No:AB632A, Part No:AB632-60101) on the rp3440 system. ( SR:8606324292 CR:JAGae86757 ) The terminal negotiation between ttytype(1) and the MP console was handled incorrectly in the ioctl() routine of the asio0 driver. Therefore,the console screen displays invalid output. Resolution: The ioctl() routine in the asio0 driver that handles the terminal negotiation has been modfied to return the correct value. PHNE_27760: ( SR:8606238526 CR:JAGae07549 ) In Console driver, under some circumstances wakeup() is called before sleep() which results in the driver sleeping for ever. This process will be acquired by init and proc table fills up along with entries of zombies which results in system hang. Resolution: Console driver is preventing such situations in its flow by protecting it with locks. ( SR:8606279346 CR:JAGae43399 ) When upgrading HPUX from 10.20 to 11.11, a core file is generated since some commands in /sbin cease to function. Resolution: The correct path for the commands are now set using the sd control scripts. ( SR:8606258816 CR:JAGae23136 ) HPUX asio0 driver doesn't recognize rp4440 MP/GSP serial ports. Resolution: HPUX asio0 driver is modified to recognize rp4440 MP/GSP serial ports. PHNE_26326: ( SR:8606263900 CR:JAGae28226 ) When there is activity on the direct mapped UART (UPS) and if the GSP/MP goes into reset mode, system will generate an HPMC due to some issues in the hardware. Resolution: IO ports on the SP2 Chip are remapped to avoid the HPMC pro- -blem. The usage of direct mapped UART which had the UPS port mapped on it is discontinued and instead, emulated UART is now providing the UPS port. PHNE_23594: ( SR:8606200933 CR:JAGad70109 ) When ioscan is done on all the present platforms, an UNKNOWN/CLAIMED entry will be found in the ioscan output for function 0 device on CoreIO as there was no driver presently to claim it Resolution: A new driver has been provided to claim the unknown device on the CoreIO card. PHNE_23932: Existing pty() master write did not support the O_NONBLOCK option. Enhancement: No (superseded patches contained enhancements) PHNE_27760: Enhancements were delivered in a patch this one has superseded. Please review the Defect Description text for more information. SR: 8606186148 8606200933 8606238526 8606258816 8606263900 8606279346 8606324072 8606324292 8606341630 8606350106 Patch Files: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libtty.a(tty_pty.o) /usr/conf/lib/libwsio.a(asio0.o) /usr/conf/lib/libwsio.a(func0.o) OS-Core.KERN2-RUN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/master.d/func0 OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libtty.a(tty_pty.o) /usr/conf/lib/libwsio.a(asio0.o) /usr/conf/lib/libwsio.a(func0.o) OS-Core.KERN2-RUN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/master.d/func0 what(1) Output: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libtty.a(tty_pty.o): tty_pty.c $Date: 2004/03/24 22:26:15 $Revision: r11. 11/3 PATCH_11.11 (PHNE_30463) /usr/conf/lib/libwsio.a(asio0.o): asio0.c $Date: 2004/03/24 22:27:42 $Revision: r11.11 /5 PATCH_11.11 (PHNE_30463) /usr/conf/lib/libwsio.a(func0.o): func0.c $Date: 2001/09/14 14:56:08 $Revision: r11.11 /1 PATCH_11.11 (PHNE_23594) OS-Core.KERN2-RUN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/master.d/func0: func0 $Date: 2001/09/14 16:56:42 $Revision: r11.11/1 PATCH_11.11 (PHNE_23594) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libtty.a(tty_pty.o): tty_pty.c $Date: 2004/03/24 22:26:15 $Revision: r11. 11/3 PATCH_11.11 (PHNE_30463) /usr/conf/lib/libwsio.a(asio0.o): asio0.c $Date: 2004/03/24 22:27:42 $Revision: r11.11 /5 PATCH_11.11 (PHNE_30463) /usr/conf/lib/libwsio.a(func0.o): func0.c $Date: 2001/09/14 14:56:08 $Revision: r11.11 /1 PATCH_11.11 (PHNE_23594) OS-Core.KERN2-RUN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/master.d/func0: func0 $Date: 2001/09/14 16:57:37 $Revision: r11.11/1 PATCH_11.11 (PHNE_23594) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: 1029454339 23284 /usr/conf/lib/libtty.a(tty_pty.o) 3485517778 25388 /usr/conf/lib/libwsio.a(asio0.o) 3242552979 2260 /usr/conf/lib/libwsio.a(func0.o) OS-Core.KERN2-RUN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: 386641923 958 /usr/conf/master.d/func0 OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: 4122767791 57464 /usr/conf/lib/libtty.a(tty_pty.o) 3284594391 51704 /usr/conf/lib/libwsio.a(asio0.o) 3973351895 5776 /usr/conf/lib/libwsio.a(func0.o) OS-Core.KERN2-RUN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: 2019246447 957 /usr/conf/master.d/func0 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: For the rp7400, rp54xx, L-Class with A6696B GSP cards and rp24xx products, a) Insf(1) patch PHCO_27243 or later should be installed along with this patch. b) System must be updated with the GSP Firmware Revision B.02.11 or C.02.05 or later. Supersedes: PHNE_29577 PHNE_27760 PHNE_26326 PHNE_23932 PHNE_23594 Equivalent Patches: None Patch Package Size: 120 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_30463 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHNE_30463.depot By default swinstall will archive the original software in /var/adm/sw/save/PHNE_30463. 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_30463.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHNE_30463.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHNE_30463.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: If patch PHNE_26326, or any of its successors, are installed on rp7400, rp54xx, L-Class with A6696B GSP cards or rp24xx systems, then the GSP firmware should be updated to B.02.11 or C.02.05 or later. Before upgrading the system with above GSP Firmware Revision, be sure to install the above HP-UX patches or its successors. If removing this patch and its successors from rp7400, rp54xx, LClass with A6696B GSP cards or rp24xx systems, then the GSP firmware should be rolled back to revision earlier than B.02.11 or C.02.05. Additionally, users should delete the stale UPS port (/dev/ttypX) device file(s) and recreate it(them) using the insf(1M) command.