nvidia-kernel-1.0.6111 confilcts with mm-sources-2.6.9_rc1-r2 mm-sources patch renames pci_find_class to pci_get_class this change has to be made in nvidia kernel mod source as well or fails with undefined symbol pci_find_class all instances are in file nv.c Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 38695 [details, diff] pci-find-class-2.6.9-changes.patch Please apply this one, it works for me.
On the todo list for tomorrow
I did the patching manually (didn't use the attached patch), but changing pci_find_class to pci_get_class in nv.c works fine for me too (just as a confirmation).
Is this backwards compatible, because it doesnt look like it here... Need a different solution if its not
Created attachment 39609 [details] nvidia-kernel-1.0.6111-r1.ebuild I have added the USE flag pci_patch, it makes the driver use or not use of the pci_find/pci_get patch
Created attachment 39610 [details, diff] fix_pci_find_class.patch This is the patch that i use.
Created attachment 39612 [details] nvidia-kernel-1.0.6111-r1.ebuild Warns about proper kernel version.
Created attachment 39625 [details, diff] Patch for portage Can you all please try out this patch. It should (and to my testing does) maintian backwards compatibility, which is _VERY_ important.
added myself to cc
http://svn.esuna.co.uk/esuna/damouse-portage/media-video/nvidia-kernel/ Subversion tree of (I think) working ebuild and patches -DaMouse
*** Bug 64820 has been marked as a duplicate of this bug. ***
I would like to add the patch posted here, and the vmalloc one in the repositor Christopher linked to, too the portage tree, but I do need some feedback on working... I'm also aware that the patch I posted above is slightly incomplete (thanks nvidia devs) needing to call pci_dev_put() but thats a future point, it will work without it aswell (I think). Test please :)
Poo, I was lazy and did not check here, or did a proper patch like I did for sysfs back then. Hope you do not mind that I added something that just works for the time being until you guys sort a more general patch out ...
Fixed in cvs now