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

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-16-06, 11:07 AM   #1
Richard87
Registered User
 
Join Date: Sep 2006
Posts: 13
Default "Unable to load nvidia.ko", krnl:2.6.18-1.2239

Hello, I have FC5 installed, with the newest kernel installed(2.6.18-1.2239.FC5 rpm install), and gcc version 4.1.1 20060525.

I have no idea what to do, the module gets compiled without errors, but I can still not load it.

I have attached the error log.
Attached Files
File Type: log nvidia-bug-report.log (108.4 KB, 129 views)
Richard87 is offline   Reply With Quote
Old 11-16-06, 12:02 PM   #2
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: "Unable to load nvidia.ko", krnl:2.6.18-1.2239

nvidia: disagrees about version of symbol struct_module

The kernel development files you built the NVIDIA kernel module against don't exactly match the running kernel; please double-check that you have the correct kernel-devel package(s) installed.
zander is offline   Reply With Quote
Old 11-16-06, 12:20 PM   #3
Richard87
Registered User
 
Join Date: Sep 2006
Posts: 13
Default Re: "Unable to load nvidia.ko", krnl:2.6.18-1.2239

How can I double check? I used

yum install kernel-devel
and
yum install/update kernel

uname -r returns
2.6.18-1.2239.fc5

and ls of /usr/src/kernels returns
# ls /usr/src/kernels/
2.6.15-1.2054_FC5-i586 2.6.18-1.2200.fc5-i586
2.6.17-1.2174_FC5-i586 2.6.18-1.2239.fc5-i586

I used the command
./NVIDIA-Linux-x86-1.0-9629-pkg1.run --kernel-source-path /usr/src/kernels/2.6.18-1.2239.fc5-i586/

to execute the installer.

what else should I check?

[EDIT]
My install is i386, but the kernel header files is for i586, is that a problem? and can anyone tell me where I could get i386 files from then?
Richard87 is offline   Reply With Quote
Old 11-16-06, 12:35 PM   #4
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: "Unable to load nvidia.ko", krnl:2.6.18-1.2239

You don't need to use the --kernel-source-path command line argument; what happens if you don't use it?
zander is offline   Reply With Quote
Old 11-16-06, 12:54 PM   #5
Richard87
Registered User
 
Join Date: Sep 2006
Posts: 13
Default Re: "Unable to load nvidia.ko", krnl:2.6.18-1.2239

I get a error message when the innstaler is about to compile the driver saying that it could not find the kernel source tree...
Richard87 is offline   Reply With Quote
Old 11-16-06, 01:09 PM   #6
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: "Unable to load nvidia.ko", krnl:2.6.18-1.2239

Are you running an i586 kernel or an i686 kernel?
What's the output from "rpm -qa | grep kernel" ?
netllama is offline   Reply With Quote
Old 11-16-06, 01:27 PM   #7
Richard87
Registered User
 
Join Date: Sep 2006
Posts: 13
Default Re: "Unable to load nvidia.ko", krnl:2.6.18-1.2239

kernel-2.6.18-1.2200.fc5
kernel-2.6.18-1.2239.fc5
kernel-devel-2.6.18-1.2200.fc5
kernel-devel-2.6.18-1.2239.fc5

it didnt tell me much though
Richard87 is offline   Reply With Quote
Old 11-16-06, 01:30 PM   #8
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: "Unable to load nvidia.ko", krnl:2.6.18-1.2239

Are you running an i586 kernel or an i686 kernel?
netllama is offline   Reply With Quote

Old 11-16-06, 01:35 PM   #9
Richard87
Registered User
 
Join Date: Sep 2006
Posts: 13
Default Re: "Unable to load nvidia.ko", krnl:2.6.18-1.2239

How can I tell?

what I know is that I download the i386 version, and echo $HOSTTYPE returns i386, so I would belive I am running a i386 kernel or the i586 kernel(since all the packeges that I download seems to be i586...)

Sorry, please consider me as a complete newbie here
Richard87 is offline   Reply With Quote
Old 11-16-06, 03:29 PM   #10
spnyBard
Registered User
 
Join Date: Nov 2006
Posts: 2
Default Re: "Unable to load nvidia.ko", krnl:2.6.18-1.2239

I am receiving the same error after executing NVIDIA-Linux-x86-1.0-9629-pkg1.run

I am running an i686 kernel 2.6.18-1.2239 on FC5 with (ostensibly) the corresponding kernel-devel package

rpm -qa | grep kernel

results in the following:

kernel-devel-2.6.18-1.2200.fc5
kernel-devel-2.6.18-1.2239.fc5
kernel-2.6.18-1.2200.fc5
kernel-2.6.18-1.2239.fc5

I've tried to manually insmod the nvidia driver created from the installer as well without success.
spnyBard is offline   Reply With Quote
Old 11-16-06, 06:43 PM   #11
spnyBard
Registered User
 
Join Date: Nov 2006
Posts: 2
Default Re: "Unable to load nvidia.ko", krnl:2.6.18-1.2239

Please disregard my question - I had residual calls to the previous driver that needed to be cleaned up.
spnyBard is offline   Reply With Quote
Old 11-17-06, 01:17 PM   #12
Richard87
Registered User
 
Join Date: Sep 2006
Posts: 13
Default Re: "Unable to load nvidia.ko", krnl:2.6.18-1.2239

I found it out, checking the yum log i saw that I had actually installed the i686 kernel, so I downloaded the kernel-devel package for i686 and now everything work perfect

Tanks for all the help...
Richard87 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


All times are GMT -5. The time now is 09:03 AM.


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