System won't shut down fully on Intel Desktop Board
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
System won't shut down fully on Intel Desktop Board
Hello,
I'm having a problem with shutting down my PC.
Hardware specs:
CPU Intel Core 2 Duo E8200
Intel Desktop Board DG33TL
3 GB RAM, 160 GB HDD, 350W PSU...
___________
If I wanna shut down my computer, then it'll hang on shutting down screen, fans are still running, but HDD will power off. If I'll suspend my PC to RAM and then wake up it, it won't power on my HDD correctly and it freezes.
___________
What I have tried:
1.) reinstalling my distro - I have tried Debian Stretch and Jessie, Ubuntu Trusty, Fedora 26
2.) updating BIOS to last version - this solved my problem for 1 week
3.) disabling UEFI boot
4.) forcing ACPI in GRUB
5.) shutting down with SysRq key and combination of another keys as is explained here https://askubuntu.com/questions/5080...ck-on-shutdown
___________
I don't have any problem with shutting down while I use Microsoft Windows. I think there is a problem with ACPI, but I don't know where.
Thanks to all who will help me with this problem.
Best regards,
mikou.
Tell us what happens when you try each of these commands
1. sudo shutdown -h now #It should power off
2. sudo shutdown -r now #it should reboot
3. echo mem > /sys/power/state #it should suspend to memory. Disk should stop
4. echo disk > /sys/power/state # It should hibernate to disk.
It sounds like you are dualbooting here. Did you make sure to turn off "Fast StartUp"
on Windows? If not, when "shutting down" Windows, it is actually being put into a hibernation and suspended to disk. If you boot linux while Windows is suspended, it can cause all kinds of issues. I would check on this first if you have not already
I had a distro do that on a server for a while till a kernel update. Guess you could rule out Debian by trying other distro's. Flash drive install should be OK to test. If Debian usb flash drive works correctly then that may lead to issue. I assume it is stopping too fast.
Tell us what happens when you try each of these commands
1. sudo shutdown -h now #It should power off
2. sudo shutdown -r now #it should reboot
3. echo mem > /sys/power/state #it should suspend to memory. Disk should stop
4. echo disk > /sys/power/state # It should hibernate to disk.
It didn't power off, however, rebooting is not problem. If I suspend it with that command, it froze while I wanted to wake up it, so it's same like powering off/rebooting/suspending from dialog in XFCE (xfce4-logout).
It sounds like you are dualbooting here. Did you make sure to turn off "Fast StartUp"
on Windows? If not, when "shutting down" Windows, it is actually being put into a hibernation and suspended to disk. If you boot linux while Windows is suspended, it can cause all kinds of issues. I would check on this first if you have not already
I don't have dualboot, only one system is installed on my HDD. I tried to use Microsoft Windows with different HDD. However, thanks for your advice, it might be good solution.
I had a distro do that on a server for a while till a kernel update. Guess you could rule out Debian by trying other distro's. Flash drive install should be OK to test. If Debian usb flash drive works correctly then that may lead to issue. I assume it is stopping too fast.
I also tried other distributions (Ubuntu, Fedora) and different HDDs. This problem happened also when I used Live CD.
If other not related distro's do this then you have a problem. I guess you could look at bios for any settings that might affect this. Setting it all to factory or default may help. There are some acpi settings usually. I guess you could run memtest for a day just to see if that is hanging up. I get the feeling the power drops too fast in part of it. Maybe try different psu?
The acpi=force is a good option. I have that plus acpi_backlight=vendor so I can fiddle with the backlight on my "new" laptop. Without those I have no control over the backlight and it's super bright by default. Well, limited control while running X I can use xrandr and --off to shut off the LCD. Looks a bit like this in the actual grub.cfg:
Code:
linux /boot/vmlinuz-4.11.0-1-amd64 root=UUID=11111111-1111-1111-1111-111111111111 ro quiet acpi=force acpi_backlight=vendor
Several other kernel parms that might help deal with it. If it's a very OLD machine then acpi=false might help since it might use APM. Although you might need a new kernel to enable those options depending on distro.
It didn't power off, however, rebooting is not problem. If I suspend it with that command, it froze while I wanted to wake up it, so it's same like powering off/rebooting/suspending from dialog in XFCE (xfce4-logout).
Please give us a numbered reaction with what stops and what doesn't. Also the systemd command should be used (shutdown -H -P +0 or shutdown -h -P now depending on your distro)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.