Patch-ID# 104102-02 Keywords: hostview libdr libsuperd core dump bringup -v DR Detach reconfig Synopsis: SSP 2.1 CS6400: hostview, libdr and libsuperd fixes Date: Oct/29/98 Solaris Release: 2.4, 2.5 SunOS release: 5.4, 5.5 Unbundled Product: System Service Processor (SSP) Unbundled Release: 2.1 Topic: SSP 2.1 CS6400: hostview, libdr and libsuperd fixes NOTE 1: This patch supersedes the Cray patch C641029-03. Cray SPR's fixed with this patch: 87364 89852 90618 87346 90616 91650 87583 87575 89852 92408 Cray SPR changes incorporated in this version: BugId's fixed with this patch: 4176213 Changes incorporated in this version: 4176213 Relevant Architectures: sparc Patches accumulated and obsoleted by this patch: 641029-03 641031-02 Patches which conflict with this patch: Patches required with this patch: Obsoleted by: Files included with this patch: /opt/CYRSssp/bin/hostview /opt/CYRSssp/lib/libdr.so /opt/CYRSssp/lib/libsuperd.so Problem Description: 4176213 hostview core dumps when executed (from 104102-01) No new bugs fixes. This is just a change over to Sun patch ID's. (from C641029-03) 92408 2.4 PATCH FOR SPR 92049: "FORCE RETRY" BUTTON NOT ENABLED DURING A DETACH When a DR detach operation fails, using either hostview or dr(1m), due to a forcible condition the user may select the "Force Retry" option; but in the case of hostview, it does not enable the "Force Retry" button. Also, the DR library does not reset a board properly by executing sd_post with the -f argument as required in forcible conditions. (from C641029-02) 91650 DISMISS OF HOSTVIEW DR WINDOWS SHOULD REQUIRE CONFIRMATION While a Dynamic Reconfiguration Operation may be in progress (Reset, Diagnose, Attach or Detach a system board), the user can select the 'Dismiss' button from the DR window in which case hostview will dismiss this window stopping the process that was executing such operation. By stopping this operation, the host may be left in an unknown state, and the System Administrator may not be aware of this. Therefore, a pop-up warning window indicating that a DR operation is in progress is recommended, so that the user can decide to cancel or continue the dismissal of this window after choosing Dismiss. 90616 COMPLETE BUTTON ACTIVATES TOO SOON When doing DR detach of a board, the Complete button will activate before the drain opration is finished. If the user clicks on this Complete button, and the drain operation is still in progress, the user will get error messages indicating that he can't Complete the detach until memory Drain is finished. 87346 HOSTVIEW CITES ERRORS WHEN CONTINUING AN ATTACH/DETACH OPERATIONS When a person either attaches or detaches a system board and leaves the board in a DR intermediate state (Init Attach, Drain) by Dismissing the DR dialog window, and decides later on to complete the DR operation, hostview will set the Push down buttons in an incorrect state, which may be confusing to the user and may cause error messages been displayed in the DR text widget. In this case, the user will have to retry the same DR operation (Init Attach or Drain), having libdr.so complain for not having the board in the correct DR state. After that, hostview sets the correct push-down buttons for the user to complete or abort the operation. 90618 RECONFIG BUTTON IS ALWAYS ACTIVATED ON HOSTVIEW GUI The Reconfig button on the Dynamic Reconfiguration dialog box is always activated, therefore enabling the user to select this button when they are not allow to. This button only needs to be activated after a successful attach/detach operation. 89852 DR APPLICATIONS/LIBRARIES & DR_DAEMON SHOULD SHARE SYMBOLIC CONSTANTS The hostview applications default file (/usr/openwin/lib/app-defaults/Hostview) needs to be updated to enable DR detach. The hostview program now uses symbolic defines to interpret shared structures. (from C641029-01) 87364 HOSTVIEW CORE DUMPS DOING BRINGUP -V Hostview will core dump when running bringup -v from hostview's bringup dialog box. The problem lies in a buffer whose size was not big enough to hold all output coming out from bringup -v, which caused a bus error. (from C641031-02) 87575 LIBDR SHOULD AUTOMATICALLY EDIT BLACKLIST FILE 89852 DR APPLICATIONS/LIBRARIES & DR_DAEMON SHOULD SHARE SYMBOLIC CONSTANTS This patch contains support for the Dynamic Reconfiguration detach feature. A few minor problems have been corrected and code cleanup done during DR detach development. libdr.so, which is used by dr(1m) and Hostview for DR operations, has been changed to automatically edit the blacklist file when boards are attached and detached. When a detach operation is started on a system board, the board is blacklisted. When an attach operation is started on a system board, the board in unblacklisted. Manual editing of this file is no longer needed when doing DR operations. (from C641031-01) 87583 ROUTINE SPD_UPDATE_LPBCK_CONF_FILE() DOES NOT UPDATE SYSBD 0 If the user does a DR DETACH/ATTACH board operation, the machine_config file will be updated automatically. But if the board number happens to be zero, then this file won't be updated. The workaround is to have the user manually edit the file. But this procedure is wrong since the machine_config file is CRAY-usage only and customers shouldn't be changing it. Patch Installation Instructions: -------------------------------- Refer to the Install.info file within the patch for instructions on using the generic 'installpatch' and 'backoutpatch' scripts provided with each patch. Any other special or non-generic installation instructions should be described below. Special Install Instructions: ----------------------------- none