Skip to contentSkip to conversation

IPMI SEL Event ID

DISCUSSION Yonghui YH21 Liu 3 participants 4 messages Sep 22, 2019 – Oct 15, 2019

lore
Share & tools
lore
#0 lore raw

HI All,
I find the new SEL event ID is not from base number(1) after I run "ipmitool sel clear" command. Is it the OpenBMC default design rule ? If not, any plan to fix the issue?

Thanks

#1 lore raw
Quoted 7 lines · On 9/22/2019 5:19 AM, Yonghui YH21 Liu wrote:

HI All,

         I find the new SEL event ID is not from base number(1) after I
run “ipmitool sel clear” command.

         Is it the OpenBMC default design rule ? If not, any plan to
fix the issue?

If you are using phosphor-sel-logger, it is a bug. The fix for it is up for review here: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-sel-logger/+/24843

Thanks!
-Jason

Quoted 3 lines

Thanks

#2 lore raw

Hi Jason,

New SEL ID is still not from base number(1) after "sel clear" command with the fix you provided. Is there any setting I need to notice that?
Please help to advise it.

Thanks,
Ivan

Quoted 27 lines

-----Original Message-----
From: openbmc <[email protected]> On Behalf Of Bills, Jason M
Sent: Tuesday, September 24, 2019 1:36 AM
To: [email protected]
Subject: [External] Re: IPMI SEL Event ID

Quoted 7 lines · On 9/22/2019 5:19 AM, Yonghui YH21 Liu wrote:

HI All,

         I find the new SEL event ID is not from base number(1) after
I run "ipmitool sel clear" command.

         Is it the OpenBMC default design rule ? If not, any plan to
fix the issue?

If you are using phosphor-sel-logger, it is a bug. The fix for it is up for review here:
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-sel-logger/+/24843

Thanks!
-Jason

Quoted 3 lines

Thanks

#3 lore raw
Quoted 5 lines · On 10/15/2019 3:11 AM, Ivan Li11 wrote:

Hi Jason,

New SEL ID is still not from base number(1) after "sel clear" command with the fix you provided. Is there any setting I need to notice that?
Please help to advise it.

Do you use rsyslog files or DBus entries for the SEL log? The fix I made works only for rsyslog files by checking if the files have been deleted (after a SEL Clear) and resets to 1 if they have.

If you are using DBus for SEL log entries, then the logic to initialize and increment the SEL Record ID will need to be updated to also check DBus.

Thanks,
-Jason

Quoted 30 lines

Thanks,
Ivan

Quoted 27 lines

-----Original Message-----
From: openbmc <[email protected]> On Behalf Of Bills, Jason M
Sent: Tuesday, September 24, 2019 1:36 AM
To: [email protected]
Subject: [External] Re: IPMI SEL Event ID

Quoted 7 lines · On 9/22/2019 5:19 AM, Yonghui YH21 Liu wrote:

HI All,

         I find the new SEL event ID is not from base number(1) after
I run "ipmitool sel clear" command.

         Is it the OpenBMC default design rule ? If not, any plan to
fix the issue?

If you are using phosphor-sel-logger, it is a bug. The fix for it is up for review here:
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-sel-logger/+/24843

Thanks!
-Jason

Quoted 3 lines

Thanks