LinuxQuestions.org
Review your favorite Linux distribution.
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, 11: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, 04: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, 05:26 AM   #3
TheOneKEA
Member
 
Registered: Oct 2003
Location: Somewhere in Surrey
Distribution: Debian GNU/Linux 8.0 (amd64) w/kernel 3.19.0
Posts: 286

Rep: Reputation: 30
What is the exact error message you get?
 
Old 12-23-2003, 08: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, 10: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, 05: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 05:39 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 06:17 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration