open-gpu-kernel-modules icon indicating copy to clipboard operation
open-gpu-kernel-modules copied to clipboard

follow_pfn() is removed from kernel

Open pasbi opened this issue 8 months ago • 4 comments

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).

pasbi avatar Apr 23 '25 16:04 pasbi

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/

aritger avatar Apr 27 '25 22:04 aritger

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.

pasbi avatar Apr 29 '25 08:04 pasbi

I have the same issue with 470.256.02. Unfortunately this is the highest driver, which supports the GeForce GT730M.

spixi avatar May 12 '25 21:05 spixi

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,

spixi avatar May 12 '25 21:05 spixi