Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello guys,
I can't shutdown my laptop. It hangs at the very last step of shutdown I think. I have disabled "quite splash" so I see what's going on during shutdown. The last message is always "reboot: power down", when I try with Linux. I also tried shutting down from a FreeBSD-Live-System, it worked one time, but after that it didn't work again.
The debug-shell is no use, because at the freeze point I can't type in commands. I also tried to shutdown with the following terminal commands:
Code:
sudo shutdown now
sudo shutdown -P now
sudo shutdown -h now
poweroff
sudo poweroff -f
sudo halt -p
All of them had the effect as describe above except the command
Code:
sudo poweroff -f
After I typed the command, I authenticated and following messages appeared: "Powering off...". At this point it freezed. I could still see the desktop and every visible window, but I couldn't perform any actions; not even keyboard shortcuts worked. When I tried the key combination "Alt + SysRq + R + E + I + S + U + O" (see https://en.wikipedia.org/wiki/Magic_SysRq_key) the same thing happened. It also did not help to change 'GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"' in /etc/default/grub to 'GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=force"' and run
Code:
sudo update-grub
I also tried several other kernel parameters, none of them worked so far. If you have a idea which one could help, please tell me
Once the following command combo did work:
Code:
sudo swapoff -a && systemctl poweroff"
but then I reinstalled Ubuntu and now it doesn't work any more. When I wake up the laptop, a black screen appears with some error messages, but only for a very short time so I can't make a photo of it.I tried once and the text was unreadable.
I have the latest BIOS and my Computer model is MSI PX60 2QD. Here the hardware specifications:
to this post. I use UEFI and secure boot is disabled. I tried to install the packages "intel-microcode" and "firmware-linux", it didn't help. I tried the following instantly after I tried to shutdown:
Code:
$ sudo journalctl -k -r
[…]
Aug 21 22:39:56 MSI kernel: ACPI: NMI not connected to LINT 1!
[…]
Could this somehow be related with my problem?
Is someone of you able to help me?
Last edited by Leonard_Linux; 08-25-2020 at 04:31 AM.
Reason: Updating information
Always "reboot"??? Even if you told it to shut down?
Anyhow, it hangs at that point, right?
It sounds like an ACPI issue to me (according to your last post you already suspect that too?).
The solution is to add some magic to your kernel command line. You have to search what might help, you ight need to try a few times. When you find what works we can help you make it permanent.
the URL mentioned in post #86 (https://www.msi.com/support/nb/PX60-2QD.html#down-bios) leads nowhere. I don't understand the last line of this post: "EDIT: Someone on the kernel bug tracker for this extracted the microcode update for 5700hq CPUs like the MSI update, if you want to try loading it at boot time: https://bugzilla.kernel.org/show_bug.cgi?id=103351 http://benjam.info/downloads/5700hq-ucode.tar.gz" Does that mean, I shall install the linked kernel in order to fix it?
Always "reboot"??? Even if you told it to shut down?
Yes and no. This message appears only when I tell it to shutdown.
Quote:
Anyhow, it hangs at that point, right?
Yes, it does.
Quote:
It sounds like an ACPI issue to me (according to your last post you already suspect that too?).
Yes, I also suspect it, but I'm not sure.
Quote:
The solution is to add some magic to your kernel command line. You have to search what might help, you ight need to try a few times. When you find what works we can help you make it permanent.
I already tried several kernel parameters and none of them worked. acpi=force for example had a very bad effect: it prevented me from booting.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.