LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-23-2004, 09:30 PM   #1
Lord Zoltar
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 200

Rep: Reputation: 30
Unhappy nvidia driver trouble installing with 2.6.9


Hey, I'm having nvidia installer trouble again!
I upgraded to 2.6.9 today. Part of this installation somehow broke the nvidia drivers, but I said ok whatever, I'll just reinstall it, after all, it's built for specific kernel source, and now I'm using a newer kernel....
'cept now the install bombs. It's not a rivafb issue anymore. The installer just can't install.
I tried running `make install` in the extracted directory, and that also didn't work, but it DID hint that I should look at output of dmesg.
Here's what is there:

nvidia: module license 'NVIDIA' taints kernel.
nvidia: Unknown symbol __VMALLOC_RESERVE
.
.
.
.


well obviously there's normally more than that, but these were the only two lines that looked relevant to the nvidia problem. that second line is repeated 14 times in total.

I haven't a clue how to fix this. Anyone out there have some suggestions?
(I'm runnign slackware 10.0, nvid driver is 6111, which is most recent to my knowledge)
 
Old 10-23-2004, 09:37 PM   #2
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
its a known issue,
http://www.uwsg.indiana.edu/hypermai...10.2/0750.html

there is a .diff available if you feel like patching the kernel.
http://ck.kolivas.org/patches/2.6/2....ia_compat.diff
 
Old 10-23-2004, 09:50 PM   #3
Lord Zoltar
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 200

Original Poster
Rep: Reputation: 30
cool. How do I apply a .diff patch?
 
Old 10-23-2004, 11:21 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You need to add this line,

EXPORT_SYMBOL(__VMALLOC_RESERVE);

on line 44 of linux-2.6.9/arch/i386/mm/init.c and then recompile your kernel.
 
Old 10-24-2004, 04:35 AM   #5
cccc828
Member
 
Registered: Feb 2004
Location: Austria
Distribution: Slackware
Posts: 95

Rep: Reputation: 15
Well, as this is a problem with the NVidia driver, and not with the kernel I think it is wrong to patch the kernel to get the broken driver to work. I think it is better to patch the driver. A patched version of the NVidia driver can be found at http://ngc891.blogdns.net/index.php?2004/09/21/3-patched-nvidia-drivers
IMHO it is "cleaner" than altering the kernel source (that's the purpose of a vanilla kernel, not to have any patches in it) and if NVidia "officially" releases a patches driver you will have no troubles switching to it.

cccc828
 
Old 10-24-2004, 06:52 PM   #6
Lord Zoltar
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 200

Original Poster
Rep: Reputation: 30
thanks, cccc828, the patched driver works fine now.
 
  


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
nvidia driver trouble zenith_zth Linux - Hardware 11 10-22-2004 10:32 AM
Nvidia driver trouble Lord Zoltar Slackware 35 09-11-2004 05:28 PM
Trouble with new nVidia driver installation...no nvidia logo and KDE no start up mdb Linux - Software 8 08-18-2004 09:45 AM
Nvidia Driver and Kernel trouble Vipes Linux - Hardware 6 06-05-2003 06:30 PM
Nvidia Driver trouble skeezix Linux - Hardware 2 01-31-2003 02:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:36 PM.

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