nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   nvidia module no longer loads under linux-2.6.10-rc3-mm1 (http://www.nvnews.net/vbulletin/showthread.php?t=42593)

BradReed 12-17-04 12:22 PM

nvidia module no longer loads under linux-2.6.10-rc3-mm1
 
It appears 2.6.10-rc3-mm1 once again kills the nvidia module. When loading the module, it complains:

nvidia: Unknown symbol class_simple_create
nvidia: Unknown symbol class_simple_device_add
nvidia: Unknown symbol class_simple_destroy
nvidia: Unknown symbol class_simple_device_remove
nvidia: Unknown symbol class_simple_create

And I see the 2.6.10-rc3-mm1 patch includes:

root@galactus:/home/breed/Tarballs/Patches[1012]# fgrep -- -EXPORT_SYMBOL\(class 2.6.10-rc3-mm1
-EXPORT_SYMBOL(class_simple_create);
-EXPORT_SYMBOL(class_simple_destroy);
-EXPORT_SYMBOL(class_simple_device_add);
-EXPORT_SYMBOL(class_simple_set_hotplug);
-EXPORT_SYMBOL(class_simple_device_remove);

Just thought people might be interested.

valdis 12-17-04 01:53 PM

Re: nvidia module no longer loads under linux-2.6.10-rc3-mm1
 
1 Attachment(s)
You can just change those EXPORT_SYMBOL to EXPORT_SYMBOL_GPL and rebuild your kernel. They used to be _GPL, they were patched to be EXPORT_SYMBOL, the patch was agreed to be bad - the only problem is that one of the kernel maintainers needs to re-clone their BitKeeper repository in a slightly different manner for the fixing patch to get pushed to Andrew Morton and appear in the -mm stream. So hopefully it should be fixed for good in -rc3-mm2 if it happens, or 2.6.10-mm1, if that's the next -mm version.

Patch attached....

BradReed 12-17-04 05:00 PM

Re: nvidia module no longer loads under linux-2.6.10-rc3-mm1
 
Quote:

Originally Posted by valdis
You can just change those EXPORT_SYMBOL to EXPORT_SYMBOL_GPL and rebuild your kernel. They used to be _GPL, they were patched to be EXPORT_SYMBOL, the patch was agreed to be bad - the only problem is that one of the kernel maintainers needs to re-clone their BitKeeper repository in a slightly different manner for the fixing patch to get pushed to Andrew Morton and appear in the -mm stream. So hopefully it should be fixed for good in -rc3-mm2 if it happens, or 2.6.10-mm1, if that's the next -mm version.

Patch attached....

Thanks for the patch, It will come in handy. I had already manually made those changes though as I wanted to tryout the realtime-preempt patches and have nvidia too.

So far, I like the realtime-preempt.

mistermachine 12-29-04 02:09 PM

Re: nvidia module no longer loads under linux-2.6.10-rc3-mm1
 
Quote:

Thanks for the patch, It will come in handy. I had already manually made those changes though as I wanted to tryout the realtime-preempt patches and have nvidia too.

So far, I like the realtime-preempt.
i am using a planet-ccrma version of this kernel (for audio production), and am unable to build any of the nvidia drivers (well, i think it builds the module, but says it is "unable to load module nvidia.ko" or something).

is the only way to address this issue by rebuilding the kernel, or are there patched nvidia drivers that might deal with it?

shayne


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

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