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

Re: [Xen-users] about module nVidia GeForce 8400 G in Xen

To: "Emre ERENOGLU" <erenoglu@xxxxxxxxx>
Subject: Re: [Xen-users] about module nVidia GeForce 8400 G in Xen
From: "€®!© Jansen" <janseneric@xxxxxxxxx>
Date: Fri, 27 Jun 2008 16:41:05 +0200
Cc: Igor Chubin <igor@xxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx, emisca <emisca.ml@xxxxxxxxx>
Delivery-date: Fri, 27 Jun 2008 07:41:45 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=//VJM4fQKKR7SUq0J3yjpoQjUbAg3xNlBLPu55UIFpk=; b=PUz3bEmSHEeadeBNwiPF6NxQZJB1eGn1z50hEY3W32RS8O7lISRZV8kpgNimGj+wBv gIE+u0vpfxbOzVReZQBuED4hs0AjMZpEt8LZJP4PbIYfBONP5S/hyGh9sJE47bRXWvlm tpN720JA+ZPlSIJsygtIMdIuKna3FCNHDsxmQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=RC/iWJGuSMHIAzx/QOdCHh+KMkLaFZxzLQeI2JDpWXSdRn9BDKrXYKdUtZc0jlL6UR TZKUJgcx1UFMHOi5FE5l3nhjwWDIyhADo9G/gvJ4Gd0l81BAvPwTqrC3LfuOyJYpcy0y K3T5Q23M5WCn5dFBSB6j1G9lE7UmxVaGvaQaA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <fe9771a80806260312i38e5e3f2v7ecc35c2f2ada419@xxxxxxxxxxxxxx>
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>
References: <ecc1f5dd0806220750w28e9a654r70d6a73d71a2f864@xxxxxxxxxxxxxx> <20080622190203.GO26785@xxxxxxx> <ecc1f5dd0806230208xfdc6f89g3da528def1dc14c9@xxxxxxxxxxxxxx> <414cba4e0806260215h4447f438y5f390daf89e0557f@xxxxxxxxxxxxxx> <fe9771a80806260312i38e5e3f2v7ecc35c2f2ada419@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

Yes.. I use CentOS 5.1 2.6.18.1.21
I tried the Christoper´s way :
# export IGNORE_XEN_PRESENCE=1
# chmod a+x NVIDIA-Linux-x86-173.14.09-pkg1.run
# ./NVIDIA-Linux-x86-173.14.09-pkg1.run
 
It works in 2.6.18.1.21 (with init 3) but it doesn´t work in 2.6.18.1.21el5.xen!!
I can´t get into x11 GUI
 
Here is the report from /var/log/nvidia-installer :

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Jun 27 02:43:02 2008

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  precompiled interfaces  : true
  no ncurses color        : false
  query latest version    : false
  OpenGL header files     : true
  no questions            : false
  silent                  : false
  no recursion            : false
  no backup               : false
  kernel module only      : false
  sanity                  : false
  add this kernel         : false
  no runlevel check       : false
  no network              : false
  no ABI note             : false
  no RPMs                 : false
  no kernel module        : false
  force SELinux           : default
  no X server check       : false
  no cc version check     : false
  force tls               : (not specified)
  X install prefix        : (not specified)
  X library install path  : (not specified)
  X module install path   : (not specified)
  OpenGL install prefix   : (not specified)
  OpenGL install libdir   : (not specified)
  utility install prefix  : (not specified)
  utility install libdir  : (not specified)
  doc install prefix      : (not specified)
  kernel name             : (not specified)
  kernel include path     : (not specified)
  kernel source path      : (not specified)
  kernel output path      : (not specified)
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /tmp
  ftp mirror              : ftp://download.nvidia.com
  RPM file list           : (not specified)

Using: nvidia-installer ncurses user interface
-> Tagging shared libraries with chcon -t textrel_shlib_t.
-> License accepted.
-> There appears to already be a driver installed on your system (version: 173.
   14.05).  As part of installing this driver (version: 173.14.05), the existin
   g driver will be uninstalled.  Are you sure you want to continue? ('no' will
   abort installation) (Answer: Yes)
-> No precompiled kernel interface was found to match your kernel; would you li
   ke the installer to attempt to download a kernel interface for your kernel f
   rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)
-> No precompiled kernel interface was found to match your kernel; this means
   that the installer will need to compile a new kernel interface.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.18-53.1.21.el5xen/source'
