LinuxQuestions.org
Register a domain and help support LQ
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, 06: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, 06:58 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
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, 10: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, 08:05 AM   #4
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
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, 04: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, 05:21 PM   #6
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
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, 05:09 AM   #7
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
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, 05: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, 05:21 PM   #9
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
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


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


All times are GMT -5. The time now is 04:47 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration