Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initSELCache fails during booting #194

Open
trindenau opened this issue Aug 22, 2023 · 2 comments
Open

initSELCache fails during booting #194

trindenau opened this issue Aug 22, 2023 · 2 comments

Comments

@trindenau
Copy link

Hi, I have an issue with the initSELCache() function.
It seems that if it's running during boot it fails.
As far as I can see the problem is in getSensorSubtree() , the dbus call in the function can't find any of the sensors, but I saw while debugging that the function succeeds if we run it after the BMC is ready for login.
Do you know what can be the cause?

@leiyu-bytedance
Copy link
Contributor

The code retries if initSELCache() fails. Is there any issue during the retry?

@trindenau
Copy link
Author

This error doesn't cause any retries in the code.
This issue causes another problem: when we have SEL in the BMC and then we reboot the BMC all the sensor numbers in the restored SELs log will be incorrect (0xFF) since the getSensorSubtree() function can't find any sensors
So even if we run the function again the sensor numbers of the restored SEL will be 0xFF (default values)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants