Bug#925340: nvidia-graphics-drivers-legacy-304xx: does not support Linux 5.0 or newer

Marc Lehmann debian-reportbug at plan9.de
Sat Aug 3 19:15:19 BST 2019


Package: nvidia-legacy-304xx-kernel-dkms
Version: 304.137-7
Followup-For: Bug #925340

To whom it may concern, I patched the version in debian for post-5.0 kernels. The patch is available at
http://blog.schmorp.de/data/nvidia/nvidia-legacy-304xx-304.137-linux5.patch
and applies cleanly against /usr/src/nvidia-legacy-304xx-304.137 from nvidia-legacy-304xx-kernel-dkms
in buster.

All of the changes were due to switching to the newer ktime interface
(also available in older kernels) and the fact that DRIVER_FEATURE_LEGACY
is no longer a symbol but an enum.

The patch is not very long or complicated, so maybe the debian maintainer,
who does such a great job with this legacy package, might find it in his
heart to consider applying it, although the reason I amended this ticket
is for other people to find it, not to ask for this patch to be applied :)

Thanks for your consideration, and may this be helpful to somebody else.


-- System Information:
Debian Release: 10.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'oldstable-updates'), (500, 'oldstable-debug'), (500, 'unstable'), (500, 'testing'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, x32

Kernel: Linux 5.1.21-050121-generic (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages nvidia-legacy-304xx-kernel-dkms depends on:
ii  dkms                                    2.6.1-4
ii  nvidia-installer-cleanup                20151021+9
pn  nvidia-legacy-304xx-kernel-support--v1  <none>

Versions of packages nvidia-legacy-304xx-kernel-dkms recommends:
pn  nvidia-legacy-304xx-driver | libnvidia-legacy-304xx-cuda1  <none>

nvidia-legacy-304xx-kernel-dkms suggests no packages.



More information about the pkg-nvidia-devel mailing list