You are not logged in.

#1 2023-02-15 18:32:59

christian-oudard
Member
Registered: 2023-02-15
Posts: 3

Suspend works, but hibernate freezes on resume.

I'm running latest Arch Linux on my laptop, a Lenovo X1 Carbon gen 10.
Recently my hibernate functionality stopped working. Suspend to RAM works fine, but when resuming from disk, the computer freezes.
It shows the most recent state of the screen, but doesn't allow me to type. I can switch to a different TTY with Ctrl-Alt-F2, but it only shows a cursor, no login prompt. The caps lock and mute buttons change the LEDs. This happens even when I'm not running window manager.

Checking `journalctl --boot=-1` ends with:
    systemd-sleep[1090]: Entering sleep state 'hibernate'...

This makes me think that there were no journal entries during the attempted
resume boot.

What is happening here? How do I debug this?

Offline

#2 2023-02-16 14:34:23

Ferdinand
Member
From: Norway
Registered: 2020-01-02
Posts: 334

Re: Suspend works, but hibernate freezes on resume.

Hi, there!

I see this is your first post, and you're short of a reply, so I'll start out by saying Welcome to the Arch Forum smile

It's not clear if you followed the Wiki info on hibernation, so I'll just point you to that as a place to start:
https://wiki.archlinux.org/title/Power_ … ibernation

There are some troubleshooting tips further down that article too.

As I take it this used to work, it may be useful to know if you did anything peculiar between last time it worked and now.

Also, if that doesn't help, then the full log - not just the last line - on a pastebin service would surely be of use.

Offline

#3 2023-10-14 14:27:54

deescuderoo
Member
Registered: 2023-09-11
Posts: 15

Re: Suspend works, but hibernate freezes on resume.

Just to add to this thread that I am having the *exact same* issue with the *exact same* hardware. As OP said, suspend to RAM works, but after suspend to disk the computer fails to resume. I'm using i3 and I cannot get past i3lock before the whole computer just freezes.

`journalctl --boot=-1` does not provide any useful info, as in OP's case, so I don't even know how to debug this.

As per Ferdinand's post (directed to the OP), I use uswsusp (as explained in the wiki) and I have been doing so for over 2 years without a problem, the problem appeared about 2 months ago. Also, I get the same issue even if I hibernate with systemd instead of uswsusp.

UPDATE: Running Kernel 6.5.7

Last edited by deescuderoo (2023-10-14 14:33:01)

Offline

#4 2023-10-14 14:37:34

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: Suspend works, but hibernate freezes on resume.

Is this an Intel or AMD machine?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2023-10-14 14:40:47

deescuderoo
Member
Registered: 2023-09-11
Posts: 15

Re: Suspend works, but hibernate freezes on resume.

ewaller wrote:

Is this an Intel or AMD machine?

This is intel. Happy to provide any details, I just don't really know where to look besides the journal, and as mentioned above it doesn't contain any relevant information on the freezes

Offline

#6 2023-10-14 15:13:19

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: Suspend works, but hibernate freezes on resume.

https://bbs.archlinux.org/viewtopic.php?id=278124

I had a the above problem with my Vivobook.  It is specific to Intel, perhaps that link could help.

Are you using a swap partition? or a swap file?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2023-10-14 17:38:41

deescuderoo
Member
Registered: 2023-09-11
Posts: 15

Re: Suspend works, but hibernate freezes on resume.

ewaller wrote:

https://bbs.archlinux.org/viewtopic.php?id=278124

I had a the above problem with my Vivobook.  It is specific to Intel, perhaps that link could help.

Are you using a swap partition? or a swap file?

Thank you, but I really couldn't find any info on VMD in my 'BIOS'.

I'm using a swap partition (which again, has worked flawlessly for long time). I also noticed that there are no issues if the laptop is plugged in to the energy, the problems only appear if the laptop is running on battery.

I run TLP for battery management. I tried disabling TLP but the issue persists (again, on battery, not on power).

Offline

#8 2023-10-14 17:45:44

deescuderoo
Member
Registered: 2023-09-11
Posts: 15

Re: Suspend works, but hibernate freezes on resume.

Oh, I noticed that sometimes the journal will include errors on iwlwifi:

Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00480002 | board version
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x8035F500 | hcmd
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x20028000 | isr0
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000000 | isr1
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x48F00002 | isr2
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00C3080C | isr3
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00200000 | isr4
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x0523001C | last cmd Id
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x000134D2 | wait_event
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000054 | l2p_control
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000020 | l2p_duration
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x0000000F | l2p_mhvalid
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00C700D8 | l2p_addr_match
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000009 | lmpm_pmg_sel
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000000 | timestamp
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x0000F05C | flow_handler
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: Transport status: 0x0000004A, valid: 7
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x20000066 | NMI_INTERRUPT_HOST
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink1
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x80471ABC | umac branchlink2
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x80493DCA | umac interruptlink1
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x80493DCA | umac interruptlink2
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x01000000 | umac data1
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x80493DCA | umac data2
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000000 | umac data3
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000053 | umac major
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0xE8F84E98 | umac minor
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00BD767B | frame pointer
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0xC0886258 | stack pointer
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x0073019C | last host cmd
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000400 | isr status reg
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: IML/ROM dump:
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000B03 | IML/ROM error/state
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x0000812B | IML/ROM data1
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000090 | IML/ROM WFPM_AUTH_KEY_0
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: Fseq Registers:
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x60000000 | FSEQ_ERROR_CODE
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x003E0003 | FSEQ_TOP_INIT_VERSION
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00190003 | FSEQ_CNVIO_INIT_VERSION
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x0000A652 | FSEQ_OTP_VERSION
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000003 | FSEQ_TOP_CONTENT_VERSION
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x4552414E | FSEQ_ALIVE_TOKEN
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00080400 | FSEQ_CNVI_ID
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00400410 | FSEQ_CNVR_ID
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00080400 | CNVI_AUX_MISC_CHIP
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00400410 | CNVR_AUX_MISC_CHIP
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00009061 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000061 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000000 | FSEQ_PREV_CNVIO_INIT_VERSION
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x003E0003 | FSEQ_WIFI_FSEQ_VERSION
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x003E0003 | FSEQ_BT_FSEQ_VERSION
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x000000C8 | FSEQ_CLASS_TP_VERSION
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: UMAC CURRENT PC: 0x80493890
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: LMAC1 CURRENT PC: 0xd0

I found some people having these flags as well (not causing freezes but causing internet problems, which I don't have), I will try the solutions discussed there (e.g. https://bbs.archlinux.org/viewtopic.php … #p1918843)

Offline

#9 2023-10-14 18:34:05

deescuderoo
Member
Registered: 2023-09-11
Posts: 15

Re: Suspend works, but hibernate freezes on resume.

deescuderoo wrote:

Oh, I noticed that sometimes the journal will include errors on iwlwifi:

Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00480002 | board version
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x8035F500 | hcmd
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x20028000 | isr0
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000000 | isr1
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x48F00002 | isr2
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00C3080C | isr3
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00200000 | isr4
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x0523001C | last cmd Id
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x000134D2 | wait_event
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000054 | l2p_control
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000020 | l2p_duration
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x0000000F | l2p_mhvalid
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00C700D8 | l2p_addr_match
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000009 | lmpm_pmg_sel
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000000 | timestamp
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x0000F05C | flow_handler
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: Transport status: 0x0000004A, valid: 7
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x20000066 | NMI_INTERRUPT_HOST
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink1
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x80471ABC | umac branchlink2
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x80493DCA | umac interruptlink1
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x80493DCA | umac interruptlink2
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x01000000 | umac data1
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x80493DCA | umac data2
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000000 | umac data3
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000053 | umac major
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0xE8F84E98 | umac minor
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00BD767B | frame pointer
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0xC0886258 | stack pointer
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x0073019C | last host cmd
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000400 | isr status reg
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: IML/ROM dump:
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000B03 | IML/ROM error/state
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x0000812B | IML/ROM data1
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000090 | IML/ROM WFPM_AUTH_KEY_0
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: Fseq Registers:
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x60000000 | FSEQ_ERROR_CODE
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x003E0003 | FSEQ_TOP_INIT_VERSION
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00190003 | FSEQ_CNVIO_INIT_VERSION
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x0000A652 | FSEQ_OTP_VERSION
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000003 | FSEQ_TOP_CONTENT_VERSION
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x4552414E | FSEQ_ALIVE_TOKEN
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00080400 | FSEQ_CNVI_ID
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00400410 | FSEQ_CNVR_ID
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00080400 | CNVI_AUX_MISC_CHIP
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00400410 | CNVR_AUX_MISC_CHIP
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00009061 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000061 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x00000000 | FSEQ_PREV_CNVIO_INIT_VERSION
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x003E0003 | FSEQ_WIFI_FSEQ_VERSION
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x003E0003 | FSEQ_BT_FSEQ_VERSION
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: 0x000000C8 | FSEQ_CLASS_TP_VERSION
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: UMAC CURRENT PC: 0x80493890
Oct 14 13:39:48 paz kernel: iwlwifi 0000:00:14.3: LMAC1 CURRENT PC: 0xd0

I found some people having these flags as well (not causing freezes but causing internet problems, which I don't have), I will try the solutions discussed there (e.g. https://bbs.archlinux.org/viewtopic.php … #p1918843)

Trying these solutions did not lead to any change. I create a new thread to discuss this particular issue: https://bbs.archlinux.org/viewtopic.php?pid=2126212

Offline

Board footer

Powered by FluxBB