this post was submitted on 05 Jun 2025
41 points (97.7% liked)
Linux
55339 readers
720 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Is it actual server hardware? I've seen some very weird things with real servers that take ages to reboot (I was assuming it was self checking or something). Are you sure its hung, and not just very slow to shutdown/reboot?
Is there any serial/monitor output before the hang?
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
I had this issue: failed to finalise remaining DM devices. Which led me to here https://github.com/systemd/systemd/issues/15004 and Skinner927 mentions your issue in that thread
I'd try uninstalling nouveau completely and see if the issue persists for you
The
xserver-xorg-video-nouveau
package was not installed, how else would I remove nouveau?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 https://docs.nvidia.com/ai-enterprise/deployment/vmware/latest/nouveau.html or apparently installing Nvidias proprietary drivers automatically blacklists Nouveau.
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.that's only the X11 "driver" for it. nouveau is built into the kernel, the way to "uninstall" it is to make it not get loaded, by blacklisting it
https://wiki.archlinux.org/title/Nouveau
but this does not seem to be the problem
Agreed,
lsmod | grep nouveau
returns nothing, so I'm not concerned about nouveau or nvidia being the issue here.Direct link to skinners comment: https://github.com/systemd/systemd/issues/15004#issuecomment-2264687287
seems its a nvidia issue, i also have that issue, the gpu locks and i need to reboot while the VM with the nvidia passthrough freezes. i need a full reboot from baremetal machine to stop gpu using all his power stuck, don't let it be for hours being on or you will kill your hardware
I have removed my gpu and the issue is still present.
yes sorry I read you after writting it, if you remove the GPU the log message is the same but without the GPU lockup line?
hi, a bios version revert solved the issue. thank you for the help!
Perfect! Thanks for the feedback, good to know BIOS could solve hardware issues also. Weird to see you needed to reverd to fix the problems.
Yeah that seems like a mainboard issue.
I've run arch linux for a year or so before converting it, and no issues with shutdown. what makes you think that's the cause?
Because you tried two different OSes and the point where it hangs is the point where the OS sends an APM/ACPI command to reboot / power off. This is the last thing the OS does. So if that's not happening something is wrong with the hardware, BIOS, or BIOS settings.
You could try the syslog (journalctl), but logging is probably already off at that point.
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:But I found these from a guy which they didn't work on so I'm reluctant to try them.
did you check it /proc/cmdline if the params were taken into account? perhaps you edited the config but didn't update the initramfs
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.And I guess if you're in front of the computer, you could just press the reset button or unplug it at that point (after it sucessfully synchronized the disks). no need to let it sit, there is no harm or data to be lost at that point.
that is what I end up doing right now, but if I'm on vacation and I need to reboot, I'm fucked.
Says reboot, are you issuing a reboot or a shutdown poweroff? Entering sleep state 5 shout be power off right?
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:This likely means my system is failing to reach that s5/g2 state.
If you ssh login directly and issue same command, not In cockpit interface, does it react the same?
hi, a bios revert fixed this issue. thank you for helping!
do you know that use device mapper? what kind of device is /dev/dm-1 ?
"dmsetup info" might help
sudo dmsetup info
returns:did you make these yourself? if not, could you cdo an
ls -l /dev/mapper
? it shows which name corresponds to which dm deviceHi, thanks for your help! I fixed this with a bios update.
no, sorry for not specifying. it's scrapped together from old consumer components.