Patch Name: PHKL_30973 Patch Description: s700_800 11.00 eventport (/dev/poll) pseudo driver Creation Date: 04/06/01 Post Date: 04/06/14 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: OS-Core.ADMN-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP ProgSupport.C-INC,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP OS-Core.KERN2-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP OS-Core.KERN2-RUN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: Yes PHKL_30973: PANIC Category Tags: defect_repair enhancement general_release critical panic Path Name: /hp-ux_patches/s700_800/11.X/PHKL_30973 Symptoms: PHKL_30973: ( SR:8606345444 CR:JAGaf06294 ) Panic occurs during an ioctl(2) or close on an event port device. The stack traces can look like: soo_select2+0x8 unp_poll_handler+0x2c so_poll_switch+0x4c evp_dp_poll+0x1d8 evp_ioctl+0x80 spec_ioctl+0xb0 vno_ioctl+0x8c ioctl+0x138 or so_eventreg+0x78 evp_dereg_objhdr+0x30 evp_close+0x108 call_open_close+0x234 closed+0x98 spec_close+0x48 vn_close+0x40 vno_close+0x20 closef+0x60 PHKL_24064: ( SR:8606195573 CR:JAGad64777 ) Enhancement: /dev/poll provides an interface to the eventport driver allowing a user to synchronously monitor a specific set of conditions associated with a registered set of file descriptors. Defect Description: PHKL_30973: ( SR:8606345444 CR:JAGaf06294 ) The defect can happen in the following two scenarios: 1) The registration of a file descriptor with an event port was not handled properly in certain cases. 2) A race condition exists between registration and deregistration of a file descriptor with a given event port. Resolution: 1) The implementation was modified to handle all possible registration paths. 2) The race condition was closed. PHKL_24064: ( SR:8606195573 CR:JAGad64777 ) Poll(2) and select(2) do not scale well with a large number of file descriptors. Resolution: Use the /dev/poll semantics instead of poll(2) or select(2). Enhancement: No (superseded patches contained enhancements) PHKL_30973: Enhancements were delivered in a patch this one has superseded. Please review the Defect Description text for more information. SR: 8606195573 8606345444 Patch Files: OS-Core.ADMN-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/share/man/man7.Z/poll.7 OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /sbin/init.d/evp.init /sbin/rc1.d/S450evp.init ProgSupport.C-INC,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/include/devpoll.h OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/lib/libevp.a(evp.o) /usr/conf/lib/libevp.a(evp_util.o) OS-Core.KERN2-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/master.d/evp OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libevp.a(evp.o) /usr/conf/lib/libevp.a(evp_util.o) OS-Core.KERN2-RUN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/master.d/evp what(1) Output: OS-Core.ADMN-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/share/man/man7.Z/poll.7: None OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /sbin/init.d/evp.init: evp $Date: 2001/12/19 12:01:44 $Revision: r11ros/2 P ATCH_11.00 (PHKL_24064) /sbin/rc1.d/S450evp.init: evp $Date: 2001/12/19 12:01:44 $Revision: r11ros/2 P ATCH_11.00 (PHKL_24064) ProgSupport.C-INC,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/include/devpoll.h: devpoll.h $Date: 2001/04/25 07:28:19 $Revision: r11r os/1 PATCH_11.00 (PHKL_24064) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/lib/libevp.a(evp.o): evp.c $Date: 2004/05/25 08:59:09 $Revision: r11ros/2 PATCH_11.00 (PHKL_30973) /usr/conf/lib/libevp.a(evp_util.o): evp_util.c $Date: 2001/04/25 06:54:39 $Revision: r11 ros/1 PATCH_11.00 (PHKL_24064) OS-Core.KERN2-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/master.d/evp: evp $Date: 2001/10/16 10:13:04 $Revision: r11ros/1 P ATCH_11.00 (PHKL_24064) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libevp.a(evp.o): evp.c $Date: 2004/05/25 08:59:09 $Revision: r11ros/2 PATCH_11.00 (PHKL_30973) /usr/conf/lib/libevp.a(evp_util.o): evp_util.c $Date: 2001/04/25 06:54:39 $Revision: r11 ros/1 PATCH_11.00 (PHKL_24064) OS-Core.KERN2-RUN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/master.d/evp: evp $Date: 2001/10/16 10:13:04 $Revision: r11ros/1 P ATCH_11.00 (PHKL_24064) cksum(1) Output: OS-Core.ADMN-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 2708049015 6731 /usr/share/man/man7.Z/poll.7 OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 3948811256 641 /sbin/init.d/evp.init 3948811256 641 /sbin/rc1.d/S450evp.init ProgSupport.C-INC,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 1404618546 2002 /usr/include/devpoll.h OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: 3317751264 15632 /usr/conf/lib/libevp.a(evp.o) 2626017290 8168 /usr/conf/lib/libevp.a(evp_util.o) OS-Core.KERN2-RUN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: 3545257857 4028 /usr/conf/master.d/evp OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: 296729470 34416 /usr/conf/lib/libevp.a(evp.o) 2337516872 23096 /usr/conf/lib/libevp.a(evp_util.o) OS-Core.KERN2-RUN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: 3545257857 4028 /usr/conf/master.d/evp Patch Conflicts: None Patch Dependencies: s700: 11.00: PHKL_25098 PHKL_30972 PHNE_24715 PHNE_25116 s800: 11.00: PHKL_25098 PHKL_30972 PHNE_24715 PHNE_25116 Hardware Dependencies: None Other Dependencies: None Supersedes: PHKL_24064 Equivalent Patches: PHKL_30542: s700: 11.11 s800: 11.11 Patch Package Size: 100 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 PHKL_30973 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_30973.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_30973. 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 PHKL_30973.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_30973.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_30973.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None