LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   nvidia driver trouble installing with 2.6.9 (https://www.linuxquestions.org/questions/slackware-14/nvidia-driver-trouble-installing-with-2-6-9-a-246531/)

Lord Zoltar 10-23-2004 09:30 PM

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)

rshaw 10-23-2004 09:37 PM

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

Lord Zoltar 10-23-2004 09:50 PM

cool. How do I apply a .diff patch?

reddazz 10-23-2004 11:21 PM

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.

cccc828 10-24-2004 04:35 AM

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

Lord Zoltar 10-24-2004 06:52 PM

thanks, cccc828, the patched driver works fine now. :)


All times are GMT -5. The time now is 06:37 AM.