LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-18-2003, 10:32 PM   #1
nrunge
Member
 
Registered: Oct 2003
Distribution: Debian Woody (2.4.22)
Posts: 182

Rep: Reputation: 30
2.6 and NVIDIA module


I just downloaded and compiled 2.6 stable. I then patched my nvidia source with the correct patch from www.minion.de. The patching process was fine but when I issue the 'make' command I get an error about a .ko module being invalid. What do I need to do to fix this problem? Does anyone have 2.6 working with any patched version of the 'nvidia' module?
 
Old 12-19-2003, 03:14 AM   #2
Kroppus
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Debian UNSTABLE + latest 2.6.kernel
Posts: 391

Rep: Reputation: 30
Did you also follow the instructions about what version of the different programs you need?
It sounds like the osame error i hac before i vent through all the programs i the readme file.

Good luck with the driver.

I had it working, but nothing else worked for me then. (sound and network).
So i'm waiting for the official driver
 
Old 12-19-2003, 04:26 AM   #3
TheOneKEA
Member
 
Registered: Oct 2003
Distribution: Debian GNU/Linux 11 (amd64) w/kernel 6.0.15
Posts: 299

Rep: Reputation: 30
What is the exact error message you get?
 
Old 12-23-2003, 07:28 PM   #4
nrunge
Member
 
Registered: Oct 2003
Distribution: Debian Woody (2.4.22)
Posts: 182

Original Poster
Rep: Reputation: 30
ERROR: Unable to load the kernel module 'nvidia.ko'. 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.


I run debian and use make-kpkg, I have installed the source .deb's that it creates.
 
Old 12-23-2003, 09:29 PM   #5
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
download the tar.gz source from www.kernel.org and put that in your /usr/src directotry
then make a symbolic link called linux to linux-2.6.0 with
ln -s /usr/src/linux-2.6.0 /usr/src/linux

i don't know, but maybe it's a problem with the deb package? fresh sources shouln't have problems

try this post: http://www.linuxquestions.org/questi...hreadid=125381

it has the exact instuctions in fairly simple terms; try following (or re-following) those directions
 
Old 12-26-2003, 04:02 PM   #6
nrunge
Member
 
Registered: Oct 2003
Distribution: Debian Woody (2.4.22)
Posts: 182

Original Poster
Rep: Reputation: 30
I made that symlink. Here is the error I get when I do a 'make install' instead of using the 2.6 compatible installer.

---------------------------------->
cd usr/src/nv; make install
make[1]: Entering directory `/root/graphics/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv'
make[2]: Entering directory `/usr/src/linux-2.6.0'
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
make[3]: `arch/i386/kernel/asm-offsets.s' is up to date.
Building modules, stage 2.
/usr/src/linux-2.6.0/scripts/Makefile.modpost:17: *** Uh-oh, you have stale module entries. Y
ou messed with SUBDIRS,
/usr/src/linux-2.6.0/scripts/Makefile.modpost:18: do not complain if something goes wrong.
MODPOST
make[2]: Leaving directory `/usr/src/linux-2.6.0'
FATAL: Error inserting nvidia (/lib/modules/2.6.0111803/kernel/drivers/video/nvidia.ko): Inva
lid module format
make[1]: *** [package-install] Error 1
make[1]: Leaving directory `/root/graphics/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv'
make: *** [kernel_module_install] Error 2
---------------------------------->


I dont know what SUBDIRS are. I am sure that I did not alter them. Unless this stuff from DMESG means something. It is produced when I try to run 'insmod nvidia.ko'

"nvidia: version magic '2.6.0 K7 gcc-3.3' should be '2.6.0111803 K7 gcc-3.3'"

Last edited by nrunge; 12-26-2003 at 04:39 PM.
 
  


Reply



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
(EE) NVIDIA(0): Failed to initialize the NVIDIA Kernel module latino Linux - Hardware 5 06-03-2008 03:55 AM
(EE) NVIDIA(0): Failed to initialize the nvidia kernel module necbrownie Slackware 18 06-16-2006 02:20 AM
nvidia installer fails to create nvidia module rooman Linux - Software 3 10-04-2004 03:39 AM
'nvidia' module doesn't persist for nVidia GeForce2 DDR card dude_a_b_c Mandriva 8 05-19-2004 02:50 PM
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Stan the caddy Linux - Hardware 8 01-18-2004 04:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:52 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration