Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 07-06-06, 08:11 AM   #1
sangu
Registered User
 
Join Date: Feb 2005
Posts: 84
Default nvidia driver 1.0.8756 module doesn't be built in linux kernel 2.6.18rc1.

OS Fedora Development (rawhide 20060706)

$rpm -q --changelog kernel-2.6.17-1.2356.fc6
* Fri Jul 07 2006 Dave Jones <davej@redhat.com>
- 2.6.18-rc1

nvidia kernel module build error message
Quote:
[...]
make -rR -f /usr/src/kernels/2.6.17-1.2356.fc6-i686/scripts/Makefile.modpost
scripts/mod/modpost -m -a -i /usr/src/kernels/2.6.17-1.2356.fc6-i686/Module.symvers -I /usr/src/redhat/BUILD/nvidia-kmod-1.0.8762/_kmod_build_/usr/src/nv/Modules.symvers -o /usr/src/redhat/BUILD/nvidia-kmod-1.0.8762/_kmod_build_/usr/src/nv/Modules.symvers /usr/src/redhat/BUILD/nvidia-kmod-1.0.8762/_kmod_build_/usr/src/nv/nvidia.o
WARNING: could not find /usr/src/redhat/BUILD/nvidia-kmod-1.0.8762/_kmod_build_/usr/src/nv/.nv-kernel.o.cmd for /usr/src/redhat/BUILD/nvidia-kmod-1.0.8762/_kmod_build_/usr/src/nv/nv-kernel.o
FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'lockdep_init_map'
make[3]: *** [__modpost] Error 1
make[2]: *** [modules] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [mdl] Error 1
make: *** [module] Error 2
sangu is offline   Reply With Quote
Old 07-06-06, 08:33 AM   #2
Dragoran
Registered User
 
Join Date: May 2004
Posts: 711
Default Re: nvidia driver 1.0.8756 module doesn't be built in linux kernel 2.6.18rc1.

that me be caused by the enabled lock validator (a debug option) try to build the kernel without this options:
Code:
CONFIG_DEBUG_LOCK_ALLOC=y
CONFIG_PROVE_LOCKING=y
or try a vanilla 2.6.18-rc1 without the lock validator
(the Fedora kernel will have this off for release kernel; because of perfomance reason; same for other debug options)
Dragoran is offline   Reply With Quote
Old 07-06-06, 08:53 AM   #3
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: nvidia driver 1.0.8756 module doesn't be built in linux kernel 2.6.18rc1.

Correct, the NVIDIA kernel module involuntarily picks this symbol up when the kernel is configured with support for the lock validator.
zander is offline   Reply With Quote
Old 07-06-06, 08:58 AM   #4
sangu
Registered User
 
Join Date: Feb 2005
Posts: 84
Default Re: nvidia driver 1.0.8756 module doesn't be built in linux kernel 2.6.18rc1.

Thanks, Dragoran, zander.

You're right!!!. My problem is fixed(Building nvidia kernel module is success).

After modifying only /usr/src/kernels/2.6.17-1.2356.fc6-i686/config(file in kernel-devel package), build kernel module and install nvidia kernel module.

But X doesn't start.

Last edited by sangu; 04-22-11 at 09:12 PM.
sangu is offline   Reply With Quote
Old 07-07-06, 02:41 AM   #5
Dragoran
Registered User
 
Join Date: May 2004
Posts: 711
Default Re: nvidia driver 1.0.8756 module doesn't be built in linux kernel 2.6.18rc1.

you can't build a kernel module with a different config than your kernel;
if you do this the module will not be able to load.
Dragoran is offline   Reply With Quote
Old 07-11-06, 03:28 AM   #6
sangu
Registered User
 
Join Date: Feb 2005
Posts: 84
Default Re: nvidia driver 1.0.8756 module doesn't be built in linux kernel 2.6.18rc1.

https://bugzilla.redhat.com/bugzilla....cgi?id=197787

Quote:
------- Additional Comments From davej at redhat.com 2006-07-11 02:56 EST -------
nvidia module shouldn't be picking up this symbol.
sangu is offline   Reply With Quote
Old 07-11-06, 09:45 AM   #7
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: nvidia driver 1.0.8756 module doesn't be built in linux kernel 2.6.18rc1.

@sangu: I agree with Dave, yet it does, without explicitely referencing any GPL symbols. I believe this problem was briefly discussed for the VMware kernel module(s) on the LKML recently (see http://marc.theaimsgroup.com/?l=linu...4503827984&w=2). In case of the NVIDIA kernel module, the lockdep_init_map symbol is picked up via init_waitqueue_head() and sema_init(), which references init_waitqueue_head().
zander is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 12:04 PM
Lucid rt kernel can't load latest nvidia driver module, but generic does. marcod NVIDIA Linux 0 05-02-12 07:23 AM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 09:49 AM
nvidia + 2.4.19 gentoo = messed up ulukay NVIDIA Linux 18 11-02-02 12:58 AM
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 02:44 PM

All times are GMT -5. The time now is 10:31 PM.


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