![]() |
nvidia 1.0.9631 with kernel 2.6.20-rc6
1) i have got the following compiler error messages while compiling the nvidia module:
Code:
/usr/src/modules/nvidia-kernel/nv/nv.c:1849: error: ‘SA_INTERRUPT’ undeclared Quote:
Quote:
2) license issue: FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'pagefault_disable' I guess this is the reason, why this error didn't come up with 2.6.20-rc5: Quote:
regards gmsgms |
Re: nvidia 1.0.9631 with kernel 2.6.20-rc6
The first problem will be fixed in future NVIDIA Linux graphics driver releases. I didnt' see the other problem with Linux 2.6.20-rc5, so I guess it may be a recent regression or configuration specific. Please generate/attach an nvidia-bug-report.log file. FWIW, the NVIDIA kernel module does not explicitely reference pagefault_disable(), it's most likely picked up through a macro.
|
Re: nvidia 1.0.9631 with kernel 2.6.20-rc6
As far as I can tell, pagefault_enable() is still defined as an inline function in Linux 2.6.20-rc6's linux/uaccess.h, so it's not clear to me why it is reported as an unresolved symbol in your case. Please note that the ChangeLog excerpt you posted refers to changes made to the MTD driver, which the NVIDIA Linux graphics driver doesn't interact with.
|
Re: nvidia 1.0.9631 with kernel 2.6.20-rc6
I can't reproduce the pagefault_enable() problem with Linux 2.6.20-rc6.
|
Re: nvidia 1.0.9631 with kernel 2.6.20-rc6
Quote:
:banghead: I have applied the following patch to the vanilla kernel: http://people.redhat.com/mingo/realt...2.6.20-rc6-rt1 Code:
root@gms1:/usr/src# grep EXPORT patch-2.6.20-rc6-rt1 | grep pagefaultgmsgms |
Re: nvidia 1.0.9631 with kernel 2.6.20-rc6
Looking at patch-2.6.20-rc6-rt2, pagefault_disable() is most likely picked up via kmap_atomic().
|
Re: nvidia 1.0.9631 with kernel 2.6.20-rc6
is there any known fix for this? i'm trying to install the nvidia module with 2.6.20-rc6-rt4 ...
|
Re: nvidia 1.0.9631 with kernel 2.6.20-rc6
I double-checked, the symbol is picked up through pte_offset(), which uses kmap_atomic() if the kernel is configured with CONFIG_PREEMPT_RT and CONFIG_HIGHPTE; so I guess you can either disable the second option or change how the symbol in question is exported in your tree. The NVIDIA Linux graphics driver currently has to use pte_offset() for virtual to physical address translations.
|
Re: nvidia 1.0.9631 with kernel 2.6.20-rc6
I had already changed how the symbol is exported, but disabling CONFIG_HIGHPTE is much better
Thanks a lot gms |
Re: nvidia 1.0.9631 with kernel 2.6.20-rc6
Disabling CONFIG_HIGHPTE didn't work for me do i've got to do anything else?
|
Re: nvidia 1.0.9631 with kernel 2.6.20-rc6
On gentoo 2.6.20 when 'make oldconfig' I answered 'N' to paravirtualization support and now nvidia module compiles with the kernel. If I answer 'Y' the module does not build.
|
Re: nvidia 1.0.9631 with kernel 2.6.20-rc6
@robert14: if you're still seeing problems with CONFIG_HIGHPTE (and/or CONFIG_PREEMPT_RT) and CONFIG_PARAVIRT disabled, please attach the complete /var/log/nvidia-installer.log file.
@yourcomrade: the NVIDIA Linux kernel module involuntarily picks up a GPL-only symbol via uname() if the Linux 2.6.20 kernel is built with CONFIG_PARAVIRT. |
| All times are GMT -5. The time now is 09:40 PM. |
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2013, nV News.