Skip to content

Conversation

@DelphineChiu
Copy link

Summary:

  • Change to use the common function to add SEL, and remove the redundant platform function of adding SEL.

Test plan:

  • Build code: Pass
  • Trigger event and check SEL: Pass

Log:

  1. VR watchdog timeout
  • Set GPIO manually to trigger event
    [BIC console]
    uart:$ gpio conf GPIO0_A_D 15 out
    Configuring GPIO0_A_D pin 15
    uart:
    $ gpio set GPIO0_A_D 15 0
    Writing to GPIO0_A_D pin 15
    uart:$ gpio conf GPIO0_A_D 2 out
    Configuring GPIO0_A_D pin 2
    uart:
    $ gpio set GPIO0_A_D 2 0
    Writing to GPIO0_A_D pin 2
    uart:~$ gpio set GPIO0_A_D 2 1
    Writing to GPIO0_A_D pin 2

  • Check BMC get SEL
    [BMC console]
    root@bmc-oob:~# log-util --print slot4
    ...
    4 slot4 2022-08-04 23:57:31 ipmid SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-04 23:57:31, Sensor: SYSTEM_STATUS (0x10), Event Data: (0AFFFF) VR Watchdog timeout Assertion

  1. System power error
  • Set GPIO manually to trigger event
    [BIC console]
    uart:$ gpio conf GPIO0_A_D 15 out
    Configuring GPIO0_E_H pin 15
    uart:
    $ gpio set GPIO0_A_D 15 0
    Writing to GPIO0_E_H pin 15

  • Check BMC get SEL
    [BMC console]
    root@bmc-oob:~# log-util --print slot4
    ...
    4 slot4 2022-08-05 00:06:22 ipmid SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 00:06:22, Sensor: PWR_ERR (0x56), Event Data: (01FFFF) SYS_PWROK failure, FRU:4 Assertion

  1. FM throttle
  • Set GPIO manually to trigger event
    [BIC console]
    uart:$ gpio conf GPIO0_E_H 2 out
    Configuring GPIO0_E_H pin 2
    uart:
    $ gpio set GPIO0_E_H 2 0
    Writing to GPIO0_E_H pin 2
    uart:~$ gpio set GPIO0_E_H 2 1
    Writing to GPIO0_E_H pin 2

  • Check BMC get SEL
    [BMC console]
    root@bmc-oob:~# log-util --print slot4
    ...
    4 slot4 2022-08-05 00:29:53 ipmid SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 00:29:53, Sensor: SYSTEM_STATUS (0x10), Event Data: (10FFFF) FM_Throttle throttle Assertion
    4 slot4 2022-08-05 00:30:18 ipmid SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 00:30:18, Sensor: SYSTEM_STATUS (0x10), Event Data: (10FFFF) FM_Throttle throttle Deassertion

  1. HSC throttle
  • Set GPIO manually to trigger event
    [BIC console]
    uart:$ gpio conf GPIO0_E_H 9 out
    Configuring GPIO0_E_H pin 9
    uart:
    $ gpio set GPIO0_E_H 9 0
    Writing to GPIO0_E_H pin 9
    uart:~$ gpio set GPIO0_E_H 9 1
    Writing to GPIO0_E_H pin 9

  • Check BMC get SEL
    [BMC console]
    root@bmc-oob:~# log-util --print slot4
    ...
    4 slot4 2022-08-05 00:51:13 ipmid SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 00:51:13, Sensor: SYSTEM_STATUS (0x10), Event Data: (05FFFF) HSC_Throttle throttle Assertion
    4 slot4 2022-08-05 00:51:25 ipmid SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 00:51:25, Sensor: SYSTEM_STATUS (0x10), Event Data: (05FFFF) HSC_Throttle throttle Deassertion

  1. MB throttle
  • Set GPIO manually to trigger event
    [BIC console]
    uart:$ gpio conf GPIO0_E_H 18 out
    Configuring GPIO0_E_H pin 18
    uart:
    $ gpio set GPIO0_E_H 18 0
    Writing to GPIO0_E_H pin 18
    uart:~$ gpio set GPIO0_E_H 18 1
    Writing to GPIO0_E_H pin 18

  • Check BMC get SEL
    [BMC console]
    root@bmc-oob:~# log-util --print slot4
    ...
    4 slot4 2022-08-05 00:55:18 ipmid SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 00:55:18, Sensor: SYSTEM_STATUS (0x10), Event Data: (07FFFF) MB_Throttle throttle Assertion
    4 slot4 2022-08-05 00:55:29 ipmid SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 00:55:29, Sensor: SYSTEM_STATUS (0x10), Event Data: (07FFFF) MB_Throttle throttle Deassertion

  1. CPU/memory thermal trip
  • Set GPIO manually to trigger event
    [BIC console]
    uart:$ gpio conf GPIO0_E_H 26 out
    Configuring GPIO0_E_H pin 26
    uart:
    $ gpio set GPIO0_E_H 26 0
    Writing to GPIO0_E_H pin 26
    uart:$ gpio conf GPIO0_A_D 20 out
    Configuring GPIO0_A_D pin 20
    uart:
    $ gpio set GPIO0_A_D 20 0
    Writing to GPIO0_A_D pin 20

  • Check BMC get SEL
    [BMC console]
    root@bmc-oob:~# log-util --print slot4
    ...
    4 slot4 2022-08-05 01:17:33 ipmid SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:17:33, Sensor: SYSTEM_STATUS (0x10), Event Data: (11FFFF) CPU/Memory thermal trip Assertion

  1. SOC thermal trip
  • Set GPIO manually to trigger event
    [BIC console]
    uart:$ gpio conf GPIO0_E_H 26 out
    Configuring GPIO0_E_H pin 26
    uart:
    $ gpio set GPIO0_E_H 26 1
    Writing to GPIO0_E_H pin 26
    uart:$ gpio conf GPIO0_A_D 20 out
    Configuring GPIO0_A_D pin 20
    uart:
    $ gpio set GPIO0_A_D 20 0
    Writing to GPIO0_A_D pin 20

  • Check BMC get SEL
    [BMC console]
    root@bmc-oob:~# log-util --print slot4
    ...
    4 slot4 2022-08-05 01:19:34 ipmid SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:19:34, Sensor: SYSTEM_STATUS (0x10), Event Data: (00FFFF) SOC thermal trip Assertion

  1. System throttle
  • Set GPIO manually to trigger event
    [BIC console]
    uart:$ gpio conf GPIO0_E_H 27 out
    Configuring GPIO0_E_H pin 27
    uart:
    $ gpio set GPIO0_E_H 27 0
    Writing to GPIO0_E_H pin 27
    uart:~$ gpio set GPIO0_E_H 27 1
    Writing to GPIO0_E_H pin 27

  • Check BMC get SEL
    [BMC console]
    root@bmc-oob:~# log-util --print slot4
    ...
    4 slot4 2022-08-05 01:26:20 ipmid SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:26:20, Sensor: SYSTEM_STATUS (0x10), Event Data: (02FFFF) SYS_Throttle throttle Assertion
    4 slot4 2022-08-05 01:26:26 ipmid SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:26:26, Sensor: SYSTEM_STATUS (0x10), Event Data: (02FFFF) SYS_Throttle throttle Deassertion

  1. PCH thermal trip
  • Set GPIO manually to trigger event
    [BIC console]
    uart:$ gpio conf GPIO0_A_D 12 out
    Configuring GPIO0_A_D pin 12
    uart:
    $ gpio set GPIO0_A_D 12 0
    Writing to GPIO0_A_D pin 12
    uart:~$ gpio set GPIO0_A_D 12 1
    Writing to GPIO0_A_D pin 12

  • Check BMC get SEL
    [BMC console]
    root@bmc-oob:~# log-util --print slot4
    ...
    4 slot4 2022-08-05 01:34:33 ipmid SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:34:33, Sensor: SYSTEM_STATUS (0x10), Event Data: (03FFFF) PCH thermal trip Assertion
    4 slot4 2022-08-05 01:34:46 ipmid SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:34:46, Sensor: SYSTEM_STATUS (0x10), Event Data: (03FFFF) PCH thermal trip Deassertion

  1. HSC over current
  • Set GPIO manually to trigger event
    [BIC console]
    uart:$ gpio conf GPIO0_A_D 16 out
    Configuring GPIO0_A_D pin 16
    uart:
    $ gpio set GPIO0_A_D 16 0
    Writing to GPIO0_A_D pin 16
    uart:~$ gpio set GPIO0_A_D 16 1
    Writing to GPIO0_A_D pin 16

  • Check BMC get SEL
    [BMC console]
    root@bmc-oob:~# log-util --print slot4
    ...
    4 slot4 2022-08-05 01:38:02 ipmid SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:38:02, Sensor: SYSTEM_STATUS (0x10), Event Data: (06FFFF) HSC_OC warning Deassertion
    4 slot4 2022-08-05 01:38:03 ipmid SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:38:03, Sensor: CPU0_THERM_STATUS (0x1C), Event Data: (01FFFF) PROCHOT# Assertion
    4 slot4 2022-08-05 01:38:12 ipmid SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:38:12, Sensor: SYSTEM_STATUS (0x10), Event Data: (06FFFF) HSC_OC warning Assertion
    4 slot4 2022-08-05 01:38:12 ipmid SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:38:12, Sensor: CPU0_THERM_STATUS (0x1C), Event Data: (01FFFF) PROCHOT# Deassertion

  1. SCO memory hot
  • Set GPIO manually to trigger event
    [BIC console]
    uart:$ gpio conf GPIO0_A_D 22 out
    Configuring GPIO0_A_D pin 22
    uart:
    $ gpio set GPIO0_A_D 22 0
    Writing to GPIO0_A_D pin 22
    uart:~$ gpio set GPIO0_A_D 22 1
    Writing to GPIO0_A_D pin 22

  • Check BMC get SEL
    [BMC console]
    root@bmc-oob:~# log-util --print slot4
    ...
    4 slot4 2022-08-05 01:49:21 ipmid SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:49:21, Sensor: CPU_DIMM_HOT (0xB3), Event Data: (01FFFF) SOC MEMHOT Assertion
    4 slot4 2022-08-05 01:49:22 ipmid SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:49:22, Sensor: CPU_DIMM_HOT (0xB3), Event Data: (01FFFF) SOC MEMHOT Deassertion

  1. SOC VR hot
  • Set GPIO manually to trigger event
    [BIC console]
    uart:$ gpio conf GPIO0_A_D 18 out
    Configuring GPIO0_A_D pin 18
    uart:
    $ gpio set GPIO0_A_D 18 0
    Writing to GPIO0_A_D pin 18
    uart:~$ gpio set GPIO0_A_D 18 1
    Writing to GPIO0_A_D pin 18

  • Check BMC get SEL
    [BMC console]
    root@bmc-oob:~# log-util --print slot4
    ...
    4 slot4 2022-08-05 01:51:13 ipmid SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:51:13, Sensor: VR_HOT (0xB2), Event Data: (00FFFF) SOC VR HOT warning Assertion
    4 slot4 2022-08-05 01:51:13 ipmid SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:51:13, Sensor: CPU0_THERM_STATUS (0x1C), Event Data: (01FFFF) PROCHOT# Assertion
    4 slot4 2022-08-05 01:51:18 ipmid SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:51:18, Sensor: VR_HOT (0xB2), Event Data: (00FFFF) SOC VR HOT warning Deassertion
    4 slot4 2022-08-05 01:51:19 ipmid SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:51:19, Sensor: CPU0_THERM_STATUS (0x1C), Event Data: (01FFFF) PROCHOT# Deassertion

  1. PCH power error
  • Set GPIO manually to trigger event
    [BIC console]
    uart:$ gpio conf GPIO0_E_H 24 out
    Configuring GPIO0_E_H pin 24
    uart:
    $ gpio set GPIO0_E_H 24 0
    Writing to GPIO0_E_H pin 24

  • Check BMC get SEL
    [BMC console]
    root@bmc-oob:~# log-util --print slot4
    ...
    4 slot4 2022-08-05 02:07:17 ipmid SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 02:07:17, Sensor: PWR_ERR (0x56), Event Data: (02FFFF) PCH_PWROK failure, FRU:4 Assertion

