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

Newegg Daily Deals

Reply
 
Thread Tools
Old 06-12-04, 11:07 AM   #1
hpt
Registered User
 
Join Date: Jun 2004
Posts: 4
Default Unable to build the NVIDIA kernel module

Plase, have a look at the attached "/var/log/nvidia-installer.log"
file which finally shows the ERROR "Unable to build the NVIDIA kernel
module" because of compiling errors like this one:

/tmp/selfgz6641/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2010: error:
conflicting types for `nv_set_hotkey_occurred_flag'

Until I today built an own kernel (based on the updated 2.6.4 SuSE
kernel sources) I was able to run the nvidia driver. After searching
the nvidia documentation and also the web for a couple of hours I
probably found an idea of a hint:
For building my own kernel I changed the state of some kernel options
from "module" to "built-in". Maybe there are some parts of the kernel
which have to be modules instead of built-in (e.g. the /dev/agpgart)?

I would appreciate every hint!!!!
Attached Files
File Type: txt nvidia-installer.txt (9.5 KB, 156 views)
hpt is offline   Reply With Quote
Old 06-12-04, 11:26 AM   #2
mkossmann
Registered User
 
Join Date: Apr 2003
Posts: 26
Default Re: Unable to build the NVIDIA kernel module

Try the patch from www.minion.de. This fixed that problem for me.
mkossmann is offline   Reply With Quote
Old 06-12-04, 12:03 PM   #3
hpt
Registered User
 
Join Date: Jun 2004
Posts: 4
Default Re: Unable to build the NVIDIA kernel module

Quote:
Originally Posted by mkossmann
Try the patch from www.minion.de. This fixed that problem for me.
As you might know I used the "NVIDIA-Linux-x86-1.0-5336-pkg1" because I found it to be the newest at Nvidia´s download section. Now, I am quite surprised that the above mentioned web page also provides a patch for the "officially non-existing" version 5341 (which seems to be the first one to not need a patch in most of the cases).

Anyway, thanks for the hint. I will try it in a couple of minutes.
hpt is offline   Reply With Quote
Old 06-12-04, 01:36 PM   #4
hpt
Registered User
 
Join Date: Jun 2004
Posts: 4
Default Re: Unable to build the NVIDIA kernel module

I used the patch, but following the instructions of the README failed when trying "make install".
The "nvidia-installer" also failed, this time with the message "Error: unable to determine the nvidia kernel module filename".

Nice, isn´t it. But I didn´t give up and finally ... the solution was to instead of using "make install" use the following simple command first: "ln -s Makefile.kbuild Makefile".

After that the "make install" works perfect, the nvidia module can be inserted with "modeprobe nvidia" and the Xserver can be started with init 5 (coming from init 3).

Thanks to all!
hpt 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 08:22 AM.


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