|
|
#1 | ||
|
Registered User
Join Date: Jul 2006
Posts: 1
|
When I try to compile nvidia module with linux 2.6.18-rc1 , I get :
Quote:
Quote:
Thanks |
||
|
|
|
|
|
#2 | |
|
Registered User
Join Date: May 2004
Posts: 711
|
no patch is needed just compile the kernel without the lock validator
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jul 2005
Location: Munich
Posts: 910
|
The compilation actually went ok, but the module fails to load, because GPL-only symbols are not exported to non-GPL modules.
There are two solutions: either, modify EXPORT_SYMBOL_GPL(lockdep_init_map) in the kernel sources (kernel/lockdep.c:1940) to EXPORT_SYMBOL(lockdep_init_map) and recompile/install the kernel, or manually add the symbol information to the nvidia driver module: Code:
cd <nvidia driver sources> make module SYMBOL=`grep lockdep_init_map$ /boot/System.map-2.6.18-rc1 | colrm 9` ld -m elf_i386 --defsym lockdep_init_map=0x$SYMBOL -r -o nvidia.ko nvidia.o nvidia.mod.o I didn't yet actually tried if the driver will then work on 2.6.18-rc1, but the above method(s) to get rid of missing symbols works nice for nvidia drivers on top of xen-enabled linux kernels. regards Bernhard |
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Apr 2003
Posts: 37
|
Quote:
|
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Apr 2003
Posts: 37
|
I think we should have nvidia create a patch so this problem does not cause grief for people.
|
|
|
|
|
|
#6 | |
|
Registered User
Join Date: May 2004
Posts: 711
|
no because nobody would use a lockdep enabled kernel in a productive environment.
|
|
|
|
|
|
|
#7 |
|
Registered User
Join Date: Apr 2003
Posts: 37
|
I'm getting the following error trying to include the smybol into the nvidia module.
It's on LD line. ld: c0660f2c: No such file: No such file or directory. What am I doing wrong? The make module and smpbol statement went ok. Dwaine |
|
|
|
|
|
#8 | |
|
Registered User
Join Date: Oct 2005
Posts: 10
|
Quote:
Hello, which xen enabled Kernel will work with which nvidia Driver? Regards Roland |
|
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| nVidia Linux drivers with Linux on Mac, help? | Thetargos | NVIDIA Linux | 0 | 05-13-12 12:52 PM |
| Mandrake Linux 9.0 (Dolphin) now available | comments? | volt | General Linux | 10 | 10-19-02 10:13 PM |