-
Notifications
You must be signed in to change notification settings - Fork 318
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] driver crash after hibernation on kernel 6.11.0-8 #9572
Comments
I think the fix for this is sent to upstream and will be back ported to 6.11 as soon as it hits 6.12: Original issue: thesofproject/linux#5135 |
@ujfalusi Any relatively easy way to test this fix now? I don't have too much experience with kernel patches... |
@md0-code, you would need to build your own kernel, if you are not comfortable doing that then I would wait for the patch to be backported to stable. The official guide for ubuntu is: https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel The other way would be to use our development tree and test it. You need the packages to be able to build the kernel
(I'm not sure what you actually need on ubuntu) then:
Then reboot to use this kernel:
Check if you really booted the new kernel:
test the hibernate, then you can remove the kernel to use the distro one:
I'm not sure if ubuntu uses Grub, if not then this might not work, so, I would only try it if I would know what I'm doing.. |
@ujfalusi Thank you for your instructions. They were helpful, and I was able to compile the kernel with the suggested patch. However, the problem still persists - I continue to encounter the same errors when resuming from hibernate. Is it possible that this issue has a different cause? Please let me know if you need any additional information to help diagnose the problem. |
@md0-code, oh, I'm really surprised that the patch did not helped! |
Here it is, a hibernate cycle with a patched 6.12.0-rc3+ kernel: |
@md0-code, I see:
Which is not right since the patch [1] removed the |
@md0-code, and this is indeed the issue that the patch is fixing:
this is the FW_READY notification from firmware that it has booted up. |
Thank you for the confirmation. Most probably I did something wrong then when compiling the kernel - I saved your patch as patch.diff then did a |
If you cloned the tree with git, then you can download the patch and |
If in doubt, do a |
Yes, I did a
I'll try your suggestion and see if it makes any difference. |
you can check with I'm not sure what goes wrong, it looks like that you done everything correctly, the computer just says no ;) |
Found the problem! I was using a wildcard to copy the resulting .deb file and forgot that I still had an unpatched version in the output folder which always cam up first :) My bad :) Can confirm that the patch works and I can finally hibernate my laptop! Thank you again @ujfalusi |
Describe the bug
Upon returning from hibernation on kernel 6.11.0.-8 the sof-audio-pci-intel-mtl driver crashes. Does not happen with kernel version 6.8.0-45.
To Reproduce
Reproduction Rate
1/1
Expected behavior
Driver should survive hibernation
Impact
Major - no audio available after resuming from hibernation
Environment
OS: Ubuntu oracular 24.10 x86_64
Host: ASUS Zenbook 14 UX3405MA_Q415MA (1.0)
Kernel: Linux 6.11.0-8-generic
SOF: 2024-09
Screenshots or console output
Relevant crash log:
The text was updated successfully, but these errors were encountered: