You are not logged in.
Pages: 1
My laptop is unable to resume when I'm on Arch (doesn't react to Lid or to power button) but suspend works on both Gentoo and Fedora.
I've probably left my head... somewhere. Please wait untill I find it.
Offline
How is suspend configured on all three operating systems? What is the dmesg or journal output from a suspend attempt on all three systems and the same from resume / failed resume.
What do you do when the system fails to resume under arch?
Offline
I narrowed it down to intel_iommu=on parameter which worked on older kernels (I haven't used Arch in a while - 4.13ish maybe?) but it prevents suspend now. If I disable iommu than iwlwifi fails to load due to memory ranges so I don't have network. pm_trace does not work as BIOS detects corruped RTC and corrects it. iwlwifi is not itself cause of the problem as suspend fails even when it is loaded.
If it helps I noticed that while the power button is flushing (as it should) and keyboard buttons (such as mute) are lit (as they shouldn't).
How is suspend configured on all three operating systems? What is the dmesg or journal output from a suspend attempt on all three systems and the same from resume / failed resume.
On Fedora I used default settings. On Gentoo I think I have just blacklisted e1000e which sometimes fails to suspend and causes resume but otherwise it is also mostly out of the box with systemd.
Failed logs end on:
Apr 22 00:05:29 babylon5 systemd[1]: Reached target Sleep.
Apr 22 00:05:29 babylon5 systemd[1]: Starting Suspend...
Apr 22 00:05:29 babylon5 systemd-sleep[3163]: Suspending system...
Apr 22 00:05:29 babylon5 kernel: PM: suspend entry (deep)
Success is:
Apr 22 13:29:30 babylon5 systemd[1]: Reached target Sleep.
Apr 22 13:29:30 babylon5 systemd[1]: Starting Suspend...
Apr 22 13:29:30 babylon5 systemd-sleep[5033]: Suspending system...
Apr 22 13:29:30 babylon5 kernel: PM: suspend entry (deep)
Apr 22 13:29:30 babylon5 kernel: PM: Syncing filesystems ... done.
Apr 22 13:29:30 babylon5 kernel: bbswitch: enabling discrete graphics
Apr 22 13:29:49 babylon5 kernel: Freezing user space processes ... (elapsed 0.001 seconds) done.
Apr 22 13:29:49 babylon5 kernel: OOM killer disabled.
Apr 22 13:29:49 babylon5 kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Apr 22 13:29:49 babylon5 kernel: Suspending console(s) (use no_console_suspend to debug)
Apr 22 13:29:49 babylon5 kernel: psmouse serio2: Failed to disable mouse on synaptics-pt/serio0
Apr 22 13:29:49 babylon5 kernel: sd 3:0:0:0: [sda] Synchronizing SCSI cache
Apr 22 13:29:49 babylon5 kernel: sd 3:0:0:0: [sda] Stopping disk
Apr 22 13:29:49 babylon5 kernel: e1000e: EEE TX LPI TIMER: 00000011
Apr 22 13:29:49 babylon5 kernel: i801_smbus 0000:00:1f.4: BIOS is accessing SMBus registers
Apr 22 13:29:49 babylon5 kernel: i801_smbus 0000:00:1f.4: Driver SMBus register access inhibited
Apr 22 13:29:49 babylon5 kernel: ACPI: Preparing to enter system sleep state S3
Apr 22 13:29:49 babylon5 kernel: ACPI: EC: event blocked
Apr 22 13:29:49 babylon5 kernel: ACPI: EC: EC stopped
Apr 22 13:29:49 babylon5 kernel: PM: Saving platform NVS memory
Though it might be because of flushing of disk.
What do you do when the system fails to resume under arch?
I force reset (press power button for 15s) - what else can I do?
Last edited by Uzytkownik (2018-04-22 20:42:17)
I've probably left my head... somewhere. Please wait untill I find it.
Offline
https://bugs.archlinux.org/task/58288 will be fixed in 4.16.4 then you can remove iommu=on
Offline
https://bugs.archlinux.org/task/58288 will be fixed in 4.16.4 then you can remove iommu=on
I forgot to add - Gentoo at least have iommu enabled which still makes it an Arch-specific issue rather than something in HW. As general I think IOMMU is good idea (secure-wise).
I've probably left my head... somewhere. Please wait untill I find it.
Offline
Is it the same kernel version for both arch and gentoo? Can you try building the arch kernel package with gentoo's config or a minimally modified version of it and see if that works?
Offline
Yes. linux-custom with config from Gentoo works without problems.
I've probably left my head... somewhere. Please wait untill I find it.
Offline
Pages: 1