|
|
#1 | |||
|
Registered User
Join Date: Jan 2007
Posts: 5
|
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 /usr/src/modules/nvidia-kernel/nv/nv.c:1849: error: ‘SA_SHIRQ’ 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 |
|||
|
|
|
|
|
#2 | |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
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.
|
|
|
|
|
|
|
#3 |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
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.
|
|
|
|
|
|
#4 | |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
I can't reproduce the pagefault_enable() problem with Linux 2.6.20-rc6.
|
|
|
|
|
|
|
#5 | |
|
Registered User
Join Date: Jan 2007
Posts: 5
|
Quote:
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 pagefault +EXPORT_SYMBOL_GPL(pagefault_disable); +EXPORT_SYMBOL_GPL(pagefault_enable); gmsgms |
|
|
|
|
|
|
#6 | |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
Looking at patch-2.6.20-rc6-rt2, pagefault_disable() is most likely picked up via kmap_atomic().
|
|
|
|
|
|
|
#7 |
|
Registered User
Join Date: Nov 2004
Posts: 40
|
is there any known fix for this? i'm trying to install the nvidia module with 2.6.20-rc6-rt4 ...
|
|
|
|
|
|
#8 |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
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.
|
|
|
|
|
|
#9 |
|
Registered User
Join Date: Jan 2007
Posts: 5
|
I had already changed how the symbol is exported, but disabling CONFIG_HIGHPTE is much better
Thanks a lot gms |
|
|
|
|
|
#10 |
|
Registered User
Join Date: Feb 2007
Posts: 5
|
Disabling CONFIG_HIGHPTE didn't work for me do i've got to do anything else?
|
|
|
|
|
|
#11 |
|
Registered User
Join Date: Feb 2007
Posts: 1
|
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.
|
|
|
|
|
|
#12 |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
@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. |
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295]) | gbailey | NVIDIA Linux | 1 | 06-27-12 10:24 AM |
| UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... | interzoneuk | NVIDIA Linux | 0 | 06-26-12 04:51 AM |
| xorg locks-up with newest nvidia drivers w/ vdpau. | theroot | NVIDIA Linux | 1 | 06-24-12 11:04 AM |
| Crash when logout from X | TGL | NVIDIA Linux | 10 | 09-13-02 08:22 PM |
| NVIDIA kernel not loading on boot-up, but insmod loads it | Kyle | NVIDIA Linux | 3 | 09-10-02 12:01 AM |