nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   190.36 beta driver build error in kernel 2.6.31. (http://www.nvnews.net/vbulletin/showthread.php?t=139252)

sangu 09-24-09 09:08 PM

190.36 beta driver build error in Fedora rawhide kernel 2.6.31.
 
Quote:

mod-190.36/_kmod_build_2.6.31-33.fc12.x86_64/usr/src/nv/Module.markers -w -s
WARNING: could not find /home/sangu/rpmbuild/BUILD/nvidia-kmod-190.36/_kmod_build_2.6.31-33.fc12.x86_64/usr/src/nv/.nv-kernel.o.cmd for /home/sangu/rpmbuild/BUILD/nvidia-kmod-190.36/_kmod_build_2.6.31-33.fc12.x86_64/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]: *** [module] Error 1
make: *** [module] Error 2
Building 185.18.36 driver works well in kernel 2.6.31.

zander 09-24-09 09:52 PM

Re: 190.36 beta driver build error in kernel 2.6.31.
 
You'll need to rebuild your kernel without CONFIG_LOCKDEP, the configuration option causes the NVIDIA kernel module to (implicitly) pick up GPL-only symbols.

sangu 09-24-09 09:53 PM

Re: 190.36 beta driver build error in kernel 2.6.31.
 
Do this issue seems to be rawhide problem?
See : http://www.nvnews.net/vbulletin/showthread.php?t=72994

Quote:

You'll need to rebuild your kernel without CONFIG_LOCKDEP, the configuration option causes the NVIDIA kernel module to (implicitly) pick up GPL-only symbols.
Then, building 185.18.36 drvier is no problem in the same fedora rawhide kernel-2.6.31.
Strange!

sangu 09-25-09 02:15 AM

Re: 190.36 beta driver build error in kernel 2.6.31.
 
$ cat /usr/src/kernels/2.6.31-40.fc12.x86_64/.config | grep CONFIG_LOCKDEP
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_LOCKDEP=y

Building with 185.18.36.
OK
$ dmesg | grep NVIDIA
ACPI: DSDT 00000000bfee3280 0A1B2 (v01 NVIDIA ASUSACPI 00001000 MSFT 03000000)
nvidia: module license 'NVIDIA' taints kernel.
NVRM: loading NVIDIA UNIX x86_64 Kernel Module 185.18.36 Fri Aug 14 17:35:21 PDT 2009
$ uname -r
2.6.31-40.fc12.x86_64

Build with 190.36
Failure

So, Is this issue nvidia driver 190.36 bug?

NoFate 09-25-09 02:21 AM

Re: 190.36 beta driver build error in kernel 2.6.31.
 
Hi All.
As I understand it's Fedora Rawhide.
I hope administration will forgive me for link to external resource, but here is a small guide
http://forums.fedoraforum.org/showpo...79&postcount=4

leigh123linux 09-25-09 10:19 AM

Re: 190.36 beta driver build error in kernel 2.6.31.
 
Quote:

Originally Posted by zander (Post 2092036)
You'll need to rebuild your kernel without CONFIG_LOCKDEP, the configuration option causes the NVIDIA kernel module to (implicitly) pick up GPL-only symbols.


Is it possible to patch the driver as I doubt the Fedora kernel maintainers will change it.

NoFate 09-26-09 03:53 PM

Re: 190.36 beta driver build error in kernel 2.6.31.
 
Quote:

Originally Posted by leigh123@linux (Post 2092293)
Is it possible to patch the driver as I doubt the Fedora kernel maintainers will change it.

This will be changed, as I remember, when F12 will move to beta state. Until that DEBUG mode will be used to find out any bugs in kernel.

sangu 09-26-09 08:01 PM

Re: 190.36 beta driver build error in kernel 2.6.31.
 
in Fedora kernel-2.6.31.1-48.fc12.x86_64.
185.18.36 - Building Success.
190.36 - Building Failure

This is Nvidia binary driver issue.

sternklang 09-27-09 10:25 AM

Re: 190.36 beta driver build error in kernel 2.6.31.
 
Apparently this is a problem if your kernel is built with the CONFIG_LOCKDEP=y kernel debugging option. NoFate already indicated that debug flags like this will be in the Fedora 12 kernel until F12 is ready for beta status. Running an unreleased, pre-beta distro version is fine for testing, but please try to understand what you are testing rather than blaming NVidia.

I'm running 190.36 on Gentoo x86-64 with 2.6.31.1 and I had no problems building or running it.

leigh123linux 09-27-09 04:49 PM

Re: 190.36 beta driver build error in kernel 2.6.31.
 
The CONFIG_LOCKDEP=y option has nothing to do with the extra rawhide debugging!


The CONFIG_LOCKDEP=y option comes for the new deconfig files in the 2.6.31 kernels.

Code:

/linux-2.6.31/arch/x86/configs/x86_64_defconfig

Code:

/linux-2.6.31/arch/x86/configs/x86_defconfig
Shouldn't Nvidia support the default kernel config ?

NvFuchs 09-28-09 05:09 AM

Re: 190.36 beta driver build error in kernel 2.6.31.
 
Quote:

Originally Posted by leigh123@linux (Post 2093583)
Shouldn't Nvidia support the default kernel config ?

Not if it is impossible from a legal point of view, no.

Fuchs

sangu 09-28-09 06:01 AM

Re: 190.36 beta driver build error in kernel 2.6.31.
 
Hi, NvFuchs, sternklang.

Building with 185.18.36 is success in current fedora rawhide kernel(2.6.31.1-48.fc12.x86_64).


All times are GMT -5. The time now is 04:05 AM.

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