LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-14-2004, 10:28 AM   #1
Napalm Llama
Member
 
Registered: Nov 2004
Location: Bristol, UK
Distribution: Gentoo 2005.0
Posts: 224

Rep: Reputation: 30
Trouble with Nvidia patch in YOU


This may be a newbie question, or it may be a SuSE question. But it's definately a hardware question, which is why it's here.

I have an Nvidia TNT Riva Model 64 graphics card. I've got my intarweb working (thanks to the wonderful people at Linuxant) and I've tried to install the patch over Yast Online Update. Trouble is, it doesn't seem to download anything (it says the filesize is 0 bytes) and of course this leads to slight problems.

I downloaded the installer for everybody not using SuSE, shutdown the X server, did everything I was told, but it didn't like my kernel.

It dumped a file in /var/log containg, (amongst other thing), this:

Quote:
-> Kernel module linked successfully.
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.
My limited Linux experience has run out on me.

What do I do?
 
Old 11-15-2004, 08:39 AM   #2
Napalm Llama
Member
 
Registered: Nov 2004
Location: Bristol, UK
Distribution: Gentoo 2005.0
Posts: 224

Original Poster
Rep: Reputation: 30
Sorry to bump, but I kind of need this... If the question's already been answered elsewhere, by all means point me in the right direction - I did do a forum search, but I couldn't find anything.
 
Old 11-15-2004, 12:11 PM   #3
Mechatrex
LQ Newbie
 
Registered: Nov 2004
Distribution: Slackware 11
Posts: 12

Rep: Reputation: 0
quote:-> Kernel module linked successfully.
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.

That happened to me once while using redhat 8. You updated your kernel and the nvidia card was installed before the kernel upgrade, thus compiled for your old kernel. Simply repeat the steps you did to get the card working in the firstplace, thus having the drivers recompiled for your current kernel.

Good luck,

Mechatrex
 
Old 11-15-2004, 03:49 PM   #4
Napalm Llama
Member
 
Registered: Nov 2004
Location: Bristol, UK
Distribution: Gentoo 2005.0
Posts: 224

Original Poster
Rep: Reputation: 30
I did?

The setup program must have installed everything automatically - my card was in my machine when I first installed Linux, and the SuSE setup automatically detected it and gave it the nv driver. I haven't touched my kernel since then, (I wouldn't know how, even if I wanted to...), but I'm trying to install the nvidia driver so I can get hardware acceleration.

So I didn't really take any steps to get my card working, other than installing Linux itself...

Help!
 
Old 11-15-2004, 05:06 PM   #5
Mechatrex
LQ Newbie
 
Registered: Nov 2004
Distribution: Slackware 11
Posts: 12

Rep: Reputation: 0
The easiest way to get the 3d accelleration going is to download the driver from nvidia.com.

Just make sure you get the package for your kernel " uname -r " will help if you are not sure.
Then you will have to install the package without the X server running. I haven't figured out an efficient way of doing this so here is my long and convoluted way of installing the nvidia drivers

1: download the package
2: print the readme file for install instructions (specific commands required to properly compile the driver)
3: edit my inittab file (set the runlevel to command prompt only)
4: kill X (crtl+alt+backspace)
5: run the commands listed in the readme file
6: edit your X configuration file
7: edit inittab if you want X to start automatically
8: startx

NOTE: any X apps that tell you about your video card (in KDE, Gnome etc) will not show that you have a 3d card (enable 3d accelleration will remain unclickable) but your 3d will work.

Hope that helps

Mechatrex
 
  


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
nVidia Patch? spaaarky21 Linux - Software 10 03-12-2005 10:10 AM
[PATCH] Nvidia 6111 on 2.6.9-rc2. zenwhen Linux - Hardware 0 09-20-2004 01:37 AM
Trouble with new nVidia driver installation...no nvidia logo and KDE no start up mdb Linux - Software 8 08-18-2004 10:45 AM
Slackware 8.1 trouble with PHP 4.3.2 patch Normanjr Slackware 0 09-17-2003 11:24 AM
nvidia kernel patch with 2.6.0 likid0 Linux - Software 0 08-15-2003 07:26 AM


All times are GMT -5. The time now is 04:39 AM.

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