You are not logged in.
Pages: 1
I recently switched to Arch from opensuse, and mostly it's working great. One issue remains though (had it in suseas well), when i try to suspend to disk the laptop gets stuck. The screen goes black, but the power light keeps blinking, and the fan continues to spin. I' ve tried this from the arch wiki
Suspend works out of the box, but hibernate may fail - the system usually hangs with a black screen and a blinking power button led. To fix this we need to modify the hibernation mode; using pm-utils is just a matter of creaing a file /etc/pm/config.d/hibernate_mode containing a single line:
HIBERNATE_MODE="shutdown"
But that changed nothing. Is there anything else i could try?
Suspend to RAM works just fine BtW.
Offline
Don't use pm-utils. Try using systemctl's command. If necessary, mask whatever pm-utils does or tries to do. (You may not be able to uninstall pm-utils if stuff depends on it.)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
You mean by using sudo systemctl suspend? That does make a difference. The fan no longer spins, and the power light is blinking much more slowly. It also wakes up again. But, it seems to be suspended to RAM rather than disk, otherwise the lights would be off.
Oh, one more thing i should have mentioned, i'm using the open ATI drivers.
EDIT: systemctl hibernate has the same effect has suspending through the KDE interface. Fan keeps spinning, power-button light blinks furiously, laptop does not come out of hibernation.
Last edited by Forma (2013-10-10 20:50:04)
Offline
You probably should not need sudo.
But I would check the journal and/or logs. You will need root privileges to get useful info from journalctl unless you've added your user to the relevant group.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Not really sure what to check for in the journal. I found this from the time i tried hibernating (with systemctl hibernate, without sudo). But i don't see anything that would help me solve the problem. I hope someone can make something of it.
Oct 10 23:26:19 laptop polkitd[799]: Registered Authentication Agent for unix-process:2226:247958 (system bus name :1.61 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freede
Oct 10 23:26:19 laptop NetworkManager[669]: <info> sleep requested (sleeping: no enabled: yes)
Oct 10 23:26:19 laptop NetworkManager[669]: <info> sleeping or disabling...
Oct 10 23:26:19 laptop NetworkManager[669]: <info> (enp1s0): device state change: unavailable -> unmanaged (reason 'sleeping') [20 10 37]
Oct 10 23:26:19 laptop NetworkManager[669]: <info> (enp1s0): cleaning up...
Oct 10 23:26:19 laptop NetworkManager[669]: <info> (enp1s0): taking down device.
Oct 10 23:26:19 laptop polkitd[799]: Unregistered Authentication Agent for unix-process:2226:247958 (system bus name :1.61, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale
Oct 10 23:26:19 laptop NetworkManager[669]: <info> NetworkManager state is now ASLEEP
Oct 10 23:26:19 laptop NetworkManager[669]: <info> (wlp4s0): device state change: activated -> unmanaged (reason 'sleeping') [100 10 37]
Oct 10 23:26:19 laptop NetworkManager[669]: <info> (wlp4s0): deactivating device (reason 'sleeping') [37]
Oct 10 23:26:19 laptop dhcpcd[1458]: received SIGTERM from PID 669, stopping
Oct 10 23:26:19 laptop dhcpcd[1458]: wlp4s0: removing interface
Oct 10 23:26:19 laptop dhcpcd[1458]: wlp4s0: deleting host route to 192.168.1.100 via 127.0.0.1
Oct 10 23:26:19 laptop dhcpcd[1458]: exited
Oct 10 23:26:20 laptop NetworkManager[669]: <info> (wlp4s0): canceled DHCP transaction, DHCP client pid 1458
Oct 10 23:26:20 laptop NetworkManager[669]: <info> Removing DNS information from /usr/bin/resolvconf
Oct 10 23:26:20 laptop kernel: wlp4s0: deauthenticating from f4:ec:38:eb:dc:5e by local choice (reason=3)
Oct 10 23:26:20 laptop kernel: cfg80211: Calling CRDA to update world regulatory domain
Oct 10 23:26:20 laptop NetworkManager[669]: <info> (wlp4s0): cleaning up...
Oct 10 23:26:20 laptop NetworkManager[669]: <info> (wlp4s0): taking down device.
Oct 10 23:26:20 laptop dbus-daemon[670]: dbus[670]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
Oct 10 23:26:20 laptop dbus[670]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
Oct 10 23:26:20 laptop systemd[1]: Starting Network Manager Script Dispatcher Service...
Oct 10 23:26:20 laptop NetworkManager[669]: <warn> (pid 1458) unhandled DHCP event for interface wlp4s0
Oct 10 23:26:20 laptop systemd[1]: Starting Sleep.
Oct 10 23:26:20 laptop systemd[1]: Reached target Sleep.
Oct 10 23:26:20 laptop systemd[1]: Starting Hibernate...
Oct 10 23:26:20 laptop dbus-daemon[670]: dbus[670]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Oct 10 23:26:20 laptop systemd[1]: Started Network Manager Script Dispatcher Service.
Oct 10 23:26:20 laptop kernel: PM: Hibernation mode set to 'platform'
Oct 10 23:26:20 laptop systemd-sleep[2264]: Suspending system...
Oct 10 23:26:20 laptop kernel: PM: Marking nosave pages: [mem 0x0009d000-0x000fffff]
Oct 10 23:26:20 laptop kernel: PM: Marking nosave pages: [mem 0xc6e7a000-0xc7369fff]
Oct 10 23:26:20 laptop kernel: PM: Marking nosave pages: [mem 0xc7d80000-0xffffffff]
Oct 10 23:26:20 laptop kernel: PM: Basic memory bitmaps created
-- Reboot --
Oct 10 23:27:46 laptop systemd-journal[93]: Runtime journal is using 640.0K (max 177.8M, leaving 266.7M of free 1.7G, current limit 177.8M).
Oct 10 23:27:46 laptop systemd-journal[93]: Runtime journal is using 644.0K (max 177.8M, leaving 266.7M of free 1.7G, current limit 177.8M).
Oct 10 23:27:46 laptop kernel: Initializing cgroup subsys cpuset
Oct 10 23:27:46 laptop kernel: Initializing cgroup subsys cpu
Oct 10 23:27:46 laptop kernel: Initializing cgroup subsys cpuacct
Oct 10 23:27:46 laptop kernel: Linux version 3.11.4-1-ARCH (tobias@T-POWA-LX) (gcc version 4.8.1 20130725 (prerelease) (GCC) ) #1 SMP PREEMPT Sat Oct 5 21:22:51 CEST 2013
Oct 10 23:27:46 laptop kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=28577181-1854-468b-be4e-0bea8745d6a2 rw quiet radeon.dpm=1
Oct 10 23:27:46 laptop kernel: e820: BIOS-provided physical RAM map:
Oct 10 23:27:46 laptop kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable
Oct 10 23:27:46 laptop kernel: BIOS-e820: [mem 0x000000000009d800-0x000000000009ffff] reserved
Oct 10 23:27:46 laptop kernel: BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
Oct 10 23:27:46 laptop kernel: BIOS-e820: [mem 0x0000000000100000-0x00000000c6e79fff] usable
Oct 10 23:27:46 laptop kernel: BIOS-e820: [mem 0x00000000c6e7a000-0x00000000c7289fff] reserved
Oct 10 23:27:46 laptop kernel: BIOS-e820: [mem 0x00000000c728a000-0x00000000c7309fff] ACPI NVS
Oct 10 23:27:46 laptop kernel: BIOS-e820: [mem 0x00000000c730a000-0x00000000c7369fff] ACPI data
Oct 10 23:27:46 laptop kernel: BIOS-e820: [mem 0x00000000c736a000-0x00000000c7d7ffff] usable
Oct 10 23:27:46 laptop kernel: BIOS-e820: [mem 0x00000000c7d80000-0x00000000c7ffffff] reserved
Oct 10 23:27:46 laptop kernel: BIOS-e820: [mem 0x00000000fec00000-0x00000000fecfffff] reserved
Oct 10 23:27:46 laptop kernel: BIOS-e820: [mem 0x00000000fed80000-0x00000000fed80fff] reserved
Oct 10 23:27:46 laptop kernel: BIOS-e820: [mem 0x00000000ffe00000-0x00000000ffffffff] reserved
Oct 10 23:27:46 laptop kernel: BIOS-e820: [mem 0x0000000100000000-0x000000011effffff] usable
Last edited by Forma (2013-10-10 21:59:09)
Offline
Is swap set up correctly?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
I think so, this is the output of swapon -s
Filename Type Size Used Priority
/dev/sda5 partition 2111484 0 -1
Offline
Hmm... I'm not really sure. I have read that hibernate (as opposed to sleep) is rather hit-or-miss in Linux - either it works or it doesn't, so to speak. The only thing I guess you might try is stopping everything you can and hibernating with as little active as possible. If that worked, you could try to identify what was causing the problem.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Thanks for the tip, i'll give that a try.
BtW, could having a dual boot system be the problem?
Offline
I wouldn't think so. That is, I've never heard that. Unless you were to hibernate, boot into another OS and then reboot and try to resume. I know that won't work. But otherwise, I don't think it should matter.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Pages: 1