Created attachment 230409 [details] FreeBSD 12.2 dmesg file Dear Support, Concerns: HPE ProLiant DL325 Gen10 Server, AMD EPYC 7371 The command "shutdown -r now" worked with FreeBSD 12.0, 12.1, and 12.2 During upgrade to 12.3, "shutdown -r now" still worked after the first "freebsd-update install", but after the second "freebsd-update install" the server didn't boot any more. I then installed a vanilla 12.3 from memory stick but it doesn't help, the server doesn't boot any more after "shutdown -r now". What happens, the server shuts down, then it stays turned on, but the screen remains black. I've finally again installed a 12.2 and the command "shutdown -r now" works perfectly. I've annexed a 12.2 dmesg. Many thanks in advance for your help Kind regards Claudio
(In reply to Claudio Eichenberger from comment #0) > … shuts down, then it stays turned on … Did it respond properly to halt and power off? shutdown -p now At what level is firmware? <https://support.hpe.com/hpesc/public/docDisplay?docId=a00050521en_us&docLocale=en_US> <https://support.hpe.com/connect/s/product?language=en_US&tab=driversAndSoftware&kmpmoid=1010868978>
(In reply to Graham Perrin from comment #1) I'm not 100% sure, but I think I did an init 0 and it shut down correctly. To be sure, I cannot test immediately "shutdown -p now" as meanwhile it's running 12.2 again. By the way, I'd checked server's health and everything was fine. I've never updated firmware!
Created attachment 230497 [details] shutdown -p now
Comment on attachment 230497 [details] shutdown -p now I've upgraded to 12.3 and did a shutdown -p now The system did not power off cf. attached file shutdown.jpg
I've installed the latest firmware, but the problem remains.
(In reply to Graham Perrin from comment #1) During upgrade from 12.2 to 12.3, after the first 'freebsd-update install' the server still boots, but after the second 'freebsd-update install' no more. By the way, with 12.3 I can see that all boxes, not just this 'AMD EPYC 7371', signal the following problem during shutdown: cannot unmount '/var/log': device busy
Having seen your comments in https://forums.freebsd.org/threads/cannot-unmount-messages-appear-during-the-shutdown-after-upgrade-from-12-2-p12-to-12-3-p1.83958/ I removed # KEYWORD: shutdown from /etc/rc.d/zfs so there's no more the message cannot unmount '/var/log': device busy during shutdown, but that does not solve the problem. Using LiveCD 12.3 or 13.0 and doing a shutdown -r now does not work either. The box worked fine with 12.0, 12.1, and 12.2, but since it flunks. Have you got any idea what it could be?
FreeBSD 13.0 had the problem too FreeBSD 13.1 had the problem too FreeBSD 13.2 is fine : shutdown really turns the server off and an init 6 reboots it
I didn't pay much attention to it :) I have had this problem in my 12.x-STABLE environment since probably the same time. What I know is that we have to wait about 5-7 minutes for it to run, not that a reboot or power off doesn't run. Also, if we reboot or power off with little disk access, there is almost no such waiting time. But this is unclear.
(In reply to Tatsuki Makino from comment #9) Claudio, do you find the same, if you wait the same length of time (or longer)?
… assuming that you still have a 12.⋯ boot environment …
I can not confirm for the 12.- boot environment, all my boxes are now on 13.2. But if I remember right, 12.2, 13.0 and 13.1 never turned off, even not after hours.
I ran stable/12-n236231-53c5e2732978 for 92 days and 5 hours and shutdown -p, it powered off in about 2 minutes from the output of usb devices disconnect. I don't see the connection between it's uptime and the time it has to wait for it to turn off. From now on it is 6a0891c6ebb7 :)