Debian Bug report logs - #411949
nvidia-kernel-source: Version fails to build using linux-image-2.6.20-1-k7 2.6.20-1~experimental.1~snapshot.8305

version graph

Package: nvidia-kernel-source; Maintainer for nvidia-kernel-source is Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>; Source for nvidia-kernel-source is src:nvidia-graphics-drivers (PTS, buildd, popcon).

Reported by: Greg Folkert <greg@gregfolkert.net>

Date: Thu, 22 Feb 2007 03:09:01 UTC

Severity: normal

Merged with 419181, 419901, 420135, 420585

Found in versions 0, 1.0.9746-2, nvidia-graphics-drivers/1.0.9746-2, nvidia-graphics-drivers/1.0.9755-1

Done: Ritesh Raj Sarraf <rrs@researchut.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Randall Donald <rdonald@debian.org>:
Bug#411949; Package nvidia-kernel-source. (full text, mbox, link).


Acknowledgement sent to Greg Folkert <greg@gregfolkert.net>:
New Bug report received and forwarded. Copy sent to Randall Donald <rdonald@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Greg Folkert <greg@gregfolkert.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: nvidia-kernel-source: Version fails to build using linux-image-2.6.20-1-k7 2.6.20-1~experimental.1~snapshot.8305
Date: Wed, 21 Feb 2007 22:05:40 -0500
Package: nvidia-kernel-source
Version: 1.0.9746-2
Severity: normal

Well, I am tracking experimental at the moment. I have

linux-image-2.6.20-1-k7 2.6.20-1~experimental.1~snapshot.8305
linux-kbuild-2.6.20 2.6.20~rc6-1~experimental.1~snapshot.8221 
linux-headers-2.6.20-1-k7 2.6.20-1~experimental.1~snapshot.8305

At this point, using module-assistant to build nvidia-kernel or 
"make module" in the "nv" dir, I get the following fatal problem:

make -f /usr/src/linux-headers-2.6.20-1-k7/scripts/Makefile.modpost
  scripts/mod/modpost -m  -i /usr/src/linux-headers-2.6.20-1-k7/Module.symvers -I /usr/src/modules/nvidia-kernel/nv/Module.symvers -o 
/usr/src/modules/nvidia-kernel/nv/Module.symvers -w  /usr/src/modules/nvidia-kernel/nv/nvidia.o
FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'paravirt_ops'
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

The setup will not compile. The nv module works for now. Not a big deal.

