Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 06-06-04, 09:22 AM   #1
Mor15
Registered User
 
Join Date: Jun 2004
Posts: 3
Send a message via ICQ to Mor15
Exclamation nVidia Kernel module - need help

Hi there,
I use Suse Linux 9.1 on my notebook (Medion MD6200) with the Kernel 2.6.6 (I tried 2.6.7-rc2 too).

I can't install the nvidia graphics driver. If the installer try to build the Kernel module, I will get an error: "Unable to build kernel modul".

This is my log-file:

Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Jun  4 18:26:47 2004

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  no precompiled interface: false
  no ncurses color        : false
  query latest driver ver : false
  OpenGL header files     : false
  no questions            : false
  silent                  : false
  XFree86 install prefix  : /usr/X11R6
  OpenGL install prefix   : /usr
  Installer install prefix: /usr
  kernel source path      : (not specified)
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /tmp
  ftp site                : ftp://download.nvidia.com

Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
   ke the installer to attempt to download a kernel interface for your kernel f
   rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)
-> No precompiled kernel interface was found to match your kernel; this means
   that the installer will need to compile a new kernel interface.
-> Kernel source path: '/lib/modules/2.6.6/build'
-> Performing cc_version_check with CC="cc".
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
   rm -f -f nv.o os-agp.o os-interface.o os-registry.o nv.o os-agp.o os-interfa
   ce.o os-registry.o nvidia.mod.o
   rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
   rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.6/build'...
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz12865/NV
   IDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv_compiler.h
     CC [M]  /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.o
   In file included from include/linux/list.h:7,
                    from include/linux/wait.h:14,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:18,
                    from include/linux/module.h:10,
                    from /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/sr
   c/nv/nv-linux.h:52,
                    from /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/sr
   c/nv/nv.c:14:
   include/linux/prefetch.h: In function `prefetch_range':
   include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
   metic
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
   `nvos_malloc_pages':
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:385: warning
   : use of cast expressions as lvalues is deprecated
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
   `nvos_create_alloc':
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:513: warning
   : use of cast expressions as lvalues is deprecated
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:523: warning
   : use of cast expressions as lvalues is deprecated
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: At top leve
   l:
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1185: warnin
   g: initialization from incompatible pointer type
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
   `nv_alloc_file_private':
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1193: warnin
   g: use of cast expressions as lvalues is deprecated
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1204: warnin
   g: use of cast expressions as lvalues is deprecated
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
   `nv_kern_open':
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1265: warnin
   g: use of cast expressions as lvalues is deprecated
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
   `nv_kern_ctl_open':
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1914: warnin
   g: use of cast expressions as lvalues is deprecated
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: At top leve
   l:
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2010: error:
   conflicting types for `nv_set_hotkey_occurred_flag'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:350: error: 
   previous declaration of `nv_set_hotkey_occurred_flag'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2197: error:
   conflicting types for `nv_find_nv_mapping'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:339: error: 
   previous declaration of `nv_find_nv_mapping'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2269: error:
   conflicting types for `nv_find_agp_kernel_mapping'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:341: error: 
   previous declaration of `nv_find_agp_kernel_mapping'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2345: error:
   conflicting types for `nv_get_kern_phys_address'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:342: error: 
   previous declaration of `nv_get_kern_phys_address'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2375: error:
   conflicting types for `nv_get_user_phys_address'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:343: error: 
   previous declaration of `nv_get_user_phys_address'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2406: error:
   conflicting types for `nv_alloc_pages'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:353: error: 
   previous declaration of `nv_alloc_pages'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2594: error:
   conflicting types for `nv_free_pages'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:354: error: 
   previous declaration of `nv_free_pages'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2692: error:
   conflicting types for `nv_lock_rm'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:345: error: 
   previous declaration of `nv_lock_rm'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2712: error:
   conflicting types for `nv_unlock_rm'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:346: error: 
   previous declaration of `nv_unlock_rm'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2726: error:
   conflicting types for `nv_lock_heap'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:347: error: 
   previous declaration of `nv_lock_heap'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2736: error:
   conflicting types for `nv_unlock_heap'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:348: error: 
   previous declaration of `nv_unlock_heap'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2752: error:
   conflicting types for `nv_post_event'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:363: error: 
   previous declaration of `nv_post_event'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2790: error:
   conflicting types for `nv_get_event'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:364: error: 
   previous declaration of `nv_get_event'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2833: error:
   conflicting types for `nv_agp_init'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:356: error: 
   previous declaration of `nv_agp_init'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2895: error:
   conflicting types for `nv_agp_teardown'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:357: error: 
   previous declaration of `nv_agp_teardown'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2936: error:
   conflicting types for `nv_agp_translate_address'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:358: error: 
   previous declaration of `nv_agp_translate_address'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2968: error:
   conflicting types for `nv_int10h_call'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:351: error: 
   previous declaration of `nv_int10h_call'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2977: error:
   conflicting types for `nv_start_rc_timer'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:360: error: 
   previous declaration of `nv_start_rc_timer'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2998: error:
   conflicting types for `nv_stop_rc_timer'
   /tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:361: error: 
   previous declaration of `nv_stop_rc_timer'
   make[3]: *** [/tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.
   o] Error 1
   make[2]: *** [/tmp/selfgz12865/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv] Er
   ror 2
   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.
How can I solve this problem?
Mor15 is offline   Reply With Quote
Old 06-06-04, 11:24 AM   #2
blueworm
[DEADAGAIN]blueworm
 
blueworm's Avatar
 
Join Date: Mar 2003
Posts: 416
Default Re: nVidia Kernel module - need help

Make sure the exact kernel source code is present.
Have you read the manual?
I am sure it is covered there.
__________________
Registered linux user #271604 Get Counted! http://counter.li.org/
lianLi PC60, OCZ powerStream 520W PSU, Asus P5N-E SLI, Core 2 duo E6550, 2Gb GEIL, XFX 8800GT, TB SantaCruz
blueworm is offline   Reply With Quote
Old 06-06-04, 11:38 AM   #3
Mor15
Registered User
 
Join Date: Jun 2004
Posts: 3
Send a message via ICQ to Mor15
Default Re: nVidia Kernel module - need help

I already checked the kernel sources and I read the nvidia manual too.
Mor15 is offline   Reply With Quote
Old 06-06-04, 10:14 PM   #4
syda
Registered User
 
Join Date: Jun 2004
Posts: 6
Default Re: nVidia Kernel module - need help

this seems to be a near identical problem that im having. i downloaded the kernel ul1 off the ftp, but after installing the rpm it tells me it needs to be uninstalled. can anyone help? it would be nice to have DVI output.


Although my problem is in Mandrake 10

Last edited by syda; 06-07-04 at 01:32 AM.
syda is offline   Reply With Quote
Old 06-07-04, 01:58 AM   #5
rainerklier
Registered User
 
Join Date: Oct 2003
Posts: 45
Default Re: nVidia Kernel module - need help

go to http://www.minion.de/ and read the instructions.
i think you need a patch which is available there.
good luck.
rainerklier is offline   Reply With Quote
Old 06-07-04, 08:28 AM   #6
Mor15
Registered User
 
Join Date: Jun 2004
Posts: 3
Send a message via ICQ to Mor15
Thumbs up Re: nVidia Kernel module - need help

THX a lot. With these driver patches it runs great!
Mor15 is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
Lucid rt kernel can't load latest nvidia driver module, but generic does. marcod NVIDIA Linux 0 05-02-12 06:23 AM
nvidia + 2.4.19 gentoo = messed up ulukay NVIDIA Linux 18 11-01-02 11:58 PM
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM

All times are GMT -5. The time now is 10:42 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.