FS#70773 - From linux 5.12 upgrade the system freeze when suspend.
Attached to Project:
Arch Linux
Opened by pushakk (pushakk) - Monday, 10 May 2021, 06:42 GMT
Last edited by Jan Alexander Steffens (heftig) - Monday, 21 June 2021, 18:29 GMT
Opened by pushakk (pushakk) - Monday, 10 May 2021, 06:42 GMT
Last edited by Jan Alexander Steffens (heftig) - Monday, 21 June 2021, 18:29 GMT
|
Details
From linux 5.12 upgrade the system freeze when suspend.
Tested in linux 5.12.* intel i915 chipset. From linux 5.12 upgrade the system fails when suspend from button or closing lid. The screen goes black and does not resume anymore and I have to hard reset the system. With linux-lts kernel it works fine. Thank you. |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Monday, 21 June 2021, 18:29 GMT
Reason for closing: Fixed
Additional comments about closing: linux 5.12.7.arch1-1
Monday, 21 June 2021, 18:29 GMT
Reason for closing: Fixed
Additional comments about closing: linux 5.12.7.arch1-1
When going to sleep, here is the last entries in the journal.
May 10 10:51:47 amish systemd[1]: Reached target Sleep.
May 10 10:51:47 amish systemd[1]: Starting Suspend...
May 10 10:51:47 amish systemd-sleep[2660]: Suspending system...
May 10 10:51:47 amish kernel: PM: suspend entry (deep)
And then system hangs and requires hard reboot. There is nothing else reported in journal.
Another problem is that for both 5.12.1 and 5.12.2 - system freezes within 10-15 minutes of working on it. And requires hard reboot. And then after reboot again hangs within 10-15 minutes.
When system freezes, there is nothing in journal. It simply hangs / freezes.
Downgrading back to 5.11.16 or LTS kernel works fine.
System is HP Probook 4510s
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU T6570 @ 2.10GHz
stepping : 10
microcode : 0xa0b
cpu MHz : 1925.909
cache size : 2048 KB
# lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] (rev 03)
02:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
85:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8072 PCI-E Gigabit Ethernet Controller (rev 10)
Also random freeze has not gone either. Sometimes freezes after 30 mins and sometime after 2-3 hours. (system has not gone beyond 3hrs)
Downgrading to LTS kernel solves both problems (no hang on suspend and no freeze whole day till manual shutdown at night)
I can enter suspend when booting into terminal mode instead of xfce.
When I start xfce suspend does not work, even when I logout and re-enter terminal mode.
Also my WiFi card seems to enter an unclean stage on succedful suspend which requires manually resetting the PCI device for it to function again.
LTS kernel fixes suspend but still has the PCI issue (which is why using LTS is not an option for me)
I considerd it is related to this issue.
However it still happen with 5.12.7
No hint by removing quiet from boot flags.
sleep / suspend works right.
random freeze seems to have gone too. System has not hung since about 11 hours now.