3.11.1-200 kernel and nvidia drivers

Marcel J.E. Mol marcel at mesa.nl
Tue Sep 24 15:54:26 UTC 2013


On Tue, Sep 24, 2013 at 07:26:26AM -0500, Stephen Berg (Contractor) wrote:
> I'm trying to get the drivers from geforce.com to compile with the 
> 3.11.1-200 kernel and they are just not cooperating. Anyone know of a 
> patch, tweak, magic enchantment or whatever that will get this done?
> 
> I've tried with the NVIDIA-Linux-x86_64-319.49 drivers and the beta 
> NVIDIA-Linux-x86_64-325.08 driver. No luck with either.
> 
I'm using NVIDIA-Linux-x86_64-325.15. I fixed up the nv-linux.h a bit
to be able to buiuld the kernel module.

Here is a diff:

--- kernel/nv-linux.h.org       2013-09-24 17:51:56.044371179 +0200
+++ kernel/nv-linux.h   2013-09-21 14:07:56.029460392 +0200
@@ -958,7 +958,7 @@
 #endif
 
 #if !defined(NV_VMWARE)
-#define NV_NUM_PHYSPAGES                num_physpages
+#define NV_NUM_PHYSPAGES                get_num_physpages()
 #define NV_GET_CURRENT_PROCESS()        current->tgid
 #define NV_IN_ATOMIC()                  in_atomic()
 #define NV_LOCAL_BH_DISABLE()           local_bh_disable()


-Marcel
-- 
     ======--------         Marcel J.E. Mol                MESA Consulting B.V.
    =======---------        ph. +31-(0)6-54724868          P.O. Box 112
    =======---------        marcel at mesa.nl                 2630 AC  Nootdorp
__==== www.mesa.nl ---____U_n_i_x______I_n_t_e_r_n_e_t____ The Netherlands ____
 They couldn't think of a number,           Linux user 1148  --  counter.li.org
    so they gave me a name!  -- Rupert Hine  --  www.ruperthine.com


More information about the users mailing list