Bug 197787

Summary: nvidia kernel module doesn't be built in kernel-devel-2.6.17-1.2356.fc6
Product: [Fedora] Fedora Reporter: sangu <sangu.fedora>
Component: kernelAssignee: Dave Jones <davej>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: pfrields, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-07-11 06:56:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description sangu 2006-07-06 12:50:36 UTC
Description of problem:
nvidia kernel module build error message.
[...]
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

Please See : http://www.nvnews.net/vbulletin/showthread.php?p=930330#post930330

Version-Release number of selected component (if applicable):
2.6.17-1.2356.fc6

How reproducible:
always

Steps to Reproduce:
1. nvidia kernel module build
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Dave Jones 2006-07-11 06:56:11 UTC
nvidia module shouldn't be picking up this symbol.


Comment 2 Terence Ripperda 2006-07-11 14:35:02 UTC
unfortunately, our module has no choice if the user has enabled the lock
verifier, as the lock verifier code will pull in this symbol automatically. 

Comment 3 Dave Jones 2006-07-14 22:21:23 UTC
then complain upstream, because rawhide will always be running with lockdep
enabled from now on. (It'll be disabled for release kernels only).