-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Error on go to hibernate #5908
Comments
@ikrivosheev thanks for the report, the DSP should be OFF for hibernate S4, but it looks like something is blocking it. |
Likely duplicate of #5892 ? |
In S4 and S5 the IMR boot is not possible due to the fact that the backup sram loosing it's content. |
@ujfalusi yes! This is a duplicate, close |
@ujfalusi how do changes come into linux main repository? I see that changes have been made in fork but I cannot understand when it comes into mainline. |
@ikrivosheev, in a second look at the log fragment you have, this might not be a duplicate as this happens when trying to enter to suspend. Let me re-open this and please add this file sof-dyndbg.conf.txt as /etc/modprobe.d/sof-dyndbg.conf (the extension matters), reboot and attach the kernel log gathered in this mode. |
@plbossart, fyi, I can not recall seeing such error. |
@ujfalusi thank you! I will add it today. |
I'm having exactly the same issue when using sof-firmware v2.1.1 on If I downgrade SOF to v2.0 then suspending works as expected. Note: I see this issue with any suspend operation, not just suspend-then-hibernate. Edited 16:09 UTC: |
Agree @ujfalusi this is a different error - we should not have any IPC errors, ever. The firmware downgrade clearly hints at a firmware regression. |
I also having sof-firmware v2.1.1-1 on Linux x 5.18.5-arch1-1 with platform Lenovo Thinkpad e15g2. |
@igor-winograd I don't see any issues in your log file? |
@ujfalusi my dmesg logs
|
It's the same error actually, the IPC error is preceded by a boot failure. The second hibernate fails because the resume failed already. We should probably have a check that we don't try ANY IPC during the suspend operation if the DSP didn't boot... |
@ujfalusi @plbossart close issue as duplicate? And my question:
|
@ikrivosheev, the patches are in linux-next, it depends when stable will pick them (the last patch out of the three will have conflict, but it is trivial). options snd_sof sof_debug=128 to |
Amazing, thanks! I was actually having troubles on suspend but only after either:
Laptop model: Thinkpad E14 (Gen 12). Kernel 5.18.0. Controller: |
@ujfalusi can we close now ? i.e. are all patches in -next now ? |
@lgirdwood, yes all patches are in linux-next and we also have a workaround for 5.18 kernel ( |
Thank you all! |
Describe the bug
To Reproduce
systemctl suspend-then-hibernate
Reproduction Rate
Always
Expected behavior
Computer go to hibernate
Environment
9f4fda38f1c59f7a20a76eff48a0cb302cb0e8e55bda53ec0f1807e10dcdad3a
(arch linux)adcd22ba2f2aad911fdc53c478187bc6ddb9174fa52fa43ba07f6f0cc8d12a19
The text was updated successfully, but these errors were encountered: