-
Notifications
You must be signed in to change notification settings - Fork 56
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
smtstate.service fails to offline CPUs #106
Comments
There is some timeout so if you have many CPUs this may fail. However, if your SMT remains at 8 then there is likely a different problem. I am not familiar with smtstate.service, and what it does exactly. In any case your logs do not show whatever error happened. For this purpose I use the smt_off.service which just unconditionally sets SMT to 1 which is more efficient and less error-prone. |
Also with recent kernels you could pass smt=1 or something to the kernel bu it's not possible to pass kernel parameters when automatically booting using the opal firmware. |
The system only has 20 CPUs.
smt_off fails with the same error
I've tried that as well, but it breaks boot entirely and the system won't ever come up. The ASMI logs System Hypervisor Firmware errors all the time and serial console spits out nothing after kexec |
Yes. I can also get |
Ok, I am in no way a systemd expert. Both of these services were added with limited scope, and are not regularly tested. I mostly forgot they are even in the code base aside from the faint long time ago memory of when the |
I tried mounting tmpfs over sysfs to simulate not having it mounted and I get a different error: Could not determine system cpu/thread information. |
In fact I don't know where "One or more cpus could not be on/offlined" would come from |
it was changed to uppercase in ae2cfe7 |
Hi, I am running an IBM POWER8 S822L system with OPAL and Fedora 41. I want to persist the SMT state (SMT=1) to be able to use libvirtd.
I ran
ppc64_cpu --smt off
and thensmtstate --save
:Then I ran
systemctl enable smtstate.service
, but upon next boot it fails and SMT is still set to 8:But when I manually run
ppc64_cpu --smt off
it works. I assume this is ran too early? But even if I change the unit tomulti-user.target
it still fails.The text was updated successfully, but these errors were encountered: