diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-10-09 09:19:51 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-10-09 09:19:51 +0200 |
commit | 82ac6c87ce0b0af2fb8de25d70442fec406bb742 (patch) | |
tree | 74bbca60b73160c432cd497563bf8f8de1ce80ea /include/ipmitool/ipmi_sel.h | |
parent | 342ebce798fe98ede64939a49bbc3770d8214649 (diff) |
New upstream version 1.8.18upstream/1.8.18
Diffstat (limited to 'include/ipmitool/ipmi_sel.h')
-rw-r--r-- | include/ipmitool/ipmi_sel.h | 1063 |
1 files changed, 524 insertions, 539 deletions
diff --git a/include/ipmitool/ipmi_sel.h b/include/ipmitool/ipmi_sel.h index 9778784..1c325db 100644 --- a/include/ipmitool/ipmi_sel.h +++ b/include/ipmitool/ipmi_sel.h @@ -142,551 +142,533 @@ struct ipmi_event_sensor_types { uint8_t offset; #define ALL_OFFSETS_SPECIFIED 0xff uint8_t data; - uint8_t class; - const char * type; const char * desc; }; -/* The sel module uses the "iana" number to select the appropriate array at run time - This table if for iana number 15000 ( Kontron ), you can add you own OEM sensor types - using a similar constuct, look for switch(iana) in ipmi_sel.c - */ -static struct ipmi_event_sensor_types oem_kontron_event_types[] __attribute__((unused)) = { - - /* event type details uses an oem event type */ - { 0xC0 , 0xFF , 0xff, IPMI_EVENT_CLASS_DISCRETE , "OEM Firmware Info", NULL }, - { 0xC0 , 0xFF , 0xff, IPMI_EVENT_CLASS_DISCRETE , "OEM Firmware Info", NULL }, - - { 0xC1 , 0x00 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Board Reset(cPCI)", "Push Button" }, - { 0xC1 , 0x01 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Board Reset(cPCI)", "Bridge Reset" }, - { 0xC1 , 0x02 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Board Reset(cPCI)", "Backplane" }, - { 0xC1 , 0x03 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Board Reset(cPCI)", "Hotswap Fault" }, - { 0xC1 , 0x04 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Board Reset(cPCI)", "Hotswap Healty" }, - { 0xC1 , 0x05 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Board Reset(cPCI)", "Unknown" }, - { 0xC1 , 0x06 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Board Reset(cPCI)", "ITP" }, - { 0xC1 , 0x07 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Board Reset(cPCI)", "Hardware Watchdog" }, - { 0xC1 , 0x08 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Board Reset(cPCI)", "Software Reset" }, - - /* Uses standard digital reading type */ - { 0xC2 , 0xFF , 0xff, IPMI_EVENT_CLASS_DIGITAL , "SDRR Init Agent", NULL }, - - /* based on PICMG IPMB-0 Link state sensor */ - { 0xC3 , 0x02 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "IPMB-L Link State", "IPMB L Disabled" }, - { 0xC3 , 0x03 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "IPMB-L Link State", "IPMB L Enabled" }, - - { 0xC4 , 0x00 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Board Reset", "Push Button" }, - { 0xC4 , 0x01 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Board Reset", "Hardware Power Failure" }, - { 0xC4 , 0x02 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Board Reset", "Unknown" }, - { 0xC4 , 0x03 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Board Reset", "Hardware Watchdog" }, - { 0xC4 , 0x04 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Board Reset", "Soft Reset" }, - { 0xC4 , 0x05 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Board Reset", "Warm Reset" }, - { 0xC4 , 0x06 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Board Reset", "Cold Reset" }, - { 0xC4 , 0x07 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Board Reset", "IPMI Command" }, - { 0xC4 , 0x08 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Board Reset", "Setup Reset (Save CMOS)" }, - { 0xC4 , 0x09 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Board Reset", "Power Up Reset" }, - - /* event type details uses a standard */ - { 0xC5 , 0xFF , 0xff, IPMI_EVENT_CLASS_DISCRETE , "FRU Information Agent", NULL }, - - { 0xC6 , 0x0E , 0xff, IPMI_EVENT_CLASS_DISCRETE , "POST Value", "Post Error (see data2)" }, - - { 0xC7 , 0x00 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "FWUM Status", "First Boot After Upgrade" }, - { 0xC7 , 0x01 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "FWUM Status", "First Boot After Rollback(error)" }, - { 0xC7 , 0x02 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "FWUM Status", "First Boot After Errors (watchdog)" }, - { 0xC7 , 0x03 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "FWUM Status", "First Boot After Manual Rollback" }, - { 0xC7 , 0x08 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "FWUM Status", "Firmware Watchdog Bite, reset occurred" }, - - { 0xC8 , 0x00 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Switch Mngt Software Status", "Not Loaded" }, - { 0xC8 , 0x01 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Switch Mngt Software Status", "Initializing" }, - { 0xC8 , 0x02 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Switch Mngt Software Status", "Ready" }, - { 0xC8 , 0x03 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Switch Mngt Software Status", "Failure (see data2)" }, - - { 0xC9 , 0x00 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Diagnostic Status", "Started" }, - { 0xC9 , 0x01 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Diagnostic Status", "Pass" }, - { 0xC9 , 0x02 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Diagnostic Status", "Fail" }, - - { 0xCA , 0x00 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Firmware Upgrade Status", "In progress"}, - { 0xCA , 0x01 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Firmware Upgrade Status", "Success"}, - { 0xCA , 0x02 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Firmware Upgrade Status", "Failure"}, - - { 0xCB , 0x00 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "FRU Over Current", "Asserted"}, - { 0xCB , 0x01 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "FRU Over Current", "Deasserted"}, - - { 0xCC , 0x00 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "FRU Sensor Error", "Asserted"}, - { 0xCC , 0x01 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "FRU Sensor Error", "Deasserted"}, - - { 0xCD , 0x00 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "FRU Power Denied", "Asserted"}, - { 0xCD , 0x01 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "FRU Power Denied", "Deasserted"}, - - { 0xCF , 0x00 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Reset", "Asserted"}, - { 0xCF , 0x01 , 0xff, IPMI_EVENT_CLASS_DISCRETE , "Reset", "Deasserted"}, - - /* END */ - { 0x00, 0x00, 0xff, 0x00, NULL, NULL }, +static const struct ipmi_event_sensor_types generic_event_types[] = { + /* Threshold Based States */ + { 0x01, 0x00, 0xff, "Lower Non-critical going low " }, + { 0x01, 0x01, 0xff, "Lower Non-critical going high" }, + { 0x01, 0x02, 0xff, "Lower Critical going low " }, + { 0x01, 0x03, 0xff, "Lower Critical going high" }, + { 0x01, 0x04, 0xff, "Lower Non-recoverable going low " }, + { 0x01, 0x05, 0xff, "Lower Non-recoverable going high" }, + { 0x01, 0x06, 0xff, "Upper Non-critical going low " }, + { 0x01, 0x07, 0xff, "Upper Non-critical going high" }, + { 0x01, 0x08, 0xff, "Upper Critical going low " }, + { 0x01, 0x09, 0xff, "Upper Critical going high" }, + { 0x01, 0x0a, 0xff, "Upper Non-recoverable going low " }, + { 0x01, 0x0b, 0xff, "Upper Non-recoverable going high" }, + /* DMI-based "usage state" States */ + { 0x02, 0x00, 0xff, "Transition to Idle" }, + { 0x02, 0x01, 0xff, "Transition to Active" }, + { 0x02, 0x02, 0xff, "Transition to Busy" }, + /* Digital-Discrete Event States */ + { 0x03, 0x00, 0xff, "State Deasserted" }, + { 0x03, 0x01, 0xff, "State Asserted" }, + { 0x04, 0x00, 0xff, "Predictive Failure Deasserted" }, + { 0x04, 0x01, 0xff, "Predictive Failure Asserted" }, + { 0x05, 0x00, 0xff, "Limit Not Exceeded" }, + { 0x05, 0x01, 0xff, "Limit Exceeded" }, + { 0x06, 0x00, 0xff, "Performance Met" }, + { 0x06, 0x01, 0xff, "Performance Lags" }, + /* Severity Event States */ + { 0x07, 0x00, 0xff, "Transition to OK" }, + { 0x07, 0x01, 0xff, "Transition to Non-critical from OK" }, + { 0x07, 0x02, 0xff, "Transition to Critical from less severe" }, + { 0x07, 0x03, 0xff, "Transition to Non-recoverable from less severe" }, + { 0x07, 0x04, 0xff, "Transition to Non-critical from more severe" }, + { 0x07, 0x05, 0xff, "Transition to Critical from Non-recoverable" }, + { 0x07, 0x06, 0xff, "Transition to Non-recoverable" }, + { 0x07, 0x07, 0xff, "Monitor" }, + { 0x07, 0x08, 0xff, "Informational" }, + /* Availability Status States */ + { 0x08, 0x00, 0xff, "Device Absent" }, + { 0x08, 0x01, 0xff, "Device Present" }, + { 0x09, 0x00, 0xff, "Device Disabled" }, + { 0x09, 0x01, 0xff, "Device Enabled" }, + { 0x0a, 0x00, 0xff, "Transition to Running" }, + { 0x0a, 0x01, 0xff, "Transition to In Test" }, + { 0x0a, 0x02, 0xff, "Transition to Power Off" }, + { 0x0a, 0x03, 0xff, "Transition to On Line" }, + { 0x0a, 0x04, 0xff, "Transition to Off Line" }, + { 0x0a, 0x05, 0xff, "Transition to Off Duty" }, + { 0x0a, 0x06, 0xff, "Transition to Degraded" }, + { 0x0a, 0x07, 0xff, "Transition to Power Save" }, + { 0x0a, 0x08, 0xff, "Install Error" }, + /* Redundancy States */ + { 0x0b, 0x00, 0xff, "Fully Redundant" }, + { 0x0b, 0x01, 0xff, "Redundancy Lost" }, + { 0x0b, 0x02, 0xff, "Redundancy Degraded" }, + { 0x0b, 0x03, 0xff, "Non-Redundant: Sufficient from Redundant" }, + { 0x0b, 0x04, 0xff, "Non-Redundant: Sufficient from Insufficient" }, + { 0x0b, 0x05, 0xff, "Non-Redundant: Insufficient Resources" }, + { 0x0b, 0x06, 0xff, "Redundancy Degraded from Fully Redundant" }, + { 0x0b, 0x07, 0xff, "Redundancy Degraded from Non-Redundant" }, + /* ACPI Device Power States */ + { 0x0c, 0x00, 0xff, "D0 Power State" }, + { 0x0c, 0x01, 0xff, "D1 Power State" }, + { 0x0c, 0x02, 0xff, "D2 Power State" }, + { 0x0c, 0x03, 0xff, "D3 Power State" }, + /* END */ + { 0x00, 0x00, 0xff, NULL }, }; -static struct ipmi_event_sensor_types generic_event_types[] __attribute__((unused)) = { - /* Threshold Based States */ - { 0x01, 0x00, 0xff, IPMI_EVENT_CLASS_THRESHOLD, "Threshold", "Lower Non-critical going low " }, - { 0x01, 0x01, 0xff, IPMI_EVENT_CLASS_THRESHOLD, "Threshold", "Lower Non-critical going high" }, - { 0x01, 0x02, 0xff, IPMI_EVENT_CLASS_THRESHOLD, "Threshold", "Lower Critical going low " }, - { 0x01, 0x03, 0xff, IPMI_EVENT_CLASS_THRESHOLD, "Threshold", "Lower Critical going high" }, - { 0x01, 0x04, 0xff, IPMI_EVENT_CLASS_THRESHOLD, "Threshold", "Lower Non-recoverable going low " }, - { 0x01, 0x05, 0xff, IPMI_EVENT_CLASS_THRESHOLD, "Threshold", "Lower Non-recoverable going high" }, - { 0x01, 0x06, 0xff, IPMI_EVENT_CLASS_THRESHOLD, "Threshold", "Upper Non-critical going low " }, - { 0x01, 0x07, 0xff, IPMI_EVENT_CLASS_THRESHOLD, "Threshold", "Upper Non-critical going high" }, - { 0x01, 0x08, 0xff, IPMI_EVENT_CLASS_THRESHOLD, "Threshold", "Upper Critical going low " }, - { 0x01, 0x09, 0xff, IPMI_EVENT_CLASS_THRESHOLD, "Threshold", "Upper Critical going high" }, - { 0x01, 0x0a, 0xff, IPMI_EVENT_CLASS_THRESHOLD, "Threshold", "Upper Non-recoverable going low " }, - { 0x01, 0x0b, 0xff, IPMI_EVENT_CLASS_THRESHOLD, "Threshold", "Upper Non-recoverable going high" }, - /* DMI-based "usage state" States */ - { 0x02, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Usage State", "Transition to Idle" }, - { 0x02, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Usage State", "Transition to Active" }, - { 0x02, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Usage State", "Transition to Busy" }, - /* Digital-Discrete Event States */ - { 0x03, 0x00, 0xff, IPMI_EVENT_CLASS_DIGITAL, "Digital State", "State Deasserted" }, - { 0x03, 0x01, 0xff, IPMI_EVENT_CLASS_DIGITAL, "Digital State", "State Asserted" }, - { 0x04, 0x00, 0xff, IPMI_EVENT_CLASS_DIGITAL, "Digital State", "Predictive Failure Deasserted" }, - { 0x04, 0x01, 0xff, IPMI_EVENT_CLASS_DIGITAL, "Digital State", "Predictive Failure Asserted" }, - { 0x05, 0x00, 0xff, IPMI_EVENT_CLASS_DIGITAL, "Digital State", "Limit Not Exceeded" }, - { 0x05, 0x01, 0xff, IPMI_EVENT_CLASS_DIGITAL, "Digital State", "Limit Exceeded" }, - { 0x06, 0x00, 0xff, IPMI_EVENT_CLASS_DIGITAL, "Digital State", "Performance Met" }, - { 0x06, 0x01, 0xff, IPMI_EVENT_CLASS_DIGITAL, "Digital State", "Performance Lags" }, - /* Severity Event States */ - { 0x07, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Severity State", "Transition to OK" }, - { 0x07, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Severity State", "Transition to Non-critical from OK" }, - { 0x07, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Severity State", "Transition to Critical from less severe" }, - { 0x07, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Severity State", "Transition to Non-recoverable from less severe" }, - { 0x07, 0x04, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Severity State", "Transition to Non-critical from more severe" }, - { 0x07, 0x05, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Severity State", "Transition to Critical from Non-recoverable" }, - { 0x07, 0x06, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Severity State", "Transition to Non-recoverable" }, - { 0x07, 0x07, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Severity State", "Monitor" }, - { 0x07, 0x08, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Severity State", "Informational" }, - /* Availability Status States */ - { 0x08, 0x00, 0xff, IPMI_EVENT_CLASS_DIGITAL, "Availability State", "Device Absent" }, - { 0x08, 0x01, 0xff, IPMI_EVENT_CLASS_DIGITAL, "Availability State", "Device Present" }, - { 0x09, 0x00, 0xff, IPMI_EVENT_CLASS_DIGITAL, "Availability State", "Device Disabled" }, - { 0x09, 0x01, 0xff, IPMI_EVENT_CLASS_DIGITAL, "Availability State", "Device Enabled" }, - { 0x0a, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Availability State", "Transition to Running" }, - { 0x0a, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Availability State", "Transition to In Test" }, - { 0x0a, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Availability State", "Transition to Power Off" }, - { 0x0a, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Availability State", "Transition to On Line" }, - { 0x0a, 0x04, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Availability State", "Transition to Off Line" }, - { 0x0a, 0x05, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Availability State", "Transition to Off Duty" }, - { 0x0a, 0x06, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Availability State", "Transition to Degraded" }, - { 0x0a, 0x07, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Availability State", "Transition to Power Save" }, - { 0x0a, 0x08, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Availability State", "Install Error" }, - /* Redundancy States */ - { 0x0b, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Redundancy State", "Fully Redundant" }, - { 0x0b, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Redundancy State", "Redundancy Lost" }, - { 0x0b, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Redundancy State", "Redundancy Degraded" }, - { 0x0b, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Redundancy State", "Non-Redundant: Sufficient from Redundant" }, - { 0x0b, 0x04, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Redundancy State", "Non-Redundant: Sufficient from Insufficient" }, - { 0x0b, 0x05, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Redundancy State", "Non-Redundant: Insufficient Resources" }, - { 0x0b, 0x06, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Redundancy State", "Redundancy Degraded from Fully Redundant" }, - { 0x0b, 0x07, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Redundancy State", "Redundancy Degraded from Non-Redundant" }, - /* ACPI Device Power States */ - { 0x0c, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "ACPI Device Power State", "D0 Power State" }, - { 0x0c, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "ACPI Device Power State", "D1 Power State" }, - { 0x0c, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "ACPI Device Power State", "D2 Power State" }, - { 0x0c, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "ACPI Device Power State", "D3 Power State" }, - /* END */ - { 0x00, 0x00, 0xff, 0x00, NULL, NULL }, +static const struct ipmi_event_sensor_types sensor_specific_event_types[] = { + /* Physical Security */ + { 0x05, 0x00, 0xff, "General Chassis intrusion" }, + { 0x05, 0x01, 0xff, "Drive Bay intrusion" }, + { 0x05, 0x02, 0xff, "I/O Card area intrusion" }, + { 0x05, 0x03, 0xff, "Processor area intrusion" }, + { 0x05, 0x04, 0xff, "System unplugged from LAN" }, + { 0x05, 0x05, 0xff, "Unauthorized dock" }, + { 0x05, 0x06, 0xff, "FAN area intrusion" }, + /* Platform Security */ + { 0x06, 0x00, 0xff, "Front Panel Lockout violation attempted" }, + { 0x06, 0x01, 0xff, "Pre-boot password violation - user password" }, + { 0x06, 0x02, 0xff, "Pre-boot password violation - setup password" }, + { 0x06, 0x03, 0xff, "Pre-boot password violation - network boot password" }, + { 0x06, 0x04, 0xff, "Other pre-boot password violation" }, + { 0x06, 0x05, 0xff, "Out-of-band access password violation" }, + /* Processor */ + { 0x07, 0x00, 0xff, "IERR" }, + { 0x07, 0x01, 0xff, "Thermal Trip" }, + { 0x07, 0x02, 0xff, "FRB1/BIST failure" }, + { 0x07, 0x03, 0xff, "FRB2/Hang in POST failure" }, + { 0x07, 0x04, 0xff, "FRB3/Processor startup/init failure" }, + { 0x07, 0x05, 0xff, "Configuration Error" }, + { 0x07, 0x06, 0xff, "SM BIOS Uncorrectable CPU-complex Error" }, + { 0x07, 0x07, 0xff, "Presence detected" }, + { 0x07, 0x08, 0xff, "Disabled" }, + { 0x07, 0x09, 0xff, "Terminator presence detected" }, + { 0x07, 0x0a, 0xff, "Throttled" }, + { 0x07, 0x0b, 0xff, "Uncorrectable machine check exception" }, + { 0x07, 0x0c, 0xff, "Correctable machine check error" }, + /* Power Supply */ + { 0x08, 0x00, 0xff, "Presence detected" }, + { 0x08, 0x01, 0xff, "Failure detected" }, + { 0x08, 0x02, 0xff, "Predictive failure" }, + { 0x08, 0x03, 0xff, "Power Supply AC lost" }, + { 0x08, 0x04, 0xff, "AC lost or out-of-range" }, + { 0x08, 0x05, 0xff, "AC out-of-range, but present" }, + { 0x08, 0x06, 0x00, "Config Error: Vendor Mismatch" }, + { 0x08, 0x06, 0x01, "Config Error: Revision Mismatch" }, + { 0x08, 0x06, 0x02, "Config Error: Processor Missing" }, + { 0x08, 0x06, 0x03, "Config Error: Power Supply Rating Mismatch" }, + { 0x08, 0x06, 0x04, "Config Error: Voltage Rating Mismatch" }, + { 0x08, 0x06, 0xff, "Config Error" }, + { 0x08, 0x06, 0xff, "Power Supply Inactive" }, + /* Power Unit */ + { 0x09, 0x00, 0xff, "Power off/down" }, + { 0x09, 0x01, 0xff, "Power cycle" }, + { 0x09, 0x02, 0xff, "240VA power down" }, + { 0x09, 0x03, 0xff, "Interlock power down" }, + { 0x09, 0x04, 0xff, "AC lost" }, + { 0x09, 0x05, 0xff, "Soft-power control failure" }, + { 0x09, 0x06, 0xff, "Failure detected" }, + { 0x09, 0x07, 0xff, "Predictive failure" }, + /* Memory */ + { 0x0c, 0x00, 0xff, "Correctable ECC" }, + { 0x0c, 0x01, 0xff, "Uncorrectable ECC" }, + { 0x0c, 0x02, 0xff, "Parity" }, + { 0x0c, 0x03, 0xff, "Memory Scrub Failed" }, + { 0x0c, 0x04, 0xff, "Memory Device Disabled" }, + { 0x0c, 0x05, 0xff, "Correctable ECC logging limit reached" }, + { 0x0c, 0x06, 0xff, "Presence Detected" }, + { 0x0c, 0x07, 0xff, "Configuration Error" }, + { 0x0c, 0x08, 0xff, "Spare" }, + { 0x0c, 0x09, 0xff, "Throttled" }, + { 0x0c, 0x0a, 0xff, "Critical Overtemperature" }, + /* Drive Slot */ + { 0x0d, 0x00, 0xff, "Drive Present" }, + { 0x0d, 0x01, 0xff, "Drive Fault" }, + { 0x0d, 0x02, 0xff, "Predictive Failure" }, + { 0x0d, 0x03, 0xff, "Hot Spare" }, + { 0x0d, 0x04, 0xff, "Parity Check In Progress" }, + { 0x0d, 0x05, 0xff, "In Critical Array" }, + { 0x0d, 0x06, 0xff, "In Failed Array" }, + { 0x0d, 0x07, 0xff, "Rebuild In Progress" }, + { 0x0d, 0x08, 0xff, "Rebuild Aborted" }, + /* System Firmware Error */ + { 0x0f, 0x00, 0x00, "Unspecified" }, + { 0x0f, 0x00, 0x01, "No system memory installed" }, + { 0x0f, 0x00, 0x02, "No usable system memory" }, + { 0x0f, 0x00, 0x03, "Unrecoverable IDE device failure" }, + { 0x0f, 0x00, 0x04, "Unrecoverable system-board failure" }, + { 0x0f, 0x00, 0x05, "Unrecoverable diskette failure" }, + { 0x0f, 0x00, 0x06, "Unrecoverable hard-disk controller failure" }, + { 0x0f, 0x00, 0x07, "Unrecoverable PS/2 or USB keyboard failure" }, + { 0x0f, 0x00, 0x08, "Removable boot media not found" }, + { 0x0f, 0x00, 0x09, "Unrecoverable video controller failure" }, + { 0x0f, 0x00, 0x0a, "No video device selected" }, + { 0x0f, 0x00, 0x0b, "BIOS corruption detected" }, + { 0x0f, 0x00, 0x0c, "CPU voltage mismatch" }, + { 0x0f, 0x00, 0x0d, "CPU speed mismatch failure" }, + { 0x0f, 0x00, 0xff, "Unknown Error" }, + /* System Firmware Hang */ + { 0x0f, 0x01, 0x00, "Unspecified" }, + { 0x0f, 0x01, 0x01, "Memory initialization" }, + { 0x0f, 0x01, 0x02, "Hard-disk initialization" }, + { 0x0f, 0x01, 0x03, "Secondary CPU Initialization" }, + { 0x0f, 0x01, 0x04, "User authentication" }, + { 0x0f, 0x01, 0x05, "User-initiated system setup" }, + { 0x0f, 0x01, 0x06, "USB resource configuration" }, + { 0x0f, 0x01, 0x07, "PCI resource configuration" }, + { 0x0f, 0x01, 0x08, "Option ROM initialization" }, + { 0x0f, 0x01, 0x09, "Video initialization" }, + { 0x0f, 0x01, 0x0a, "Cache initialization" }, + { 0x0f, 0x01, 0x0b, "SMBus initialization" }, + { 0x0f, 0x01, 0x0c, "Keyboard controller initialization" }, + { 0x0f, 0x01, 0x0d, "Management controller initialization" }, + { 0x0f, 0x01, 0x0e, "Docking station attachment" }, + { 0x0f, 0x01, 0x0f, "Enabling docking station" }, + { 0x0f, 0x01, 0x10, "Docking station ejection" }, + { 0x0f, 0x01, 0x11, "Disabling docking station" }, + { 0x0f, 0x01, 0x12, "Calling operating system wake-up vector" }, + { 0x0f, 0x01, 0x13, "System boot initiated" }, + { 0x0f, 0x01, 0x14, "Motherboard initialization" }, + { 0x0f, 0x01, 0x15, "reserved" }, + { 0x0f, 0x01, 0x16, "Floppy initialization" }, + { 0x0f, 0x01, 0x17, "Keyboard test" }, + { 0x0f, 0x01, 0x18, "Pointing device test" }, + { 0x0f, 0x01, 0x19, "Primary CPU initialization" }, + { 0x0f, 0x01, 0xff, "Unknown Hang" }, + /* System Firmware Progress */ + { 0x0f, 0x02, 0x00, "Unspecified" }, + { 0x0f, 0x02, 0x01, "Memory initialization" }, + { 0x0f, 0x02, 0x02, "Hard-disk initialization" }, + { 0x0f, 0x02, 0x03, "Secondary CPU Initialization" }, + { 0x0f, 0x02, 0x04, "User authentication" }, + { 0x0f, 0x02, 0x05, "User-initiated system setup" }, + { 0x0f, 0x02, 0x06, "USB resource configuration" }, + { 0x0f, 0x02, 0x07, "PCI resource configuration" }, + { 0x0f, 0x02, 0x08, "Option ROM initialization" }, + { 0x0f, 0x02, 0x09, "Video initialization" }, + { 0x0f, 0x02, 0x0a, "Cache initialization" }, + { 0x0f, 0x02, 0x0b, "SMBus initialization" }, + { 0x0f, 0x02, 0x0c, "Keyboard controller initialization" }, + { 0x0f, 0x02, 0x0d, "Management controller initialization" }, + { 0x0f, 0x02, 0x0e, "Docking station attachment" }, + { 0x0f, 0x02, 0x0f, "Enabling docking station" }, + { 0x0f, 0x02, 0x10, "Docking station ejection" }, + { 0x0f, 0x02, 0x11, "Disabling docking station" }, + { 0x0f, 0x02, 0x12, "Calling operating system wake-up vector" }, + { 0x0f, 0x02, 0x13, "System boot initiated" }, + { 0x0f, 0x02, 0x14, "Motherboard initialization" }, + { 0x0f, 0x02, 0x15, "reserved" }, + { 0x0f, 0x02, 0x16, "Floppy initialization" }, + { 0x0f, 0x02, 0x17, "Keyboard test" }, + { 0x0f, 0x02, 0x18, "Pointing device test" }, + { 0x0f, 0x02, 0x19, "Primary CPU initialization" }, + { 0x0f, 0x02, 0xff, "Unknown Progress" }, + /* Event Logging Disabled */ + { 0x10, 0x00, 0xff, "Correctable memory error logging disabled" }, + { 0x10, 0x01, 0xff, "Event logging disabled" }, + { 0x10, 0x02, 0xff, "Log area reset/cleared" }, + { 0x10, 0x03, 0xff, "All event logging disabled" }, + { 0x10, 0x04, 0xff, "Log full" }, + { 0x10, 0x05, 0xff, "Log almost full" }, + /* Watchdog 1 */ + { 0x11, 0x00, 0xff, "BIOS Reset" }, + { 0x11, 0x01, 0xff, "OS Reset" }, + { 0x11, 0x02, 0xff, "OS Shut Down" }, + { 0x11, 0x03, 0xff, "OS Power Down" }, + { 0x11, 0x04, 0xff, "OS Power Cycle" }, + { 0x11, 0x05, 0xff, "OS NMI/Diag Interrupt" }, + { 0x11, 0x06, 0xff, "OS Expired" }, + { 0x11, 0x07, 0xff, "OS pre-timeout Interrupt" }, + /* System Event */ + { 0x12, 0x00, 0xff, "System Reconfigured" }, + { 0x12, 0x01, 0xff, "OEM System boot event" }, + { 0x12, 0x02, 0xff, "Undetermined system hardware failure" }, + { 0x12, 0x03, 0xff, "Entry added to auxiliary log" }, + { 0x12, 0x04, 0xff, "PEF Action" }, + { 0x12, 0x05, 0xff, "Timestamp Clock Sync" }, + /* Critical Interrupt */ + { 0x13, 0x00, 0xff, "NMI/Diag Interrupt" }, + { 0x13, 0x01, 0xff, "Bus Timeout" }, + { 0x13, 0x02, 0xff, "I/O Channel check NMI" }, + { 0x13, 0x03, 0xff, "Software NMI" }, + { 0x13, 0x04, 0xff, "PCI PERR" }, + { 0x13, 0x05, 0xff, "PCI SERR" }, + { 0x13, 0x06, 0xff, "EISA failsafe timeout" }, + { 0x13, 0x07, 0xff, "Bus Correctable error" }, + { 0x13, 0x08, 0xff, "Bus Uncorrectable error" }, + { 0x13, 0x09, 0xff, "Fatal NMI" }, + { 0x13, 0x0a, 0xff, "Bus Fatal Error" }, + { 0x13, 0x0b, 0xff, "Bus Degraded" }, + /* Button */ + { 0x14, 0x00, 0xff, "Power Button pressed" }, + { 0x14, 0x01, 0xff, "Sleep Button pressed" }, + { 0x14, 0x02, 0xff, "Reset Button pressed" }, + { 0x14, 0x03, 0xff, "FRU Latch" }, + { 0x14, 0x04, 0xff, "FRU Service" }, + /* Chip Set */ + { 0x19, 0x00, 0xff, "Soft Power Control Failure" }, + { 0x19, 0x01, 0xff, "Thermal Trip" }, + /* Cable/Interconnect */ + { 0x1b, 0x00, 0xff, "Connected" }, + { 0x1b, 0x01, 0xff, "Config Error" }, + /* System Boot Initiated */ + { 0x1d, 0x00, 0xff, "Initiated by power up" }, + { 0x1d, 0x01, 0xff, "Initiated by hard reset" }, + { 0x1d, 0x02, 0xff, "Initiated by warm reset" }, + { 0x1d, 0x03, 0xff, "User requested PXE boot" }, + { 0x1d, 0x04, 0xff, "Automatic boot to diagnostic" }, + { 0x1d, 0x05, 0xff, "OS initiated hard reset" }, + { 0x1d, 0x06, 0xff, "OS initiated warm reset" }, + { 0x1d, 0x07, 0xff, "System Restart" }, + /* Boot Error */ + { 0x1e, 0x00, 0xff, "No bootable media" }, + { 0x1e, 0x01, 0xff, "Non-bootable disk in drive" }, + { 0x1e, 0x02, 0xff, "PXE server not found" }, + { 0x1e, 0x03, 0xff, "Invalid boot sector" }, + { 0x1e, 0x04, 0xff, "Timeout waiting for selection" }, + /* OS Boot */ + { 0x1f, 0x00, 0xff, "A: boot completed" }, + { 0x1f, 0x01, 0xff, "C: boot completed" }, + { 0x1f, 0x02, 0xff, "PXE boot completed" }, + { 0x1f, 0x03, 0xff, "Diagnostic boot completed" }, + { 0x1f, 0x04, 0xff, "CD-ROM boot completed" }, + { 0x1f, 0x05, 0xff, "ROM boot completed" }, + { 0x1f, 0x06, 0xff, "boot completed - device not specified" }, + { 0x1f, 0x07, 0xff, "Installation started" }, + { 0x1f, 0x08, 0xff, "Installation completed" }, + { 0x1f, 0x09, 0xff, "Installation aborted" }, + { 0x1f, 0x0a, 0xff, "Installation failed" }, + /* OS Stop/Shutdown */ + { 0x20, 0x00, 0xff, "Error during system startup" }, + { 0x20, 0x01, 0xff, "Run-time critical stop" }, + { 0x20, 0x02, 0xff, "OS graceful stop" }, + { 0x20, 0x03, 0xff, "OS graceful shutdown" }, + { 0x20, 0x04, 0xff, "PEF initiated soft shutdown" }, + { 0x20, 0x05, 0xff, "Agent not responding" }, + /* Slot/Connector */ + { 0x21, 0x00, 0xff, "Fault Status" }, + { 0x21, 0x01, 0xff, "Identify Status" }, + { 0x21, 0x02, 0xff, "Device Installed" }, + { 0x21, 0x03, 0xff, "Ready for Device Installation" }, + { 0x21, 0x04, 0xff, "Ready for Device Removal" }, + { 0x21, 0x05, 0xff, "Slot Power is Off" }, + { 0x21, 0x06, 0xff, "Device Removal Request" }, + { 0x21, 0x07, 0xff, "Interlock" }, + { 0x21, 0x08, 0xff, "Slot is Disabled" }, + { 0x21, 0x09, 0xff, "Spare Device" }, + /* System ACPI Power State */ + { 0x22, 0x00, 0xff, "S0/G0: working" }, + { 0x22, 0x01, 0xff, "S1: sleeping with system hw & processor context maintained" }, + { 0x22, 0x02, 0xff, "S2: sleeping, processor context lost" }, + { 0x22, 0x03, 0xff, "S3: sleeping, processor & hw context lost, memory retained" }, + { 0x22, 0x04, 0xff, "S4: non-volatile sleep/suspend-to-disk" }, + { 0x22, 0x05, 0xff, "S5/G2: soft-off" }, + { 0x22, 0x06, 0xff, "S4/S5: soft-off" }, + { 0x22, 0x07, 0xff, "G3: mechanical off" }, + { 0x22, 0x08, 0xff, "Sleeping in S1/S2/S3 state" }, + { 0x22, 0x09, 0xff, "G1: sleeping" }, + { 0x22, 0x0a, 0xff, "S5: entered by override" }, + { 0x22, 0x0b, 0xff, "Legacy ON state" }, + { 0x22, 0x0c, 0xff, "Legacy OFF state" }, + { 0x22, 0x0e, 0xff, "Unknown" }, + /* Watchdog 2 */ + { 0x23, 0x00, 0xff, "Timer expired" }, + { 0x23, 0x01, 0xff, "Hard reset" }, + { 0x23, 0x02, 0xff, "Power down" }, + { 0x23, 0x03, 0xff, "Power cycle" }, + { 0x23, 0x04, 0xff, "reserved" }, + { 0x23, 0x05, 0xff, "reserved" }, + { 0x23, 0x06, 0xff, "reserved" }, + { 0x23, 0x07, 0xff, "reserved" }, + { 0x23, 0x08, 0xff, "Timer interrupt" }, + /* Platform Alert */ + { 0x24, 0x00, 0xff, "Platform generated page" }, + { 0x24, 0x01, 0xff, "Platform generated LAN alert" }, + { 0x24, 0x02, 0xff, "Platform Event Trap generated" }, + { 0x24, 0x03, 0xff, "Platform generated SNMP trap, OEM format" }, + /* Entity Presence */ + { 0x25, 0x00, 0xff, "Present" }, + { 0x25, 0x01, 0xff, "Absent" }, + { 0x25, 0x02, 0xff, "Disabled" }, + /* LAN */ + { 0x27, 0x00, 0xff, "Heartbeat Lost" }, + { 0x27, 0x01, 0xff, "Heartbeat" }, + /* Management Subsystem Health */ + { 0x28, 0x00, 0xff, "Sensor access degraded or unavailable" }, + { 0x28, 0x01, 0xff, "Controller access degraded or unavailable" }, + { 0x28, 0x02, 0xff, "Management controller off-line" }, + { 0x28, 0x03, 0xff, "Management controller unavailable" }, + { 0x28, 0x04, 0xff, "Sensor failure" }, + { 0x28, 0x05, 0xff, "FRU failure" }, + /* Battery */ + { 0x29, 0x00, 0xff, "Low" }, + { 0x29, 0x01, 0xff, "Failed" }, + { 0x29, 0x02, 0xff, "Presence Detected" }, + /* Version Change */ + { 0x2b, 0x00, 0xff, "Hardware change detected" }, + { 0x2b, 0x01, 0x00, "Firmware or software change detected" }, + { 0x2b, 0x01, 0x01, "Firmware or software change detected, Mngmt Ctrl Dev Id" }, + { 0x2b, 0x01, 0x02, "Firmware or software change detected, Mngmt Ctrl Firm Rev" }, + { 0x2b, 0x01, 0x03, "Firmware or software change detected, Mngmt Ctrl Dev Rev" }, + { 0x2b, 0x01, 0x04, "Firmware or software change detected, Mngmt Ctrl Manuf Id" }, + { 0x2b, 0x01, 0x05, "Firmware or software change detected, Mngmt Ctrl IPMI Vers" }, + { 0x2b, 0x01, 0x06, "Firmware or software change detected, Mngmt Ctrl Aux Firm Id" }, + { 0x2b, 0x01, 0x07, "Firmware or software change detected, Mngmt Ctrl Firm Boot Block" }, + { 0x2b, 0x01, 0x08, "Firmware or software change detected, Mngmt Ctrl Other" }, + { 0x2b, 0x01, 0x09, "Firmware or software change detected, BIOS/EFI change" }, + { 0x2b, 0x01, 0x0A, "Firmware or software change detected, SMBIOS change" }, + { 0x2b, 0x01, 0x0B, "Firmware or software change detected, O/S change" }, + { 0x2b, 0x01, 0x0C, "Firmware or software change detected, O/S loader change" }, + { 0x2b, 0x01, 0x0D, "Firmware or software change detected, Service Diag change" }, + { 0x2b, 0x01, 0x0E, "Firmware or software change detected, Mngmt SW agent change" }, + { 0x2b, 0x01, 0x0F, "Firmware or software change detected, Mngmt SW App change" }, + { 0x2b, 0x01, 0x10, "Firmware or software change detected, Mngmt SW Middle" }, + { 0x2b, 0x01, 0x11, "Firmware or software change detected, Prog HW Change (FPGA)" }, + { 0x2b, 0x01, 0x12, "Firmware or software change detected, board/FRU module change" }, + { 0x2b, 0x01, 0x13, "Firmware or software change detected, board/FRU component change" }, + { 0x2b, 0x01, 0x14, "Firmware or software change detected, board/FRU replace equ ver" }, + { 0x2b, 0x01, 0x15, "Firmware or software change detected, board/FRU replace new ver" }, + { 0x2b, 0x01, 0x16, "Firmware or software change detected, board/FRU replace old ver" }, + { 0x2b, 0x01, 0x17, "Firmware or software change detected, board/FRU HW conf change" }, + { 0x2b, 0x02, 0xff, "Hardware incompatibility detected" }, + { 0x2b, 0x03, 0xff, "Firmware or software incompatibility detected" }, + { 0x2b, 0x04, 0xff, "Invalid or unsupported hardware version" }, + { 0x2b, 0x05, 0xff, "Invalid or unsupported firmware or software version" }, + { 0x2b, 0x06, 0xff, "Hardware change success" }, + { 0x2b, 0x07, 0x00, "Firmware or software change success" }, + { 0x2b, 0x07, 0x01, "Firmware or software change success, Mngmt Ctrl Dev Id" }, + { 0x2b, 0x07, 0x02, "Firmware or software change success, Mngmt Ctrl Firm Rev" }, + { 0x2b, 0x07, 0x03, "Firmware or software change success, Mngmt Ctrl Dev Rev" }, + { 0x2b, 0x07, 0x04, "Firmware or software change success, Mngmt Ctrl Manuf Id" }, + { 0x2b, 0x07, 0x05, "Firmware or software change success, Mngmt Ctrl IPMI Vers" }, + { 0x2b, 0x07, 0x06, "Firmware or software change success, Mngmt Ctrl Aux Firm Id" }, + { 0x2b, 0x07, 0x07, "Firmware or software change success, Mngmt Ctrl Firm Boot Block" }, + { 0x2b, 0x07, 0x08, "Firmware or software change success, Mngmt Ctrl Other" }, + { 0x2b, 0x07, 0x09, "Firmware or software change success, BIOS/EFI change" }, + { 0x2b, 0x07, 0x0A, "Firmware or software change success, SMBIOS change" }, + { 0x2b, 0x07, 0x0B, "Firmware or software change success, O/S change" }, + { 0x2b, 0x07, 0x0C, "Firmware or software change success, O/S loader change" }, + { 0x2b, 0x07, 0x0D, "Firmware or software change success, Service Diag change" }, + { 0x2b, 0x07, 0x0E, "Firmware or software change success, Mngmt SW agent change" }, + { 0x2b, 0x07, 0x0F, "Firmware or software change success, Mngmt SW App change" }, + { 0x2b, 0x07, 0x10, "Firmware or software change success, Mngmt SW Middle" }, + { 0x2b, 0x07, 0x11, "Firmware or software change success, Prog HW Change (FPGA)" }, + { 0x2b, 0x07, 0x12, "Firmware or software change success, board/FRU module change" }, + { 0x2b, 0x07, 0x13, "Firmware or software change success, board/FRU component change" }, + { 0x2b, 0x07, 0x14, "Firmware or software change success, board/FRU replace equ ver" }, + { 0x2b, 0x07, 0x15, "Firmware or software change success, board/FRU replace new ver" }, + { 0x2b, 0x07, 0x16, "Firmware or software change success, board/FRU replace old ver" }, + { 0x2b, 0x07, 0x17, "Firmware or software change success, board/FRU HW conf change" }, + /* FRU State */ + { 0x2c, 0x00, 0xff, "Not Installed" }, + { 0x2c, 0x01, 0xff, "Inactive" }, + { 0x2c, 0x02, 0xff, "Activation Requested" }, + { 0x2c, 0x03, 0xff, "Activation in Progress" }, + { 0x2c, 0x04, 0xff, "Active" }, + { 0x2c, 0x05, 0xff, "Deactivation Requested" }, + { 0x2c, 0x06, 0xff, "Deactivation in Progress" }, + { 0x2c, 0x07, 0xff, "Communication lost" }, + /* PICMG FRU Hot Swap */ + { 0xF0, 0x00, 0xFF, "Transition to M0" }, + { 0xF0, 0x01, 0xFF, "Transition to M1" }, + { 0xF0, 0x02, 0xFF, "Transition to M2" }, + { 0xF0, 0x03, 0xFF, "Transition to M3" }, + { 0xF0, 0x04, 0xFF, "Transition to M4" }, + { 0xF0, 0x05, 0xFF, "Transition to M5" }, + { 0xF0, 0x06, 0xFF, "Transition to M6" }, + { 0xF0, 0x07, 0xFF, "Transition to M7" }, + /* PICMG IPMB Physical Link */ + { 0xF1, 0x00, 0xff, "IPMB-A disabled, IPMB-B disabled" }, + { 0xF1, 0x01, 0xff, "IPMB-A enabled, IPMB-B disabled" }, + { 0xF1, 0x02, 0xff, "IPMB-A disabled, IPMB-B enabled" }, + { 0xF1, 0x03, 0xff, "IPMB-A enabled, IPMP-B enabled" }, + /* PICNG Moduke Hot Swap */ + { 0xF2, 0x00, 0xff, "Module Handle Closed" }, + { 0xF2, 0x01, 0xff, "Module Handle Opened" }, + { 0xF2, 0x02, 0xff, "Quiesced" }, + { 0x00, 0x00, 0xff, NULL }, }; -static struct ipmi_event_sensor_types sensor_specific_types[] __attribute__((unused)) = { - { 0x00, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Reserved", NULL }, - { 0x01, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Temperature", NULL }, - { 0x02, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Voltage", NULL }, - { 0x03, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Current", NULL }, - { 0x04, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Fan", NULL }, - - { 0x05, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Physical Security", "General Chassis intrusion" }, - { 0x05, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Physical Security", "Drive Bay intrusion" }, - { 0x05, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Physical Security", "I/O Card area intrusion" }, - { 0x05, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Physical Security", "Processor area intrusion" }, - { 0x05, 0x04, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Physical Security", "System unplugged from LAN" }, - { 0x05, 0x05, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Physical Security", "Unauthorized dock" }, - { 0x05, 0x06, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Physical Security", "FAN area intrusion" }, - - { 0x06, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Platform Security", "Front Panel Lockout violation attempted" }, - { 0x06, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Platform Security", "Pre-boot password violation - user password" }, - { 0x06, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Platform Security", "Pre-boot password violation - setup password" }, - { 0x06, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Platform Security", "Pre-boot password violation - network boot password" }, - { 0x06, 0x04, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Platform Security", "Other pre-boot password violation" }, - { 0x06, 0x05, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Platform Security", "Out-of-band access password violation" }, - - { 0x07, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Processor", "IERR" }, - { 0x07, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Processor", "Thermal Trip" }, - { 0x07, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Processor", "FRB1/BIST failure" }, - { 0x07, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Processor", "FRB2/Hang in POST failure" }, - { 0x07, 0x04, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Processor", "FRB3/Processor startup/init failure" }, - { 0x07, 0x05, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Processor", "Configuration Error" }, - { 0x07, 0x06, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Processor", "SM BIOS Uncorrectable CPU-complex Error" }, - { 0x07, 0x07, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Processor", "Presence detected" }, - { 0x07, 0x08, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Processor", "Disabled" }, - { 0x07, 0x09, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Processor", "Terminator presence detected" }, - { 0x07, 0x0a, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Processor", "Throttled" }, - { 0x07, 0x0b, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Processor", "Uncorrectable machine check exception" }, - { 0x07, 0x0c, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Processor", "Correctable machine check error" }, - - { 0x08, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Power Supply", "Presence detected" }, - { 0x08, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Power Supply", "Failure detected" }, - { 0x08, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Power Supply", "Predictive failure" }, - { 0x08, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Power Supply", "Power Supply AC lost" }, - { 0x08, 0x04, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Power Supply", "AC lost or out-of-range" }, - { 0x08, 0x05, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Power Supply", "AC out-of-range, but present" }, - { 0x08, 0x06, 0x00, IPMI_EVENT_CLASS_DISCRETE, "Power Supply", "Config Error: Vendor Mismatch" }, - { 0x08, 0x06, 0x01, IPMI_EVENT_CLASS_DISCRETE, "Power Supply", "Config Error: Revision Mismatch" }, - { 0x08, 0x06, 0x02, IPMI_EVENT_CLASS_DISCRETE, "Power Supply", "Config Error: Processor Missing" }, - { 0x08, 0x06, 0x03, IPMI_EVENT_CLASS_DISCRETE, "Power Supply", "Config Error: Power Supply Rating Mismatch" }, - { 0x08, 0x06, 0x04, IPMI_EVENT_CLASS_DISCRETE, "Power Supply", "Config Error: Voltage Rating Mismatch" }, - { 0x08, 0x06, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Power Supply", "Config Error" }, - { 0x08, 0x06, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Power Supply", "Power Supply Inactive" }, - - { 0x09, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Power Unit", "Power off/down" }, - { 0x09, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Power Unit", "Power cycle" }, - { 0x09, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Power Unit", "240VA power down" }, - { 0x09, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Power Unit", "Interlock power down" }, - { 0x09, 0x04, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Power Unit", "AC lost" }, - { 0x09, 0x05, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Power Unit", "Soft-power control failure" }, - { 0x09, 0x06, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Power Unit", "Failure detected" }, - { 0x09, 0x07, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Power Unit", "Predictive failure" }, - - { 0x0a, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Cooling Device", NULL }, - { 0x0b, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Other Units-based Sensor", NULL }, - - { 0x0c, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Memory", "Correctable ECC" }, - { 0x0c, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Memory", "Uncorrectable ECC" }, - { 0x0c, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Memory", "Parity" }, - { 0x0c, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Memory", "Memory Scrub Failed" }, - { 0x0c, 0x04, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Memory", "Memory Device Disabled" }, - { 0x0c, 0x05, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Memory", "Correctable ECC logging limit reached" }, - { 0x0c, 0x06, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Memory", "Presence Detected" }, - { 0x0c, 0x07, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Memory", "Configuration Error" }, - { 0x0c, 0x08, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Memory", "Spare" }, - { 0x0c, 0x09, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Memory", "Throttled" }, - { 0x0c, 0x0a, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Memory", "Critical Overtemperature" }, - - { 0x0d, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Drive Slot", "Drive Present" }, - { 0x0d, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Drive Slot", "Drive Fault" }, - { 0x0d, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Drive Slot", "Predictive Failure" }, - { 0x0d, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Drive Slot", "Hot Spare" }, - { 0x0d, 0x04, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Drive Slot", "Parity Check In Progress" }, - { 0x0d, 0x05, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Drive Slot", "In Critical Array" }, - { 0x0d, 0x06, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Drive Slot", "In Failed Array" }, - { 0x0d, 0x07, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Drive Slot", "Rebuild In Progress" }, - { 0x0d, 0x08, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Drive Slot", "Rebuild Aborted" }, - - { 0x0e, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "POST Memory Resize", NULL }, - - { 0x0f, 0x00, 0x00, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Error", "Unspecified" }, - { 0x0f, 0x00, 0x01, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Error", "No system memory installed" }, - { 0x0f, 0x00, 0x02, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Error", "No usable system memory" }, - { 0x0f, 0x00, 0x03, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Error", "Unrecoverable IDE device failure" }, - { 0x0f, 0x00, 0x04, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Error", "Unrecoverable system-board failure" }, - { 0x0f, 0x00, 0x05, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Error", "Unrecoverable diskette failure" }, - { 0x0f, 0x00, 0x06, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Error", "Unrecoverable hard-disk controller failure" }, - { 0x0f, 0x00, 0x07, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Error", "Unrecoverable PS/2 or USB keyboard failure" }, - { 0x0f, 0x00, 0x08, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Error", "Removable boot media not found" }, - { 0x0f, 0x00, 0x09, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Error", "Unrecoverable video controller failure" }, - { 0x0f, 0x00, 0x0a, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Error", "No video device selected" }, - { 0x0f, 0x00, 0x0b, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Error", "BIOS corruption detected" }, - { 0x0f, 0x00, 0x0c, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Error", "CPU voltage mismatch" }, - { 0x0f, 0x00, 0x0d, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Error", "CPU speed mismatch failure" }, - { 0x0f, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Error", "Unknown Error" }, - - { 0x0f, 0x01, 0x00, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "Unspecified" }, - { 0x0f, 0x01, 0x01, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "Memory initialization" }, - { 0x0f, 0x01, 0x02, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "Hard-disk initialization" }, - { 0x0f, 0x01, 0x03, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "Secondary CPU Initialization" }, - { 0x0f, 0x01, 0x04, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "User authentication" }, - { 0x0f, 0x01, 0x05, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "User-initiated system setup" }, - { 0x0f, 0x01, 0x06, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "USB resource configuration" }, - { 0x0f, 0x01, 0x07, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "PCI resource configuration" }, - { 0x0f, 0x01, 0x08, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "Option ROM initialization" }, - { 0x0f, 0x01, 0x09, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "Video initialization" }, - { 0x0f, 0x01, 0x0a, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "Cache initialization" }, - { 0x0f, 0x01, 0x0b, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "SMBus initialization" }, - { 0x0f, 0x01, 0x0c, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "Keyboard controller initialization" }, - { 0x0f, 0x01, 0x0d, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "Management controller initialization" }, - { 0x0f, 0x01, 0x0e, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "Docking station attachment" }, - { 0x0f, 0x01, 0x0f, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "Enabling docking station" }, - { 0x0f, 0x01, 0x10, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "Docking station ejection" }, - { 0x0f, 0x01, 0x11, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "Disabling docking station" }, - { 0x0f, 0x01, 0x12, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "Calling operating system wake-up vector" }, - { 0x0f, 0x01, 0x13, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "System boot initiated" }, - { 0x0f, 0x01, 0x14, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "Motherboard initialization" }, - { 0x0f, 0x01, 0x15, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "reserved" }, - { 0x0f, 0x01, 0x16, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "Floppy initialization" }, - { 0x0f, 0x01, 0x17, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "Keyboard test" }, - { 0x0f, 0x01, 0x18, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "Pointing device test" }, - { 0x0f, 0x01, 0x19, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "Primary CPU initialization" }, - { 0x0f, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Hang", "Unknown Hang" }, - - { 0x0f, 0x02, 0x00, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "Unspecified" }, - { 0x0f, 0x02, 0x01, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "Memory initialization" }, - { 0x0f, 0x02, 0x02, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "Hard-disk initialization" }, - { 0x0f, 0x02, 0x03, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "Secondary CPU Initialization" }, - { 0x0f, 0x02, 0x04, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "User authentication" }, - { 0x0f, 0x02, 0x05, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "User-initiated system setup" }, - { 0x0f, 0x02, 0x06, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "USB resource configuration" }, - { 0x0f, 0x02, 0x07, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "PCI resource configuration" }, - { 0x0f, 0x02, 0x08, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "Option ROM initialization" }, - { 0x0f, 0x02, 0x09, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "Video initialization" }, - { 0x0f, 0x02, 0x0a, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "Cache initialization" }, - { 0x0f, 0x02, 0x0b, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "SMBus initialization" }, - { 0x0f, 0x02, 0x0c, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "Keyboard controller initialization" }, - { 0x0f, 0x02, 0x0d, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "Management controller initialization" }, - { 0x0f, 0x02, 0x0e, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "Docking station attachment" }, - { 0x0f, 0x02, 0x0f, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "Enabling docking station" }, - { 0x0f, 0x02, 0x10, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "Docking station ejection" }, - { 0x0f, 0x02, 0x11, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "Disabling docking station" }, - { 0x0f, 0x02, 0x12, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "Calling operating system wake-up vector" }, - { 0x0f, 0x02, 0x13, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "System boot initiated" }, - { 0x0f, 0x02, 0x14, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "Motherboard initialization" }, - { 0x0f, 0x02, 0x15, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "reserved" }, - { 0x0f, 0x02, 0x16, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "Floppy initialization" }, - { 0x0f, 0x02, 0x17, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "Keyboard test" }, - { 0x0f, 0x02, 0x18, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "Pointing device test" }, - { 0x0f, 0x02, 0x19, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "Primary CPU initialization" }, - { 0x0f, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System Firmware Progress", "Unknown Progress" }, - - { 0x10, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Event Logging Disabled", "Correctable memory error logging disabled" }, - { 0x10, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Event Logging Disabled", "Event logging disabled" }, - { 0x10, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Event Logging Disabled", "Log area reset/cleared" }, - { 0x10, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Event Logging Disabled", "All event logging disabled" }, - { 0x10, 0x04, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Event Logging Disabled", "Log full" }, - { 0x10, 0x05, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Event Logging Disabled", "Log almost full" }, - - { 0x11, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Watchdog 1", "BIOS Reset" }, - { 0x11, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Watchdog 1", "OS Reset" }, - { 0x11, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Watchdog 1", "OS Shut Down" }, - { 0x11, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Watchdog 1", "OS Power Down" }, - { 0x11, 0x04, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Watchdog 1", "OS Power Cycle" }, - { 0x11, 0x05, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Watchdog 1", "OS NMI/Diag Interrupt" }, - { 0x11, 0x06, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Watchdog 1", "OS Expired" }, - { 0x11, 0x07, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Watchdog 1", "OS pre-timeout Interrupt" }, - - { 0x12, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System Event", "System Reconfigured" }, - { 0x12, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System Event", "OEM System boot event" }, - { 0x12, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System Event", "Undetermined system hardware failure" }, - { 0x12, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System Event", "Entry added to auxiliary log" }, - { 0x12, 0x04, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System Event", "PEF Action" }, - { 0x12, 0x05, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System Event", "Timestamp Clock Sync" }, - - { 0x13, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Critical Interrupt", "NMI/Diag Interrupt" }, - { 0x13, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Critical Interrupt", "Bus Timeout" }, - { 0x13, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Critical Interrupt", "I/O Channel check NMI" }, - { 0x13, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Critical Interrupt", "Software NMI" }, - { 0x13, 0x04, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Critical Interrupt", "PCI PERR" }, - { 0x13, 0x05, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Critical Interrupt", "PCI SERR" }, - { 0x13, 0x06, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Critical Interrupt", "EISA failsafe timeout" }, - { 0x13, 0x07, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Critical Interrupt", "Bus Correctable error" }, - { 0x13, 0x08, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Critical Interrupt", "Bus Uncorrectable error" }, - { 0x13, 0x09, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Critical Interrupt", "Fatal NMI" }, - { 0x13, 0x0a, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Critical Interrupt", "Bus Fatal Error" }, - { 0x13, 0x0b, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Critical Interrupt", "Bus Degraded" }, - - { 0x14, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Button", "Power Button pressed" }, - { 0x14, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Button", "Sleep Button pressed" }, - { 0x14, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Button", "Reset Button pressed" }, - { 0x14, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Button", "FRU Latch" }, - { 0x14, 0x04, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Button", "FRU Service" }, - - { 0x15, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Module/Board", NULL }, - { 0x16, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Microcontroller/Coprocessor", NULL }, - { 0x17, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Add-in Card", NULL }, - { 0x18, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Chassis", NULL }, - { 0x19, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Chip Set", NULL }, - { 0x19, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Chip Set", "Thermal Trip" }, - { 0x1a, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Other FRU", NULL }, - - { 0x1b, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Cable/Interconnect", "Connected" }, - { 0x1b, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Cable/Interconnect", "Config Error" }, - - { 0x1c, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Terminator", NULL }, - - { 0x1d, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System Boot Initiated", "Initiated by power up" }, - { 0x1d, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System Boot Initiated", "Initiated by hard reset" }, - { 0x1d, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System Boot Initiated", "Initiated by warm reset" }, - { 0x1d, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System Boot Initiated", "User requested PXE boot" }, - { 0x1d, 0x04, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System Boot Initiated", "Automatic boot to diagnostic" }, - { 0x1d, 0x05, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System Boot Initiated", "OS initiated hard reset" }, - { 0x1d, 0x06, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System Boot Initiated", "OS initiated warm reset" }, - { 0x1d, 0x07, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System Boot Initiated", "System Restart" }, - - { 0x1e, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Boot Error", "No bootable media" }, - { 0x1e, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Boot Error", "Non-bootable disk in drive" }, - { 0x1e, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Boot Error", "PXE server not found" }, - { 0x1e, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Boot Error", "Invalid boot sector" }, - { 0x1e, 0x04, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Boot Error", "Timeout waiting for selection" }, - - { 0x1f, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "OS Boot", "A: boot completed" }, - { 0x1f, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "OS Boot", "C: boot completed" }, - { 0x1f, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "OS Boot", "PXE boot completed" }, - { 0x1f, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "OS Boot", "Diagnostic boot completed" }, - { 0x1f, 0x04, 0xff, IPMI_EVENT_CLASS_DISCRETE, "OS Boot", "CD-ROM boot completed" }, - { 0x1f, 0x05, 0xff, IPMI_EVENT_CLASS_DISCRETE, "OS Boot", "ROM boot completed" }, - { 0x1f, 0x06, 0xff, IPMI_EVENT_CLASS_DISCRETE, "OS Boot", "boot completed - device not specified" }, - { 0x1f, 0x07, 0xff, IPMI_EVENT_CLASS_DISCRETE, "OS Boot", "Installation started" }, - { 0x1f, 0x08, 0xff, IPMI_EVENT_CLASS_DISCRETE, "OS Boot", "Installation completed" }, - { 0x1f, 0x09, 0xff, IPMI_EVENT_CLASS_DISCRETE, "OS Boot", "Installation aborted" }, - { 0x1f, 0x0a, 0xff, IPMI_EVENT_CLASS_DISCRETE, "OS Boot", "Installation failed" }, - - { 0x20, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "OS Stop/Shutdown", "Error during system startup" }, - { 0x20, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "OS Stop/Shutdown", "Run-time critical stop" }, - { 0x20, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "OS Stop/Shutdown", "OS graceful stop" }, - { 0x20, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "OS Stop/Shutdown", "OS graceful shutdown" }, - { 0x20, 0x04, 0xff, IPMI_EVENT_CLASS_DISCRETE, "OS Stop/Shutdown", "PEF initiated soft shutdown" }, - { 0x20, 0x05, 0xff, IPMI_EVENT_CLASS_DISCRETE, "OS Stop/Shutdown", "Agent not responding" }, - - { 0x21, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Slot/Connector", "Fault Status" }, - { 0x21, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Slot/Connector", "Identify Status" }, - { 0x21, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Slot/Connector", "Device Installed" }, - { 0x21, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Slot/Connector", "Ready for Device Installation" }, - { 0x21, 0x04, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Slot/Connector", "Ready for Device Removal" }, - { 0x21, 0x05, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Slot/Connector", "Slot Power is Off" }, - { 0x21, 0x06, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Slot/Connector", "Device Removal Request" }, - { 0x21, 0x07, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Slot/Connector", "Interlock" }, - { 0x21, 0x08, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Slot/Connector", "Slot is Disabled" }, - { 0x21, 0x09, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Slot/Connector", "Spare Device" }, - - { 0x22, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System ACPI Power State", "S0/G0: working" }, - { 0x22, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System ACPI Power State", "S1: sleeping with system hw & processor context maintained" }, - { 0x22, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System ACPI Power State", "S2: sleeping, processor context lost" }, - { 0x22, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System ACPI Power State", "S3: sleeping, processor & hw context lost, memory retained" }, - { 0x22, 0x04, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System ACPI Power State", "S4: non-volatile sleep/suspend-to-disk" }, - { 0x22, 0x05, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System ACPI Power State", "S5/G2: soft-off" }, - { 0x22, 0x06, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System ACPI Power State", "S4/S5: soft-off" }, - { 0x22, 0x07, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System ACPI Power State", "G3: mechanical off" }, - { 0x22, 0x08, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System ACPI Power State", "Sleeping in S1/S2/S3 state" }, - { 0x22, 0x09, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System ACPI Power State", "G1: sleeping" }, - { 0x22, 0x0a, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System ACPI Power State", "S5: entered by override" }, - { 0x22, 0x0b, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System ACPI Power State", "Legacy ON state" }, - { 0x22, 0x0c, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System ACPI Power State", "Legacy OFF state" }, - { 0x22, 0x0e, 0xff, IPMI_EVENT_CLASS_DISCRETE, "System ACPI Power State", "Unknown" }, - - { 0x23, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Watchdog 2", "Timer expired" }, - { 0x23, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Watchdog 2", "Hard reset" }, - { 0x23, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Watchdog 2", "Power down" }, - { 0x23, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Watchdog 2", "Power cycle" }, - { 0x23, 0x04, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Watchdog 2", "reserved" }, - { 0x23, 0x05, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Watchdog 2", "reserved" }, - { 0x23, 0x06, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Watchdog 2", "reserved" }, - { 0x23, 0x07, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Watchdog 2", "reserved" }, - { 0x23, 0x08, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Watchdog 2", "Timer interrupt" }, - - { 0x24, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Platform Alert", "Platform generated page" }, - { 0x24, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Platform Alert", "Platform generated LAN alert" }, - { 0x24, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Platform Alert", "Platform Event Trap generated" }, - { 0x24, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Platform Alert", "Platform generated SNMP trap, OEM format" }, - - { 0x25, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Entity Presence", "Present" }, - { 0x25, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Entity Presence", "Absent" }, - { 0x25, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Entity Presence", "Disabled" }, - - { 0x26, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Monitor ASIC/IC", NULL }, - - { 0x27, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "LAN", "Heartbeat Lost" }, - { 0x27, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "LAN", "Heartbeat" }, - - { 0x28, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Management Subsystem Health", "Sensor access degraded or unavailable" }, - { 0x28, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Management Subsystem Health", "Controller access degraded or unavailable" }, - { 0x28, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Management Subsystem Health", "Management controller off-line" }, - { 0x28, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Management Subsystem Health", "Management controller unavailable" }, - { 0x28, 0x04, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Management Subsystem Health", "Sensor failure" }, - { 0x28, 0x05, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Management Subsystem Health", "FRU failure" }, - - { 0x29, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Battery", "Low" }, - { 0x29, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Battery", "Failed" }, - { 0x29, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Battery", "Presence Detected" }, - - { 0x2b, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Hardware change detected" }, - { 0x2b, 0x01, 0x00, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change detected" }, - { 0x2b, 0x01, 0x01, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change detected, Mngmt Ctrl Dev Id" }, - { 0x2b, 0x01, 0x02, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change detected, Mngmt Ctrl Firm Rev" }, - { 0x2b, 0x01, 0x03, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change detected, Mngmt Ctrl Dev Rev" }, - { 0x2b, 0x01, 0x04, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change detected, Mngmt Ctrl Manuf Id" }, - { 0x2b, 0x01, 0x05, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change detected, Mngmt Ctrl IPMI Vers" }, - { 0x2b, 0x01, 0x06, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change detected, Mngmt Ctrl Aux Firm Id" }, - { 0x2b, 0x01, 0x07, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change detected, Mngmt Ctrl Firm Boot Block" }, - { 0x2b, 0x01, 0x08, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change detected, Mngmt Ctrl Other" }, - { 0x2b, 0x01, 0x09, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change detected, BIOS/EFI change" }, - { 0x2b, 0x01, 0x0A, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change detected, SMBIOS change" }, - { 0x2b, 0x01, 0x0B, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change detected, O/S change" }, - { 0x2b, 0x01, 0x0C, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change detected, O/S loader change" }, - { 0x2b, 0x01, 0x0D, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change detected, Service Diag change" }, - { 0x2b, 0x01, 0x0E, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change detected, Mngmt SW agent change" }, - { 0x2b, 0x01, 0x0F, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change detected, Mngmt SW App change" }, - { 0x2b, 0x01, 0x10, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change detected, Mngmt SW Middle" }, - { 0x2b, 0x01, 0x11, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change detected, Prog HW Change (FPGA)" }, - { 0x2b, 0x01, 0x12, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change detected, board/FRU module change" }, - { 0x2b, 0x01, 0x13, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change detected, board/FRU component change" }, - { 0x2b, 0x01, 0x14, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change detected, board/FRU replace equ ver" }, - { 0x2b, 0x01, 0x15, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change detected, board/FRU replace new ver" }, - { 0x2b, 0x01, 0x16, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change detected, board/FRU replace old ver" }, - { 0x2b, 0x01, 0x17, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change detected, board/FRU HW conf change" }, - { 0x2b, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Hardware incompatibility detected" }, - { 0x2b, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software incompatibility detected" }, - { 0x2b, 0x04, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Invalid or unsupported hardware version" }, - { 0x2b, 0x05, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Invalid or unsupported firmware or software version" }, - { 0x2b, 0x06, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Hardware change success" }, - { 0x2b, 0x07, 0x00, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change success" }, - { 0x2b, 0x07, 0x01, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change success, Mngmt Ctrl Dev Id" }, - { 0x2b, 0x07, 0x02, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change success, Mngmt Ctrl Firm Rev" }, - { 0x2b, 0x07, 0x03, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change success, Mngmt Ctrl Dev Rev" }, - { 0x2b, 0x07, 0x04, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change success, Mngmt Ctrl Manuf Id" }, - { 0x2b, 0x07, 0x05, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change success, Mngmt Ctrl IPMI Vers" }, - { 0x2b, 0x07, 0x06, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change success, Mngmt Ctrl Aux Firm Id" }, - { 0x2b, 0x07, 0x07, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change success, Mngmt Ctrl Firm Boot Block" }, - { 0x2b, 0x07, 0x08, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change success, Mngmt Ctrl Other" }, - { 0x2b, 0x07, 0x09, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change success, BIOS/EFI change" }, - { 0x2b, 0x07, 0x0A, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change success, SMBIOS change" }, - { 0x2b, 0x07, 0x0B, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change success, O/S change" }, - { 0x2b, 0x07, 0x0C, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change success, O/S loader change" }, - { 0x2b, 0x07, 0x0D, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change success, Service Diag change" }, - { 0x2b, 0x07, 0x0E, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change success, Mngmt SW agent change" }, - { 0x2b, 0x07, 0x0F, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change success, Mngmt SW App change" }, - { 0x2b, 0x07, 0x10, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change success, Mngmt SW Middle" }, - { 0x2b, 0x07, 0x11, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change success, Prog HW Change (FPGA)" }, - { 0x2b, 0x07, 0x12, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change success, board/FRU module change" }, - { 0x2b, 0x07, 0x13, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change success, board/FRU component change" }, - { 0x2b, 0x07, 0x14, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change success, board/FRU replace equ ver" }, - { 0x2b, 0x07, 0x15, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change success, board/FRU replace new ver" }, - { 0x2b, 0x07, 0x16, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change success, board/FRU replace old ver" }, - { 0x2b, 0x07, 0x17, IPMI_EVENT_CLASS_DISCRETE, "Version Change", "Firmware or software change success, board/FRU HW conf change" }, - - { 0x2c, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "FRU State", "Not Installed" }, - { 0x2c, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "FRU State", "Inactive" }, - { 0x2c, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "FRU State", "Activation Requested" }, - { 0x2c, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "FRU State", "Activation in Progress" }, - { 0x2c, 0x04, 0xff, IPMI_EVENT_CLASS_DISCRETE, "FRU State", "Active" }, - { 0x2c, 0x05, 0xff, IPMI_EVENT_CLASS_DISCRETE, "FRU State", "Deactivation Requested" }, - { 0x2c, 0x06, 0xff, IPMI_EVENT_CLASS_DISCRETE, "FRU State", "Deactivation in Progress" }, - { 0x2c, 0x07, 0xff, IPMI_EVENT_CLASS_DISCRETE, "FRU State", "Communication lost" }, - - { 0xF0, 0x00, 0xFF, IPMI_EVENT_CLASS_DISCRETE, "FRU Hot Swap", "Transition to M0" }, - { 0xF0, 0x01, 0xFF, IPMI_EVENT_CLASS_DISCRETE, "FRU Hot Swap", "Transition to M1" }, - { 0xF0, 0x02, 0xFF, IPMI_EVENT_CLASS_DISCRETE, "FRU Hot Swap", "Transition to M2" }, - { 0xF0, 0x03, 0xFF, IPMI_EVENT_CLASS_DISCRETE, "FRU Hot Swap", "Transition to M3" }, - { 0xF0, 0x04, 0xFF, IPMI_EVENT_CLASS_DISCRETE, "FRU Hot Swap", "Transition to M4" }, - { 0xF0, 0x05, 0xFF, IPMI_EVENT_CLASS_DISCRETE, "FRU Hot Swap", "Transition to M5" }, - { 0xF0, 0x06, 0xFF, IPMI_EVENT_CLASS_DISCRETE, "FRU Hot Swap", "Transition to M6" }, - { 0xF0, 0x07, 0xFF, IPMI_EVENT_CLASS_DISCRETE, "FRU Hot Swap", "Transition to M7" }, - - { 0xF1, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "IPMB-0 Status", "IPMB-A disabled, IPMB-B disabled" }, - { 0xF1, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "IPMB-0 Status", "IPMB-A enabled, IPMB-B disabled" }, - { 0xF1, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "IPMB-0 Status", "IPMB-A disabled, IPMB-B enabled" }, - { 0xF1, 0x03, 0xff, IPMI_EVENT_CLASS_DISCRETE, "IPMB-0 Status", "IPMB-A enabled, IPMP-B enabled" }, - - { 0xF2, 0x00, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Module Hot Swap", "Module Handle Closed" }, - { 0xF2, 0x01, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Module Hot Swap", "Module Handle Opened" }, - { 0xF2, 0x02, 0xff, IPMI_EVENT_CLASS_DISCRETE, "Module Hot Swap", "Quiesced" }, - - { 0xC0, 0x00, 0xff, 0x00, "OEM", "OEM Specific" }, +static const struct ipmi_event_sensor_types vita_sensor_event_types[] = { + /* VITA FRU State */ + { 0xF0, 0x00, 0xFF, "Transition to M0" }, + { 0xF0, 0x01, 0xFF, "Transition to M1" }, + { 0xF0, 0x04, 0xFF, "Transition to M4" }, + { 0xF0, 0x05, 0xFF, "Transition to M5" }, + { 0xF0, 0x06, 0xFF, "Transition to M6" }, + { 0xF0, 0x07, 0xFF, "Transition to M7" }, + /* VITA System IPMB Link */ + { 0xF1, 0x00, 0xFF, "IPMB-A disabled, IPMB-B disabled" }, + { 0xF1, 0x01, 0xFF, "IPMB-A enabled, IPMB-B disabled" }, + { 0xF1, 0x02, 0xFF, "IPMB-A disabled, IPMB-B enabled" }, + { 0xF1, 0x03, 0xFF, "IPMB-A enabled, IPMP-B enabled" }, + /* VITA FRU Temperature */ + { 0xF3, 0x00, 0xff, "At or below Lower Non-critical" }, + { 0xF3, 0x01, 0xff, "At or below Lower Critical" }, + { 0xF3, 0x02, 0xff, "At or below Lower Non-recoverable" }, + { 0xF3, 0x03, 0xff, "At or above Upper Non-critical" }, + { 0xF3, 0x04, 0xff, "At or above Upper Critical" }, + { 0xF3, 0x05, 0xff, "At or above Upper Non-recoverable" }, + { 0x00, 0x00, 0xff, NULL } +}; - { 0x00, 0x00, 0x00, 0x00, NULL, NULL }, +static const struct ipmi_event_sensor_types oem_kontron_event_types[] = { + /* Board Reset(cPCI) */ + { 0xC1, 0x00, 0xff, "Push Button" }, + { 0xC1, 0x01, 0xff, "Bridge Reset" }, + { 0xC1, 0x02, 0xff, "Backplane" }, + { 0xC1, 0x03, 0xff, "Hotswap Fault" }, + { 0xC1, 0x04, 0xff, "Hotswap Healty" }, + { 0xC1, 0x05, 0xff, "Unknown" }, + { 0xC1, 0x06, 0xff, "ITP" }, + { 0xC1, 0x07, 0xff, "Hardware Watchdog" }, + { 0xC1, 0x08, 0xff, "Software Reset" }, + /* IPMB-L Link State, based on PICMG IPMB-0 Link state sensor */ + { 0xC3, 0x02, 0xff, "IPMB L Disabled" }, + { 0xC3, 0x03, 0xff, "IPMB L Enabled" }, + /* Board Reset */ + { 0xC4, 0x00, 0xff, "Push Button" }, + { 0xC4, 0x01, 0xff, "Hardware Power Failure" }, + { 0xC4, 0x02, 0xff, "Unknown" }, + { 0xC4, 0x03, 0xff, "Hardware Watchdog" }, + { 0xC4, 0x04, 0xff, "Soft Reset" }, + { 0xC4, 0x05, 0xff, "Warm Reset" }, + { 0xC4, 0x06, 0xff, "Cold Reset" }, + { 0xC4, 0x07, 0xff, "IPMI Command" }, + { 0xC4, 0x08, 0xff, "Setup Reset (Save CMOS)" }, + { 0xC4, 0x09, 0xff, "Power Up Reset" }, + /* POST Value */ + { 0xC6, 0x0E, 0xff, "Post Error (see data2)" }, + /* FWUM Status */ + { 0xC7, 0x00, 0xff, "First Boot After Upgrade" }, + { 0xC7, 0x01, 0xff, "First Boot After Rollback(error)" }, + { 0xC7, 0x02, 0xff, "First Boot After Errors (watchdog)" }, + { 0xC7, 0x03, 0xff, "First Boot After Manual Rollback" }, + { 0xC7, 0x08, 0xff, "Firmware Watchdog Bite, reset occurred" }, + /* Switch Mngt Software Status */ + { 0xC8, 0x00, 0xff, "Not Loaded" }, + { 0xC8, 0x01, 0xff, "Initializing" }, + { 0xC8, 0x02, 0xff, "Ready" }, + { 0xC8, 0x03, 0xff, "Failure (see data2)" }, + /* Diagnostic Status */ + { 0xC9, 0x00, 0xff, "Started" }, + { 0xC9, 0x01, 0xff, "Pass" }, + { 0xC9, 0x02, 0xff, "Fail" }, + { 0xCA, 0x00, 0xff, "In progress"}, + { 0xCA, 0x01, 0xff, "Success"}, + { 0xCA, 0x02, 0xff, "Failure"}, + /* FRU Over Current */ + { 0xCB, 0x00, 0xff, "Asserted"}, + { 0xCB, 0x01, 0xff, "Deasserted"}, + /* FRU Sensor Error */ + { 0xCC, 0x00, 0xff, "Asserted"}, + { 0xCC, 0x01, 0xff, "Deasserted"}, + /* FRU Power Denied */ + { 0xCD, 0x00, 0xff, "Asserted"}, + { 0xCD, 0x01, 0xff, "Deasserted"}, + /* Reset */ + { 0xCF, 0x00, 0xff, "Asserted"}, + { 0xCF, 0x01, 0xff, "Deasserted"}, + /* END */ + { 0x00, 0x00, 0xff, NULL }, }; int ipmi_sel_main(struct ipmi_intf *, int, char **); @@ -695,12 +677,15 @@ void ipmi_sel_print_std_entry_verbose(struct ipmi_intf * intf, struct sel_event_ void ipmi_sel_print_extended_entry(struct ipmi_intf * intf, struct sel_event_record * evt); void ipmi_sel_print_extended_entry_verbose(struct ipmi_intf * intf, struct sel_event_record * evt); void ipmi_get_event_desc(struct ipmi_intf * intf, struct sel_event_record * rec, char ** desc); -const char * ipmi_sel_get_sensor_type(uint8_t code); -const char * ipmi_sel_get_sensor_type_offset(uint8_t code, uint8_t offset); +const char * ipmi_get_sensor_type(struct ipmi_intf *intf, uint8_t code); uint16_t ipmi_sel_get_std_entry(struct ipmi_intf * intf, uint16_t id, struct sel_event_record * evt); char * get_newisys_evt_desc(struct ipmi_intf * intf, struct sel_event_record * rec); IPMI_OEM ipmi_get_oem(struct ipmi_intf * intf); char * ipmi_get_oem_desc(struct ipmi_intf * intf, struct sel_event_record * rec); int ipmi_sel_oem_init(const char * filename); +const struct ipmi_event_sensor_types * +ipmi_get_first_event_sensor_type(struct ipmi_intf *intf, uint8_t sensor_type, uint8_t event_type); +const struct ipmi_event_sensor_types * +ipmi_get_next_event_sensor_type(const struct ipmi_event_sensor_types *evt); #endif /* IPMI_SEL_H */ |