I retract my statement, this looks perfectly safe and effective.
Good luck transporting a couch on a motorbike.
I click the reboot button on cockpit, which issues a shutdown --reboot
command as root. I agree that sleep state S5 is powered off. From the acpi docs:
A computer state where the computer consumes a minimal amount of power. No user mode or system mode code is run. This state requires a large latency in order to return to the Working state. The system’s context will not be preserved by the hardware. The system must be restarted to return to the Working state. It is not safe to disassemble the machine in this state.
This likely means my system is failing to reach that s5/g2 state.
can you elaborate on why you suspect this? The cockpit reboot or shutdown button uses the shutdown
command directly along with a --reboot
or --poweroff
flag.
onSubmit(event) {
const Dialogs = this.context;
const arg = this.props.shutdown ? "--poweroff" : "--reboot";
if (!this.props.shutdown)
cockpit.hint("restart");
cockpit.spawn(["shutdown", arg, this.state.when, this.state.message], { superuser: "require", err: "message" })
.then(this.props.onClose || Dialogs.close)
.catch(e => this.setState({ error: e.toString() }));
event.preventDefault();
return false;
}
(source)
thanks for the suggestion, could you elaborate on what this would do differently from the regular shutdown command that systemctl uses? thanks again
that is what I end up doing right now, but if I'm on vacation and I need to reboot, I'm fucked.
Ok. Cockpit uses the shutdown command to shut down[src], but systemctl poweroff might work. I will also attempt to revert bioses if msi supports it. thank you very much!
yeah journalctl logs show nothing relevant. I have disabled acpi and forced it(acpi=force
), but that didn't fix this. There are a lot of different combinations of acpi settings I could try:
acpi=force noapic
nolapic
noapic
acpi_osi=“Linux”
acpi_osi=“Windows 2006”
acpi=ht
pci=noacpi
acpi=noirq
pnpacpi=off
But I found these from a guy which they didn't work on so I'm reluctant to try them.
lsmod | grep nouveau
returns nothing, so I assume removing my gpu automatically stopped it from being loaded. that sorta rules out nouveau as an issue.
I have removed my gpu and the issue is still present.
The xserver-xorg-video-nouveau
package was not installed, how else would I remove nouveau?
Yes, I've always made sure to use
update-grub
and checked cmdline to make sure it has the correct parameters. Regardless of acpi=force or acpi=off, it would still hang.