[pkg-nvidia-devel] Bug#483622: nvidia-kernel-legacy-96xx-source: Fails to compile with 2.6.25-2.686, identifies it as Xen kernel

Dimitris Kogias dimitris at gmail.com
Fri May 30 00:42:10 UTC 2008


Package: nvidia-kernel-legacy-96xx-source
Version: 96.43.05-1
Severity: grave
Justification: renders package unusable


Building for kernel 2.6.25-2-686, which I currently have installed:

d at greebo:~$ dpkg -l |grep 2.6.25-2-686
ii  linux-headers-2.6.25-2-686                   2.6.25-4                         
Header files for Linux 2.6.25 on PPro/Celero
ii  linux-image-2.6.25-2-686                     2.6.25-4                         
Linux 2.6.25 image on PPro/Celeron/PII/PIII/

d at greebo:~/tmp/modules/nvidia-kernel-legacy-96xx$ fakeroot debian/rules 
binary_modules
# select which makefile to use.
rm -f /home/d/tmp/modules/nvidia-kernel-legacy-96xx/nv/Makefile || true
if [ 6 = 6  ]; then \
             cd /home/d/tmp/modules/nvidia-kernel-legacy-96xx/nv ; \
             ln -s Makefile.kbuild Makefile ; \
             cd .. ; \
             if [ 0  = 1 ] ; then \
                dpatch apply 04_minion ; \
             fi ; \
             if [ 0 = 1 ]; then \
                dpatch apply 01_sysfs ; \
                dpatch status 01_sysfs >patch-stamp ; \
                dpatch apply 02_pcialias ; \
                dpatch status 02_pcialias >>patch-stamp ; \
             fi ; \
        fi
if [  6 = 4  ]; then \
             cd /home/d/tmp/modules/nvidia-kernel-legacy-96xx/nv ; \
             ln -s Makefile.nvidia Makefile ; \
             cd .. ; \
        fi
if ! gcc-4.1 -v 2> /dev/null  ; then \
           echo "Compiler gcc-4.1 does not exist on the system" ; \
           exit 1; \
        fi
touch configure-stamp
if [ -f 
/home/d/tmp/modules/nvidia-kernel-legacy-96xx/debian/control.template ]; 
then \
                cp  
/home/d/tmp/modules/nvidia-kernel-legacy-96xx/debian/control.template 
/home/d/tmp/modules/nvidia-kernel-legacy-96xx/debian/control; \
        fi
dh_testdir
dh_testroot
PATCHLEVEL = 6
Kernel compiler version : 4.1.2
Detected compiler version : 4.1.2
Using compiler gcc-4.1 version 4.1.2
touch /home/d/tmp/modules/nvidia-kernel-legacy-96xx/nv/gcc-check
touch /home/d/tmp/modules/nvidia-kernel-legacy-96xx/nv/cc-sanity-check
## Main Make ##
IGNORE_CC_MISMATCH=1 CC="gcc-4.1"  /usr/bin/make -C 
/home/d/tmp/modules/nvidia-kernel-legacy-96xx/nv -f Makefile 
SYSSRC=/usr/src/linux-headers-2.6.25-2-686   KBUILD_PARAMS="-C 
/usr/src/linux-headers-2.6.25-2-686 
SUBDIRS=/home/d/tmp/modules/nvidia-kernel-legacy-96xx/nv" module;
make[1]: Entering directory 
`/home/d/tmp/modules/nvidia-kernel-legacy-96xx/nv'
The kernel you are installing for is a Xen kernel!

The NVIDIA driver does not currently work on Xen kernels. If
you are using a stock distribution kernel, please install
a variant of this kernel without Xen support; if this is a
custom kernel, please install a standard Linux kernel.  Then
try installing the NVIDIA kernel module again.

*** Failed Xen sanity check. Bailing out! ***

make[1]: *** [xen-sanity-check] Error 1
make[1]: Leaving directory 
`/home/d/tmp/modules/nvidia-kernel-legacy-96xx/nv'
make: *** [build-stamp] Error 2

The error is identical even after applying the patch referenced in 
#477643, which does seem to apply cleanly:

d at greebo:~/tmp/modules/nvidia-kernel-legacy-96xx/nv$ patch -p3 < 
~/tmp/NVIDIA_kernel-96.43.05-2290218.diff.txt
patching file Makefile.kbuild
patching file conftest.sh
patching file nv-linux.h
patching file nv-vm.c
patching file nv.c
patching file os-interface.c
patching file os-registry.c

D.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nvidia-kernel-legacy-96xx-source depends on:
ii  debhelper                     7.0.9      helper programs for debian/rules
ii  dpatch                        2.0.29     patch maintenance system for Debia
ii  make                          3.81-4     The GNU version of the "make" util
ii  sed                           4.1.5-8    The GNU sed stream editor

Versions of packages nvidia-kernel-legacy-96xx-source recommends:
ii  devscripts                    2.10.28    scripts to make the life of a Debi
ii  kernel-package                11.001-0.1 A utility for building Linux kerne
ii  nvidia-glx-legacy-96xx        96.43.05-1 NVIDIA binary Xorg driver (96xx le

-- no debconf information





More information about the Pkg-nvidia-devel mailing list