-- System Information:
Debian Release: 4.0
  APT prefers experimental
  APT policy: (990, 'experimental'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20-1-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages nvidia-kernel-source depends on:
ii  debhelper                     5.0.42     helper programs for debian/rules
ii  dpatch                        2.0.21     patch maintenance system for Debia
ii  make                          3.81-3     The GNU version of the "make" util
ii  sed                           4.1.5-1    The GNU sed stream editor

Versions of packages nvidia-kernel-source recommends:
ii  devscripts                    2.9.27     Scripts to make the life of a Debi
ii  kernel-package                10.066     A utility for building Linux kerne
pn  nvidia-glx                    <none>     (no description available)

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Randall Donald <rdonald@debian.org>:
Bug#411949; Package nvidia-kernel-source. (full text, mbox, link).


Acknowledgement sent to James Healy <jimmy@deefa.com>:
Extra info received and forwarded to list. Copy sent to Randall Donald <rdonald@debian.org>. (full text, mbox, link).


Message #10 received at 411949@bugs.debian.org (full text, mbox, reply):

From: James Healy <jimmy@deefa.com>
To: 411949@bugs.debian.org
Subject: More information
Date: Thu, 12 Apr 2007 13:12:36 +1000
[Message part 1 (text/plain, inline)]
With 2.6.20 hitting unstable I had a go at upgrading and encountered the
same issue as the original reporter.

Using "module-assistant a-i nvidia" with nvidia-kenerl-source
v1.0.9746-2 from experimental I get compilation errors due to
"GPL-incompatible module nvidia.ko uses GPL-only symbol"

http://lwn.net/Articles/205644/ has some info on the kernel changes that
are causing the problems, but I'm not sure what the best way to deal
with it in Debian is.

Is it a kernel bug? An nvidia bug? or something we users have to deal
with on our own?

-- James Healy <jimmy@deefa.com>  Thu, 12 Apr 2007 12:09:56 +1000
[signature.asc (application/pgp-signature, inline)]

Merged 411949 419181. Request was from Philipp Sadleder <philipp@sadleder.de> to control@bugs.debian.org. (Thu, 19 Apr 2007 07:18:09 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Randall Donald <rdonald@debian.org>:
Bug#411949; Package nvidia-kernel-source. (full text, mbox, link).


Acknowledgement sent to Wolfmoon <wolfmoon@o2.pl>:
Extra info received and forwarded to list. Copy sent to Randall Donald <rdonald@debian.org>. (full text, mbox, link).


Message #17 received at 411949@bugs.debian.org (full text, mbox, reply):

From: Wolfmoon <wolfmoon@o2.pl>
To: 411949@bugs.debian.org
Subject: Temporary workaround
Date: Thu, 19 Apr 2007 14:07:28 +0200
I had the same error with recent and old versions of nvidia source:

nvidia-kernel-source 1.0.8776-4
nvidia-kernel-source 1.0.9746-2
and even original nvidia package NVIDIA-Linux-x86-1.0-9755-pkg1.run

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 driver

-- 
Michal Pokrywka <wolfmoon AT o2.pl>



Merged 411949 419181 419901. Request was from Philipp Sadleder <philipp@sadleder.de> to control@bugs.debian.org. (Thu, 19 Apr 2007 14:00:01 GMT) (full text, mbox, link).


Merged 411949 419181 419901 420585. Request was from James Healy <jimmy@deefa.com> to control@bugs.debian.org. (Mon, 23 Apr 2007 15:48:11 GMT) (full text, mbox, link).


Merged 411949 419181 419901 420135 420585. Request was from James Healy <jimmy@deefa.com> to control@bugs.debian.org. (Mon, 23 Apr 2007 15:57:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Randall Donald <rdonald@debian.org>:
Bug#411949; Package nvidia-kernel-source. (full text, mbox, link).


Acknowledgement sent to Sam Morris <sam@robots.org.uk>:
Extra info received and forwarded to list. Copy sent to Randall Donald <rdonald@debian.org>. (full text, mbox, link).


Message #28 received at 411949@bugs.debian.org (full text, mbox, reply):

From: Sam Morris <sam@robots.org.uk>
To: 419943@bugs.debian.org
Cc: Debian BTS Control <control@bugs.debian.org>, 411949@bugs.debian.org
Subject: Re: linux-2.6: CONFIG_PARAVIRT breaks some external modules
Date: Sun, 13 May 2007 01:17:25 +0100
[Message part 1 (text/plain, inline)]
block 411949 by 419943
thanks

From "More stuff for 2.6.22" <http://lwn.net/Articles/233315/>:

        Numerous changes to the paravirt_ops methods have been made.
        Additionally, paravirt_ops is no longer a GPL-only export.

Now that this change has been reverted, could we *please* see the same
change made in the Debian kernel!

-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078
[signature.asc (application/pgp-signature, inline)]

Blocking bugs of 411949 added: 419943 Request was from Sam Morris <sam@robots.org.uk> to control@bugs.debian.org. (Sun, 13 May 2007 00:18:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Randall Donald <rdonald@debian.org>:
Bug#411949; Package nvidia-kernel-source. (full text, mbox, link).


Acknowledgement sent to Olivier Berger <olivier.berger@int-edu.eu>:
Extra info received and forwarded to list. Copy sent to Randall Donald <rdonald@debian.org>. (full text, mbox, link).


Message #35 received at 411949@bugs.debian.org (full text, mbox, reply):

From: Olivier Berger <olivier.berger@int-edu.eu>
To: Debian Bug Tracking System <411949@bugs.debian.org>
Subject: nvidia-kernel-source: Same happens with 2.6.21 from testing too
Date: Wed, 11 Jul 2007 10:47:32 +0200
Package: nvidia-kernel-source
Version: 1.0.9755-1
Followup-For: Bug #411949

FWIW, the same problem still happens on 2.6.21 kernel from testing atm.

Too bad version 100.14.11-1 doesn't work either with 2.6.21 according to #430921 (didn't test myself).

Hope this helps,


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nvidia-kernel-source depends on:
ii  debhelper                     5.0.50     helper programs for debian/rules
ii  dpatch                        2.0.26     patch maintenance system for Debia
ii  make                          3.81-3     The GNU version of the "make" util
ii  sed                           4.1.5-2    The GNU sed stream editor

Versions of packages nvidia-kernel-source recommends:
ii  devscripts                    2.10.4     Scripts to make the life of a Debi
ii  kernel-package                11.001     A utility for building Linux kerne
ii  nvidia-glx                    1.0.9755-1 NVIDIA binary Xorg driver

-- no debconf information



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 03 Apr 2009 07:25:52 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 5 04:24:22 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.