Patch Name: PHNE_7791 Patch Description: General release 2.9 resolving PVC problems Creation Date: 96/06/20 Post Date: 96/06/28 Hardware Platforms - OS Releases: s700: 9.01 9.03 9.05 9.07 Products: J2159A A.09.00 Filesets: X25-COM,A.09.00 X25-IP,A.09.00 X25-PA,A.09.00 Automatic Reboot?: Yes Status: General Release Critical: No Path Name: /hp-ux_patches/s700/9.X/PHNE_7791 Symptoms: PHNE_7791: - SR 4701327387 X25_SETUP_PVC returns immediately with an error PROBLEM TEXT: ioctl(X25_SETUP_PVC) If the ioctl blocks due to no response to the RESET REQUEST, the SIGALRM signal handler is executed. On return to the main process, the ioctl call completes and returns errno=EINTR. Actually the close(socket_num) does NOT clear the LCI port and in the next try of ioctl(X25_SETUP_PVC) no RESET REQUEST is being sent! You must use x25stop and x25init to clean the situation. PHNE_4276: Superseeded patch fixing problems from 2.3 to 2.7 Defect Description: PHNE_7791: - SR 4701327387 ioctl(X25_SETUP_PVC) returns immediatly with an error (errno=EINTR). PHNE_4276: Superseeded patch fixing problems from 2.3 to 2.7 SR: 4701327387 Patch Files: /etc/conf/h/x25_diag.h /etc/conf/libx25.a /etc/conf/libx25ip.a /etc/conf/libx25pa.a /etc/conf/sio/pdn1.h /etc/conf/sio/pdn1_bp.h /etc/conf/sio/pdn1_efcp.h /etc/conf/sio/pdn1_spc.h /etc/conf/x25/x25.h /etc/conf/x25/x25addrstr.h /etc/conf/x25/x25config.h /etc/conf/x25/x25gen.h /etc/conf/x25/x25psidef.h /etc/conf/x25/x25stat.h /etc/conf/x25/x25str.h /etc/conf/x25/x25structs.h /etc/conf/x25/facilities.h /etc/conf/x25/alcpfac.h /etc/x25/x25_networks /etc/x25/x25eb.download /etc/x25/x25init_def /etc/x25/x25init_smpl /etc/x25check /etc/x25init /etc/x25server /etc/x25stop /etc/x25upload /usr/bin/x25stat /usr/include/x25/ccittproto.h /usr/include/x25/x25.h /usr/include/x25/x25addrstr.h /usr/include/x25/x25codes.h /usr/include/x25/x25ioctls.h /usr/include/x25/x25str.h /usr/lib/help/initwan /usr/lib/help/statwan /usr/lib/nls/C/x25check.cat /usr/lib/nls/C/x25init.cat /usr/lib/nls/C/x25stat.cat /usr/netdemo/x25/Makefile /usr/netdemo/x25/client.c /usr/netdemo/x25/client2.c /usr/netdemo/x25/client2pvc.c /usr/netdemo/x25/clientpvc.c /usr/netdemo/x25/server.c /usr/netdemo/x25/server2.c /usr/netdemo/x25/server2pvc.c /usr/netdemo/x25/serverpvc.c what(1) Output: /etc/conf/h/x25_diag.h: $Revision: 1.114.1.1 $ $Date: 93/03/29 16:40:59 $ /etc/conf/libx25.a: X.25: Version: 9.X $Revision: 2.9 $ (21 Jun 96 12:09 ) /etc/conf/libx25ip.a: X.25: Version: 9.X $Revision: 2.9 $ (21 Jun 96 12:09 ) /etc/conf/libx25pa.a: X.25: Version: 9.X $Revision: 2.9 $ (21 Jun 96 12:09 ) /etc/conf/sio/pdn1.h: None /etc/conf/sio/pdn1_bp.h: None /etc/conf/sio/pdn1_efcp.h: None /etc/conf/sio/pdn1_spc.h: $Revision: 2.2 $ $Date: 94/02/01 12:43:36 $ /etc/conf/x25/x25.h: $Revision: 1.30.1.1 $ $Date: 92/10/07 17:45:00 $ /etc/conf/x25/x25addrstr.h: $Revision: 1.7.1.1 $ $Date: 92/10/07 17:59:43 $ /etc/conf/x25/x25config.h: $Revision: 1.20.1.1 $ $Date: 92/10/08 10:56:53 $ /etc/conf/x25/x25gen.h: $Revision: 1.17.1.1 $ $Date: 92/10/08 10:57:41 $ /etc/conf/x25/x25psidef.h: $Revision: 2.2 $ $Date: 94/05/17 12:38:55 $ /etc/conf/x25/x25stat.h: $Revision: 1.17.1.1 $ $Date: 92/10/08 11:05:08 $ /etc/conf/x25/x25str.h: $Revision: 2.1 $ $Date: 94/05/17 12:30:05 $ /etc/conf/x25/x25structs.h: $Revision: 2.1 $ $Date: 93/05/24 13:12:23 $ /etc/conf/x25/facilities.h: None /etc/conf/x25/alcpfac.h: None /etc/x25/x25_networks: None /etc/x25/x25eb.download: $Revision: 8.33 $ (Fri Apr 21 10:09:56 METDST 1995) /etc/x25/x25init_def: None /etc/x25/x25init_smpl: None /etc/x25check: X.25: Version: 9.X $Revision: 2.9 $ (21 Jun 96 12:09 ) /etc/x25init: X.25: Version: 9.X $Revision: 2.9 $ (21 Jun 96 12:09 ) /etc/x25server: X.25: Version: 9.X $Revision: 2.9 $ (21 Jun 96 12:09 ) /etc/x25stop: X.25: Version: 9.X $Revision: 2.9 $ (21 Jun 96 12:09 ) /etc/x25upload: X.25: Version: 9.X $Revision: 2.9 $ (21 Jun 96 12:09 ) /usr/bin/x25stat: X.25: Version: 9.X $Revision: 2.9 $ (21 Jun 96 12:09 ) /usr/include/x25/ccittproto.h: $Revision: 1.7.1.1 $ $Date: 92/10/07 17:34:10 $ /usr/include/x25/x25.h: $Revision: 1.30.1.1 $ $Date: 92/10/07 17:45:00 $ /usr/include/x25/x25addrstr.h: $Revision: 1.7.1.1 $ $Date: 92/10/07 17:59:43 $ /usr/include/x25/x25codes.h: $Revision: 2.2 $ $Date: 94/05/17 12:27:50 $ /usr/include/x25/x25ioctls.h: $Revision: 1.19.1.2 $ $Date: 92/12/08 14:39:50 $ /usr/include/x25/x25str.h: $Revision: 2.1 $ $Date: 94/05/17 12:30:05 $ /usr/lib/help/initwan: None /usr/lib/help/statwan: None /usr/lib/nls/C/x25check.cat: None /usr/lib/nls/C/x25init.cat: None /usr/lib/nls/C/x25stat.cat: None /usr/netdemo/x25/Makefile: None /usr/netdemo/x25/client.c: None /usr/netdemo/x25/client2.c: None /usr/netdemo/x25/client2pvc.c: None /usr/netdemo/x25/clientpvc.c: None /usr/netdemo/x25/server.c: None /usr/netdemo/x25/server2.c: None /usr/netdemo/x25/server2pvc.c: None /usr/netdemo/x25/serverpvc.c: None sum(1) Output: 46913 83 /etc/conf/h/x25_diag.h 20290 339 /etc/conf/libx25.a 18250 57 /etc/conf/libx25ip.a 17307 118 /etc/conf/libx25pa.a 8039 17 /etc/conf/sio/pdn1.h 36382 25 /etc/conf/sio/pdn1_bp.h 37578 10 /etc/conf/sio/pdn1_efcp.h 60700 58 /etc/conf/sio/pdn1_spc.h 4691 8 /etc/conf/x25/x25.h 12135 3 /etc/conf/x25/x25addrstr.h 18460 12 /etc/conf/x25/x25config.h 25494 3 /etc/conf/x25/x25gen.h 65322 7 /etc/conf/x25/x25psidef.h 57226 24 /etc/conf/x25/x25stat.h 7006 9 /etc/conf/x25/x25str.h 12446 19 /etc/conf/x25/x25structs.h 38599 23 /etc/conf/x25/facilities.h 3470 8 /etc/conf/x25/alcpfac.h 35663 2 /etc/x25/x25_networks 7553 451 /etc/x25/x25eb.download 13768 7 /etc/x25/x25init_def 59545 5 /etc/x25/x25init_smpl 26695 400 /etc/x25check 17 512 /etc/x25init 31091 328 /etc/x25server 17 512 /etc/x25stop 3142 272 /etc/x25upload 4976 328 /usr/bin/x25stat 44920 2 /usr/include/x25/ccittproto.h 4691 8 /usr/include/x25/x25.h 12135 3 /usr/include/x25/x25addrstr.h 58711 16 /usr/include/x25/x25codes.h 47817 4 /usr/include/x25/x25ioctls.h 7006 9 /usr/include/x25/x25str.h 44044 8 /usr/lib/help/initwan 44477 6 /usr/lib/help/statwan 21054 18 /usr/lib/nls/C/x25check.cat 54454 46 /usr/lib/nls/C/x25init.cat 27758 32 /usr/lib/nls/C/x25stat.cat 56740 2 /usr/netdemo/x25/Makefile 3728 7 /usr/netdemo/x25/client.c 6698 26 /usr/netdemo/x25/client2.c 15016 29 /usr/netdemo/x25/client2pvc.c 1051 25 /usr/netdemo/x25/clientpvc.c 9486 9 /usr/netdemo/x25/server.c 24874 18 /usr/netdemo/x25/server2.c 38534 21 /usr/netdemo/x25/server2pvc.c 50396 18 /usr/netdemo/x25/serverpvc.c Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_4276 Equivalent Patches: None Patch Package Size: 2040 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. Copy the patch to your /tmp directory and unshar it: cd /tmp cp patch_source/PHNE_7791 . sh PHNE_7791 3. Become root and run update: /etc/update [-r [kernel_gen_file]] -s \ /tmp/PHNE_7791.updt PHNE_7791 Update moves the original software to /system/PHNE_7791/orig. Keep this file to recover from any potential problems. You should move the .text file to /system/PHNE_7791 for future reference. To put this patch on a magnetic tape and update from the tape drive, use dd: dd if=PHNE_7791.updt of=/dev/rmt/0m bs=2048 Special Installation Instructions: None