Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1269615
| From | Vincas Dargis <vindrg@gmail.com> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1115203: nvidia-kernel-dkms: fail to build kernel module for the latest debian stable kernel 6.12.43 |
| Date | 2025-11-09 09:30 +0100 |
| Message-ID | <LP8Y9-bBYW-7@gated-at.bofh.it> (permalink) |
| References | <LuR3P-fdCc-9@gated-at.bofh.it> <LwdYl-gcW8-5@gated-at.bofh.it> <LwdYl-gcW8-5@gated-at.bofh.it> <LuR3P-fdCc-9@gated-at.bofh.it> <LwdYl-gcW8-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, 18 Sep 2025 05:49:27 +0200 Andreas Beckmann <anbe@debian.org> wrote: > What errors are you experiencing while building the module? Fails on linux-image-6.17.7+deb14+1-amd64 (6.17.7-2) with three errors: > nvidia-drm/nvidia-drm-drv.c:216:18: error: initialization of ‘struct drm_framebuffer * (*)(struct drm_device *, struct drm_file *, const struct drm_format_info *, const struct drm_mode_fb_cmd2 *)’ from incompatible pointer type ‘struct drm_framebuffer * (*)(struct drm_device *, struct drm_file *, const struct drm_mode_fb_cmd2 *)’ [-Wincompatible-pointer-types] > 216 | .fb_create = nv_drm_framebuffer_create, > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > nvidia-drm/nvidia-drm-drv.c:216:18: note: (near initialization for ‘nv_mode_config_funcs.fb_create’) > nvidia-drm/nvidia-drm-drv.c:188:32: note: ‘nv_drm_framebuffer_create’ declared here > 188 | static struct drm_framebuffer *nv_drm_framebuffer_create( > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > make[4]: *** [/usr/src/linux-headers-6.17.6+deb14-common/scripts/Makefile.build:292: nvidia-drm/nvidia-drm-drv.o] Error 1 > nvidia-drm/nvidia-drm-fb.c:262:9: error: passing argument 3 of ‘drm_helper_mode_fill_fb_struct’ from incompatible pointer type [-Wincompatible-pointer-types] > 262 | cmd); > | ^~~ > | | > | struct drm_mode_fb_cmd2 * > In file included from /usr/src/linux-headers-6.17.6+deb14-common/include/drm/drm_atomic_helper.h:33, > from nvidia-drm/nvidia-drm-helper.h:186, > from nvidia-drm/nvidia-drm-fb.c:32: > /usr/src/linux-headers-6.17.6+deb14-common/include/drm/drm_modeset_helper.h:37:67: note: expected ‘const struct drm_format_info *’ but argument is of type ‘struct drm_mode_fb_cmd2 *’ > 37 | const struct drm_format_info *info, > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ > nvidia-drm/nvidia-drm-fb.c:257:5: error: too few arguments to function ‘drm_helper_mode_fill_fb_struct’; expected 4, have 3 > 257 | drm_helper_mode_fill_fb_struct( > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/src/linux-headers-6.17.6+deb14-common/include/drm/drm_modeset_helper.h:35:6: note: declared here > 35 | void drm_helper_mode_fill_fb_struct(struct drm_device *dev, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Works find with older 6.16.12+deb14-amd64. HW: 1:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 860M] (rev a2)
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread
Bug#1115203: nvidia-kernel-dkms: fail to build kernel module for the latest debian stable kernel 6.12.43 Andreas Beckmann <anbe@debian.org> - 2025-09-18 06:00 +0200 Bug#1115203: nvidia-kernel-dkms: fail to build kernel module for the latest debian stable kernel 6.12.43 Vincas Dargis <vindrg@gmail.com> - 2025-11-09 09:30 +0100
csiph-web