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: "Igor Chubin" <igor@xxxxxxx>
Subject: Re: [Xen-users] about module nVidia GeForce 8400 G in Xen
From: "Christopher Isip" <cmisip@xxxxxxxxx>
Date: Wed, 25 Jun 2008 08:01:45 -0400
Cc: €®!© Jansen <janseneric@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx, Emre ERENOGLU <erenoglu@xxxxxxxxx>, xen-users-owner@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 25 Jun 2008 05:02:24 -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=NV+IJu0oaB+UfzXuXnNp+cgK2oV3pSt2K2fn4TA/xYo=; b=HSI0BV5LEjGFiL706TRANSzVX2vPWT2uqOR60ZXj+JcKKejYaCmpJAGHEiw54NRJ2q iW6s40rv9lyIugJGsuaYiy46B0uISejOZsUpOoazLIY7xoPG5LLkW1Z7EkkzJFo9M9JT pc0sOmwh4Yiscv4CnTqtmVYJebYVuDvM7oZzg=
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=XnlXa+pVZLG6SDTMCdNw42lEeaTNpLdZ1FQZLZLBTFbc+R6t6h65j+hasHKEFs3QZW CQYfSYHqb+kcUU6Ozlr66DBFtmQhlqeLy5P2yWJcDGe+VVpe3iqtFY3ho+9OuFjHVBQ3 mSQccLS7utSrwjBqBRg6IzzeLYm223cNUToKc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080625085016.GG10106@xxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <ecc1f5dd0806220750w28e9a654r70d6a73d71a2f864@xxxxxxxxxxxxxx> <20080622190203.GO26785@xxxxxxx> <ecc1f5dd0806230208xfdc6f89g3da528def1dc14c9@xxxxxxxxxxxxxx> <4bca5f6c0806231403v64b74b3dlfc4e108fe2a73409@xxxxxxxxxxxxxx> <20080624080337.GD10106@xxxxxxx> <fe9771a80806240341pd60ef94ma60a7e70198d92a6@xxxxxxxxxxxxxx> <20080624150954.GE10106@xxxxxxx> <4bca5f6c0806241348sc2320c3g60e0e7ebe59ce974@xxxxxxxxxxxxxx> <20080625085016.GG10106@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


On Wed, Jun 25, 2008 at 4:50 AM, Igor Chubin <igor@xxxxxxx> wrote:
> Try :
>
> # export IGNORE_XEN_PRESENCE=1
> # chmod a+x NVIDIA-Linux-x86-173.14.09-pkg1.run
> # ./NVIDIA-Linux-x86-173.14.09-pkg1.run
>
> Perhaps running sh causes it to not to see the environment variable.  Do all
> of this in one bash shell. It should also pick up automatically on where the
> xorg lib modules are.
>

Thanks, I did like you advised and it helped
(also I used sudo before, and at this time,
I have switched to root by su; may be it
was the problem).

Thank you.

But I have faced new problem.
When I run ./NVIDIA-Linux-x86-173.14.09-pkg1.run
and it wants to build a module,
it fails with an error:

-----------------------------------------------------------
cat /var/log/nvidia-installer.log
...
  /tmp/selfgz4061/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/nv.c: In function
  'nv_kern_open':
  /tmp/selfgz4061/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/nv.c:2044: error:
  implicit declaration of function 'HYPERVISOR_memory_op'
  make[3]: *** [/tmp/selfgz4061/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/nv.
  o] Error 1
  make[2]: *** [_module_/tmp/selfgz4061/NVIDIA-Linux-x86-173.14.09-pkg1/usr/sr
  c/nv] 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.
-----------------------------------------------------------

I have googled the error, and found that there is a bug
in Debian [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481485]
(and I use Debian), which causes the error.

There are several workarounds in the discussion of the bugs.
but I have not tried them yet.






> Chris

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

--
WBR, i.m.chubin

Have you compiled modules for this kernel before?  Try compiling another module and see if  it succeeds.  Mabye the problem is with the kernel source configuration. Make sure you are compiling using the xen kernel source.  My kernel source is from the 3.1 RPMS and its called:
xen-testing-aee991c7723a.e16de9635bec

Chris



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