LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   NVIDIA 9631 Driver won't install on -current 2.6.21.1 kernel (https://www.linuxquestions.org/questions/slackware-14/nvidia-9631-driver-wont-install-on-current-2-6-21-1-kernel-552654/)

TNWestTex 05-09-2007 12:28 PM

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.

erklaerbaer 05-09-2007 01:22 PM

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


All times are GMT -5. The time now is 06:20 PM.