Installation of the legacy 470.199.02 driver fails at the DKMS stage on linux 6.5, running Debian Trixie, with many errors similar to
/var/lib/dkms/nvidia/470.199.02/build/common/inc/nv-mm.h:164:23: error: too many arguments to function ‘get_user_pages_remote’
make.log (40.1 KB)
Any suggestions welcome.
You could try applying this patch to the driver
Otherwise you can wait until the driver has been patched and packaged.
You could find an example of how to apply such patches in the “debian” way as described here: