← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 413296] Re: Nvidia binary driver won't build with 2.6.31-rt kernel

 

This is the patch in the recent upload:
--- nvidia-graphics-drivers-180-185.18.36.orig/debian.binary/patches/rt_preempt_31.patch
+++ nvidia-graphics-drivers-180-185.18.36/debian.binary/patches/rt_preempt_31.patch
@@ -0,0 +1,12 @@
+diff -urN NVIDIA-Linux-x86-185.18.36-pkg1/usr/src/nv/nv-linux.h NVIDIA-Linux-x86-185.18.36-pkg1.new/usr/src/nv/  nv-linux.h
+--- nvidia-185.18.36/nv-linux.h    2009-08-15 10:58:45.000000000 +1000
++++ nvidia-185.18.36.new/nv-linux.h    2009-09-26 21:43:35.000000000 +1000
+@@ -721,7 +721,7 @@
+ #define nv_up(lock)                     up(&lock)
+ 
+ #if defined(CONFIG_PREEMPT_RT)
+-#define NV_INIT_MUTEX(mutex) init_MUTEX(mutex)
++#define NV_INIT_MUTEX(mutex) semaphore_init(mutex)
+ #else
+ #if !defined(__SEMAPHORE_INITIALIZER) && defined(__COMPAT_SEMAPHORE_INITIALIZER)
+ #define __SEMAPHORE_INITIALIZER __COMPAT_SEMAPHORE_INITIALIZER


Sorry to be obtuse, but I do not think that this bug has been fixed.

Reasons because this is what I tried first when I encoutered it.
The binary compiles, but it fails to run/black screen/kernel panic (any of those may happen).

I was running a vanilla 2.6.31 kernel with rt11 patches though, I
haven't looked into the current state of what the RT patches are like in
Ubuntu.

Can someone confirm that they can start X alright please?

-- 
Nvidia binary driver won't build with 2.6.31-rt kernel
https://bugs.launchpad.net/bugs/413296
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-graphics-drivers-180 in ubuntu.



References