Computer Enthusiastic
2021-Oct-13 17:31 UTC
[Nouveau] Advice about debugging nouveau driver suspend issue (init_on_alloc=1 and init_on_free=1)
Hello, Greeting to all list members. I hope this mailing list is the right place to ask about it, otherwise I apologize in advance and, please, direct me to the right mailing list. I would like to receive advice on how to debug (or help to debug) the noveau kernel module suspend issue reported in [1][2][3]. The issue is constantly reproducible and it consists in a screen corruption with system lockup on resume after suspend to ram or suspend to disk. It seems to affect NV50 nvidia graphic cards at least from kernel 5.10.0 (probably from 5.2 or 5.3) up to 5.14.10 (I have not tested 5.15 in rc state, actually). Thanks in advance. [1] https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/issues/547 [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989705 [3] https://bugzilla.kernel.org/show_bug.cgi?id=213617
Ilia Mirkin
2021-Oct-13 17:43 UTC
[Nouveau] Advice about debugging nouveau driver suspend issue (init_on_alloc=1 and init_on_free=1)
The most straightforward thing, if you can reproduce at will, would be to do a bisect to figure out which change this happened with. Once we know which change caused the problem, it will hopefully provide with more ability to sort out where we're going wrong. You can also play with things like KASAN, although it's not clear to me that they would necessarily catch this problem. Cheers, -ilia On Wed, Oct 13, 2021 at 1:31 PM Computer Enthusiastic <computer.enthusiastic at gmail.com> wrote:> > Hello, > > Greeting to all list members. > > I hope this mailing list is the right place to ask about it, otherwise > I apologize in advance and, please, direct me to the right mailing > list. > > I would like to receive advice on how to debug (or help to debug) the > noveau kernel module suspend issue reported in [1][2][3]. The issue is > constantly reproducible and it consists in a screen corruption with > system lockup on resume after suspend to ram or suspend to disk. It > seems to affect NV50 nvidia graphic cards at least from kernel 5.10.0 > (probably from 5.2 or 5.3) up to 5.14.10 (I have not tested 5.15 in rc > state, actually). > > Thanks in advance. > > [1] https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/issues/547 > [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989705 > [3] https://bugzilla.kernel.org/show_bug.cgi?id=213617