-
Notifications
You must be signed in to change notification settings - Fork 39
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
Kernel 5.4 lockdown smbios-thermal #88
Comments
What is calling smbios-thermal-ctl on your machine? |
I don't know exactly. I believe it was Intel P-State and CPU Freq Manager, but ever disabling it the messages doesn't disappear.
|
Did you install this thing? https://github.com/jsalatas/plasma-pstate/ If so it definitely calls it. You should probably remove it and instead switch to thermald +dptfxtract. |
Yes, it was plasma-pstate. I uninstall this plasma widget. But I can reproduce the issue everytime I run |
Correct, the kernel locks down certain accesses that libsmbios tries to make. |
I know that is a very personal issue, but it possible to disable these accesses with an option (safe mode for example)?
|
The tool still works in the lockdown scenario right? I would think it should since it accesses over If so, then I do think it's possible to remove the access it tries to I suspect (but don't recall for sure) that's called from here:
But you'll probably need to walk through a debugger to find the proper call chain that leads. I think that a simple check if in lockdown mode to ignore /skip that stuff would be fine. Or remove the calls entirely if using WMI instead. |
Hello, i made some debug Problem is not in this line:
but in this one:
change it in //ret = memory_read(strBuf, DELL_SYSTEM_STRING_LOC, DELL_SYSTEM_STRING_LEN-1); resolve the problem. It's impossible to read from DELL_SYSTEM_STRING_LOC (0xFE076) in lockdown mode. So it might be useful to add a check. It could be useful to read the Lockdown Kernel state from: In my case: Integrity and Confidentiality don't allow to read from memory
|
Appreciate your debugging! For Dell platforms w/ SMBIOS 3.0 that field is actually already filled out as part of I think the proper solution should be to add a new function that tries to read
|
Hello,
After upgraded Kubuntu from 18.04 to 20.04 on my Dell XPS 9370, I had a lot of message in dmesg (syslog), 3 for seconds:
I know the issue is due to Secure Boot, but I would not disable it. Everything works fine, so I would like to know if is possible to limit the access of smbios-thermal to /dev/mem,kmem,port, whereas their lack of access is not causing problems.
Thanks in advance,
Salvatore
System Info:
Build Info
The text was updated successfully, but these errors were encountered: