Bug 199349 - System hangs on shutdown/reboot with newer kernel - Toshiba Satellite A210 (AMD Turion X2, ATI Radeon HD2600)
Summary: System hangs on shutdown/reboot with newer kernel - Toshiba Satellite A210 (A...
Status: NEW
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Off (show other bugs)
Hardware: x86-64 Linux
: P1 high
Assignee: acpi_power-off
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-11 07:00 UTC by iphone.at.a01tnk
Modified: 2019-02-27 05:01 UTC (History)
4 users (show)

See Also:
Kernel Version: >=4.8
Tree: Mainline
Regression: No


Attachments

Description iphone.at.a01tnk 2018-04-11 07:00:20 UTC
I have a problem on my old Toshiba Satellite A210 laptop (AMD Turion X2 TL-64 with ATI Radeon HD2600 and 4GB ram); assuming that with Ubuntu 14.04 everything works perfectly, testing any version between 16.04, 17.04 and 17.10beta, the system always hangs on shutdown or reboot, remaining locked on the logo and forcing me to hold down the power button to force it to poweroff.
If I use another version (the latest versions of 4.8, 4.9, 4.10, 4.12, 4.13), errors go back and the system hangs again on shutdown or reboot.
I also noticed that using the grub nolapic option, the system turns off properly, but the CPU is not recognized correctly (only 1 core detected) and there are lags using the system; noapic has no effect, but other acpi options (acpi = off or acpi = noirq and all other combinations) block the system at startup.
Comment 1 johndoe71rus 2018-06-16 06:56:38 UTC
this affect to me 
I installed Lubuntu 18.04 on the usb hdd and checked on the 2 systems. On the desktop intel turns off and reboots without problems.
On the laptop dell inspiron 1501 there are problems with the reboot and shutdown. The power does not turn off. But entering hibernate mode turns off the power normally.
Checked calculate linux 17.12.2 behavior on the laptop is the same, does not power-off and reboot

and i have this problem with lubuntu 14.04.5 LTS
kernel: Linux x86 64-bit version 4.15.5-041505-generic
from  kernel.ubuntu.com/~kernel-ppa/mainline 
 GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=force"
don't help me

for Lubuntu 18.04 and calculate linux kernel of the box
Comment 2 johndoe71rus 2018-06-16 06:59:48 UTC
Lubuntu 18.04 and calculate linux 17.12.2 x86 version.
Comment 3 johndoe71rus 2019-01-22 06:25:04 UTC
option PowerNow Disabled in BIOS looks like fix the problem. But the CPU temp is grow up. And it work many years before with PowerNow Enable without problem.
Comment 4 Tom Li 2019-02-05 05:56:39 UTC
There's a race condition in the kernel cpufreq code, and could cause a deadlook when shutting down or rebooting the system. However, previously we are lucky and didn't trigger the race condition so the bug didn't show up. But since Linux v4.20, there have been changes to the RCU subsystem and thus exposing the bug. The developers are still discussing a systematic solution. If you know how to compile a kernel, you can try applying this patch, https://lkml.org/lkml/2018/11/13/857. If you don't, you should try reporting the bug to Ubuntu and ask the maintainers to include this patch in the next kernel revision, and see if it fixes your problem.
Comment 5 johndoe71rus 2019-02-06 03:48:57 UTC
yesterday i try latest 4.20.6 from https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20.6/ i get hang on reset and hang and message on Power-Off 

Starting Power-Off
[... ] systemd-shutdown [1]: Failed to wait for process: Protocol error.

This version without this patch?

Note You need to log in before you can comment on or make changes to this bug.