Bug#901919: nvidia-driver: black screen with the latest Linux kernel

Andreas Beckmann anbe at debian.org
Tue Jul 3 19:31:55 BST 2018


On 2018-07-03 17:49, Raphael Hertzog wrote:
> Hi,
> 
> On Fri, 22 Jun 2018, Luca Boccassi wrote:
>> I am downgrading as I verified there is a working workaround, add the
>> following to the kernel cmdline:
>>
>> slab_common.usercopy_fallback=y
> 
> It's still hitting users hard until they find out this bug report.

I added a NEWS entry with the workaround, but probably only few of the
affected users have apt-listbugs installed ...

>> It might be possible to fix, and someone at gr security published a
>> patch that among other things changes the module to use the correct API
>> (although for an older version):
>> https://www.grsecurity.net/~paxguy1/nvidia-drivers-387.12-pax.patch
>>
>> but given it's non-trivial and there is a working cmdline workaround,
>> I'm not going to try and apply that patch, and Nvidia is looking into
>> it.
> 
> RedHat published a much less invasive patch that you can use
> in the mean time:
> https://bugzilla.redhat.com/attachment.cgi?id=1425704
> (part of https://bugzilla.redhat.com/show_bug.cgi?id=1570493 )

Thanks for the pointer!

> 
> In https://devtalk.nvidia.com/default/topic/1031067/linux/-linux416-nvidia-390-48-nvidia_stack_cache-rip-0010-usercopy_warn-0x7e-0xa0/post/5268599/#5268599 someone confirmed that the above patch works so it's no longer "untested" contrary to what its author said.
> 
> Otherwise, according to various bug reports, it seems to not happen in
> version 396.24 although the above patch seems to not have been applied
> in this version. Maybe you could update the package to this version at
> least in experimental?

396.xx sitting in experimental/NEW for a month or so now ...


Andreas



More information about the pkg-nvidia-devel mailing list