View Single Post
Old 05-16-04, 09:30 AM   #1
can564
Registered User
 
Join Date: May 2004
Posts: 7
Default Why won't drivers build against second kernel

I loaded my nvidia drivers from a tar file on my kernel-2.4.22-1.2115.nptl.One of my up2date downloads installed a kernel-doc-2.4.22-1.2188.nptl.I booted into the new kernel and the networking was down so I used the same tar files to "make" and "make install" but--------

I cannot install my nvidia drivers on this kernel. The driver directions say "unresolved symbols" are the result of missing or wrong kernel source or a bad symbolic link in usr/src.When I boot into kernel-2.4.22-1.2188.nptl. I run rpm -qa | grep kernel and get this

[root@localhost root]# rpm -qa | grep kernel
kernel-doc-2.4.22-1.2188.nptl
kernel-2.4.22-1.2115.nptl
kernel-source-2.4.22-1.2188.nptl
kernel-utils-2.4-9.1.101.fedora
kernel-2.4.22-1.2188.nptl
kernel-pcmcia-cs-3.1.31-16
[root@localhost root]#

So I do have my kernel source installed.Next I checked my symbolic link in usr/src and get

[root@localhost root]# ls -l /usr/src/linux-2.4
lrwxrwxrwx 1 root root 24 May 9 12:08 /usr/src/linux-2.4 -> linux-2.4.22-1.2188.nptl
[root@localhost root]#

So it is pointing to my new kernel I am running and booted in.

So I try one more time I get "unresolved symbols" when running "make" and then "make install" on the untarred nvidia drivers.The script looks like this

[root@localhost root]# cd Desktop
[root@localhost Desktop]# make
make -C nvnet
make[1]: Entering directory `/root/Desktop/nvnet'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/Desktop/nvnet'
make -C nvaudio
make[1]: Entering directory `/root/Desktop/nvaudio'
make nvaudio.o
make[2]: Entering directory `/root/Desktop/nvaudio'
make[2]: `nvaudio.o' is up to date.
make[2]: Leaving directory `/root/Desktop/nvaudio'
make[1]: Leaving directory `/root/Desktop/nvaudio'
make -C nvgart
make[1]: Entering directory `/root/Desktop/nvgart'
making gart
make[1]: Leaving directory `/root/Desktop/nvgart'
[root@localhost Desktop]# make install
make -C nvnet install
make[1]: Entering directory `/root/Desktop/nvnet'
mkdir -p //lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net
install -b -m 644 -o root nvnet.o //lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net
/sbin/depmod -a
depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net/nvnet.o
depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net/nvnet.o~
make[1]: Leaving directory `/root/Desktop/nvnet'
make -C nvaudio install
make[1]: Entering directory `/root/Desktop/nvaudio'
mkdir -p //lib/modules/2.4.22-1.2188.nptl/kernel/drivers/sound
install -b -m 644 -o root nvaudio.o //lib/modules/2.4.22-1.2188.nptl/kernel/drivers/sound
/sbin/depmod -a
depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net/nvnet.o
depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net/nvnet.o~
make[1]: Leaving directory `/root/Desktop/nvaudio'
make -C nvgart install
make[1]: Entering directory `/root/Desktop/nvgart'
mkdir -p //usr/src/nvidia/nvgart
install -b -m 644 -o root linux-2.4.20-agpgart.diff //usr/src/nvidia/nvgart
install -b -m 644 -o root README //usr/src/nvidia/nvgart
make[1]: Leaving directory `/root/Desktop/nvgart'
[root@localhost Desktop]# modprobe nvnet
/lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net/nvnet.o: kernel-module version mismatch
/lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net/nvnet.o was compiled for kernel version 2.4.22-1.2115.nptl
while this kernel is version 2.4.22-1.2188.nptl.
/lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net/nvnet.o: insmod /lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net/nvnet.o failed
/lib/modules/2.4.22-1.2188.nptl/kernel/drivers/net/nvnet.o: insmod nvnet failed
[root@localhost Desktop]#

Any ideas?You guys have really helped a newbie.Thank you for sticking with me on this problem
can564 is offline   Reply With Quote