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

Newegg Daily Deals

Reply
 
Thread Tools
Old 10-16-03, 05:49 AM   #1
StrolchHD
Registered User
 
Join Date: Oct 2003
Posts: 1
Default RH9 NVIDIA-Kernel-Module

Hello,

i have a problem with the NVIDIA-Kernel.
My Configuration is:
Intel P4, 2.4 GHz
NVIDIA Geforce4 Ti
Red Hat 9
Kernel 2.4.20-20.9

I will install with the NVIDIA-Linux-x86-1.0-4496-pkg2.run.

Now the installer break the installion with this message:
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)?
But on the ftp-site does exists a kernel-module.

Now i load the NVIDIA_kernel-1.0-3123.tar.gz. The make does write this error-messages:

[root@Linux_Strolch NVIDIA_kernel-1.0-3123]# make
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE
-D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3123 -DNV_UNIX -DNV_LINUX -DNVCPU_X86 -I. -I/lib/modules/2.4.20-20.9/build/include -Wno-cast-qual nv.c
In file included from /lib/modules/2.4.20-20.9/build/include/linux/vmalloc.h:8,
from nv-linux.h:57,
from nv.c:14:
/lib/modules/2.4.20-20.9/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.20-20.9/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic
nv.c: In function `nv_kern_mmap':
nv.c:1305: warning: passing arg 1 of `remap_page_range_Rc414bdc2' makes pointer
from integer without a cast
nv.c:1305: incompatible type for argument 4 of `remap_page_range_Rc414bdc2'
nv.c:1305: too few arguments to function `remap_page_range_Rc414bdc2'
nv.c:1322: warning: passing arg 1 of `remap_page_range_Rc414bdc2' makes pointer
from integer without a cast
nv.c:1322: incompatible type for argument 4 of `remap_page_range_Rc414bdc2'
nv.c:1322: too few arguments to function `remap_page_range_Rc414bdc2'
nv.c:1353: warning: passing arg 1 of `remap_page_range_Rc414bdc2' makes pointer
from integer without a cast
nv.c:1353: incompatible type for argument 4 of `remap_page_range_Rc414bdc2'
nv.c:1353: too few arguments to function `remap_page_range_Rc414bdc2'
nv.c: In function `nv_get_phys_address':
nv.c:2182: warning: implicit declaration of function `pte_offset'
nv.c:2182: invalid type argument of `unary *'
make: *** [nv.o] Fehler 1

Whats wrong with NVIDIA. I try 3 days with this NVIDIA-Problem and need very important the GL-Driver.

I'am a new Linux-User and jump 3 times today out the window :-).

Thanks help and sorry for this english.

Matthias
StrolchHD is offline   Reply With Quote
Old 10-19-03, 06:25 AM   #2
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default

Forget trying to use the 3123 driver, focus on the new driver using the installer as it is much simpler to get working.

You did not mention if the installer finds a module on the nvidia ftp or not? If it does not, then the installer tries to compile one for you, did you let it do this?

If the installer fails, it tells you about a log file:
/var/log/nvidia-installer.log

Post this file on the forum for additional help.

If you're familiar with rpms and rebuilding them, feel free to grab the src rpms and go for it.

ftp://download.nvidia.com/XFree86/Linux-x86/1.0-4496/
__________________
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at livna.org.
LordMorgul is offline   Reply With Quote
Old 10-19-03, 04:20 PM   #3
egis
Registered User
 
Join Date: Oct 2003
Posts: 2
Default

I can't speak for StrolchHD, but I take it his installer didn't want to work at all, and neither did mine

it fails to recognize the kernel, it fails the download and it fails the compilation. I use the same kernel.

I don't know if I'm as new to linux as strolch, but I sure have no idea how to build own rpms.

Here's my log file:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Oct 19 22:03:37 2003

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 : /usrnvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Oct 19 22:03:37 2003

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 include 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: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
ERROR: Unable to find the kernel header files for the currently running kernel.
Please make sure you have installed the kernel header files for your
kernel; on Red Hat Linux systems, for example, be sure you have the
'kernel-source' rpm installed. If you know the correct kernel header
files are installed, you may specify the kernel include path with the
'--kernel-include-path' commandline option.
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.

Installer install prefix: /usr
kernel include 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: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
ERROR: Unable to find the kernel header files for the currently running kernel.
Please make sure you have installed the kernel header files for your
kernel; on Red Hat Linux systems, for example, be sure you have the
'kernel-source' rpm installed. If you know the correct kernel header
files are installed, you may specify the kernel include path with the
'--kernel-include-path' commandline option.
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.
egis is offline   Reply With Quote
Old 10-19-03, 04:35 PM   #4
egis
Registered User
 
Join Date: Oct 2003
Posts: 2
Default

ok, about five minutes later, I got it working

for me, installing the kernel_source rpm did the trick, let's just hope strolch's problem is as simple...
egis is offline   Reply With Quote
Old 10-20-03, 01:23 AM   #5
dwricha
Registered User
 
Join Date: Jun 2003
Posts: 9
Default

I'm having the same exact problem, after going to the RHN and using the up2date and got everything that it offered , I'm faced with the error about my nvidia drivers. I go back to nvidia's website and download all files that I see that pertain to my kernel. I don't know what you mean by "installed the kernel_source " to make it work. I tried reinstalling and now I'm getting error "cannot execute binary file". Don't know where to go from there. I've read, and I've searched and problem still not resolved.

I found this on Nvidia's website and this is exactly what's happening to me.

Q: My X server fails to start, and my XFree86.log file contains the error, *(EE) NVIDIA
(0): Failed to initialized the NVIDIA kernel module!"

A: Nothing will work if the NVIDIA kernel module doesn't function properly. etc,etc.

How exactly do you cd into the directory with the new kernel module and doing 'insmod ./nvidia.o ?

Will someone please give me a detailed description on fixing this so I can get out of windoze???
dwricha is offline   Reply With Quote
Old 10-20-03, 01:49 AM   #6
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default

Your first problem is that you cannot build the nvidia driver without the source code for your kernel present on the machine.

type:
uname -r

note the exact number shown.

type:
rpm -qa | grep kernel

If you don't see a 'kernel-source' with your exact number shown, then go to redhat's ftp site, get an rpm package called:
kernel-source-<version number here>.i386.rpm

install that rpm after you download it, if you don't have the right number, it won't do you any good.

rpm -Uvh kernel-source-<vers>.i386.rpm

Try to install the nvidia driver again using the .run installer.

Quote:
I tried reinstalling and now I'm getting error "cannot execute binary file".
What did you try reinstalling? If you cannot execute the nvidia installer, change the permissions to allow you do so so.

chmod u+x nvidia*.run

You should not update your kernel from redhat's up2date without also updating the kernel-source, and keep in mind when you do you will have to reinstall this driver for nvidia.
__________________
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at livna.org.
LordMorgul is offline   Reply With Quote
Old 10-20-03, 01:55 AM   #7
dwricha
Registered User
 
Join Date: Jun 2003
Posts: 9
Default

I would have to go back to Redhat and get "kernel-source"? Wouldn't that have been included when I used the up2date? I'll do that right now. How long are you going to be on your computer?
dwricha is offline   Reply With Quote
Old 10-20-03, 02:03 AM   #8
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default

It is included on the original cds, and will ONLY be updated by up2date if you installed it in the first place, which is not always the case (and I believe is not the default for some reason).

I will be here for at least 3 hours.

If you have the latest kernel, you can get the latest matching kernel-source from ftp://updates.redhat.com

(fixed url)
__________________
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at livna.org.
LordMorgul is offline   Reply With Quote

Old 10-20-03, 02:10 AM   #9
dwricha
Registered User
 
Join Date: Jun 2003
Posts: 9
Default

I went to Redhat's site and download the "kernel-source" (2.4.20-9)
I just finished burning the file to cd and now I'm going to try what you suggested. I'll let you know what happens.
BTW, I tried reinstalling the "NVIDIA-Linux-x86-1.0-4496-pkg2.run and that's when I got the error, "can't execute binaries".
dwricha is offline   Reply With Quote
Old 10-20-03, 02:52 AM   #10
dwricha
Registered User
 
Join Date: Jun 2003
Posts: 9
Default

Tried installing, "preparing 100%, package already installed. Tried the other, package already installed. Any other suggestions???
dwricha is offline   Reply With Quote
Old 10-20-03, 03:10 AM   #11
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default

Quote:
preparing 100%, package already installed. Tried the other, package already installed
You should have only one kernel-source package installed, that perfectly matches your current running kernel version. This is the simplest and cleanest way to get things going.

What does:

uname -r

report your kernel version is? Do you have that exact kernel-source rpm installed?

Do you still have the can't execute problem, or does the installer now attempt to work and fail? If so post the /var/log/nvidia-installer.log
__________________
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at livna.org.
LordMorgul is offline   Reply With Quote
Old 10-20-03, 03:20 AM   #12
dwricha
Registered User
 
Join Date: Jun 2003
Posts: 9
Default

uname -r reports:
2.4.20-20.9

I have a dual boot os on separate hard drives and I'm switching back and forward between the 2 because I have no internet access with linux since using the up2date. Don't know how to post my /var/log/nvidia-installer.log file.
sorry to be such a pain. It's 3:15 here on the east coast and I'd hate to have to write it all down right now.
dwricha 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 05:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 12:04 PM
Lucid rt kernel can't load latest nvidia driver module, but generic does. marcod NVIDIA Linux 0 05-02-12 07:23 AM
nvidia + 2.4.19 gentoo = messed up ulukay NVIDIA Linux 18 11-02-02 12:58 AM
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 02:44 PM

All times are GMT -5. The time now is 10:56 AM.


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