Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-13-03, 08:46 AM   #1
egroeg
Registered User
 
Join Date: Dec 2003
Posts: 2
Send a message via AIM to egroeg
Default Linux Noob: Installing under Slackware 9.1 (2.4.22)

I am using Riva 128ZX graphics under Slackware Linux 9.1 (kernel version 2.4.22).
When I try to install the nVidia 3d-accelerated driver, the installer prompts me to compile a kernel module for the driver, saying it can't find one on the Web site. It compiles the module successfully, but fails to load it, saying that 'nvidia.o' was compiled with the wrong kernel header files.
I have installed the correct kernel source and compilers. The installer tells me that I may specify the correct "kernel include path" at the command line. For Slackware Linux 9.1, what is the kernel include path?

Regards,
Egroeg
Attached Files
File Type: log nvidia-installer.log (5.0 KB, 115 views)
egroeg is offline   Reply With Quote
Old 12-13-03, 10:42 AM   #2
SnapIT
Registered User
 
Join Date: Jun 2003
Posts: 154
Default

Yeah, we know about it, a simple solution is to use the patch from www.minion.de

Or download and compile your own kernel, something that i belive will teach you something about your system, not a bad idea?

Actually, if you have any problems with any of these solutions, feel free to mail me at snap.it@telia.com

That offer is cool for any problems you have with Slack...

//Patrick
SnapIT is offline   Reply With Quote
Old 12-13-03, 11:43 AM   #3
The Analog Kid
Registered User
 
Join Date: Dec 2002
Location: New Jersey, USA
Posts: 75
Send a message via ICQ to The Analog Kid Send a message via AIM to The Analog Kid
Default

He isn't using a 2.6 kernel. Just do this

Quote:
ln -s /usr/src/linux-<version> /usr/src/linux
Then try it again.
__________________
Microsoft Palladium:Where will we let you go today?
The Analog Kid is offline   Reply With Quote
Old 12-13-03, 12:57 PM   #4
SnapIT
Registered User
 
Join Date: Jun 2003
Posts: 154
Default

Quote:
Originally posted by The Analog Kid
He isn't using a 2.6 kernel. Just do this



Then try it again.
Not using 2.6, No ****?

The patch would still work, it is a simple solution...

You are obviously not very familiar with Slackware, your solution will not work...

The driver setup "sees" the source headers as the wrong headers, the patch helps...
SnapIT is offline   Reply With Quote
Old 12-13-03, 02:36 PM   #5
The Analog Kid
Registered User
 
Join Date: Dec 2002
Location: New Jersey, USA
Posts: 75
Send a message via ICQ to The Analog Kid Send a message via AIM to The Analog Kid
Default

Hmm, guess I didn't read correctly, no I haven't used Slackware, I use Gentoo.
__________________
Microsoft Palladium:Where will we let you go today?
The Analog Kid is offline   Reply With Quote
Old 12-13-03, 06:15 PM   #6
SnapIT
Registered User
 
Join Date: Jun 2003
Posts: 154
Default

Quote:
Originally posted by The Analog Kid
Hmm, guess I didn't read correctly, no I haven't used Slackware, I use Gentoo.
Well, sorry for the attitude... If you are not a slackhead it's not obvious, i apologize for ripping on you for nothing...

I am a big fan of gentoo myself...
SnapIT is offline   Reply With Quote
Old 12-13-03, 06:55 PM   #7
egroeg
Registered User
 
Join Date: Dec 2003
Posts: 2
Send a message via AIM to egroeg
Default

Thanks guys! Using SnapIT's patch, I got the driver to compile successfully.

Of the several *.o modules compiled
(nv-kernel.o nv.o nvidia.o os-agp.o os-interface.o os-registry.o),
which should I copy to /lib/modules/2.4.22/kernel/drivers/video?

Also, do I need to modify my XF86Config after installing these modules?

Thanks again.

-Egroeg
egroeg is offline   Reply With Quote
Old 12-13-03, 07:01 PM   #8
SnapIT
Registered User
 
Join Date: Jun 2003
Posts: 154
Default

Quote:
Originally posted by egroeg
Thanks guys! Using SnapIT's patch, I got the driver to compile successfully.

Of the several *.o modules compiled
(nv-kernel.o nv.o nvidia.o os-agp.o os-interface.o os-registry.o),
which should I copy to /lib/modules/2.4.22/kernel/drivers/video?

Also, do I need to modify my XF86Config after installing these modules?

Thanks again.

-Egroeg
Glad it worked for you... :-) yes, you will need to modify your XF86Config, it isn't very hard though, just change the [nv] to [nvidia] that is it...

Follow the README that came with the driver if you want more info...

Again, glad i could help, sorry for the attitude... :-)
SnapIT is offline   Reply With Quote

Old 12-13-03, 07:11 PM   #9
SnapIT
Registered User
 
Join Date: Jun 2003
Posts: 154
Default

Quote:
Originally posted by egroeg
Thanks guys! Using SnapIT's patch, I got the driver to compile successfully.

Of the several *.o modules compiled
(nv-kernel.o nv.o nvidia.o os-agp.o os-interface.o os-registry.o),
which should I copy to /lib/modules/2.4.22/kernel/drivers/video?

Also, do I need to modify my XF86Config after installing these modules?

Thanks again.

-Egroeg
If you followed the patch instructions your modules should be compiled and copied to the directory automatically...

Still need to modify your XF86Config manually though...

Did you recompile it into the shell script tar or did you just do the standard patch, config, make && make install?
SnapIT is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
nVidia Linux drivers with Linux on Mac, help? Thetargos NVIDIA Linux 0 05-13-12 12:52 PM
Mandrake Linux 9.0 (Dolphin) now available | comments? volt General Linux 10 10-19-02 10:13 PM
Mandrake 9.0 or RH 8.0 for a Linux Noob?? jthompson7051 NVIDIA Linux 5 10-08-02 10:46 PM
Linux newbies start here. voodoo14 NVIDIA Linux 4 09-30-02 08:40 PM

All times are GMT -5. The time now is 11:16 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.