Bug#1009259: nvidia-legacy-340xx-driver: Crash at start with linux 5.10

Mike Mironov mike at darkmike.ru
Sat Nov 11 13:51:15 GMT 2023


Hello!

Problem solved. Error in conftest drm_device_has_pdev.

TL;DR; Just replace file in /usr/src/nvidia-legacy-340xx-340.108/patches 
with included in this mail and rebuild module.

Orig conftest try include #include <drm/drm_device.h> instead of 
#include <drm/drm_drv.h> and not include #include <stddef.h>

So drm_device_has_pdev conf test fail. Modified file included in this 
mail. I hope maintainers release new version
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0032-backport-drm_device_has_pdev-changes-from-470.63.01.patch
Type: text/x-patch
Size: 2985 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-nvidia-devel/attachments/20231111/4bad52a0/attachment.bin>


More information about the pkg-nvidia-devel mailing list