Dear Markus,
The shutdown message is normal ... I think you can consider it "safe".
If you want, you could issue a reboot or shutdown now -r, and then interrupt U-Boot on the way back up.
Thanks for the quick and reassuring reply :-)
I did some further research, which aside from confirming what you wrote, provided some explanation for theis annoying message, as well as a way to get rid of it.
To summarise, it seems that from some version onward, the linux kernel automatically flushes the write cache before poweroff, and shuts down the disk subsystems - but this is a relatively recent change. Before that, in order for disk caches to be safely cached, /etc/init.d/halt passed the -h argument ("Put all harddrives on the system in standby mode just before halt or poweroff.") to halt. Nowadays, the kernel does this on its own, and the -h argument causes the offending message to appear (either because the disk subsystem is already down by the time this arg is processed, or because IDE devices are no longer seen as such, but as SCSI ones - I 'm not sure which one).
However Ubuntu, unlike newer versions of Debian) still passes the (no longer needed) -h argument to halt in /etc/init.d/halt .
The solution, therefore, is to edit /etc/init.d/halt :
sudo nano /etc/init.d/halt
and comment out the following lines: (only the first would do, but the others are also pointless)
# hddown="-h"
# if grep -qs '^md.*active' /proc/mdstat
# then
# hddown=""
# fi
Best regards,
Alf
References:
-
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/92685-
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/193125