You are not logged in.

#1 2015-05-21 20:03:47

linux_dream
Member
Registered: 2015-05-17
Posts: 45

[SOLVED]Reboot/shutdown doesn't work (HP laptop)

Hello people,
I have 2 big problems, the first one is that booting only works in about 60-70% of times (when it doesn't work, it gets stuck and I can't enter any command). I mention this one because it may have to do with the second one, but I am not sure.
The second one, and the one I'd like to solve with you guys in this thread, is that rebooting/shutdown doesn't work. For example "sudo reboot" or "systemctl reboot" or "systemctl poweroff" or "sudo shutdown" intiate systemd to close modules/processes but then just before powering off, the computer gets frozen. (yes I waited more than 5 minutes and nothing happens).
According to this page: https://wiki.freedesktop.org/www/Softwa … Debugging/, the command

sync && poweroff -f

should tell me whether it is a systemd or kernel "bug". I tried that command when I was on the lxde desktop environment, what it did was freezing the computer (mouse cursor wouldn't move).
I've taken a photo about what happens when I usually type "systemctl poweroff", at the moment it gets frozen. Here it is: http://i.imgur.com/k0PGluq.jpg
Thus, apparently the problem is NOT related to systemd.

I also tried a live CD version of Lubuntu (so it has another kernel, probably 3.16 or 3.18) and it had the same problem.

However I dual boot with Windows 8.1 and reboot/shutdown work properly so it isn't a hardware problem.
Worth mentioning is that the hardware is a HP laptop, the exact model and specs can be found there: http://support.hp.com/us-en/document/c04439109.

Thanks for any tip to solve the problem(s) or diagnose it.

Mod note: Converted img to url -- WorMzy

Last edited by linux_dream (2015-05-23 01:02:23)

Offline

#2 2015-05-21 20:37:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]Reboot/shutdown doesn't work (HP laptop)

man-db cache can take a while to update. Disable it and see if you can boot or some issues persist.

Offline

#3 2015-05-21 20:47:22

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,894
Website

Re: [SOLVED]Reboot/shutdown doesn't work (HP laptop)

Hi linux_dream, please don't embed large images into your posts.

https://wiki.archlinux.org/index.php/Fo … s_and_code


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2015-05-22 01:47:05

linux_dream
Member
Registered: 2015-05-17
Posts: 45

Re: [SOLVED]Reboot/shutdown doesn't work (HP laptop)

karol wrote:

man-db cache can take a while to update. Disable it and see if you can boot or some issues persist.

Well it's a fresh install, I have almost no program and if I understand well this is ran only once per day while my booting /shutdown problems are permanent. Thus I highly doubt that this is the culprit.
But ok, I'll mask the service.

Edit: Suspend doesn't work either. The screen turns black but the keyboard lights are on and the fans are on.

Edit: The booting problem is definitely not related to mandb. The system hangs right after the word "blocks" in the screenshot in the 1st post of this thread.

Last edited by linux_dream (2015-05-22 02:47:01)

Offline

#5 2015-05-22 07:20:16

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: [SOLVED]Reboot/shutdown doesn't work (HP laptop)

linux_dream wrote:

I dual boot with Windows 8.1

Try disabling "fast startup" in Windows.
http://www.eightforums.com/tutorials/63 … s-8-a.html

Will your system reboot properly if you use either of these kernel parameters:

reboot=bios
reboot=acpi

Have you tried:

systemctl poweroff -i
systemctl reboot -i

Offline

#6 2015-05-22 15:53:39

linux_dream
Member
Registered: 2015-05-17
Posts: 45

Re: [SOLVED]Reboot/shutdown doesn't work (HP laptop)

Head_on_a_Stick wrote:
linux_dream wrote:

I dual boot with Windows 8.1

Try disabling "fast startup" in Windows.
http://www.eightforums.com/tutorials/63 … s-8-a.html

Will your system reboot properly if you use either of these kernel parameters:

reboot=bios
reboot=acpi

Have you tried:

systemctl poweroff -i
systemctl reboot -i

Thank you. Unfortunately none of this worked (I had fast start up disabled), I took care to generate the grub.cfg file after each change.

Instead, however, what worked for me is:

echo "blacklist dw_dmac" | sudo tee -a /etc/modprobe.d/blacklist.conf
echo "blacklist dw_dmac_core" | sudo tee -a /etc/modprobe.d/blacklist.conf

I found out the answer at https://askubuntu.com/questions/580666/ … ilion-x360.

It seems a very common problems with HP laptops so I hope that this helps hundreds of people.

Offline

#7 2015-05-22 19:08:52

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: [SOLVED]Reboot/shutdown doesn't work (HP laptop)

linux_dream wrote:
echo "blacklist dw_dmac" | sudo tee -a /etc/modprobe.d/blacklist.conf
echo "blacklist dw_dmac_core" | sudo tee -a /etc/modprobe.d/blacklist.conf
sudo tee -a /etc/modprobe.d/blacklist.conf <<< "blacklist dw_dmac"
sudo tee -a /etc/modprobe.d/blacklist.conf <<< "blacklist dw_dmac_core"

Or perhaps:

# echo -e "blacklist dw_dmac\nblacklist dw_dmac_core" >> /etc/modprobe.d/blacklist.conf

(Sorry)

Offline

#8 2015-06-08 15:33:33

Florent38
Member
Registered: 2015-06-08
Posts: 1

Re: [SOLVED]Reboot/shutdown doesn't work (HP laptop)

Thanks a lot ! big_smile
It worked for me too

Offline

Board footer

Powered by FluxBB