Shutdown Hang
Renê Barbosa
renebarbosafl at gmail.com
Fri Mar 10 12:10:44 UTC 2017
Hello Marius,
> Can you force a reboot/shutdown by using the magic SysRq key? (Hold
> down Alt+PrintScren, then type S, U, B to reboot or S, U, O to power
> off, while still holding the Alt+PrintScreen.)
Y
eah, Magic SysRq works, I am using it with REISUB or REISUO when needed.
What's not working is just the shutdown through systemd commands after a
few hours of uptime, which is really annoying.
It does sound like systemd is waiting for some service to shut down, but
> that service is taking a long time to shut down.
> /usr/share/doc/systemd/README.Debian.gz has a section titled "Debugging
> boot/shutdown problems". You may want to use the method described there
> to see what's actually going on during the shutdown procedure.
Yah, I saw it and tried to check but I could not.
When the hang occurs the only one keyboard button working is the "Power
Off".
For example:
If I start my laptop and then, run systemctl poweroff It's working fine;
If I start my laptop and run systemctl poweroff after a few hours (4 for
example) the system shutdown is freezing. I've already booted with command
line and debug options and the system is freezing with messages like
"reboot: Power down" on screen. It's like the system is halting instead of
shutting down.
Please check:
https://launchpadlibrarian.net/306411830/IMG-20170214-WA0043.jpg
I've filled a bug against systemd (#/1663794) in Launchpad but received no
help til now.
Thanks for the answer!
Atenciosamente,
*Renê Barbosa de Figueirêdo Lima*
Website: http://renebarbosa.com.br
2017-03-10 6:31 GMT-03:00 Marius Gedminas <marius at gedmin.as>:
> On Thu, Mar 09, 2017 at 09:36:24PM -0300, Renê Barbosa wrote:
> > After upgrading my laptop (Dell Inspiron 5447) from 14.04 to Ubuntu GNOME
> > 16.04.2 I can't shut down after a few hours using the system (4+ hours).
> It
> > hangs in Plymouth and stays that way until I force the shutdown by
> pressing
> > the Power Button.
>
> Can you force a reboot/shutdown by using the magic SysRq key? (Hold
> down Alt+PrintScren, then type S, U, B to reboot or S, U, O to power
> off, while still holding the Alt+PrintScreen.)
>
> > It looks like this is a common bug (there are tons of questions on the
> > Internet). I tried to fix it, but none of my attempts were effective.
>
> I had experienced some fun with reboots taking a long time (20-40
> *minutes*), which turned out to be due to swapoff being really slow.
> But I see you already tried turning swap off, so it's not that.
>
> > Already tried:
> >
> > 1. Boot with acpi=force, acpi=noirq and pci=noacpi
> > 2. Disable Swap
> > 3. Run 'sync' before reboot or shutdown
> > 4. Use another kernel version (4.7, 4.8, 4.9 and 4.10 from mainline)
> > 5. Disabling USB 3.0
> > 6. Disabling TLP
> > 7. Install AMDGPU-PRO 16.60
> >
> > The most interesting thing is: I can shutdown/reboot normally using 14.04
> > and the kernel from Xenial HWE. Is It a systemd bug?
>
> It does sound like systemd is waiting for some service to shut down, but
> that service is taking a long time to shut down.
>
> /usr/share/doc/systemd/README.Debian.gz has a section titled "Debugging
> boot/shutdown problems". You may want to use the method described there
> to see what's actually going on during the shutdown procedure.
>
> Regards,
> Marius Gedminas
> --
> IBM motto: "TEN vowels? Don't you know vowels are scrd?"
> -- Linus Torvalds
>
> --
> Ubuntu-GNOME mailing list
> Ubuntu-GNOME at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/ubuntu-gnome
>
>
More information about the Ubuntu-GNOME
mailing list