Summary:
- Change to use the common function to add SEL, and remove the redundant platform function of adding SEL.

Test plan:
- Build code: Pass
- Trigger event and check SEL: Pass

Log:
1. VR watchdog timeout
- Set GPIO manually to trigger event
[BIC console]
uart:~$ gpio conf GPIO0_A_D 15 out
Configuring GPIO0_A_D pin 15
uart:~$ gpio set GPIO0_A_D 15 0
Writing to GPIO0_A_D pin 15
uart:~$ gpio conf GPIO0_A_D 2 out
Configuring GPIO0_A_D pin 2
uart:~$ gpio set GPIO0_A_D 2 0
Writing to GPIO0_A_D pin 2
uart:~$ gpio set GPIO0_A_D 2 1
Writing to GPIO0_A_D pin 2

- Check BMC get SEL
[BMC console]
root@bmc-oob:~# log-util --print slot4
...
4    slot4    2022-08-04 23:57:31    ipmid            SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-04 23:57:31, Sensor: SYSTEM_STATUS (0x10), Event Data: (0AFFFF) VR Watchdog timeout Assertion

2. System power error
- Set GPIO manually to trigger event
[BIC console]
uart:~$ gpio conf GPIO0_A_D 15 out
Configuring GPIO0_E_H pin 15
uart:~$ gpio set GPIO0_A_D 15 0
Writing to GPIO0_E_H pin 15

