Patch Name: PHNE_28002 Patch Description: s700_800 10.24 (VVOS) NTP timeservices upgrade plus utils Creation Date: 02/10/04 Post Date: 02/11/19 Hardware Platforms - OS Releases: s700: 10.24 s800: 10.24 Products: N/A Filesets: InternetSrvcs.INETSVCS-BOOT InternetSrvcs.INET-ENG-A-MAN Automatic Reboot?: No Status: General Release Critical: Yes PHNE_28002: HANG PHNE_24076: ABORT Path Name: /hp-ux_patches/s700_800/10.X/PHNE_28002 Symptoms: PHNE_28002: Ported HP-UX patch PHNE_24510 to VVOS. Based on HP-UX patch PHNE_24510: JAGae26628 / SR 8606262293: xntpd can cause performance problem. PHNE_24076: Ported HP-UX patch PHNE_23717 to VVOS. Based on HP-UX patch PHNE_23717: JAGad58537 / SR 8606189322: Description: xntpd core dumps. JAGad14276 / SR 8606144936: Description: xntpd -x does step instead of slew. Based on HP-UX patch PHNE_19710: 1.The NTP clock driver for the HP58503 GPS receiver does not recognize the leap day in the years: 2000, 2400, 2800, etc. As a result, if the HP58503 GPS receiver is the *ONLY* source for NTP time synchronization on the leap day in the years 2000, 2400, 2800, etc, the system will revert to only using the system internal clock as its source of time. If other time sources are available they will continue to be used for synchronization. 2.When filegen is configured to use the day or month, the NTP filegen option does not correctly generate the proper name for the optional statistics file on the leap day of any leap year. 3.xntpd creates /var/adm/wtmp if it does not exist. 4.xntpd daemon does not accept the -l command line option. 5.ntpdate requires an undocumented additional parameter for option -o. 6.The clock driver for Trimble Palisade GPS is not supported. PHNE_16513: Ported portions of HP-UX patch PHNE_12689 to VVOS. Based on PHNE_12689: When xntpd is started in /sbin/init.d/xntpd using a method which removes sysops from its base privileges (using epa) the syslog shows messages: "Can't do time adjustment: Not owner" Based on HP-UX patch PHNE_12689: -/usr/sbin/xntpd does not slew the time when the adjustment is greater than 128 milliseconds Based on HP-UX patch PHNE_11019: -ntpdate slews the time instead of stepping -not all clocks work properly -client/test programs missing: --xntpdc --ntptrace --authspeed --authcert Based on HP-UX patch PHNE_9056: -time is unstable for hours or days after startup when no radio clock is present -does not support HP GPS clock -xntpd daemon does not accept the option "-l" -ntpdate usage statement has a typo in it -kill script fails to exit cleanly when daemon not running Defect Description: PHNE_28002: Ported HP-UX patch PHNE_24510 to VVOS. Based on HP-UX patch PHNE_24510: JAGae26628 / SR 8606262293: xntpd can cause performance degradation under certain circumstances. Resolution : The performance problem is now fixed. PHNE_24076: Ported HP-UX patch PHNE_23717 to VVOS. Based on HP-UX patch PHNE_2373: JAGad58537 / SR 8606189322: Description: xntpd core dumps with SIGSEGV. Resolution: Now xntpd does not core dump. JAGad14276 / SR 8606144936: Description: xntpd -x was slewing in one direction only. In the other direction it was stepping instead of slewing. Resolution: Now xntpd -x slews for backward as well as for forward clock adjustment. Based on HP-UX patch PHNE_19710: 1.The NTP clock driver for the HP58503 GPS receiver does not recognize the leap day in the years: 2000, 2400, 2800, etc. As a result, if the HP58503 GPS receiver is the *ONLY* source for NTP time synchronization on the leap day in the years 2000, 2400, 2800, etc, the system will revert to only using the system internal clock as its source of time. If other time sources are available they will continue to be used for synchronization. 2.When filegen is configured to use the day or month, the NTP filegen option does not correctly generate the proper name for the optional statistics file on the leap day of any leap year. 3.xntpd was creating /var/adm/wtmp file if it did not exist. As per the wtmp manpage, no application should create /var/adm/wtmp file if it does not exist. 4.Though the xntpd manpage says -l option is supported, xntpd does not start if -l command line option is used. 5.The manpage for ntpdate incorrectly showed -o option did not require a parameter while it needs a parameter. 6.The clock driver for Trimble Palisade GPS is not supported. Resolution: 1.All the clock drivers that HP-UX NTP supports now correctly check the year to be leap. 2.NTP now creates file on 29-Feb with correct file name when filegen option is used with type day or month. 3.xntpd checks for the /var/adm/wtmp file to exist. If it exists it opens it but if it does not exist it does not create it. 4.xntpd now recognizes the -l option. 5.The manpage is modified to reflect the mandatory parameter that is to be given if -o option is used. 6.The clock driver for Trimble Palisade GPS is now included. The HP Supported clocks are now: Undisciplined Local Clock (driver#1) (last resort) Spectracom Netclock/2 WWVB (driver#4) HP58503 GPS (driver#26) Trimble Palisade GPS (driver#29) PHNE_16513: Ported portions of PHNE_12689 to VVOS. xntpd fails to raise the sysops privilege before attempting an adjtime() call. Based on HP-UX patch PHNE_12689: Some customers have requested this special behavior where the time daemon never makes a step adjustment. Based on HP-UX patch PHNE_11019: Latest patch adds optional features and concrete examples Based on HP-UX patch PHNE_9056: The version of NTP that is shipped with all HP-UX 10.x releases is based on v3.1. The latest v3.5 included in this patch has many improvements in accuracy, precision, and functionality. SR: 4701401737 8606189322 8606144936 1653307074 5003448407 8606103143 1653156927 1653140186 8606106338 1653181347 1653165449 1653148379 1653165431 5003339291 8606262293 8606262336 Patch Files: /usr/sbin/xntpd /usr/sbin/ntpdate /usr/sbin/ntpq /usr/sbin/xntpdc /usr/sbin/ntptrace /usr/sbin/authcert /usr/sbin/authspeed /sbin/init.d/xntpd /etc/ntp.conf.example /usr/share/man/man1m.Z/xntpd.1m /usr/share/man/man1m.Z/ntpdate.1m /usr/share/man/man1m.Z/ntpq.1m /usr/share/man/man1m.Z/xntpdc.1m /usr/share/doc/NTP_Primer.txt what(1) Output: /usr/sbin/xntpd: $Revision: Hewlett-Packard ISSL Level vvos_davis40 $ $Header: Hewlett-Packard ISSL Release vvos_ davis $ $Date: Tue Nov 12 07:00:04 EST 2002 $ $Source: services/INETSVCS/xntp/xntpd/version.c, hpu xcmdnet, vvos_davis, davis194 $ $Date: 02/11 /12 00:46:09 $ $Revision: 1.2 PATCH_10.24 (P HNE_28002) $ /usr/sbin/ntpdate: $Revision: Hewlett-Packard ISSL Level vvos_davis40 $ $Header: Hewlett-Packard ISSL Release vvos_ davis $ $Date: Tue Nov 12 07:00:04 EST 2002 $ $Source: services/INETSVCS/xntp/ntpdate/ntpdate.c, h puxcmdnet, vvos_davis, davis193 $ $Date: 01/ 06/06 11:28:45 $ $Revision: 1.3.1.3 PATCH_10 .24 (PHNE_24076) $ /usr/sbin/ntpq: ntpq version 3.5f: Thu Oct 21 18:29:01 GMT 1999 PHNE _19710 Copyright 1992 David L. Mills /usr/sbin/xntpdc: xntpdc version 3.5f: Thu Oct 21 18:28:59 GMT 1999 PH NE_19710 Copyright 1992 David L. Mills /usr/sbin/ntptrace: ntptrace version 3.5f: Thu Oct 21 18:29:04 GMT 1999 PHNE_19710 Copyright 1992 David L. Mills /usr/sbin/authcert: None /usr/sbin/authspeed: None /sbin/init.d/xntpd: None /etc/ntp.conf.example: None /usr/share/man/man1m.Z/xntpd.1m: None /usr/share/man/man1m.Z/ntpdate.1m: None /usr/share/man/man1m.Z/ntpq.1m: None /usr/share/man/man1m.Z/xntpdc.1m: None /usr/share/doc/NTP_Primer.txt: None cksum(1) Output: 4208461669 253952 /usr/sbin/xntpd 2996535350 57344 /usr/sbin/ntpdate 3954868646 131072 /usr/sbin/ntpq 3487711424 131072 /usr/sbin/xntpdc 44408331 45056 /usr/sbin/ntptrace 2303042345 24576 /usr/sbin/authcert 186695798 61440 /usr/sbin/authspeed 2126111560 4156 /sbin/init.d/xntpd 1269062075 17179 /etc/ntp.conf.example 2742588624 11658 /usr/share/man/man1m.Z/xntpd.1m 3958158458 3544 /usr/share/man/man1m.Z/ntpdate.1m 38007199 7779 /usr/share/man/man1m.Z/ntpq.1m 3643980970 8998 /usr/share/man/man1m.Z/xntpdc.1m 3500555408 49684 /usr/share/doc/NTP_Primer.txt Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_24076 PHNE_16513 Equivalent Patches: PHNE_24512: s700: 11.11 s800: 11.11 PHNE_27223: s700: 11.00 s800: 11.00 PHNE_27442: s700: 11.04 s800: 11.04 PHNE_24510: s700: 10.20 s800: 10.20 Patch Package Size: 870 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_28002 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_28002.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHNE_28002. 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_28002.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_28002.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: PHNE_28002: # These lines could be used for a timeserver # with HP GPS clock; # Choose the correct "fudge" line for your system # #HP58503 GPS clock server 127.127.26.1 prefer minpoll 3 maxpoll 4 #9000/7xx at 9600 baud (optional) fudge 127.127.26.1 time1 -0.955 #9000/8xx at 9600 baud (optional) fudge 127.127.26.1 time1 -0.930 # # You must also create (using "mknod" or "ln -s") a device # file that corresponds to your serial port and has the # name /dev/hpgps1. # Hint: Use SAM to create /dev/hpgps1 and then rename it # or "/usr/bin/ln -s /dev/tty0p0 /dev/hpgps1. # (use correct serial port for your system) # # This line could be used for a timeserver with Trimble # Palisade GPS clock and /dev/palisade1 # server 127.127.29.1 prefer # Trimble Palisade GPS # # This line could be used for a timeserver with Spectracom # Netclock/2 WWVB receiver and /dev/wwvb1 # # Trimble Palisade GPS server 127.127.4.1 prefer minpoll 3 maxpoll 4 # # These lines could be used for Undiscplined Local Clock # A good "clock of last resort" in case all other # timesources disappear # Highly recommended for all timeservers server 127.127.1.1 # Local Clock Impersonator fudge 127.127.1.1 stratum 10 # show poor stratum PHNE_24076: Slewing feature is available in the xntpd binary itself. This feature can be enabled with xntpd -x option. Be sure to look at /etc/ntp.conf.example for suggested configurations and hints.