Package: nvidia-kernel-source
Version: 1.0.7174-4
Severity: important

Subject: nvidia-kernel-source: Cannot build with kernel-patch-xen
Package: nvidia-kernel-source
Version: 1.0.7174-4
Severity: important

With the kernel patch in kernel-patch-xen applied to the kernel source tree
(from Debian, kernel-source-2.6.11), the nvidia kernel modules cannot be built.

[EMAIL PROTECTED]:/usr/src/modules/nvidia-kernel$
KSRC=/usr/src/kernel-source-2.6.11 KVERS=2.6.11 ARCH=xen sudo debian/rules
binary_modules

<snip buildscript output>

NVIDIA: calling KBUILD...
make CC=gcc-3.3 -C /usr/src/kernel-source-2.6.11 
SUBDIRS=/usr/src/modules/nvidia-kernel/nv modules
make[2]: Entering directory `/usr/src/kernel-source-2.6.11'
echo \#define NV_COMPILER \"`gcc-3.3 -v 2>&1 | tail -n 1`\" > 
/usr/src/modules/nvidia-kernel/nv/nv_compiler.h
  CC [M]  /usr/src/modules/nvidia-kernel/nv/nv.o
In file included from include/linux/list.h:7,
                 from include/linux/wait.h:23,
                 from include/asm/semaphore.h:41,
                 from include/linux/sched.h:19,
                 from include/linux/module.h:10,
                 from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:46,
                 from /usr/src/modules/nvidia-kernel/nv/nv.c:14:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in 
arithmeticIn file included from include/linux/dmapool.h:14,
                 from include/linux/pci.h:863,
                 from /usr/src/modules/nvidia-kernel/nv/nv-linux.h:69,
                 from /usr/src/modules/nvidia-kernel/nv/nv.c:14:
include/asm-xen/asm/io.h: In function `check_signature':
include/asm-xen/asm/io.h:258: warning: wrong type argument to increment
/usr/src/modules/nvidia-kernel/nv/nv.c: In function `__nv_disable_caches':
/usr/src/modules/nvidia-kernel/nv/nv.c:681: error: syntax error before "asm"
/usr/src/modules/nvidia-kernel/nv/nv.c:684: error: syntax error before "asm"
/usr/src/modules/nvidia-kernel/nv/nv.c:681: warning: unused variable `cr0'
/usr/src/modules/nvidia-kernel/nv/nv.c: In function `__nv_enable_caches':
/usr/src/modules/nvidia-kernel/nv/nv.c:691: error: syntax error before "asm"
/usr/src/modules/nvidia-kernel/nv/nv.c:691: warning: unused variable `cr0'
make[3]: *** [/usr/src/modules/nvidia-kernel/nv/nv.o] Error 1
make[2]: *** [_module_/usr/src/modules/nvidia-kernel/nv] Error 2
make[2]: Leaving directory `/usr/src/kernel-source-2.6.11'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel/nv'
make: *** [build-stamp] Error 2
-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.3-skas3-v8.2
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

Versions of packages nvidia-kernel-source depends on:
ii  debhelper                     4.9.12     helper programs for debian/rules
ii  dpatch                        2.0.15     patch maintenance system for Debia
ii  make                          3.80-11    The GNU version of the "make" util
ii  sed                           4.1.4-4    The GNU sed stream editor

Versions of packages nvidia-kernel-source recommends:
ii  devscripts                    2.9.7      Scripts to make the life of a Debi
ii  kernel-package                9.008      A utility for building Linux kerne
ii  nvidia-glx                    1.0.7174-4 NVIDIA binary XFree86 4.x driver

-- no debconf information

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.3-skas3-v8.2
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

Versions of packages nvidia-kernel-source depends on:
ii  debhelper                     4.9.12     helper programs for debian/rules
ii  dpatch                        2.0.15     patch maintenance system for Debia
ii  make                          3.80-11    The GNU version of the "make" util
ii  sed                           4.1.4-4    The GNU sed stream editor

Versions of packages nvidia-kernel-source recommends:
ii  devscripts                    2.9.7      Scripts to make the life of a Debi
ii  kernel-package                9.008      A utility for building Linux kerne
ii  nvidia-glx                    1.0.7174-4 NVIDIA binary XFree86 4.x driver

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to