WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Nvidia doesn't work on xen kernel

To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Nvidia doesn't work on xen kernel
From: Thomas GOBET <thgobet@xxxxxxxxx>
Date: Mon, 01 Dec 2008 11:20:41 +0100
Delivery-date: Mon, 01 Dec 2008 02:21:39 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type; bh=ePduZOnoxq9zwh84lBENuF0yFZLlqeNo4UnqPZb8Sp0=; b=vOs2lwcIhU+4OCV5kGHF+l01Mawo+5KwMs4xn8/oD30DDqbpUb6A3n3b4GYLrrtklr 9H1z3Rr+wNIk3DuvcBXA4bT7thgx0eN+6iclsDrV9XtsIIK55kUrlGS1mSuY68AuKLG5 nQoH3LF9HYzcfcgb0S2pUSA8l0rYdjTI7Ns20=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; b=wyHLsiZConR2Hnoprn5D8/N7E7vpmEgxKUHKw41yyRDtsWyuznU488vNqaokXWWuzs aZPo40L6u8A54OWvWL6ox2qMhQ8cn0es6nd4VcGal9kUmK99wAoDiUp9mA99meG8W12I 3uNjFCxs5kXnnh05T0oafNCLhfZzTRiqqU7eg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018)
Hi all.

I've just installed xen under lenny, and see that nvidia isn't supported on xen.

I installed xen module and header corresponding to my kernel version.

I changed my xorg.conf in order to load nv instead of nvidia module.

But now, I don't have any drivers which permit me to have compiz or anything else...

I tried to compile nvidia sources (nvidia-kernel-source) with module-assistant but nothing.

I done it with this command :
m-a a-i nvidia-kernel-source.

An error occured during this installation :

    NVIDIA: left KBUILD.
    nvidia.ko failed to build!
    make[2]: *** [module] Error 1
    make[2]: left directory « /usr/src/modules/nvidia-kernel »
    make[1]: *** [build-stamp] Error 2
    make[1]: left directory « /usr/src/modules/nvidia-kernel »
    make: *** [kdist_image] Error 2
    BUILD FAILED!

See /var/cache/modass/nvidia-kernel-source.buildlog.2.6.26-1-xen-686.1228066050 for details

I attached buildlog file.

Hoping that somebody have an issue for my problem.

Thanks
/usr/bin/make  -f debian/rules clean
make[1]: entrant dans le répertoire « /usr/src/modules/nvidia-kernel »
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel/Makefile || true
if [ 6 = 6  ]; then \
             ln -s Makefile.kbuild Makefile ; \
        fi
if [  6 = 4  ]; then \
             ln -s Makefile.nvidia Makefile ; \
        fi
if [ -e patch-stamp ]; then \
           dpatch deapply-all ; \
           rm -rf patch-stamp debian/patched ; \
        fi
if [ -f /usr/src/modules/nvidia-kernel/debian/control.template ]; then \
                cp  /usr/src/modules/nvidia-kernel/debian/control.template 
/usr/src/modules/nvidia-kernel/debian/control; \
        fi
dh_testroot
rm -f build-stamp configure-stamp
/usr/bin/make clean SYSSRC=/lib/modules/2.6.26-1-xen-686/build -C 
/usr/src/modules/nvidia-kernel/ -f Makefile 
make[2]: entrant dans le répertoire « /usr/src/modules/nvidia-kernel »
make[2]: quittant le répertoire « /usr/src/modules/nvidia-kernel »
rm -f /usr/src/modules/nvidia-kernel//Makefile || true;         
rm /usr/src/modules/nvidia-kernel//gcc-check
rm /usr/src/modules/nvidia-kernel//cc-sanity-check
dh_clean
rm /usr/src/modules/nvidia-kernel/debian/control
rm /usr/src/modules/nvidia-kernel/debian/dirs
rm /usr/src/modules/nvidia-kernel/debian/override
make[1]: quittant le répertoire « /usr/src/modules/nvidia-kernel »
echo "ROOT_CMD = "
ROOT_CMD = 
/usr/bin/make  -f debian/rules binary_modules
make[1]: entrant dans le répertoire « /usr/src/modules/nvidia-kernel »
# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel/Makefile || true
if [ 6 = 6  ]; then \
             ln -s Makefile.kbuild Makefile ; \
        fi
if [  6 = 4  ]; then \
             ln -s Makefile.nvidia Makefile ; \
        fi
if ! gcc-4.1 -v 2> /dev/null  ; then \
           echo "Compiler gcc-4.1 does not exist on the system" ; \
           exit 1; \
        fi   
if [ -f /usr/src/modules/nvidia-kernel/debian/control.template ]; then \
                cp  /usr/src/modules/nvidia-kernel/debian/control.template 
/usr/src/modules/nvidia-kernel/debian/control; \
        fi
if [ "i686" = "x86_64" ]; then \
                cp /usr/src/modules/nvidia-kernel/nv-kernel.o.x86_64 
/usr/src/modules/nvidia-kernel/nv-kernel.o ; \
        fi
