Bug#901919: nvidia-driver: black screen with the latest Linux kernel
Andreas Beckmann
anbe at debian.org
Wed Jul 4 00:54:49 BST 2018
On 2018-07-04 01:30, Andreas Beckmann wrote:
> On 2018-07-03 20:31, Andreas Beckmann wrote:
>> On 2018-07-03 17:49, Raphael Hertzog wrote:
>>> 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!
>
> Hi Luca,
>
> I've prepared that in the 390 branch - could you give it a test run
> (with all workarounds disabled)?
patch is not backwards compatible to older kernels:
/usr/src/modules/nvidia-kernel/nvidia/nv.c: In function 'nvidia_init_module':
/usr/src/modules/nvidia-kernel/common/inc/nv-linux.h:1103:5: error: implicit declaration of function 'kmem_cache_create_usercopy'; did you mean 'kmem_cache_create'? [-Werror=implicit-function-declaration]
kmem_cache_create_usercopy(name, size, align, flags, useroffset, usersize, ctor)
^
/usr/src/modules/nvidia-kernel/common/inc/nv-linux.h:1113:5: note: in expansion of macro 'NV_KMEM_CACHE_CREATE_FULL_USERCOPY'
NV_KMEM_CACHE_CREATE_FULL_USERCOPY(name, sizeof(type), 0, 0, 0, sizeof(type), NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/modules/nvidia-kernel/nvidia/nv.c:796:28: note: in expansion of macro 'NV_KMEM_CACHE_CREATE_USERCOPY'
nvidia_stack_t_cache = NV_KMEM_CACHE_CREATE_USERCOPY(nvidia_stack_cache_name,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/modules/nvidia-kernel/nvidia/nv.c:796:26: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
nvidia_stack_t_cache = NV_KMEM_CACHE_CREATE_USERCOPY(nvidia_stack_cache_name,
Andreas
More information about the pkg-nvidia-devel
mailing list