LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 07-13-2009, 11:50 PM   #1
wingfy01
Member
 
Registered: Jul 2009
Location: HZ, China
Distribution: Slackware14 /Debian 6/CentOS5
Posts: 64

Rep: Reputation: 6
Help Me: Install Nvidia driver Error:


when i install nvidia driver using :
sh Nvidia--Linux-x86-185.51-pkg1.run;
Kernel module compilation complete;
but then i got an error:
Unable to load module 'nvidia.ko'. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if a driver such as rivafb/nvidiafb is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA device(s)

this is the part log which is useful i think:


Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s), or NVIDIA GPU
installed in this system is not supported by this NVIDIA Linux graphics
driver release.

Please see the log entries 'Kernel module load error' and 'Kernel
messages' at the end of the file '/var/log/nvidia-installer.log' for
more information.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
-1 Invalid module format
-> Kernel messages:
r8169: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
iwlagn 0000:03:00.0: PCI INT A disabled
iwlagn 0000:03:00.0: PCI INT A -> Link[LNKB] -> GSI 5 (level, low) -> IRQ 5
iwlagn 0000:03:00.0: restoring config space at offset 0x1 (was 0x100102,
writing 0x100106)
Registered led device: iwl-phy0:radio
Registered led device: iwl-phy0:assoc
Registered led device: iwl-phy0:RX
Registered led device: iwl-phy0:TX
wlan0: authenticate with AP 08:10:74:0f:1d:a8
ADDRCONF(NETDEV_UP): wlan0: link is not ready
wlan0: authenticate with AP 08:10:74:0f:1d:a8
wlan0: authenticated
wlan0: associate with AP 08:10:74:0f:1d:a8
wlan0: RX AssocResp from 08:10:74:0f:1d:a8 (capab=0x411 status=0 aid=1)
wlan0: associated
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
wlan0: no IPv6 routers present
scim-launcher[3766]: segfault at b6b508c0 ip b6b508c0 sp bff3415c error 4 in
LC_CTYPE[b6b66000+4a000]
i2c_core: exports duplicate symbol i2c_smbus_xfer (owned by kernel)
nvidia: version magic '2.6.27.7-smp SMP mod_unload 686 ' should be '2.6.27.7
mod_unload 486 '
i2c_core: exports duplicate symbol i2c_smbus_xfer (owned by kernel)
nvidia: version magic '2.6.27.7-smp SMP mod_unload 686 ' should be '2.6.27.7
mod_unload 486 '
i2c_core: exports duplicate symbol i2c_smbus_xfer (owned by kernel)
nvidia: version magic '2.6.27.7-smp SMP mod_unload 686 ' should be '2.6.27.7
mod_unload 486 '
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.


help me deal with it .
 
Old 07-14-2009, 02:29 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Welcome to LQ!

Please tell us what you did up to that point.

I got the same error message last week. After a fresh install of
Slackware64 -current, I changed kernels and did some other stuff
to configure my system before rebooting. Since I setup my NFS
shares, I thought I'd go ahead and install the Nvidia driver.
Can't do that until the system is rebooted and running the
kernel within Slackware, rather than from the CD/DVD.

Since you didn't give us much to go on, I'm guessing.
 
Old 07-14-2009, 07:39 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Looking at that log, I think that you are running the non-SMP version of a Slackware kernel.
However, installation of the kernel-source package results in kernel sources below /usr/src that are pre-configured to build modules for a SMP kernel. This means that the modules you have built (such as the nvidia module) will refuse to load in your running kernel. The error you will get is
Code:
version magic '2.6.27.7-smp SMP mod_unload 686 ' should be '2.6.27.7 mod_unload 486 '
Check out this readme for Slackware 12.2: ftp://slackware.osuosl.org/pub/slack...sdk/README.TXT which explains how you can re-configure your kernel sources. You will have to follow these instructions, and then try to install that NVIDIA driver again. This time, the module that is compiled should properly work with your non-SMP kernel.

Eric
 
Old 07-15-2009, 12:08 AM   #4
wingfy01
Member
 
Registered: Jul 2009
Location: HZ, China
Distribution: Slackware14 /Debian 6/CentOS5
Posts: 64

Original Poster
Rep: Reputation: 6
Thumbs up

Quote:
Originally Posted by Alien Bob View Post
Looking at that log, I think that you are running the non-SMP version of a Slackware kernel.
However, installation of the kernel-source package results in kernel sources below /usr/src that are pre-configured to build modules for a SMP kernel. This means that the modules you have built (such as the nvidia module) will refuse to load in your running kernel. The error you will get is
Code:
version magic '2.6.27.7-smp SMP mod_unload 686 ' should be '2.6.27.7 mod_unload 486 '
Check out this readme for Slackware 12.2: ftp://slackware.osuosl.org/pub/slack...sdk/README.TXT which explains how you can re-configure your kernel sources. You will have to follow these instructions, and then try to install that NVIDIA driver again. This time, the module that is compiled should properly work with your non-SMP kernel.

Eric
Thanks .The fist kernek i used is non smp kernel;but i dont know how to make the smp kernel.
Then i see a article(http://www.linuxforums.org/forum/sla...re-11-0-a.html) ,i know that:
Slackware kernel built with "framebuffer" support leads to my problem ,so i rebuild the kernel without "framebuffer",after i use the new kernel ,i can install the nvidia kernel;

What's more, my new kernel is SMP kernel :I dont know what happened:i did not buid the smp kernel ,i just buid the kernel without framebuffer ;
so can you tell me the reason?
 
Old 07-16-2009, 06:10 AM   #5
wingfy01
Member
 
Registered: Jul 2009
Location: HZ, China
Distribution: Slackware14 /Debian 6/CentOS5
Posts: 64

Original Poster
Rep: Reputation: 6
Today i find a new solution to my problem:i just need to make an initrd.I got the idea from the ReadMe.initrd file in /boot.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[help]Could not install nvidia driver : ./nvidia-installer: No such file or directory anchunlei Debian 4 04-18-2008 05:30 AM
Nvidia Problem: can't install nvidia driver for FC6 Chuong Linux - Software 7 10-30-2006 04:43 AM
Nvidia latest driver doesn't want to install !! - Error log Fear58 Linux - Software 12 12-09-2004 10:16 AM
nVidia driver install error carlosinfl Linux - Software 1 07-20-2004 04:18 AM
FTP error on NVIDIA driver install... rberry88 Linux - Newbie 5 08-26-2003 07:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 06:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration