You are not logged in.

#1 2007-05-29 09:30:38

pr0ph3t
Member
Registered: 2007-05-29
Posts: 2

Unable to bulid NVIDIA drivers (solved)

Hi,
I ve just built new kernel(2.6.22-rc2-mm1) with CFS v14 patch. Now I am unable to build NVIDIA modules. Has anybody an idea? thx

 from include/linux/utsname.h:35,
                    from /tmp/selfgz7229/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
   /nv/nv-linux.h:19,
                    from /tmp/selfgz7229/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
   /nv/nv.c:14:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
   rithmetic
   /tmp/selfgz7229/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c: At top level
   :
   /tmp/selfgz7229/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:110: error: e
   xpected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before â
   €˜*’ token
   /tmp/selfgz7229/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c: In function 
   ‘nvos_create_alloc’:
   /tmp/selfgz7229/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:460: error: â
   €˜nv_pte_t_cache’ undeclared (first use in this function)
   /tmp/selfgz7229/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:460: error: (
   Each undeclared identifier is reported only once
   /tmp/selfgz7229/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:460: error: f
   or each function it appears in.)
   /tmp/selfgz7229/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c: In function 
   ‘nvos_free_alloc’:
   /tmp/selfgz7229/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:492: error: â
   €˜nv_pte_t_cache’ undeclared (first use in this function)
   /tmp/selfgz7229/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c: In function 
   ‘nvidia_init_module’:
   /tmp/selfgz7229/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:1420: error: 
   ‘nv_pte_t_cache’ undeclared (first use in this function)
   /tmp/selfgz7229/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c: In function 
   ‘nvidia_exit_module’:
   /tmp/selfgz7229/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.c:1685: error: 
   ‘nv_pte_t_cache’ undeclared (first use in this function)
   make[4]: *** [/tmp/selfgz7229/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv.o
   ] Error 1
   make[3]: *** [_module_/tmp/selfgz7229/NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src
   /nv] Error 2
   make[2]: *** [modules] Error 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [module] Error 1
   make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.  You may find suggestions
       on fixing installation problems in the README available on the Linux
       driver download page at www.nvidia.com.

Last edited by pr0ph3t (2007-05-29 11:46:17)

Offline

#2 2007-05-29 09:54:21

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: Unable to bulid NVIDIA drivers (solved)

Use Linux 2.6.21. .22 is not released yet so I don`t think nvidia will update their drivers for an experimental kernel.

Offline

#3 2007-05-29 10:38:52

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Unable to bulid NVIDIA drivers (solved)

Correct. I am also unable to provide nvidia packages for the official kernel26mm.

Offline

#4 2007-05-29 11:45:42

pr0ph3t
Member
Registered: 2007-05-29
Posts: 2

Re: Unable to bulid NVIDIA drivers (solved)

thx smile i only want to try CFS smile

Offline

#5 2007-05-30 02:20:33

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: Unable to bulid NVIDIA drivers (solved)

why bot to use CFS with 2.6.21? works great for me (v14)

Offline

Board footer

Powered by FluxBB