Nvidia binary driver won't build with 2.6.31-rt kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-173 (Ubuntu) |
Fix Released
|
Medium
|
Alberto Milone | ||
nvidia-graphics-drivers-180 (Ubuntu) |
Fix Released
|
Medium
|
Iain Buclaw | ||
nvidia-graphics-drivers-96 (Ubuntu) |
Fix Released
|
Medium
|
Alberto Milone |
Bug Description
Binary package hint: nvidia-
When trying to build the nVidia proprietary drivers against 2.6.31-rt using DKMS, the build fails due to undefined reference to init_MUTEX. The semaphore API seems to have been changed from 2.6.29 to remove the init_MUTEX-macro. Applying patch from [1] allows the module to build. I haven't yet tested if this actually works though.
Is there a way to report this bug also against the kernel image or headers? This could probably be also fixed by restoring the init_MUTEX macro as a custom patch in Ubuntu kernel. Perhaps patching the module is cleaner though.
Versions
nvidia-
linux-image-
linux-headers-
description: | updated |
Changed in nvidia-graphics-drivers-180 (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in nvidia-graphics-drivers-180 (Ubuntu): | |
status: | Fix Released → In Progress |
I can confirm a similar issue affecting linux-image- 2.6.31- 2-rt and this nvidia-180 version, as well as the updated 185.18.36 driver.
Log lines:
/var/lib/ dkms/nvidia/ 185.18. 36/build/ nv.c: In function nv_alloc_ file_private: dkms/nvidia/ 185.18. 36/build/ nv.c:1897: error: implicit declaration of function init_MUTEX
/var/lib/