- Check BMC get SEL
[BMC console]
root@bmc-oob:~# log-util --print slot4
...
4    slot4    2022-08-05 00:06:22    ipmid            SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 00:06:22, Sensor: PWR_ERR (0x56), Event Data: (01FFFF) SYS_PWROK failure, FRU:4 Assertion

3. FM throttle
- Set GPIO manually to trigger event
[BIC console]
uart:~$ gpio conf GPIO0_E_H 2 out
Configuring GPIO0_E_H pin 2
uart:~$ gpio set GPIO0_E_H 2 0
Writing to GPIO0_E_H pin 2
uart:~$ gpio set GPIO0_E_H 2 1
Writing to GPIO0_E_H pin 2

- Check BMC get SEL
[BMC console]
root@bmc-oob:~# log-util --print slot4
...
4    slot4    2022-08-05 00:29:53    ipmid            SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 00:29:53, Sensor: SYSTEM_STATUS (0x10), Event Data: (10FFFF) FM_Throttle throttle Assertion
4    slot4    2022-08-05 00:30:18    ipmid            SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 00:30:18, Sensor: SYSTEM_STATUS (0x10), Event Data: (10FFFF) FM_Throttle throttle Deassertion

4. HSC throttle
- Set GPIO manually to trigger event
[BIC console]
uart:~$ gpio conf GPIO0_E_H 9 out
Configuring GPIO0_E_H pin 9
uart:~$ gpio set GPIO0_E_H 9 0
Writing to GPIO0_E_H pin 9
uart:~$ gpio set GPIO0_E_H 9 1
Writing to GPIO0_E_H pin 9

- Check BMC get SEL
[BMC console]
root@bmc-oob:~# log-util --print slot4
...
4    slot4    2022-08-05 00:51:13    ipmid            SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 00:51:13, Sensor: SYSTEM_STATUS (0x10), Event Data: (05FFFF) HSC_Throttle throttle Assertion
4    slot4    2022-08-05 00:51:25    ipmid            SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 00:51:25, Sensor: SYSTEM_STATUS (0x10), Event Data: (05FFFF) HSC_Throttle throttle Deassertion

5. MB throttle
- Set GPIO manually to trigger event
[BIC console]
uart:~$ gpio conf GPIO0_E_H 18 out
Configuring GPIO0_E_H pin 18
uart:~$ gpio set GPIO0_E_H 18 0
Writing to GPIO0_E_H pin 18
uart:~$ gpio set GPIO0_E_H 18 1
Writing to GPIO0_E_H pin 18

- Check BMC get SEL
[BMC console]
root@bmc-oob:~# log-util --print slot4
...
4    slot4    2022-08-05 00:55:18    ipmid            SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 00:55:18, Sensor: SYSTEM_STATUS (0x10), Event Data: (07FFFF) MB_Throttle throttle Assertion
4    slot4    2022-08-05 00:55:29    ipmid            SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 00:55:29, Sensor: SYSTEM_STATUS (0x10), Event Data: (07FFFF) MB_Throttle throttle Deassertion

6. CPU/memory thermal trip
- Set GPIO manually to trigger event
[BIC console]
uart:~$ gpio conf GPIO0_E_H 26 out
Configuring GPIO0_E_H pin 26
uart:~$ gpio set GPIO0_E_H 26 0
Writing to GPIO0_E_H pin 26
uart:~$ gpio conf GPIO0_A_D 20 out
Configuring GPIO0_A_D pin 20
uart:~$ gpio set GPIO0_A_D 20 0
Writing to GPIO0_A_D pin 20

