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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-16-2004, 05:01 PM
|
#1
|
Member
Registered: Dec 2003
Location: Victoria, B.C
Distribution: Slackware
Posts: 61
Rep:
|
(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.
|
|
|
01-16-2004, 05:58 PM
|
#2
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313
Rep:
|
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.
|
|
|
01-16-2004, 09:52 PM
|
#3
|
Member
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674
Rep:
|
it's because your kernel version changed. so you have to recompile your nvidia's video driver for your card.
|
|
|
01-17-2004, 07:05 AM
|
#4
|
Senior Member
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358
Rep:
|
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.
|
|
|
01-17-2004, 03:56 PM
|
#5
|
Member
Registered: Dec 2003
Location: Victoria, B.C
Distribution: Slackware
Posts: 61
Original Poster
Rep:
|
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.
|
|
|
01-17-2004, 04:21 PM
|
#6
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313
Rep:
|
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.
|
|
|
01-18-2004, 04:09 AM
|
#7
|
Senior Member
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358
Rep:
|
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".
|
|
|
01-18-2004, 04:09 PM
|
#8
|
Member
Registered: Dec 2003
Location: Victoria, B.C
Distribution: Slackware
Posts: 61
Original Poster
Rep:
|
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.
|
|
|
01-18-2004, 04:21 PM
|
#9
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 01:07 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|