LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having 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


Reply
  Search this Thread
Old 08-17-2020, 07:24 AM   #1
Leonard_Linux
Member
 
Registered: Aug 2020
Location: Germany
Distribution: Slackware
Posts: 46

Rep: Reputation: 2
Question MSI PX60 2QD hangs at shutdown


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:
I am now on Fedora and here it also doesn't work. I tried shutting down my laptop with the following operating systems:
  • Linux Mint → Failed
  • Fedora → Failed
  • Ubuntu → Failed
  • Debian → Failed
  • FreeBSD → Failed
  • Windows → Worked
  • AntiX Linux (Live) → Failed
  • Arch Linux (Live) → Failed
  • MX Linux → Failed
  • EndeavourOS → Failed

I created a Ubuntu bug report (https://bugs.launchpad.net/ubuntu/+s...x/+bug/1860800) and asked in two different IRC channels. No fix for this so far. I attached the output of
Code:
 inxi -Fxz
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?
Attached Files
File Type: txt inxi-2020-08-18.txt (2.5 KB, 13 views)

Last edited by Leonard_Linux; 08-25-2020 at 04:31 AM. Reason: Updating information
 
Old 08-18-2020, 02:59 AM   #2
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
Leonard_Linux,

Welcome to LQ forums.

What is the output of:

Code:
  inxi -Fxz
You may need to first install inxi:

Code:
sudo apt install inxi
Are you using UEFI boot and is Secure Boot disabled?

Last edited by beachboy2; 08-18-2020 at 03:00 AM.
 
Old 08-18-2020, 08:20 AM   #3
Leonard_Linux
Member
 
Registered: Aug 2020
Location: Germany
Distribution: Slackware
Posts: 46

Original Poster
Rep: Reputation: 2
Hello beachboy2,


I attached the output of inxi. I use UEFI and secure boot is disabled.


Best regards,
Leonard_Linux
Attached Files
File Type: txt inxi-2020-08-18.txt (2.5 KB, 11 views)
 
Old 08-18-2020, 08:25 AM   #4
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,493

Rep: Reputation: Disabled
Will it shutdown properly from the command line?

Code:
sudo halt -p
 
Old 08-18-2020, 09:10 AM   #5
Leonard_Linux
Member
 
Registered: Aug 2020
Location: Germany
Distribution: Slackware
Posts: 46

Original Poster
Rep: Reputation: 2
Dear fatmac,

Code:
 sudo halt -p
didn't work for me. Same effect as the other commands I tried.

Best regards,
Leonard_Linux
 
Old 08-21-2020, 03:49 PM   #6
Leonard_Linux
Member
 
Registered: Aug 2020
Location: Germany
Distribution: Slackware
Posts: 46

Original Poster
Rep: Reputation: 2
Hi guys,

I tried installing the packages "intel-microcode" and "firmware-linux", it didn't help. I tried the following
Code:
$ sudo journalctl -k -r
[…]
Aug 21 22:39:56 MSI kernel: ACPI: NMI not connected to LINT 1!
[…]
Could this be related?

Best regards,
Leonard_Linux
 
Old 08-22-2020, 03:20 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Leonard_Linux View Post
The last message is always "reboot: power down"
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.
 
Old 08-22-2020, 06:01 AM   #8
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
Leonard_Linux,

You say that you have the latest BIOS.

Does that include a microcode update (updates microcode to 13) as mentioned here (post #86) for the MSI PX60 2QD:
https://bbs.archlinux.org/viewtopic.php?id=201194&p=4

It appears that the Core i7-5700HQ CPU in particular can be affected on a variety of motherboards.
 
Old 08-22-2020, 07:15 AM   #9
Leonard_Linux
Member
 
Registered: Aug 2020
Location: Germany
Distribution: Slackware
Posts: 46

Original Poster
Rep: Reputation: 2
Dear beachboy2,

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?

Best regards,
Leonard_Linux
 
Old 08-22-2020, 07:25 AM   #10
Leonard_Linux
Member
 
Registered: Aug 2020
Location: Germany
Distribution: Slackware
Posts: 46

Original Poster
Rep: Reputation: 2
Dear ondho,

Quote:
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.

Best regards,
Leonard_Linux
 
Old 08-22-2020, 08:07 AM   #11
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
Leonard_Linux,

I guess you already have this BIOS update (version E16H6IMS.110):
https://www.msi.com/Laptop/support/px60-2qd
 
Old 08-22-2020, 10:14 AM   #12
Leonard_Linux
Member
 
Registered: Aug 2020
Location: Germany
Distribution: Slackware
Posts: 46

Original Poster
Rep: Reputation: 2
Dear beachboy2,

Quote:
I guess you already have this BIOS update (version E16H6IMS.110):
yes, I double-checked it. Was the output of inxi any use?

Best regards,
Leonard_Linux
 
Old 08-22-2020, 03:38 PM   #13
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
Leonard_Linux,

Not really.

I also suspect this problem is related to ACPI.
 
Old 08-23-2020, 06:52 AM   #14
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
Leonard_Linux,

I know that you have tried Arch, but there is no harm in giving EndeavourOS a try:
https://endeavouros.com/

The reason I mention this is because I have just received a microcode update (AMD u-code) for my AMD system.

Hopefully the latest Intel microcode will be available for your system.

Worth a try?
 
Old 08-23-2020, 09:41 AM   #15
Leonard_Linux
Member
 
Registered: Aug 2020
Location: Germany
Distribution: Slackware
Posts: 46

Original Poster
Rep: Reputation: 2
Dear beachboy2,

I'm going to give it a try. Thanks for the hint

Best regards,
Leonard_Linux
 
  


Reply

Tags
acpi, kernel, laptop, msi, shutdown



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is the default powerstate (e.g. S3,S4,S5) for the command 'shutdown -hP' or 'shutdown -hH' or 'shutdown -h' badbetty Slackware 6 11-12-2017 12:18 AM
[Solved] MSI GT72 2QD Qualcomm Atheros QCA6174 laitcg Linux - Laptop and Netbook 3 01-11-2016 10:04 PM
Install Realtek ALC3223 drivers: X hangs on start, shutdown/reboot hangs? RatCorpseKing Slackware - Installation 1 04-27-2015 11:26 PM
konsole shutdown possible? or key combo = shutdown possible? Laptop2250 Linux - Newbie 3 11-16-2003 10:44 AM
shutdown hang during eth0 shutdown kurtisw Linux - Networking 5 10-30-2003 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 04:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration