Linux server hangs on shutdown
I've had two server oses here: alma linux and debian(currently). On both of them, they will hang when I shut them down from cockpit, and they hang at the end of the shutdown.
Also, it takes an hour to a day to have this issue start. if it's restarted two times in a row quickly, it works perfectly fine for some reason.
What I've tried:
- setting "acpi=off" and "acpi=force" kernel parameters in grub
- removing my nvidia gpu(i was using nouveau drivers)
- changing distros
nothing worked. here are some things that both distros had in common with eachother:
- systemd
- cockpit
- libvirt & qemu
- docker
does anyone have advice? nothing i've seen online has worked. thank you for suggestions
catloaf
in reply to potentiallynotfelix • • •potentiallynotfelix
in reply to catloaf • • •I will try to restart it using the
reboot
command.The computer consists of:
catloaf
in reply to potentiallynotfelix • • •potentiallynotfelix
in reply to catloaf • • •I would like to note that this may have been caused by a bios update, as it started sometime after it. i'll try another update now.
edit: already on the latest bios version.
Nanook
in reply to potentiallynotfelix • •potentiallynotfelix
in reply to Nanook • • •cockpit/pkg/lib/cockpit-components-shutdown.jsx at main · cockpit-project/cockpit
GitHubNanook
in reply to potentiallynotfelix • •potentiallynotfelix
in reply to Nanook • • •sudo systemctl reboot
did the same. I'm starting to think this is bios related.Nanook
in reply to potentiallynotfelix • •potentiallynotfelix
in reply to Nanook • • •Nanook
in reply to potentiallynotfelix • •potentiallynotfelix
in reply to Nanook • • •Nanook
in reply to potentiallynotfelix • •potentiallynotfelix
Unknown parent • • •Monitor output after shutting down:
I've given it 6 hours or so to shut down, so it's almost 100% a hang not a slow shutdown
AnEilifintChorcra
in reply to potentiallynotfelix • • •I had this issue: failed to finalise remaining DM devices. Which led me to here github.com/systemd/systemd/iss… and Skinner927 mentions your issue in that thread
I'd try uninstalling nouveau completely and see if the issue persists for you
systemd-shutdown cannot finalize remaining DM devices, continuing · Issue #15004 · systemd/systemd
GitHubAnEilifintChorcra
Unknown parent • • •I don't have an Nvidia GPU so I don't have any experience with it but a quick search brought me to Nvidias website and the instructions seem to line up with users answers on other forums.
Disable it here docs.nvidia.com/ai-enterprise/… or apparently installing Nvidias proprietary drivers automatically blacklists Nouveau.
Disable Nouveau — NVIDIA AI Enterprise: VMware Deployment Guide
docs.nvidia.compotentiallynotfelix
in reply to AnEilifintChorcra • • •xserver-xorg-video-nouveau
package was not installed, how else would I remove nouveau?potentiallynotfelix
in reply to AnEilifintChorcra • • •