- Check BMC get SEL
[BMC console]
root@bmc-oob:~# log-util --print slot4
...
4    slot4    2022-08-05 01:17:33    ipmid            SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:17:33, Sensor: SYSTEM_STATUS (0x10), Event Data: (11FFFF) CPU/Memory thermal trip Assertion

7. SOC thermal trip
- Set GPIO manually to trigger event
[BIC console]
uart:~$ gpio conf GPIO0_E_H 26 out
Configuring GPIO0_E_H pin 26
uart:~$ gpio set GPIO0_E_H 26 1
Writing to GPIO0_E_H pin 26
uart:~$ gpio conf GPIO0_A_D 20 out
Configuring GPIO0_A_D pin 20
uart:~$ gpio set GPIO0_A_D 20 0
Writing to GPIO0_A_D pin 20

- Check BMC get SEL
[BMC console]
root@bmc-oob:~# log-util --print slot4
...
4    slot4    2022-08-05 01:19:34    ipmid            SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:19:34, Sensor: SYSTEM_STATUS (0x10), Event Data: (00FFFF) SOC thermal trip Assertion

8. System throttle
- Set GPIO manually to trigger event
[BIC console]
uart:~$ gpio conf GPIO0_E_H 27 out
Configuring GPIO0_E_H pin 27
uart:~$ gpio set GPIO0_E_H 27 0
Writing to GPIO0_E_H pin 27
uart:~$ gpio set GPIO0_E_H 27 1
Writing to GPIO0_E_H pin 27

- Check BMC get SEL
[BMC console]
root@bmc-oob:~# log-util --print slot4
...
4    slot4    2022-08-05 01:26:20    ipmid            SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:26:20, Sensor: SYSTEM_STATUS (0x10), Event Data: (02FFFF) SYS_Throttle throttle Assertion
4    slot4    2022-08-05 01:26:26    ipmid            SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:26:26, Sensor: SYSTEM_STATUS (0x10), Event Data: (02FFFF) SYS_Throttle throttle Deassertion

9. PCH thermal trip
- Set GPIO manually to trigger event
[BIC console]
uart:~$ gpio conf GPIO0_A_D 12 out
Configuring GPIO0_A_D pin 12
uart:~$ gpio set GPIO0_A_D 12 0
Writing to GPIO0_A_D pin 12
uart:~$ gpio set GPIO0_A_D 12 1
Writing to GPIO0_A_D pin 12

- Check BMC get SEL
[BMC console]
root@bmc-oob:~# log-util --print slot4
...
4    slot4    2022-08-05 01:34:33    ipmid            SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:34:33, Sensor: SYSTEM_STATUS (0x10), Event Data: (03FFFF) PCH thermal trip Assertion
4    slot4    2022-08-05 01:34:46    ipmid            SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:34:46, Sensor: SYSTEM_STATUS (0x10), Event Data: (03FFFF) PCH thermal trip Deassertion

10. HSC over current
- Set GPIO manually to trigger event
[BIC console]
uart:~$ gpio conf GPIO0_A_D 16 out
Configuring GPIO0_A_D pin 16
uart:~$ gpio set GPIO0_A_D 16 0
Writing to GPIO0_A_D pin 16
uart:~$ gpio set GPIO0_A_D 16 1
Writing to GPIO0_A_D pin 16

- Check BMC get SEL
[BMC console]
root@bmc-oob:~# log-util --print slot4
...
4    slot4    2022-08-05 01:38:02    ipmid            SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:38:02, Sensor: SYSTEM_STATUS (0x10), Event Data: (06FFFF) HSC_OC warning Deassertion
4    slot4    2022-08-05 01:38:03    ipmid            SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:38:03, Sensor: CPU0_THERM_STATUS (0x1C), Event Data: (01FFFF) PROCHOT# Assertion
4    slot4    2022-08-05 01:38:12    ipmid            SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:38:12, Sensor: SYSTEM_STATUS (0x10), Event Data: (06FFFF) HSC_OC warning Assertion
4    slot4    2022-08-05 01:38:12    ipmid            SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:38:12, Sensor: CPU0_THERM_STATUS (0x1C), Event Data: (01FFFF) PROCHOT# Deassertion

11. SCO memory hot
- Set GPIO manually to trigger event
[BIC console]
uart:~$ gpio conf GPIO0_A_D 22 out
Configuring GPIO0_A_D pin 22
uart:~$ gpio set GPIO0_A_D 22 0
Writing to GPIO0_A_D pin 22
uart:~$ gpio set GPIO0_A_D 22 1
Writing to GPIO0_A_D pin 22

- Check BMC get SEL
[BMC console]
root@bmc-oob:~# log-util --print slot4
...
4    slot4    2022-08-05 01:49:21    ipmid            SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:49:21, Sensor: CPU_DIMM_HOT (0xB3), Event Data: (01FFFF) SOC MEMHOT Assertion
4    slot4    2022-08-05 01:49:22    ipmid            SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:49:22, Sensor: CPU_DIMM_HOT (0xB3), Event Data: (01FFFF) SOC MEMHOT Deassertion

12. SOC VR hot
- Set GPIO manually to trigger event
[BIC console]
uart:~$ gpio conf GPIO0_A_D 18 out
Configuring GPIO0_A_D pin 18
uart:~$ gpio set GPIO0_A_D 18 0
Writing to GPIO0_A_D pin 18
uart:~$ gpio set GPIO0_A_D 18 1
Writing to GPIO0_A_D pin 18

- Check BMC get SEL
[BMC console]
root@bmc-oob:~# log-util --print slot4
...
4    slot4    2022-08-05 01:51:13    ipmid            SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:51:13, Sensor: VR_HOT (0xB2), Event Data: (00FFFF) SOC VR HOT warning Assertion
4    slot4    2022-08-05 01:51:13    ipmid            SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:51:13, Sensor: CPU0_THERM_STATUS (0x1C), Event Data: (01FFFF) PROCHOT# Assertion
4    slot4    2022-08-05 01:51:18    ipmid            SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:51:18, Sensor: VR_HOT (0xB2), Event Data: (00FFFF) SOC VR HOT warning Deassertion
4    slot4    2022-08-05 01:51:19    ipmid            SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 01:51:19, Sensor: CPU0_THERM_STATUS (0x1C), Event Data: (01FFFF) PROCHOT# Deassertion

13. PCH power error
- Set GPIO manually to trigger event
[BIC console]
uart:~$ gpio conf GPIO0_E_H 24 out
Configuring GPIO0_E_H pin 24
uart:~$ gpio set GPIO0_E_H 24 0
Writing to GPIO0_E_H pin 24

- Check BMC get SEL
[BMC console]
root@bmc-oob:~# log-util --print slot4
...
4    slot4    2022-08-05 02:07:17    ipmid            SEL Entry: FRU: 4, Record: Standard (0x02), Time: 2022-08-05 02:07:17, Sensor: PWR_ERR (0x56), Event Data: (02FFFF) PCH_PWROK failure, FRU:4 Assertion
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 10, 2022
@facebook-github-bot
Copy link
Contributor

@GoldenBug has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

MouchenHung-QUANTA added a commit to MouchenHung-QUANTA/OpenBIC that referenced this pull request Aug 24, 2022
facebook-github-bot pushed a commit that referenced this pull request Aug 24, 2022
…474) (#517)

Summary:
- Replace add_sel_evt_record() with common_add_sel_evt_record().

Dependency: #474

Pull Request resolved: #517

Test Plan: - Build Code: PASS

Reviewed By: garnermic

Differential Revision: D38989051

Pulled By: GoldenBug

fbshipit-source-id: dae72716952a7899033301fbf37bc6ac81a10b3e
@SaraSYLin SaraSYLin deleted the Sara/fby3.5-cl-Remove_redundant_add_sel branch August 25, 2022 05:05
IreneLin988 pushed a commit to IreneLin988/OpenBIC that referenced this pull request Aug 29, 2022
…acebook#474) (facebook#517)

Summary:
- Replace add_sel_evt_record() with common_add_sel_evt_record().

Dependency: facebook#474

Pull Request resolved: facebook#517

Test Plan: - Build Code: PASS

Reviewed By: garnermic

Differential Revision: D38989051

Pulled By: GoldenBug

fbshipit-source-id: dae72716952a7899033301fbf37bc6ac81a10b3e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants