When I run shutdown, I run into the following infinite loop:
watchdog: watchdog0: watchdog did not stop!
block device autoloading is deprecated and will be removed.
block device autoloading is deprecated and will be removed.
block device autoloading is deprecated and will be removed.
block device autoloading is deprecated and will be removed.
block device autoloading is deprecated and will be removed.
block device autoloading is deprecated and will be removed.
blkdev_get_no_open: 277 callbacks suppressed
block device autoloading is deprecated and will be removed.
block device autoloading is deprecated and will be removed.
block device autoloading is deprecated and will be removed.
block device autoloading is deprecated and will be removed.
block device autoloading is deprecated and will be removed.
block device autoloading is deprecated and will be removed.
blkdev_get_no_open: 280 callbacks suppressed
In our use case, we were able to consistently reproduce the hang whenever there was an active array that wasn’t auto-assembled during startup. If we stopped all but the boot and OS arrays before reboot, it’d restart just fine. If we didn’t stop the extra arrays, it’d hang.
I don’t know if there’s some magic incantation for /etc/mdadm.conf that will work around this bug, but we were able to mitigate by adding a script unit to shutdown that unwinds the md/lvm/filesystem stack.
I’m curious to know if our situation is similar to others experiencing this issue. If so it might be easier to patch the shutdown process in Rocky than to wait on RH to backport a reversion.
I have exactly the same error lines and shutdown problems on my Rocky 9.1 workstation, running kernel-5.14.0-162.6.1.el9_1.0.1.x86_64.
I use disks in Raid1 using mdadm.
The machine just doesn’t shut down when using the Gnome button “shutdown” in the right top-hand corner of the screen, or as root “shutdown -h 0”.
I need to manually push and hold the power button of the machine. Not a good way and easy to forget…
I expect many users have this issue?
After the fresh install, it did shutdown properly, if I remember correctly. Then I installed several packages I need. No idea if and which one could be part of the problem…