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

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-22-07, 03:43 AM   #1
Greek Geek
Registered User
 
Join Date: Jan 2005
Posts: 10
Default Install fails with Debian 2.6.20-1-k7 + Linux-x86-1.0-9755/Linux-x86-100.14.03

Both driver versions install AOK with Debian 2.6.18-4-k7 & am runing ok with Beta Linux-x86-100.14.03, now. Google was not helpful & a search of this list, did not turn up anything.

But I have been wrong before.... :-)

Constructive suggestions?

Greek Geek :-)
Attached Files
File Type: log nvidia-installer-Linux-x86-1.0-9755.log (20.4 KB, 533 views)
File Type: log nvidia-installer-Linux-x86-100.14.03.log (22.6 KB, 456 views)
Greek Geek is offline   Reply With Quote
Old 04-22-07, 03:10 PM   #2
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Install fails with Debian 2.6.20-1-k7 + Linux-x86-1.0-9755/Linux-x86-100.14.03

FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'paravirt_ops'

The NVIDIA Linux graphics driver does not use this symbol explicitely, it is picked up implicitely on kernels configured with CONFIG_PARAVIRT. You will need to install a kernel built without this option.
zander is offline   Reply With Quote
Old 04-22-07, 08:31 PM   #3
gfxdrone
Registered User
 
Join Date: Feb 2007
Posts: 74
Default Re: Install fails with Debian 2.6.20-1-k7 + Linux-x86-1.0-9755/Linux-x86-100.14.03

Quote:
Originally Posted by zander
FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'paravirt_ops'

The NVIDIA Linux graphics driver does not use this symbol explicitely, it is picked up implicitely on kernels configured with CONFIG_PARAVIRT. You will need to install a kernel built without this option.
Hi Zander, we've been wondering about this paravirt_ops too. Nvidia, as noted here, fails when kernel is built with this option.

Will this change in the future, in other words, does nVidia plan on supporting kernels with paravirt_ops enabled? If so, is there any time frame for this?
gfxdrone is offline   Reply With Quote
Old 04-23-07, 05:49 AM   #4
Greek Geek
Registered User
 
Join Date: Jan 2005
Posts: 10
Default Re: Install fails with Debian 2.6.20-1-k7 + Linux-x86-1.0-9755/Linux-x86-100.14.03

Thanx for clearing that question up, guru zander! :-)

I have a different suggestion to gfxdrone; perhaps the nVidia driver could produce a warning that it will not use kernel feature x,y,z & then carry on to completion/installation?

Quick & dirty?

Either way, thanx for the fab drivers.

Greek Geek :-)
Greek Geek is offline   Reply With Quote
Old 04-23-07, 01:22 PM   #5
gfxdrone
Registered User
 
Join Date: Feb 2007
Posts: 74
Default Re: Install fails with Debian 2.6.20-1-k7 + Linux-x86-1.0-9755/Linux-x86-100.14.03

It didn't work, but I'm going to take a look at some other threads. I haven't tested this extensively, but since we'll probably be moving to kernels with paravirt_opts enabled at some point, this is something we'll need to get resolved.
gfxdrone is offline   Reply With Quote
Old 04-23-07, 04:24 PM   #6
Dogga
Registered User
 
Join Date: Apr 2007
Posts: 1
Default Re: Install fails with Debian 2.6.20-1-k7 + Linux-x86-1.0-9755/Linux-x86-100.14.03

Code:
my workaround was to disable paravirtualization in kernel
(paravirt_ops have EXPORT_SYMBOL_GPL in Module.symvers and I think this 
couses the problem)
I've done this, more or less, that way:

1. Install linux-source-2.6.20-1-686
2. Uncompress /usr/src/linux-source-2.6.20-1-686.tar.bz2
3. delete symlink /lib/modules/2.6.20-1-686/build and make new (ln -s 
/usr/src/linux-source-2.6.20 /lib/modules/2.6.20-1-686/build)
4. copy .config from headers to sources (cp 
/usr/src/linux-headers-2.6.20-1-686/.config /usr/src/linux-source-2.6.20)
5. in sources dir 'make menuconfig' and disable paravirtualization in 
'processor features'
6. make prepare
7. make scripts
8. now i could compile and install nvidia kernel drive
this working for me.
Dogga is offline   Reply With Quote
Old 04-26-07, 10:51 AM   #7
awx
Registered User
 
Join Date: Apr 2007
Posts: 5
Default Re: Install fails with Debian 2.6.20-1-k7 + Linux-x86-1.0-9755/Linux-x86-100.14.03

here's a different solution using instructions from here: http://www.nvnews.net/vbulletin/showthread.php?t=87541

i did these steps (v1.0.9755):
2. Modifiy "modpost" in order to accept non-GPL modules (slightly different however: i recompiled the linux-kbuild-2.6.20 debian package)
unpack nvidia-driver (using "-x"), run ./nvidia-installer -K
4. Manually define the missing symbol entry for "paravirt_ops"
5. Install the nvidia kernel module

