Skip to content

Instantly share code, notes, and snippets.

View stephematician's full-sized avatar

stephematician

View GitHub Profile
@stephematician
stephematician / buildfix_kernel_6.17_stephematician.patch
Last active February 14, 2026 12:00
Patching nvidia-driver-550 for Ubuntu 24.04 and 6.17
diff -u -r a/common/inc/nv-linux.h b/common/inc/nv-linux.h
--- a/common/inc/nv-linux.h 2025-04-08 23:05:21.000000000 +1000
+++ b/common/inc/nv-linux.h 2026-02-14 14:53:46.824504148 +1100
@@ -58,10 +58,8 @@
#include <linux/version.h>
#include <linux/utsname.h>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 32)
-#error "This driver does not support kernels older than 2.6.32!"
-#elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 7, 0)