Forum
[PROBLEM] Xbian stalling on shutdown - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Configuration (/forum-17.html)
+--- Thread: [PROBLEM] Xbian stalling on shutdown (/thread-4084.html)



Xbian stalling on shutdown - Gauner - 22nd Apr, 2020 06:14 AM

Hey,

I have a (quite) fresh install of the latest Xbian on a Raspberry Pi 3B+ with Kodi 18.6
From Kodi I can easily reboot from the menu, no problem.
But when I try "shutdown" fron the menu, the process hangs with the XBian-Logo, a frozen progress bar and the word "shutting down". Nothing happens any more.
Can anybody help how to narrows down that problem? Which logfiles show, what's happening in the background and which shutdown action hangs?

Thank You,


RE: Xbian stalling on shutdown - Gauner - 22nd Apr, 2020 04:44 PM

Maybe it would already be helpful to get rid of the logo while shutdown to see what's happening. How can I achieve that?


RE: Xbian stalling on shutdown - Nachteule - 22nd Apr, 2020 09:33 PM

Please change splash in nosplash in /boot/cmdline.txt and reboot


RE: Xbian stalling on shutdown - Gauner - 22nd Apr, 2020 10:20 PM

Ok, thanks, that helped a lot.
In the meantime I figured out: If I make a
Code:
sudo shutdown -h now
after exiting Kodi or from the SSH command line, then the splash screen goes until "System halted." (instead of freezing at "shutting down"), but the Pi still stays powered.
No, without the splash screen, I cannot see a difference between shutdown from Kodi or from console.
Both show
Terminal

[Info] Will now halt.
[ 1128.234234] reboot: Power Down
as the last two lines.
With reboot, they look like this:
Terminal

[Info] Will now restart.
[ 53.4442] reboot: Restarting System
So, both processes look the same and end up nearly the same and look totally ok (beside that irritating "reboot" befor the "Power Down").
It seems to me like just the signal for the Pi to go really "off" (as off as he can) is missing.

With
Code:
sudo shutdown -P now
reboot, the last messages look the same like with "-h" and the system still stays powered.


RE: Xbian stalling on shutdown - Gauner - 24th Apr, 2020 01:00 AM

Short update:
The strange behaviour starts and ends with using the dtoverlay=gpio-poweroff


RE: Xbian stalling on shutdown - Nachteule - 24th Apr, 2020 03:02 AM

(24th Apr, 2020 01:00 AM)Gauner Wrote:  Short update:
The strange behaviour starts and ends with using the dtoverlay=gpio-poweroff

Ah ok. Thanks for reporting. Never used it so never seen this lockdown.


RE: Xbian stalling on shutdown - fghihia - 10th Feb, 2022 02:45 PM

It might already be useful to remove the logo while shutting down to see what's going on. happy wheels unblocked