works.

debian statement on the issue, btw: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=419943
awx is offline   Reply With Quote
Old 04-27-07, 05:56 PM   #8
Greek Geek
Registered User
 
Join Date: Jan 2005
Posts: 10
Default Re: Install fails with Debian 2.6.20-1-k7 + Linux-x86-1.0-9755/Linux-x86-100.14.03

Hi Zander,

I see that newer kernels have the CONFIG_PARAVIRT, as per the following ....

http://www.theinquirer.net/default.aspx?article=39214

Hence I assume, that to support kernel 2.6.21 & beyond, nVidia will support "...this symbol explicitely, it is picked up implicitely,..." in the future?

While yesterday is good, I am not asking for when, being fully cognizant of the fact that you can not give dates, as to when new products/features hit the market. ;-)

Greek Geek :-)
Greek Geek is offline   Reply With Quote

Old 04-27-07, 06:04 PM   #9
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Install fails with Debian 2.6.20-1-k7 + Linux-x86-1.0-9755/Linux-x86-100.14.03

The NVIDIA Linux graphics driver calls udelay(), which has traditionally been available to non-GPL licensed modules; it seems that on kernels configured with CONFIG_PARAVIRT, udelay() references the GPL-only symbol paravirt_ops, thereby becoming a GPL-only utility macro itself. This is a regression in the Linux kernel.
zander is offline   Reply With Quote
Old 04-28-07, 08:54 PM   #10
Greek Geek
Registered User
 
Join Date: Jan 2005
Posts: 10
Default Re: Install fails with Debian 2.6.20-1-k7 + Linux-x86-1.0-9755/Linux-x86-100.14.03

Thank you for that clarification!

Greek Geek :-)
Greek Geek is offline   Reply With Quote
Old 04-30-07, 01:14 AM   #11
Gargi
Registered User
 
Gargi's Avatar
 
Join Date: Jul 2006
Posts: 27
Default Re: Install fails with Debian 2.6.20-1-k7 + Linux-x86-1.0-9755/Linux-x86-100.14.03

Quote:
Originally Posted by zander
FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'paravirt_ops'

The NVIDIA Linux graphics driver does not use this symbol explicitely, it is picked up implicitely on kernels configured with CONFIG_PARAVIRT. You will need to install a kernel built without this option.
Works like a charm! I just installed the precompiled 2.6.20er Debian kernel and downloaded the latest 2.6.21.1 version. Then I did a "make oldconfig" and disabled the paravirtualisation support. After that the nvidia installation is working again now.
Thanks for that hint!

cu
Gargi
Gargi is offline   Reply With Quote
Old 05-04-07, 11:17 AM   #12
___Jul___
Debian Maniac
 
Join Date: May 2007
Location: Europe::Germany::Darmstadt
Posts: 21
Send a message via ICQ to ___Jul___
Lightbulb Patched version of the NVidia driver for 2.6.20 kernel

Hi All,
I have been waiting for some time and not upgrading my kernel from 2.6.18-4 just becuase of the problem with the drivers. Now we got some solution on this forum:

http://www.nabble.com/HOWTO:2.6.20-1...-t3679809.html

And based on it I wrote a small script that does exactly what these steps say except that i fixed the Makefile.kbuild so that the missing paravirt_ops symbol is correctly linked from inside nvidia-installer. No kernel rebuid is needed.

So to summarize the rebuilt version we present will replace the modpost binaries with version that will not check for the gpl signature of the driver and then build the kernel module with the fixed Makefile. Please take care that the kernel will still be tainted because of the binary modules of the driver. So no violation of the principles of the kernel happen too.

I will paste here the DISCLAIMER that we added to the driver to be sure that no misunderstandings happen.

Code:
DISCLAIMER: First of all this is our very own solution and we can not guarantee
        that it will work on your computer. Allthough I don"t think so it might
        even blow your computer, more possibly just wipe something importnat ;-)
        NVidia has also nothing to do with this modified version of the driver
        so I guess no official support can be expected from them either
        last but not least this binary driver taints the kernel so no support
        is to be expected from Linus too :). The only ones that can help you
        are either we or other users that are capable of understanding what is
        going on in here.

 According to the NVidia license this version of the driver should be legally ok:
    "...Linux/FreeBSD Exception.  Notwithstanding the foregoing terms
        of Section 2.1.1, SOFTWARE designed exclusively for use on the Linux or
        FreeBSD operating systems, or other operating systems derived from the
        source code to these operating systems, may be copied and redistributed,
        provided that the binary files thereof are not modified in any way
        (except for unzipping of compressed files)."
 No binary files have been modified only Makefile.kbuild have been changed

 The fixed version of modpost is under GPL and that is why source code is included
 in the archive too.
You can get the modified driver here : http://grizach.servebeer.com/nvpatch...g1-patched.run

I hope this will be usefull for you guys.
___Jul___ 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


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


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