Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-19-03, 09:52 AM   #1
polvorilla
Registered User
 
Join Date: Mar 2003
Posts: 3
Post Problems in AMD kernel

Hi,

In woody whith kernel 2.4.20-k7 in AMD Athlon 800 Mhz...


ld -r -o nvidia.o nv-linux.o nv-kernel.o
size nvidia.o
text data bss dec hex filename
1248009 92760 32940 1373709 14f60d nvidia.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20-k7/kernel/drivers/video/nvidia.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20-k7/kernel/drivers/video/nvidia.o-back
/lib/modules/2.4.20-k7/kernel/drivers/video/nvidia.o: kernel-module version mismatch
/lib/modules/2.4.20-k7/kernel/drivers/video/nvidia.o was compiled for kernel version 2.4.18-bf2.4
while this kernel is version 2.4.20-k7.
/lib/modules/2.4.20-k7/kernel/drivers/video/nvidia.o: insmod /lib/modules/2.4.20-k7/kernel/drivers/video/nvidia.o failed
/lib/modules/2.4.20-k7/kernel/drivers/video/nvidia.o: insmod nvidia failed
make: *** [package-install] Error 255


Where I'm wrong ?

Thx
polvorilla is offline   Reply With Quote
Old 03-19-03, 11:39 AM   #2
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

How did you install the drivers? It looks like you got the wrong kernel module. Did you just copy the kernel module from an old kernel version? That will not work; you have to recompile it instead.

I'd try the tarballs, personally. You'll need the kernel's sources installed, any way you do it (unless you install a precompiled version).
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 03-19-03, 11:56 AM   #3
polvorilla
Registered User
 
Join Date: Mar 2003
Posts: 3
Default

Quote:
Originally posted by bwkaz
(unless you install a precompiled version).
that is my case
polvorilla is offline   Reply With Quote
Old 03-19-03, 05:02 PM   #4
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

You installed a precompiled binary? Then it's pretty much guaranteed that you installed the wrong one.

Plus, I don't know what that /lib/modules/.../nvidia.o-back file is, either, but nobody running the drivers from nVidia (AFAIK...) has it. Even the RPMs don't install it, I don't think.

Try the tarballs. Install 2.4.20-k7's sources, and go from there. Like I said, it looks like the binaries you're trying to use are for the wrong kernel (well... actually, that's definitely the problem, according to the errors).
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 03-19-03, 08:48 PM   #5
polvorilla
Registered User
 
Join Date: Mar 2003
Posts: 3
Default

Quote:
Originally posted by bwkaz
Plus, I don't know what that /lib/modules/.../nvidia.o-back file is, either, but nobody running the drivers from nVidia (AFAIK...) has it. Even the RPMs don't install it, I don't think.
nvidia.o-back is a file that I move removing nvidia.o, but returns to appear, doesn't have importance, I was clean it. In addition, my distribution is Debian Woody (unstable) where don't exist anyone RPM, it's only apt-get... in any case I not install the sources, only packages kernel-2.4.20-k7.deb and kernel-headers-2.4.20.deb.

Quote:
Originally posted by bwkaz
Try the tarballs. Install 2.4.20-k7's sources, and go from there. Like I said, it looks like the binaries you're trying to use are for the wrong kernel (well... actually, that's definitely the problem, according to the errors).
there is but no remedy that recompile all the kernel or conform me with kernel-2.4.18-bf2.4 where have problems too ?

Thanks for you time...
polvorilla is offline   Reply With Quote
Old 03-20-03, 01:14 PM   #6
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Quote:
Originally posted by polvorilla
there is but no remedy that recompile all the kernel or conform me with kernel-2.4.18-bf2.4 where have problems too ?
I'm not positive I know what you're asking here, but you cannot use kernel modules that were compiled for one kernel in another. It will not work.

Unless Debian provides an NVIDIA_kernel package that works with 2.4.20-k7, you will have to build the NVIDIA_kernel package from source.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 03-20-03, 08:20 PM   #7
mtrr
Registered User
 
Join Date: Jul 2002
Location: Germany
Posts: 234
Send a message via ICQ to mtrr
Default

@polvorilla:

hi there,

you're not using woody, but sid (the naming is a little weird
for newbies)

apt-cache search nvidia

install the package, there are build instructions included.


cheers
mtrr is offline   Reply With Quote
Reply


Thread Tools

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Random crashes, NVRM Xid messages Iesos NVIDIA Linux 90 10-04-12 03:27 AM
Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295]) gbailey NVIDIA Linux 1 06-27-12 10:24 AM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
Crash when logout from X TGL NVIDIA Linux 10 09-13-02 08:22 PM

All times are GMT -5. The time now is 08:46 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.