3 ms·
With all the experts in here, I might as well post my suspend/wake issue: Here's my kernel log from today's a failed wake-from-suspend. https://bpa.st/VIPQ htt
by neolog 6y ago
With all the experts in here, I might as well post my suspend/wake issue:
Here's my kernel log from today's a failed wake-from-suspend. https://bpa.st/VIPQ https://bpa.st/VIPQ
Linux 5.4.81 with amdgpu
I notice in particular:
kernel: amdgpu 0000:09:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring gfx test failed (-110)
kernel: BUG: kernel NULL pointer dereference, address: 0000000000000008
- segfaultbuserr 6y ago> Linux beta 5.4.81 with amdgpu I don't know anything specific about AMDGPU, but if I were you, the first step I'd always try is to reproduce it in the latest mainline kernel, it's currently 5.9. Check the documentation of your distribution to see how can you get one. Often a partial fix exists in a newer kernel, and you may be able to identify and debug a different part of the issue.
- segfaultbuserr 6y agoA web search shows the problem has already been "git bisected" by users on Bugzilla with a workaround [0]. And according to > Ahzo 2019-10-11 18:33:10 UTC > bisection between these two, while backporting 533aed278afe on every step, lead to commit 2a91f272e34c, which failed to boot and thus had to be skipped, and commit e0128efb08b3d628d767ec8578e77cdd7ecc8f81 looks like a likely root cause. Indeed, adding 'return 0;' at the beginning of uvd_v6_0_enc_ring_test_ib makes the problem unreproducible, even on the latest linux 5.4-rc2. And, > Ahzo 2019-10-11 18:37:48 UTC > By the way, some of the kernel NULL pointer dereferences, that can happen after a resume failure, also happen always on shutdown. Attached patch prevents them. Do you know how to build a kernel? I suggest you to build Linux 5.4 (you can avoid reconfiguring the kernel by using /proc/config.gz) with the code workaround (adding 'return 0;' at the beginning of uvd_v6_0_enc_ring_test_ib) applied, and see whether it fixes your problem. You should also check the NULL pointer patch and see whether it's already included in the source code by manual inspection, if not, also apply the patch. If it fixes your problems, report it to the Bugzilla thread. Nevertheless, I still recommend you to try reproducing it in Linux 5.9 first and see whether you can reproduce the original problem. The comments in Bugzilla suggests that the latest kernel has already fixed the issue. > Alex Deucher 2020-10-01 14:59:58 UTC > The original issue reported in this bug was fixed long ago. If Linux 5.9 fixes it, good. If not, see whether the error messages are different. If so, you should chase the new issue instead of the original issue. --- [0] https://bugzilla.kernel.org/show_bug.cgi?id=204241 https://bugzilla.kernel.org/show_bug.cgi?id=204241
- neolog 6y agoOn 5.9.12 suspend/wake worked 10 times in a row. Thank you!
- segfaultbuserr 6y agoGlad I could help ;-)