touch configure-stamp
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 /usr/src/modules/nvidia-kernel//gcc-check
touch /usr/src/modules/nvidia-kernel//cc-sanity-check
## Main Make ##
IGNORE_CC_MISMATCH=1 CC="gcc-4.1" /usr/bin/make -C 
/usr/src/modules/nvidia-kernel/ -f Makefile 
SYSSRC=/lib/modules/2.6.26-1-xen-686/build   KBUILD_PARAMS="-C 
/lib/modules/2.6.26-1-xen-686/build SUBDIRS=/usr/src/modules/nvidia-kernel" 
module;
make[2]: entrant dans le répertoire « /usr/src/modules/nvidia-kernel »
NVIDIA: calling KBUILD...
make CC=gcc-4.1 -C /lib/modules/2.6.26-1-xen-686/build 
SUBDIRS=/usr/src/modules/nvidia-kernel modules
make[3]: entrant dans le répertoire « /usr/src/linux-headers-2.6.26-1-xen-686 
»
  CC [M]  /usr/src/modules/nvidia-kernel/nv.o
In file included from include/linux/list.h:6,
                 from include/linux/preempt.h:11,
                 from include/linux/spinlock.h:49,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:8,
                 from include/linux/timex.h:57,
                 from include/linux/sched.h:54,
                 from include/linux/utsname.h:35,
                 from /usr/src/modules/nvidia-kernel/nv-linux.h:19,
                 from /usr/src/modules/nvidia-kernel/nv.c:14:
include/linux/prefetch.h: In function â??prefetch_rangeâ??:
include/linux/prefetch.h:57: warning: pointer of type â??void *â?? used in 
arithmetic
In file included from /usr/src/modules/nvidia-kernel/nv-linux.h:34,
                 from /usr/src/modules/nvidia-kernel/nv.c:14:
/usr/src/modules/nvidia-kernel/conftest.h:1:2: error: #error remap_page_range() 
conftest failed!
/usr/src/modules/nvidia-kernel/conftest.h:3:2: error: #error vmap() conftest 
failed!
/usr/src/modules/nvidia-kernel/conftest.h:25:2: error: #error 
kmem_cache_create() conftest failed!
In file included from include/asm/mach-xen/asm/../../dma-mapping.h:9,
                 from include/asm/mach-xen/asm/dma-mapping.h:3,
                 from include/linux/dma-mapping.h:52,
                 from include/asm-generic/pci-dma-compat.h:7,
                 from include/asm/mach-xen/asm/pci.h:98,
                 from include/linux/pci.h:962,
                 from /usr/src/modules/nvidia-kernel/nv-linux.h:86,
                 from /usr/src/modules/nvidia-kernel/nv.c:14:
include/linux/scatterlist.h: In function â??sg_virtâ??:
include/linux/scatterlist.h:199: warning: pointer of type â??void *â?? used in 
arithmetic
In file included from /usr/src/modules/nvidia-kernel/nv-linux.h:109,
                 from /usr/src/modules/nvidia-kernel/nv.c:14:
include/linux/highmem.h: In function â??zero_user_segmentsâ??:
include/linux/highmem.h:134: warning: pointer of type â??void *â?? used in 
arithmetic
include/linux/highmem.h:134: warning: pointer of type â??void *â?? used in 
arithmetic
include/linux/highmem.h:134: warning: pointer of type â??void *â?? used in 
arithmetic
include/linux/highmem.h:134: warning: pointer of type â??void *â?? used in 
arithmetic
include/linux/highmem.h:137: warning: pointer of type â??void *â?? used in 
arithmetic
include/linux/highmem.h:137: warning: pointer of type â??void *â?? used in 
arithmetic
include/linux/highmem.h:137: warning: pointer of type â??void *â?? used in 
arithmetic
include/linux/highmem.h:137: warning: pointer of type â??void *â?? used in 
arithmetic
In file included from /usr/src/modules/nvidia-kernel/nv.c:14:
/usr/src/modules/nvidia-kernel/nv-linux.h:574:2: error: #error 
"NV_KMEM_CACHE_CREATE() undefined (kmem_cache_create() unavailable)!"
/usr/src/modules/nvidia-kernel/nv.c: In function â??nvidia_init_moduleâ??:
/usr/src/modules/nvidia-kernel/nv.c:1339: error: implicit declaration of 
function â??NV_KMEM_CACHE_CREATEâ??
/usr/src/modules/nvidia-kernel/nv.c:1339: error: expected expression before 
â??nv_stack_tâ??
/usr/src/modules/nvidia-kernel/nv.c:1349: error: implicit declaration of 
function â??NV_KMEM_CACHE_DESTROYâ??
/usr/src/modules/nvidia-kernel/nv.c:1448: error: expected expression before 
â??nv_pte_tâ??
/usr/src/modules/nvidia-kernel/nv.c: In function â??nv_kern_openâ??:
/usr/src/modules/nvidia-kernel/nv.c:2027: warning: passing argument 2 of 
â??request_irqâ?? from incompatible pointer type
make[4]: *** [/usr/src/modules/nvidia-kernel/nv.o] Erreur 1
make[3]: *** [_module_/usr/src/modules/nvidia-kernel] Erreur 2
make[3]: quittant le répertoire « /usr/src/linux-headers-2.6.26-1-xen-686 »
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[2]: *** [module] Erreur 1
make[2]: quittant le répertoire « /usr/src/modules/nvidia-kernel »
make[1]: *** [build-stamp] Erreur 2
make[1]: quittant le répertoire « /usr/src/modules/nvidia-kernel »
make: *** [kdist_image] Erreur 2
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>