-> Kernel output path: '/lib/modules/2.6.18-53.1.21.el5xen/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.18-53.1.21.
   el5xen/source SYSOUT=/lib/modules/2.6.18-53.1.21.el5xen/build'...
   NVIDIA: calling KBUILD...
   make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.18-53.1.21.el5xen/build KBUILD_VER
   BOSE=1 -C /lib/modules/2.6.18-53.1.21.el5xen/source SUBDIRS=/tmp/selfgz4610/
   NVIDIA-Linux-x86-173.14.05-pkg1/usr/src/nv modules
   make -C /lib/modules/2.6.18-53.1.21.el5xen/build \
    KBUILD_SRC=/usr/src/kernels/2.6.18-53.1.21.el5-xen-i686 \
    KBUILD_EXTMOD="/tmp/selfgz4610/NVIDIA-Linux-x86-173.14.05-pkg1/usr/src/nv"
   -f /usr/src/kernels/2.6.18-53.1.21.el5-xen-i686/Makefile modules
   test -e include/linux/autoconf.h -a -e include/config/auto.conf || (  \
    echo;        \
    echo "  ERROR: Kernel configuration is invalid.";  \
    echo "         include/linux/autoconf.h or include/config/auto.conf are mis
   sing."; \
    echo "         Run 'make oldconfig && make prepare' on kernel src to fix it
   ."; \
    echo;        \
    /bin/false)
   mkdir -p /tmp/selfgz4610/NVIDIA-Linux-x86-173.14.05-pkg1/usr/src/nv/.tmp_ver
   sions
   rm -f /tmp/selfgz4610/NVIDIA-Linux-x86-173.14.05-pkg1/usr/src/nv/.tmp_versio
   ns/*
   make -f /usr/src/kernels/2.6.18-53.1.21.el5-xen-i686/scripts/Makefile.build
   obj=/tmp/selfgz4610/NVIDIA-Linux-x86-173.14.05-pkg1/usr/src/nv
     cc -Wp,-MD,/tmp/selfgz4610/NVIDIA-Linux-x86-173.14.05-pkg1/usr/src/nv/.nv.
   o.d  -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.2/include -Iinclu
   de2/asm/mach-xen -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.18
   -53.1.21.el5-xen-i686/include -include include/linux/autoconf.h -D__XEN_INTE
   RFACE_VERSION__=0x00030203  -I/tmp/selfgz4610/NVIDIA-Linux-x86-173.14.05-pkg
   1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-al
   iasing -fno-common -Wstrict-prototypes -Wundef -Werror-implicit-function-dec
   laration -Os -pipe -msoft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-
   builtin-puts -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -mtune=
   generic -mregparm=3 -ffreestanding -I/usr/src/kernels/2.6.18-53.1.21.el5-xen
   -i686/include/asm-i386/mach-xen -Iinclude/asm-i386/mach-xen -I/usr/src/kerne
   ls/2.6.18-53.1.21.el5-xen-i686/include/asm-i386/mach-default -Iinclude/asm-i
   386/mach-defau
   lt -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statemen
   t -Wno-pointer-sign  -I/tmp/selfgz4610/NVIDIA-Linux-x86-173.14.05-pkg1/usr/s
   rc/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
   arentheses -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-ca
   st-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"173.14
   .05\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASE
   NAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfg
   z4610/NVIDIA-Linux-x86-173.14.05-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz4610/N
   VIDIA-Linux-x86-173.14.05-pkg1/usr/src/nv/nv.c
   In file included from include/linux/list.h:8,
                    from include/linux/lockdep.h:12,
                    from include/linux/spinlock_types.h:12,
                    from include/linux/spinlock.h:78,
                    from include/linux/capability.h:45,
                    from include/linux/sched.h:44,
                    from include/linux/module.h:9,
                    from /tmp/selfgz4610/NVIDIA-Linux-x86-173.14.05-pkg1/usr/sr
   c/nv/nv-linux.h:59,
                    from /tmp/selfgz4610/NVIDIA-Linux-x86-173.14.05-pkg1/usr/sr
   c/nv/nv.c:14:
   include/linux/prefetch.h: In function 'prefetch_range':
   include/linux/prefetch.h:62: warning: pointer of type 'void *' used in a
   rithmetic
   In file included from include/linux/dmapool.h:14,
                    from include/linux/pci.h:614,
                    from /tmp/selfgz4610/NVIDIA-Linux-x86-173.14.05-pkg1/usr/sr
   c/nv/nv-linux.h:86,
                    from /tmp/selfgz4610/NVIDIA-Linux-x86-173.14.05-pkg1/usr/sr
   c/nv/nv.c:14:
   include/asm/io.h: In function 'check_signature':
   include/asm/io.h:245: warning: wrong type argument to increment
   /tmp/selfgz4610/NVIDIA-Linux-x86-173.14.05-pkg1/usr/src/nv/nv.c: In function
   'nv_kern_open':
   /tmp/selfgz4610/NVIDIA-Linux-x86-173.14.05-pkg1/usr/src/nv/nv.c:2024: error:
   implicit declaration of function 'HYPERVISOR_memory_op'
   make[4]: *** [/tmp/selfgz4610/NVIDIA-Linux-x86-173.14.05-pkg1/usr/src/nv/nv.
   o] Error 1
   make[3]: *** [_module_/tmp/selfgz4610/NVIDIA-Linux-x86-173.14.05-pkg1/usr/sr
   c/nv] Error 2
   make[2]: *** [modules] Error 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [module] Error 1
   make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.  You may find suggestions
       on fixing installation problems in the README available on the Linux
       driver download page at www.nvidia.com.

Is 2.6.18.1.21.el5.xen not kernel 3.1? Should I change to xen 3.1 so it will work?

Are they Any ideas?

 

Thank you,

Sincerely Yours,

Eric Jansen

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users