dl_srn_src 结构

dl_srn_src 结构包含在 query_output 结构中。 dl_srn_src 结构在 diag_log.h 头文件中定义。

dl_srn_src 结构定义为:

typedef struct _log_srn_src {
    char name[NAME_SIZE];
    char src[MAX_SRC_SIZE];
    char *errorText;
    dl_descText frubDesc;
    dl_fru_src *frus;
    char crid[2];
    unsigned int plid;
    unsigned int action_flags;
    unsigned int subsysid;
    unsigned int event_sev;
    unsigned int refc2;
    unsigned int refc3;
    unsigned int refc4;
    unsigned int refc5;
    unsigned int refc6;
    unsigned int refc7;
    unsigned int refc8;
    unsigned int refc9;
} dl_srn_src;
描述
NAME 检测到错误的设备名。
errorText 故障的已翻译描述。
frubDesc 包含 errorText所指向消息的源数据的结构。

typedef struct _log_descText {
   char    catName[NAME_SIZE];
   short   set;
   short   msg;
} dl_descText;
catName
消息目录文件名。
set
消息的集合标识。
消息
消息的消息标识。
frus 指向 SRC 的 FRU 列表的指针。 请参阅 dl_fru_src的描述。
蟋蟀 平台错误日志创建者标识。
使 平台日志标识。
action_flags 正在报告此故障的操作。 此值存储为十六进制值。 diag_log.h 中定义了以下宏以解码 action_flags:

      IS_REPORT_EXTERNALLY(action_flags)
         Returns 1 if the failure should be reported to to external
         programs, like the Service Focal Point.
      IS_CALL_HOME_REQD(action_flags)
         Returns 1 if the failure should be reported automatically
         to IBM Service.
潜水 平台子系统标识值。 值有:

          0x10-0x1F Processor subsystem
          0x20-0x2F Memory subsystem
          0x30-0x3F I/O subsystem
          0x40-0x4F I/O adapter, device and peripheral
          0x50-0x5F CEC Hardware
          0x60-0x6F Power/Cooling subsystem
          0x70-0x79 Other subsystem
          0x7A-0x7F Surveillance Error
          0x80-0x8F Platform Error
          0x90-0x9F Software
          0xA0-0xAF External environment
          0xB0-0xFF Reserved
event_sev 平台事件严重性值。

          0x10 Recovered error
          0x20 Predictive error, general
          0x21 Predictive error, degraded performance
          0x22 Predictive error, fault may be corrected after
            platform re-IPL
          0x23 Predictive error, fault may be corrected after
            IPL, degraded performance
          0x24 Predictive error, loss of redundancy
          0x40 Unrecovered error, general
          0x41 Unrecovered error, bypassed with degraded performance
          0x44 Unrecovered error, bypassed with loss of redundancy
          0x45 Unrecovered error, bypassed with loss of redundancy
            and performance
          0x48 Unrecovered error, bypassed with loss of function
          0x60 Error on diagnostic test, general
          0x61 Error on diagnostic test, resource may produce
            incorrect results
refc2 - refc9 扩展参考码值。