kernel source and nvidia driver installation issues - have searched
I've been struggling with the nvidia driver installation. I've got the NForce2 chipset on my Gigabyte mobo. I have installed the kernel-source package as well as the kernel-header package (redundant, as I found out). I get an error message when running the nvidia installer stating that the network drivers could not be installed. I have done everything from outside of X as SU. I have turned acpi off. I'm not sure why it is having these issues. I assume the kernel-source installed correctly since I never got an error message when installing the source package. I've included the nvidia installation log as well as the listing of some of my directories where the kernel source should/may be located below. I see that the log shows the kernel source as not specified. Please let me know where the problem may lie.
thanks.... nforce-installer log file '/var/log/nvidia-nforce-installer.log' creation time: Wed Nov 9 06:52:13 2005 option status: license pre-accepted : false expert : false uninstall : false driver info : false no precompiled interface : false no ncurses color : false no questions : false silent : false Installer install prefix : /usr kernel source path : (not specified) net kernel install path : (not specified) audio kernel install path : (not specified) proc mount point : /proc ui : (not specified) tmpdir : /tmp Using: nvidia-installer ncurses user interface -> Found package NVIDIA audio driver for Linux-x86 -> Found package NVIDIA network driver for Linux-x86 -> Please select packages for installation: Selections: NVIDIA network driver for Linux-x86 (1.0-12) -> Starting install of NVIDIA network driver for Linux-x86 -> Checking for loaded module nvnet -> Checking for loaded module forcedeth -> License accepted. -> Skipping check for conflicting rpms. -> /proc/version is Linux version 2.4.26 (root@tree) (gcc version 3.3.4) #8 Mon Jun 14 19:09:31 PDT 2004 -> No precompiled kernel interface was found to match your kernel; this means that the installer will need to compile a new kernel interface. -> Kernel source path: '/lib/modules/2.4.26/build' -> Kernel output path: '/lib/modules/2.4.26/build' -> Performing cc_version_check with CC="cc". -> running command /bin/grep "^PATCHLEVEL =" /lib/modules/2.4.26/build/Makefile | /bin/cut -d " " -f 3 -> Kernel module filename is nvnet.o Cleaning kernel module build directory. executing: 'cd ./nvnet; make clean'... rm -f nvenet.o nvenetif.o nvnet.o *~ core -> Building kernel module: executing: 'cd ./nvnet; make module SYSSRC=/lib/modules/2.4.26/build SYSOUT= /lib/modules/2.4.26/build'... cc -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-co mmon -fomit-frame-pointer -I/lib/modules/2.4.26/build/include -O -mpreferre d-stack-boundary=2 -march=i686 -D__KERNEL__ -DMODULE -DLINUX -DDRIVERVER= \"9999\" -DEXPORT_SYMTAB -DCONFIG_PM -I. -DMODVERSIONS -include /lib/modul es/2.4.26/build/include/linux/modversions.h -c -o nvenet.o nvenet.c ld -r -o nvenetif.o nvenet.o ld -r -o nvnet.o nvenetif.o nvenetlib.o -> done. -> Kernel module compilation complete. -> Testing kernel module: -> Copying test module ./nvnet/nvnet.o to /lib/modules/2.4.26/kernel/drivers/net/nvnet.o ERROR: Unable to load the kernel module 'nvnet.o'. This is most likely because the kernel module was built using the wrong kernel source files. Please make sure you have installed the kernel source 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 source files are installed, you may specify the kernel source path with the '--kernel-source-path' commandline option. -> Kernel module load error: Warning: loading /lib/modules/2.4.26/kernel/drivers/net/nvnet.o will taint the kernel: non-GPL license - NVIDIA See http://www.tux.org/lkml/#export-tainted for information about tainted modules /lib/modules/2.4.26/kernel/drivers/net/nvnet.o: init_module: No such device /lib/modules/2.4.26/kernel/drivers/net/nvnet.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters. You may find more information in syslog or the output from dmesg /lib/modules/2.4.26/kernel/drivers/net/nvnet.o: insmod /lib/modules/2.4.26/kernel/drivers/net/nvnet.o failed /lib/modules/2.4.26/kernel/drivers/net/nvnet.o: insmod nvnet failed -> Testing completed. ERROR: Installation of the network driver has failed. Please see the file '/var/log/nvidia-nforce-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. ----------end of log-------------------- tim@tim:/usr/src$ ls -l total 3 lrwxrwxrwx 1 root root 12 2005-11-09 06:29 linux -> linux-2.4.26/ drwxr-xr-x 15 root root 584 2004-05-31 00:35 linux-2.4.26/ drwxr-xr-x 7 root root 168 2003-10-29 00:08 rpm/ drwxr-xr-x 2 root root 176 2004-06-08 23:35 speakup-2.4.26/ tim@tim:/usr/src/linux-2.4.26$ ls COPYING Documentation/ Makefile REPORTING-BUGS arch/ drivers/ include/ ipc/ lib/ net/ CREDITS MAINTAINERS README Rules.make crypto/ fs/ init/ kernel/ mm/ scripts/ tim@tim:/usr/src/linux-2.4.26/kernel$ ls Makefile capability.c dma.c exit.c info.c kmod.c module.c pm.c ptrace.c sched.c softirq.c sysctl.c timer.c user.c acct.c context.c exec_domain.c fork.c itimer.c ksyms.c panic.c printk.c resource.c signal.c sys.c time.c uid16.c root@tim:/lib/modules/2.4.26# ls -l total 510 lrwxrwxrwx 1 root root 21 2005-10-12 16:47 build -> /usr/src/linux-2.4.26 drwxr-xr-x 9 root root 216 2004-06-13 20:39 kernel -rw-r--r-- 1 root root 140501 2005-11-09 06:52 modules.dep -rw-r--r-- 1 root root 60663 2005-11-09 06:52 modules.generic_string -rw-r--r-- 1 root root 443 2005-11-09 06:52 modules.ieee1394map -rw-r--r-- 1 root root 21941 2005-11-09 06:52 modules.isapnpmap -rw-r--r-- 1 root root 29 2005-11-09 06:52 modules.parportmap -rw-r--r-- 1 root root 88397 2005-11-09 06:52 modules.pcimap -rw-r--r-- 1 root root 24 2005-11-09 06:52 modules.pnpbiosmap -rw-r--r-- 1 root root 185369 2005-11-09 06:52 modules.usbmap drwxr-xr-x 2 root root 960 2005-10-12 16:47 pcmcia root@tim:/lib/modules/2.4.26/kernel# ls arch crypto drivers fs lib net sound |
Quote:
|
Re: kernel source and nvidia driver installation issues - have searched
Quote:
Quote:
Code:
# cp /boot/config /usr/src/linux-2.4.26/.config |
bOuncer,
I was not able to locate where the source or headers were installed. Using slocate (results below) turned up a few locations, but none looked right. I believe that the source and headers should be located in /usr/src. I showed the contents of that directory in my first post hoping that someone would see something there that I did not. rkelsen, I read that the headers were included in the source file. Regardless, I installed both packages: kernel-headers-2.4.26-i386-3.tgz kernel-source-2.4.26-noarch-4.tgz I downloaded these from an ftp site and installed them without returning any error messages. I tried the code you proposed for setting the symlinks, but got the same error as before. Also, when I installed slack 10.0, I did a full install. Would this have installed the kernel source and headers? thanks |
Why not use the forcedeth net driver ? It works fine here
Try : modprobe forcedeth Then run /sbin/netconfig and set your network connection, that should be ok |
Quote:
Have a look at this file: /var/log/nvidia-nforce-installer.log and post any errors. |
rk,
I tried the nvidia installer with a full installation of 10.0 before installing the source and header packages individually. Both returned the same error. My problem is that I cannot find where they are located to instruct the installer where to look. I've posted /usr/src etc. previously, which is where I understand they should be. keefaz, I tried your suggestion. I got an error stating that forcedeth could not be found, although I found it with slocate. This is getting pretty old. I'm about ready to reinstall from scratch. Perhaps I'll try 10.2 and try to specifically install headers and source at that time. |
Quote:
If you ever want to know what files are installed by a package, and where, then just look at the files in /var/log/packages. Cheers, |
All times are GMT -5. The time now is 02:45 PM. |