follow_pfn() is removed from kernel
NVIDIA Open GPU Kernel Modules Version
535.216.03
Operating System and Version
debian trixie
Kernel Release
6.12.22
Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.
- [x] I am running on a stable kernel release.
Build Command
I don't build it directly, it is built by apt when the kernel is updated.
Terminal output/Build Log
Sorry, I don't have the terminal output anymore.
It tries to call follow_pfn(), which apparently isn't declared.
It's pretty much issue #642.
I didn't do anything special, just ran apt upgrade on a debian trixie.
Temporary workaround is to use an older kernel (6.5).
More Info
I'm happy to provide more information once I can access to the system again (tomorrow).
535.216.03 is a pretty old driver. Can you use a release from a more recent release branch? Or, at least a more recent 535.xx driver? It looks like 535.230.02 is the most recent from 535.xx:
https://www.nvidia.com/en-us/drivers/unix/linux-amd64-display-archive/
Thanks for the reply.
I'm not sure if I get the time to check that out any time soon. I will keep you updated if I find out something new.
The thing is, this is the driver trixie is shipping, so I'm interested in this particular version because it breaks the system (I guess I'm not the only one).
Maybe I should rather address this issue to the debian maintainers, though.
I have the same issue with 470.256.02. Unfortunately this is the highest driver, which supports the GeForce GT730M.
I tried the following patch
https://forums.developer.nvidia.com/t/gpl-only-symbols-follow-pte-and-rcu-read-unlock-prevent-470-256-02-to-build-with-kernel-6-10/300052/7
But it now shows the following error:
/var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/work/kernel/nvidia-drm/nvidia-drm-drv.c:171:6: error: ‘const struct drm_mode_config_funcs’ has no member named ‘output_poll_changed’
171 | .output_poll_changed = nv_drm_output_poll_changed,
| ^~~~~~~~~~~~~~~~~~~
/var/tmp/portage/x11-drivers/nvidia-drivers-470.256.02-r2/work/kernel/nvidia-drm/nvidia-drm-drv.c:171:28: error: initialization of ‘struct drm_atomic_state * (*)(struct drm_device *)’ from incompatible pointer type ‘void (*)(struct drm_device *)’ [-Werror=incompatible-pointer-types]
171 | .output_poll_changed = nv_drm_output_poll_changed,