[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: "€®!© Jansen" <janseneric@xxxxxxxxx>
  • From: "Christopher Isip" <cmisip@xxxxxxxxx>
  • Date: Fri, 27 Jun 2008 20:39:54 -0400
  • Cc: Igor Chubin <igor@xxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx, Emre ERENOGLU <erenoglu@xxxxxxxxx>, emisca <emisca.ml@xxxxxxxxx>
  • Delivery-date: Fri, 27 Jun 2008 17:40:32 -0700
  • 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=wx6MiO62pC4Ovlxb5rA5M1c2mRHdzRnQq+sQdvgLA9Yjwyha5MT61dvLmC9zzFUHsT 0VlS0JaNR1eE1JAuPaZtt4uRqEuxQT72GlYTPnKgHBLC8WrQLLy/ZMkD77O0e8P37jOu /RTFrIhJffH0dZBybabKJFGbjjuWhpmNVPApY=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>



On Fri, Jun 27, 2008 at 10:41 AM, €®!© Jansen <janseneric@xxxxxxxxx> wrote:

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


This is my kernel version:

2.6.18-xen_3.1.0

Its from the xen 3.1 rpms at xen.org.  I haven't tried with the xen kernel from centos repositories.  I figured they are tied in with the older xen 3.0.  Plus, I had pciback hiding problems  with the centos xen kernel plus xen 3.0.

Chris


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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.