Patch Name: PHSS_23656 Patch Description: s700 10.20 OnlineDiag/Support Tool Manager Patch A.25.00 Creation Date: 01/04/03 Post Date: 01/04/24 Hardware Platforms - OS Releases: s700: 10.20 Products: Support Tools Manager A.25.00 Filesets: Sup-Tool-Mgr-700.STM-UUT-700-RUN,B.10.20.21.08 Sup-Tool-Mgr-700.STM-SHLIBS,B.10.20.21.08 Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700/10.X/PHSS_23656 Symptoms: PHSS_23656: SR 8606180268 / DTS JAGad49489: 1.Requests for the Peripheral Status Monitor (PSM) on many systems will disappear when the system is rebooted. SR 8606183831 / DTS JAGad53042: 2. The Logtool Utility does not display full entry details when viewing a formatted raw log. The "description of error" and "probable cause/recommended action" fields are NOT being displayed in the log output. Additionally, the "details" function key (mstm,xstm) does not appear either. Defect Description: PHSS_23656: SR: 8606180268 CR: JAGad49489 1. The root problem was a combination of a timing problem between the Peripheral Status Monitor client/target(psmctd) and EMS and the signal handling performed by EMS and psmctd. NOTE: psmctd is the process that discovers the EMS HW Monitoring resources which are visiable to the EMS GUI When psmctd attempts to communicate with the monitors early in the boot process, they respond with an error which causes psmctd to assume there are no resources which causes p-client to remove the monitoring requests. EMS doesn't restart system calls if they are interrupted with a signal, instead in returns an error to the caller. During boot, psmctd receives signals and therefore gets errors on its EMS calls, which causes psmctd to assume there are no resources, etc. SR: 8606183831 CR: JAGad53042 2.The do_format_raw.c s routine makes calls to st_get_fmt_log_data, which was changed for patch PHSS_23064-PHSS_23067. The change to st_get_fmt_log_data requires that the log file NOT be open. do_format_raw.c was changed to have a wrapper around st_get_fmt_log_data. the wrapper closes the file handle to the log file, calls st_get_fmt_log_data, and re-opens the file handle. there are no other changes in the code. there are no changes in the operation of the code other than to work as prior to the above patch(es). SR: 8606180268 8606183831 Patch Files: /var/stm/config/sys/psmctd.cfg /usr/sbin/stm/uut/bin/sys/psmctd /usr/sbin/stm/uut/bin/tools/utility/logtool /usr/sbin/stm/lib/libdiagfx.sl what(1) Output: /var/stm/config/sys/psmctd.cfg: None /usr/sbin/stm/uut/bin/sys/psmctd: psmctd_main.c, $Revision: 1.38 $ daemon_control_handling.c, $Revision: 1.7 $ input_data.c, $Revision: 1.6 $ mon_data_list.c, $Revision: 1.18 $ monitor_request.c, $Revision: 1.16 $ read_psm_config.c, $Revision: 1.12 $ config_mon_list.c, $Revision: 1.6 $ linked_list_routines.c, $Revision: 1.9 $ /usr/sbin/stm/uut/bin/tools/utility/logtool: formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ formatted_log.h, $Revision: 1.7 $ decode_mod_info.h, $Revision: 1.5 $ logtool.h, $Revision: 1.46 $ utility_mod.c, $Revision: 1.18 $ allocate_fmt_boolean_arrays.c, $Revision: 1.2 $ build_malloc_err.c, $Revision: 1.1 $ build_fmt_data_error_dialog.c $Revision: 1.3 $ build_fmt_file_error_dialog.c $Revision: 1.2 $ build_fmt_head_error_dialog.c $Revision: 1.3 $ build_fmtd_hdr_error_dialog.c $Revision: 1.2 $ build_raw_data_error_dialog.c $Revision: 1.4 $ build_raw_file_error_dialog.c $Revision: 1.3 $ build_raw_head_error_dialog.c $Revision: 1.4 $ build_st_log_msg_err.c, $Revision: 1.1 $ chassis_log.c, $Revision: 1.1 $ select_chas_log.c, $Revision: 1.1 $ check_filter_ranges.c, $Revision: 1.1 $ check_chas_log.c, $Revision: 1.2 $ check_raw_cur.c, $Revision: 1.3 $ check_raw_entries_read.c, $Revision: 1.2 $ cleanup_and_exit.c, $Revision: 1.2 $ decode_readdir_errno.c, $Revision: 1.1 $ decode_opendir_errno.c, $Revision: 1.3 $ display_caution.c, $Revision: 1.2 $ display_continue.c, $Revision: 1.2 $ display_help_loc_id.c, $Revision: 1.1 $ display_help_msg.c, $Revision: 1.1 $ display_info.c, $Revision: 1.1 $ display_main.c, $Revision: 1.1 $ do_exit.c, $Revision: 1.2 $ do_filters_format.c, $Revision: 1.13 $ do_filters_display_fmt.c, $Revision: 1.11 $ do_filters_display_raw.c, $Revision: 1.11 $ do_format_raw.c, $Revision: 1.46 $ do_general_help.c, $Revision: 1.1 $ do_memory_clear_log.c $Revision: 1.6 $ do_memory_set_timer.c $Revision: 1.11 $ do_memory_report_dealloc.c $Revision: 1.7 $ do_memory_report_detail.c $Revision: 1.7 $ do_print_window.c, $Revision: 1.2 $ do_save_window.c, $Revision: 1.2 $ do_select_raw.c, $Revision: 1.16 $ do_select_raw_work.c, $Revision: 1.14 $ do_select_formatted.c, $Revision: 1.23 $ do_switchlog.c, $Revision: 1.7 $ do_version_help.c, $Revision: 1.1 $ do_view_chas_bootlog.c, $Revision: 1.1 $ do_view_chas_errlog.c, $Revision: 1.1 $ do_view_fmt_summary.c, $Revision: 1.11 $ do_view_fmt_log.c, $Revision: 1.30 $ do_view_raw_summary.c, $Revision: 1.14 $ do_view_raw_log.c, $Revision: 1.32 $ get_cur_filename.c, $Revision: 1.2 $ get_memory_log_header.c $Revision: 1.3 $ get_raw_files_for_display.c, $Revision: 1.8 $ handle_interrupt.c, $Revision: 1.1 $ initialize_fmt_info.c, $Revision: 1.7 $ memory_report.c, $Revision: 1.14 $ output_raw_data.c, $Revision: 1.4 $ release_fmt_space.c, $Revision: 1.1 $ remove_file.c, $Revision: 1.3 $ view_error.c $Revision: 1.2 $ view_partial.c $Revision: 1.1 $ utility_main.c, $Revision: 1.4 $ utility_setup.c, $Revision: 1.2 $ /usr/sbin/stm/lib/libdiagfx.sl: None cksum(1) Output: 1719976599 1695 /var/stm/config/sys/psmctd.cfg 2601101101 118784 /usr/sbin/stm/uut/bin/sys/psmctd 2435428021 176128 /usr/sbin/stm/uut/bin/tools/utility/ logtool 1016082445 12288 /usr/sbin/stm/lib/libdiagfx.sl Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHSS_23657: s800: 10.20 PHSS_23658: s700: 11.00 s800: 11.00 PHSS_23659: s700: 11.11 s800: 11.11 Patch Package Size: 370 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 PHSS_23656 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_23656.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHSS_23656. 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 PHSS_23656.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/PHSS_23656.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None