Open Vliro opened 1 year ago
Is the AC power connected when waking the laptop?
Is the AC power connected when waking the laptop?
Sometimes, sometimes not. Both
Please provide the output of this command cat /proc/cmdline
BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=... rw rootflags=subvol=@ acpi_osi=! acpi_osi=Linux resume=UUID=... loglevel=3 nowatchdog nvme_load=YES pstore.backend=efi efi_pstore.pstore_disable=0 initcall_blacklist=acpi_cpufreq_init
You seem to have a third-party kernel installed. Have you tried the mainline kernel?
Same issue on mainline
dec 04 15:57:41 albert-laptop kernel: INFO: task khugepaged:122 blocked for more than 122 seconds.
dec 04 15:57:41 albert-laptop kernel: Tainted: G OE 6.0.11-arch1-1 #1
dec 04 15:57:41 albert-laptop kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
dec 04 15:57:41 albert-laptop kernel: task:khugepaged state:D stack: 0 pid: 122 ppid: 2 flags:0x00004000
dec 04 15:57:41 albert-laptop kernel: Call Trace:
dec 04 15:57:41 albert-laptop kernel: <TASK>
dec 04 15:57:41 albert-laptop kernel: __schedule+0x343/0x11c0
dec 04 15:57:41 albert-laptop kernel: pagecache_get_page+0x17/0x90
dec 04 15:57:41 albert-laptop kernel: collapse_file+0x4b6/0x13c0
dec 04 15:57:41 albert-laptop kernel: khugepaged+0x20dd/0x2300
dec 04 15:57:41 albert-laptop kernel: ? collapse_pte_mapped_thp+0x400/0x400
dec 04 15:57:41 albert-laptop kernel: kthread+0xde/0x110
dec 04 15:57:41 albert-laptop kernel: ? kthread_complete_and_exit+0x20/0x20
dec 04 15:57:41 albert-laptop kernel: ret_from_fork+0x22/0x30
dec 04 15:57:41 albert-laptop kernel: </TASK>
dec 04 15:59:44 albert-laptop kernel: INFO: task khugepaged:122 blocked for more than 245 seconds.
dec 04 15:59:44 albert-laptop kernel: Tainted: G OE 6.0.11-arch1-1 #1
dec 04 15:59:44 albert-laptop kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
dec 04 15:59:44 albert-laptop kernel: task:khugepaged state:D stack: 0 pid: 122 ppid: 2 flags:0x00004000
dec 04 15:59:44 albert-laptop kernel: Call Trace:
dec 04 15:59:44 albert-laptop kernel: <TASK>
dec 04 15:59:44 albert-laptop kernel: __schedule+0x343/0x11c0
dec 04 15:59:44 albert-laptop kernel: schedule+0x5e/0xd0
dec 04 15:59:44 albert-laptop kernel: io_schedule+0x46/0x70
dec 04 15:59:44 albert-laptop kernel: folio_wait_bit_common+0x13d/0x3a0
dec 04 15:59:44 albert-laptop kernel: ? folio_unlock+0x20/0x20
dec 04 15:59:44 albert-laptop kernel: __filemap_get_folio+0x34a/0x380
dec 04 15:59:44 albert-laptop kernel: pagecache_get_page+0x17/0x90
dec 04 15:59:44 albert-laptop kernel: collapse_file+0x4b6/0x13c0
dec 04 15:59:44 albert-laptop kernel: khugepaged+0x20dd/0x2300
dec 04 15:59:44 albert-laptop kernel: ? collapse_pte_mapped_thp+0x400/0x400
dec 04 15:59:44 albert-laptop kernel: kthread+0xde/0x110
dec 04 15:59:44 albert-laptop kernel: ? kthread_complete_and_exit+0x20/0x20
dec 04 15:59:44 albert-laptop kernel: ret_from_fork+0x22/0x30
dec 04 15:59:44 albert-laptop kernel: </TASK>
dec 04 16:01:47 albert-laptop kern
Saw this now
dec 04 18:59:59 albert-laptop kernel: ucsi_acpi USBC000:00: PM: dpm_run_callback(): acpi_subsys_resume+0x0/0x130 returns -110
dec 04 18:59:59 albert-laptop kernel: ucsi_acpi USBC000:00: PM: failed to resume: error -110
One sleep now worked. This came up though
I use the mainline kernel as well, but everything is fine.
dec 04 15:59:44 albert-laptop kernel: <TASK>
dec 04 15:59:44 albert-laptop kernel: __schedule+0x343/0x11c0
dec 04 15:59:44 albert-laptop kernel: schedule+0x5e/0xd0
dec 04 15:59:44 albert-laptop kernel: io_schedule+0x46/0x70
dec 04 15:59:44 albert-laptop kernel: folio_wait_bit_common+0x13d/0x3a0
dec 04 15:59:44 albert-laptop kernel: ? folio_unlock+0x20/0x20
dec 04 15:59:44 albert-laptop kernel: __filemap_get_folio+0x34a/0x380
dec 04 15:59:44 albert-laptop kernel: pagecache_get_page+0x17/0x90
dec 04 15:59:44 albert-laptop kernel: collapse_file+0x4b6/0x13c0
dec 04 15:59:44 albert-laptop kernel: khugepaged+0x20dd/0x2300
dec 04 15:59:44 albert-laptop kernel: ? collapse_pte_mapped_thp+0x400/0x400
dec 04 15:59:44 albert-laptop kernel: kthread+0xde/0x110
dec 04 15:59:44 albert-laptop kernel: ? kthread_complete_and_exit+0x20/0x20
dec 04 15:59:44 albert-laptop kernel: ret_from_fork+0x22/0x30
dec 04 15:59:44 albert-laptop kernel: </TASK>
Crash backtracking shows that the disk stops responding
Describe the bug After going into sleep, I cannot wake the computer at all. Have to force reboot it.
To Reproduce Let computer idle. After sleep cannot enter.
Expected behavior After pressing a key, or power button, I resume at lock screen.
Desktop (please complete the following information):
Linux laptop 6.0.10-zen2-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Sat, 26 Nov 2022 16:51:24 +0000 x86_64 GNU/Linux
NAME=EndeavourOS PRETTY_NAME=EndeavourOS ID=endeavouros ID_LIKE=arch BUILD_ID=2022.09.10 ANSI_COLOR="38;2;23;147;209" HOME_URL='https://endeavouros.com' DOCUMENTATION_URL='https://discovery.endeavouros.com' SUPPORT_URL='https://forum.endeavouros.com' BUG_REPORT_URL='https://forum.endeavouros.com/c/arch-based-related-questions/bug-reports' PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=endeavouros
Log