LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-02-2010, 12:41 AM   #1
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Rep: Reputation: 231Reputation: 231Reputation: 231
Nvidia and kernel-2.6.33


I know that current just pushed kernel 2.6.33 down, but has anyone been successful in building the nvidia drivers against this new kernel? I'm not having any success with the 190 driver and the 195 beta driver. There are some patches that I found on the nvidia forum, but so far, nothing is working. Any ideas? Thanks ahead of time!
 
Old 03-02-2010, 12:45 AM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
http://www.nvnews.net/vbulletin/show...0&postcount=20

I'm going to guess that these patches at the above link, are among the ones you have tried unsuccessfully? Last I read, they worked for the 33-rc kernel according to another LQ member (sorry cannot remember who at this time) but if you have NOT tried the patch(es) at this link, or the ones you DID try are different than these ones, please do tell

As yet, I haven't delved into rebuilding my nvidia driver on a .33 kernel since I'm still on 32.x whatever the latest x is, so cannot comment from direct experience yet.
 
Old 03-02-2010, 12:51 AM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
this one should work with 2.6.33: supported hardware is here.
I guess some patches could be found on nvidia linux forum for legacy drivers with 2.6.33 (but I haven't looked).

Last edited by ponce; 03-02-2010 at 01:07 AM.
 
Old 03-02-2010, 01:37 AM   #4
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
GrapefruitGirl, yes, those were the patches that I used!

Ponce, I tried your link, and downloaded the latest beta. At least this time, the script can find my kernel source. However, I keep getting these errors:
Code:
ERROR: Unable to open                                                        
         '/usr/X11R6/lib/xorg/modules/extensions/libglx.so.190.42' for reading 
         (No such file or directory)

ERROR: Unable to open '/usr/X11R6/lib/xorg/modules/extensions/libglx.so' for 
         reading (No such file or directory

ERROR: Unable to open '/usr/lib/xorg/modules/extensions/libglx.so.190.42'    
         for reading (No such file or directory)
I'm not sure if the problem lies with the new kernel or the latest xorg.
 
Old 03-02-2010, 02:05 AM   #5
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
You should use nvidia drivers version 190.53 or 195.30 with these patches
You might take a look at this same thread.

Regards
 
1 members found this post helpful.
Old 03-02-2010, 02:28 AM   #6
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Quote:
Originally Posted by bathory View Post
You should use nvidia drivers version 190.53 or 195.30 with these patches
You might take a look at this same thread.

Regards
This thread started and ended 1 day before a newer version was released though..
Im with ponce but havent upgraded yet to make sure it works ok for me.
 
Old 03-02-2010, 02:33 AM   #7
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Well, it works with 2.6.33
Code:
# uname -r
2.6.33

# cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86 Kernel Module  190.53  Tue Dec  8 18:51:41 PST 2009
GCC version:  gcc version 4.4.3 (GCC)
 
Old 03-02-2010, 03:17 AM   #8
botnet
Member
 
Registered: May 2009
Posts: 158

Rep: Reputation: 40
im stuck with vesa drivers right now


NVIDIA-Linux-x86_64-195.36.08-pkg0.run

gives me invalid module format errors on agpgart.ko and nvidia.ko


NVIDIA-Linux-x86_64-190.53-pkg2.run

does not compile due to unable to determine kernel source versions

not using any xorg.conf gives me a garbled X (is that the nv driver or nouveau)



going to try the patch shortly...(once i figure out this libpng thing...)



the patch doesnt work for me, gives me the same invalid module format errors (libpng still is not giving me icons either--i have to use chrome to post this since firefox has no submit buttons)
 
Old 03-02-2010, 04:15 AM   #9
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
NVIDIA-Linux-x86_64-195.36.08-pkg0.run
gives me invalid module format errors on agpgart.ko and nvidia.ko
You have to configure the kernel with something like:
Quote:
CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set

CONFIG_AGP=m
CONFIG_AGP_INTEL=m
CONFIG_AGP_NVIDIA=m
FYI the latest nvidia--195.36.0 does not need patching for 2.6.33 kernel.

Regards
 
Old 03-02-2010, 04:27 AM   #10
botnet
Member
 
Registered: May 2009
Posts: 158

Rep: Reputation: 40
Quote:
Originally Posted by bathory View Post
the latest nvidia--195.36.0 does not need patching for 2.6.33 kernel.
the latest nvidia 195.36.08 gives invalid module format errors when starting X
 
Old 03-02-2010, 04:39 AM   #11
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
You have to recompile your kernel with the above options (maybe you don't need agp_intel if don't have an intel chipset as I do) prior building the nvidia module.
 
Old 03-02-2010, 06:12 AM   #12
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Quote:
Originally Posted by bathory View Post
You have to recompile your kernel with the above options (maybe you don't need agp_intel if don't have an intel chipset as I do) prior building the nvidia module.
The 2.6.32.7 kernel didnt have this as a module either. What changed?

PS. Someone should tell Pat to enable it.
 
Old 03-02-2010, 10:31 AM   #13
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
# Bathory -- In your post above (#9) are you saying that the PREEMPTIBLE kernel option(s) will not work with the new driver? Or were you mainly pointing at the CONFIG_AGP options in that post?

I'mma have to fiddle with this today since I almost always run the latest kernel and latest nV driver.. We'll see...

Sasha
 
Old 03-02-2010, 02:12 PM   #14
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by bathory View Post
You have to configure the kernel with something like:


FYI the latest nvidia--195.36.0 does not need patching for 2.6.33 kernel.

Regards
Ok, so I tried your changes and recompiled the kernel again. The driver finally compiled, but I still ran into a bit of a snag. The "NOUVEAU" driver was enabled to load as a module. When that happens, you won't be able to install the nvidia driver. So, there are two things one can do, you can either rebuild the kernel and comment out the nouveau driver or add the following to /etc/modprobe.d/blacklist.conf:
Code:
blacklist nouveau
Reboot and run the nvidia script to install the driver.

For the record, here's my preempt section on my .config file:
Code:
CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
Thanks everyone for the help!
 
1 members found this post helpful.
Old 03-02-2010, 02:58 PM   #15
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by GrapefruiTgirl View Post
# Bathory -- In your post above (#9) are you saying that the PREEMPTIBLE kernel option(s) will not work with the new driver? Or were you mainly pointing at the CONFIG_AGP options in that post?
Yup, with CONFIG_PREEMPT set, you'll get the invalid module format.

Quote:
I'mma have to fiddle with this today since I almost always run the latest kernel and latest nV driver.. We'll see.
That makes two of us

Cheers
 
  


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
nvidia 6106, kernel 2.6.7, slackware 10, failure to load nvidia.ko Tarball_Phreak Linux - Hardware 3 08-04-2004 03:16 PM
kernel 2.6.3--bk8 and NVIDIA-Linux-x86-1.0-5336 video driver from Nvidia zdenkod Linux - Hardware 2 03-09-2004 05:38 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 - Distributions > Slackware

All times are GMT -5. The time now is 08:00 AM.

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