LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-16-2004, 05:01 PM   #1
Stan the caddy
Member
 
Registered: Dec 2003
Location: Victoria, B.C
Distribution: Slackware
Posts: 61

Rep: Reputation: 15
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!


Hi,
I just installed red hat 9 and upgraded the really old kernel that came with it. However, when I try to run the new kernel (2.4.20-28.9) my system is unable to start X. The only error I found in the XFree86.0.log file was the following:

(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!

When I try to re-install the driver I downloaded from the nvidia website it says somthing about missing kernel headed files. I heard this ment that I needed to install the source rpm for my kernel. I did this in the /usr/src/redhat/SOURCES directory and specified that path in the driver installer. The installer says it still cant find the header file kernel.h, which indeed didn't come with all the other stuff the rpm dumped in sources.


I'm running a Athlon XP 2200 processor with a nvidia geForce FX5200 video card.

Any help would be greatly appreciated, thanks.
 
Old 01-16-2004, 05:58 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
You night try downloading the sources from kernel.org depending on how new your kernel is. Also kernels usually sit in usr/src with a symlink called linux pointing to the particular directory, also check your output for uname -r and see if it matches the directory for your kernel.
 
Old 01-16-2004, 09:52 PM   #3
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
it's because your kernel version changed. so you have to recompile your nvidia's video driver for your card.
 
Old 01-17-2004, 07:05 AM   #4
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Rep: Reputation: 45
Nope, the above to "solutions" won't work. You see, you can download the source of an kernel, but you won't be able to build kernel modules just like that.
Okey try this, I don't know if it will work. Go in to the kernel source directory and do "make symlinks", and then try to compile the driver. Again I don't know if this will work.
 
Old 01-17-2004, 03:56 PM   #5
Stan the caddy
Member
 
Registered: Dec 2003
Location: Victoria, B.C
Distribution: Slackware
Posts: 61

Original Poster
Rep: Reputation: 15
Leonscrape: I got my kernel source from red hats website, and its for the exact kernel I have. Does it really make a difference where you get it from?

tricky_linux : I am aware that it is because my kernel version has changed, as I stated these problems happen while I am trying to re install the driver.

schatoor: when i do "make symlinks" I get the following :
make: *** No rule to make target `symlinks'. Stop.
 
Old 01-17-2004, 04:21 PM   #6
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Probably not, It Depends on what the .run file is looking for.

From my experiances with it ( Which where a little while ago ) Its looks at you output from "uname -r" To find your kernel version.

It then looks under /lib/modules/kernelVersion/ for a symlink called build. This symlink should lead to your sources for the Kernel. ( I think that symlink is what schatoor was thinking off ).

If this doesn't lead to your sources then this could be the problem.
 
Old 01-18-2004, 04:09 AM   #7
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Rep: Reputation: 45
Look in the /boot directory. Is there a file with a name similar to "config-2.4.20-28.9"? Or is there a directory called "/usr/src/linux/config/". Or maby a file called /usr/src/linux/.config" If there is, copy the kernel configuration file to "/usr/src/linux/.config" if it wasn't there alraidy. Then cd in to the kernel source directoy and do "make oldconfig".
 
Old 01-18-2004, 04:09 PM   #8
Stan the caddy
Member
 
Registered: Dec 2003
Location: Victoria, B.C
Distribution: Slackware
Posts: 61

Original Poster
Rep: Reputation: 15
I checked out that link and it was pointing to a directory that didnt even exist! How do i change it though? And when I make it point to the kernel source wont the indtaller still complain about not being able to find kernel.h since it didn't even come with the kernel source like the installer thinks it should have?

Also i found a file called kernel-2.4.20-athlon.config in /usr/src/redhat/SOURCE and made a directory /usr/src/linux and put the file in there, then did make oldconfig but all i got was:
make: *** No rule to make target `oldconfig'. Stop.
 
Old 01-18-2004, 04:21 PM   #9
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
try:
cd /lib/modules/kernelversion/
mv build build.old
ln -s /usr/src/redhat/SOURCE/ build

And try the .run file again. we rename the old build in case it messes anything else up ( So you can restore it ). If the kernel source is in another directory say like SOURCE/kernel-source-2.4.23 then this is where the link has to point too.
 
  


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
No GUI-NVIDIA kernel module failed to initialize Lakota Mandriva 13 07-19-2004 01:17 PM
Failed to initialize the NVIDIA kernel module THX1138 Linux - Newbie 14 11-11-2003 01:34 AM
(EE) NVIDIA (0) Failed to initialize the NVIDIA kernel module Isjhe Mandriva 14 09-25-2003 09:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:12 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