LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-09-2007, 12:28 PM   #1
TNWestTex
Member
 
Registered: May 2006
Location: Tennessee
Distribution: current, rawhide
Posts: 87

Rep: Reputation: 16
NVIDIA 9631 Driver won't install on -current 2.6.21.1 kernel


Installed the generic-2.6.21.1 kernel and the source from 0506. Booted to the text terminal to install the NVIDIA 9631 driver for my video. The script chugs merrily along until it is time to load the module and then fails. The tail of the '/var/log/nvidia-installer.log' is as follows:
Code:
-> done.
-> 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).

       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:
   Intel ISA PCIC probe: not found.
   Intel ISA PCIC probe: not found.
   Intel ISA PCIC probe: not found.
   Intel ISA PCIC probe: not found.
   Intel ISA PCIC probe: not found.
   Intel ISA PCIC probe: not found.
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.
Thought maybe there was something in the kernel files that made NVIDIA look for 2.6.21.1-smp Installed that kernel and rebooted after a couple of cockpit errors the driver installed.
 
Old 05-09-2007, 01:22 PM   #2
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
Quote:
NOTE TO USERS OF THE NON SMP KERNELS:

Sorry to shout. :-)

By default, the kernel in Slackware supports SMP. With as common as
multicore CPUs and SMP boards have become, this seemed like the
obvious choice. The kernels are probably better for single CPU
machines, too, if they will run them.

If you have to use one of the non SMP kernels (huge.s or generic.s),
then you will need to reconfigure your kernel sources to build any
additional kernel modules. In order to compile outside kernel
modules and such, you will need to build your kernel once with a
non-SMP .config. The process is much the same:

cat config-generic-2.6.21.1 > /usr/src/linux-2.6.21.1/.config

make oldconfig
make bzImage
make clean
rm .version

At this point if you are running huge.s or generic.s, you should have
no problems building kernel modules.

Have fun! :-)
config-generic-2.6.21.1 is in /boot
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
nvidia driver 'missing' after ~current and running sh NVIDIA soylentgreen Slackware 13 03-26-2007 09:17 PM
-current (march 19 '07) + NVIDIA driver. truthfatal Slackware 1 03-20-2007 08:01 AM
startx locks machine up - GeForce2 and nVidia 9631 drivers MQMan Linux - Hardware 2 03-02-2007 09:29 PM
Install NVIDIA driver on kernel v. 2.4.18 J_Szucs Linux - Hardware 3 03-06-2004 03:11 PM
Command Line Kernel and Nvidia Driver Install mandrakerookie Mandriva 11 12-23-2003 01:23 PM


All times are GMT -5. The time now is 04:52 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration