You are not logged in.
Pages: 1
Hello everybody!
Long story short: my Arch Linux installation was working well for the past weeks and I had no problem powering off the PC, but today out of the blue it started freezing when shutting down. No problems when rebooting instead of shutting down.
Those are the last two messages I get before it stucks, no errors at all before (I don't know how to get the full log):
[ OK ] Reached target Shutdown.
[ xxxx.yyyy] reboot: Power down
I tried searching on Google and here on bbs but I found nothing useful.
Thank you in advance for your help!
Some more infos:
uname -a
Linux workpc 4.8.3-1-ARCH #1 SMP PREEMPT Thu Oct 20 19:53:59 CEST 2016 x86_64 GNU/Linux
cat /boot/loader/entries/arch.conf (Don't know if useful):
title Arch Linux
linux /vmlinuz-linux
initrd /intel-ucode.img
initrd /initramfs-linux.img
options root=PARTUUID=********-****-****-****-*********** rw
EDIT:
I switched to the LTS kernel and now it works, are there any ways to make the system works with the latest kernel?
uname -a
Linux workpc 4.4.27-1-lts #1 SMP Sat Oct 22 17:17:59 CEST 2016 x86_64 GNU/Linux
EDIT2:
Again not working
EDIT3:
Same issue even from Live and after a clean install
EDIT4:
Finally solved!
It was related to this bug.
Fixed with this script:
cat /usr/local/bin/shutdown-fix
#!/bin/sh
sync
/usr/bin/systemctl --force poweroff
added in
cat /usr/lib/systemd/system/systemd-poweroff.service
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#HOTFIX 27st October 2016
#added sync before shutdown
[Unit]
Description=Power-Off
Documentation=man:systemd-halt.service(8)
DefaultDependencies=no
Requires=shutdown.target umount.target final.target
After=shutdown.target umount.target final.target
[Service]
Type=oneshot
ExecStart=/usr/local/bin/shutdown-fix
Last edited by hella_fella (2016-10-27 04:30:37)
Offline
Do you have watchdog installed?
That could fix the issue.
Offline
Do you have watchdog installed?
That could fix the issue.
I just installed and enabled it, nothing changes
Still stuck at that message on shutdown... Also the dash stops blinking.
Offline
5-6 years ago, on some strange computers, I used
acpi=off
at startup but I don't remember if it was the off option.
Offline
5-6 years ago, on some strange computers, I used
acpi=off
at startup but I don't remember if it was the off option.
Ahem... This one freezes the PC even before boot really starts. Now I have to boot from USB and remove that part otherwise my laptop doesn't start AHAHAH
Offline
You can edit kernel parameters in grub...
About "out of the blue":
any "new" external devices (mouse, keyboard, usb keys, disc in optical drive ...)
did you update packages before this happened?
Offline
You can edit kernel parameters in grub...
About "out of the blue":
any "new" external devices (mouse, keyboard, usb keys, disc in optical drive ...)
did you update packages before this happened?
I use Systemd-boot as bootloader. Can't even access to any menu, it just freezes on boot. Anyway, no new devices added or updates done
Offline
Solved. View first post.
Last edited by hella_fella (2016-10-27 04:30:58)
Offline
Pages: 1