Hi everyone, If there any modules (drivers) for Video Graphic Accelerated Card nVIDIA GeForce 8400 G in Xen? Cause the driver that I downloaded from nvidia.com won´t work with Xen Kernel. Any Idea? I use CentOS 5.1 I appreciate your helps very much thank you Eric Jansen _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Igor Chubin
2008-Jun-22 19:02 UTC
Re: [Xen-users] about module nVidia GeForce 8400 G in Xen
On So, Jun 22, 2008 at 04:50:04 +0200, €®!© Jansen wrote:> Hi everyone, > > If there any modules (drivers) for Video Graphic Accelerated Card nVIDIA > GeForce 8400 G in Xen? > Cause the driver that I downloaded from nvidia.com won´t work with Xen > Kernel. > Any Idea?take a look at: http://en.opensuse.org/Use_Nvidia_driver_with_Xen http://en.opensuse.org/Talk:Use_Nvidia_driver_with_Xen (the archive with the old drivers is here: http://www.nvidia.com/object/linux_display_ia32_1.0-9631.html )> > I use CentOS 5.1 > > I appreciate your helps very much > thank you > Eric Jansen> _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- WBR, i.m.chubin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
€®!© Jansen
2008-Jun-23 09:08 UTC
Re: [Xen-users] about module nVidia GeForce 8400 G in Xen
Thank you for the quick reply, But does it work with the newest nvidia driver (NVIDIA-Linux-x86-173.14.09.pkg1.run) or just with the driver that shown in it (NVIDIA-Linux-x86-1.0-9631-pkg1.run)? I have installed the newest driver in the base kernel, I am afraid of the kernel panic with the xen kernel Cause it seems that the newest driver must have a major modification since in which the driver mentioned that worked with xen kernel. Thank you very much once again ERic Jansen _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Christopher Isip
2008-Jun-23 21:03 UTC
Re: [Xen-users] about module nVidia GeForce 8400 G in Xen
On Mon, Jun 23, 2008 at 5:08 AM, €(R)!(c) Jansen <janseneric@gmail.com> wrote:> Thank you for the quick reply, > But does it work with the newest nvidia driver > (NVIDIA-Linux-x86-173.14.09.pkg1.run) or just with the driver that shown in > it (NVIDIA-Linux-x86-1.0-9631-pkg1.run)? > I have installed the newest driver in the base kernel, I am afraid of the > kernel panic with the xen kernel > Cause it seems that the newest driver must have a major modification since > in which the driver mentioned that worked with xen kernel. > > Thank you very much once again > ERic Jansen > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >It will work with the newest driver without any modifications. Just set the environment variable. Chris _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Monday June 23 2008 05:03:13 pm Christopher Isip wrote:> It will work with the newest driver without any modifications. Just set > the environment variable.Which environment variable? The one on the make line?: CC="gcc -DNV_VMAP_4_PRESENT -DNV_SIGNAL_STRUCT_RLIM" _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Igor Chubin
2008-Jun-24 08:03 UTC
Re: [Xen-users] about module nVidia GeForce 8400 G in Xen
On Mo, Jun 23, 2008 at 05:03:13 -0400, Christopher Isip wrote:> On Mon, Jun 23, 2008 at 5:08 AM, €(R)!(c) Jansen <janseneric@gmail.com> wrote: > > > Thank you for the quick reply, > > But does it work with the newest nvidia driver > > (NVIDIA-Linux-x86-173.14.09.pkg1.run) or just with the driver that shown in > > it (NVIDIA-Linux-x86-1.0-9631-pkg1.run)? > > I have installed the newest driver in the base kernel, I am afraid of the > > kernel panic with the xen kernel > > Cause it seems that the newest driver must have a major modification since > > in which the driver mentioned that worked with xen kernel. > > > > Thank you very much once again > > ERic Jansen > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > It will work with the newest driver without any modifications. Just set the > environment variable.You talk about export IGNORE_XEN_PRESENCE=1 right? I have downloaded drivers from the page: http://www.nvidia.com/object/linux_display_ia32_173.14.09.html and have tried to install it with the variable IGNORE_XEN_PRESENCE set to 1. export IGNORE_XEN_PRESENCE=1 sh NVIDIA-Linux-x86-173.14.09-pkg1.run --x-module-path=/usr/lib/xorg/modules/ I have got the same error message "Xen was detected; I don''t want to continue" or something like this. Have you installed NVidia drivers in this way? What is the kernel version on the system where you have installed it? May it be due to my kernel is too old? $ uname -a Linux cholpon 2.6.18-4-xen-686 #1 SMP Thu May 10 03:24:35 UTC 2007 i686 GNU/Linux Any other ideas? Thank you in advance.> > Chris> _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- WBR, i.m.chubin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Emre ERENOGLU
2008-Jun-24 10:41 UTC
Re: [Xen-users] about module nVidia GeForce 8400 G in Xen
Can you try to compile the modules directly from source after exporting the environment variable? The steps shall be: 1) Install "user" portion of the package under a normal kernel 2) switch to xen kernel, make sure the kernel headers or source is in place 3) extract the nvidia driver package using appropriate command line option 4) compile the nvidia kernel module from source with the IGNORE_XEN_PRESENCE=1 env variable present. 5) Install module, depmod and reboot Emre On Tue, Jun 24, 2008 at 10:03 AM, Igor Chubin <igor@chub.in> wrote:> On Mo, Jun 23, 2008 at 05:03:13 -0400, Christopher Isip wrote: > > On Mon, Jun 23, 2008 at 5:08 AM, €(R)!(c) Jansen <janseneric@gmail.com> > wrote: > > > > > Thank you for the quick reply, > > > But does it work with the newest nvidia driver > > > (NVIDIA-Linux-x86-173.14.09.pkg1.run) or just with the driver that > shown in > > > it (NVIDIA-Linux-x86-1.0-9631-pkg1.run)? > > > I have installed the newest driver in the base kernel, I am afraid of > the > > > kernel panic with the xen kernel > > > Cause it seems that the newest driver must have a major modification > since > > > in which the driver mentioned that worked with xen kernel. > > > > > > Thank you very much once again > > > ERic Jansen > > > > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > > It will work with the newest driver without any modifications. Just set > the > > environment variable. > > > You talk about > > export IGNORE_XEN_PRESENCE=1 > > right? > > I have downloaded drivers from the page: > > http://www.nvidia.com/object/linux_display_ia32_173.14.09.html > > and have tried to install it with the variable > IGNORE_XEN_PRESENCE set to 1. > > > > export IGNORE_XEN_PRESENCE=1 > sh NVIDIA-Linux-x86-173.14.09-pkg1.run > --x-module-path=/usr/lib/xorg/modules/ > > > I have got the same error message > "Xen was detected; I don't want to continue" > or something like this. > > > Have you installed NVidia drivers in this way? > What is the kernel version on the system where you have installed > it? > May it be due to my kernel is too old? > $ uname -a > Linux cholpon 2.6.18-4-xen-686 #1 SMP Thu May 10 03:24:35 UTC 2007 > i686 GNU/Linux > > > Any other ideas? > > Thank you in advance. > > > > > > > > > Chris > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > -- > WBR, i.m.chubin > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Emre _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Igor Chubin
2008-Jun-24 15:09 UTC
Re: [Xen-users] about module nVidia GeForce 8400 G in Xen
On Di, Jun 24, 2008 at 12:41:39 +0200, Emre ERENOGLU wrote:> Can you try to compile the modules directly from source after exporting the > environment variable? The steps shall be: > > 1) Install "user" portion of the package under a normal kernel > 2) switch to xen kernel, make sure the kernel headers or source is in place > 3) extract the nvidia driver package using appropriate command line option > 4) compile the nvidia kernel module from source with the > IGNORE_XEN_PRESENCE=1 env variable present. > 5) Install module, depmod and rebootThank you very much for this guidelines. I have tried to build the module under a normal kernel, but installer complains about the same error (that the kernel is xenified). But it is not. I read in other lists that this problem is exists for the kernels 2.6.24 and newer but I didn''t find any working solution.> > Emre > > On Tue, Jun 24, 2008 at 10:03 AM, Igor Chubin <igor@chub.in> wrote: > > > On Mo, Jun 23, 2008 at 05:03:13 -0400, Christopher Isip wrote: > > > On Mon, Jun 23, 2008 at 5:08 AM, €(R)!(c) Jansen <janseneric@gmail.com> > > wrote: > > > > > > > Thank you for the quick reply, > > > > But does it work with the newest nvidia driver > > > > (NVIDIA-Linux-x86-173.14.09.pkg1.run) or just with the driver that > > shown in > > > > it (NVIDIA-Linux-x86-1.0-9631-pkg1.run)? > > > > I have installed the newest driver in the base kernel, I am afraid of > > the > > > > kernel panic with the xen kernel > > > > Cause it seems that the newest driver must have a major modification > > since > > > > in which the driver mentioned that worked with xen kernel. > > > > > > > > Thank you very much once again > > > > ERic Jansen > > > > > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > > > > http://lists.xensource.com/xen-users > > > > > > > > > > It will work with the newest driver without any modifications. Just set > > the > > > environment variable. > > > > > > You talk about > > > > export IGNORE_XEN_PRESENCE=1 > > > > right? > > > > I have downloaded drivers from the page: > > > > http://www.nvidia.com/object/linux_display_ia32_173.14.09.html > > > > and have tried to install it with the variable > > IGNORE_XEN_PRESENCE set to 1. > > > > > > > > export IGNORE_XEN_PRESENCE=1 > > sh NVIDIA-Linux-x86-173.14.09-pkg1.run > > --x-module-path=/usr/lib/xorg/modules/ > > > > > > I have got the same error message > > "Xen was detected; I don''t want to continue" > > or something like this. > > > > > > Have you installed NVidia drivers in this way? > > What is the kernel version on the system where you have installed > > it? > > May it be due to my kernel is too old? > > $ uname -a > > Linux cholpon 2.6.18-4-xen-686 #1 SMP Thu May 10 03:24:35 UTC 2007 > > i686 GNU/Linux > > > > > > Any other ideas? > > > > Thank you in advance. > > > > > > > > > > > > > > > > Chris > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > -- > > WBR, i.m.chubin > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > -- > Emre-- WBR, i.m.chubin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Christopher Isip
2008-Jun-24 20:48 UTC
Re: [Xen-users] about module nVidia GeForce 8400 G in Xen
On Tue, Jun 24, 2008 at 11:09 AM, Igor Chubin <igor@chub.in> wrote:> On Di, Jun 24, 2008 at 12:41:39 +0200, Emre ERENOGLU wrote: > > Can you try to compile the modules directly from source after exporting > the > > environment variable? The steps shall be: > > > > 1) Install "user" portion of the package under a normal kernel > > 2) switch to xen kernel, make sure the kernel headers or source is in > place > > 3) extract the nvidia driver package using appropriate command line > option > > 4) compile the nvidia kernel module from source with the > > IGNORE_XEN_PRESENCE=1 env variable present. > > 5) Install module, depmod and reboot > > > > Thank you very much for this guidelines. > I have tried to build the module > under a normal kernel, > but installer complains about the same error > (that the kernel is xenified). > > But it is not. > I read in other lists > that this problem is exists > for the kernels 2.6.24 and newer but I didn''t > find any working solution. > > > > > > > > Emre > > > > On Tue, Jun 24, 2008 at 10:03 AM, Igor Chubin <igor@chub.in> wrote: > > > > > On Mo, Jun 23, 2008 at 05:03:13 -0400, Christopher Isip wrote: > > > > On Mon, Jun 23, 2008 at 5:08 AM, €(R)!(c) Jansen < > janseneric@gmail.com> > > > wrote: > > > > > > > > > Thank you for the quick reply, > > > > > But does it work with the newest nvidia driver > > > > > (NVIDIA-Linux-x86-173.14.09.pkg1.run) or just with the driver that > > > shown in > > > > > it (NVIDIA-Linux-x86-1.0-9631-pkg1.run)? > > > > > I have installed the newest driver in the base kernel, I am afraid > of > > > the > > > > > kernel panic with the xen kernel > > > > > Cause it seems that the newest driver must have a major > modification > > > since > > > > > in which the driver mentioned that worked with xen kernel. > > > > > > > > > > Thank you very much once again > > > > > ERic Jansen > > > > > > > > > > > > > > > _______________________________________________ > > > > > Xen-users mailing list > > > > > Xen-users@lists.xensource.com > > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > It will work with the newest driver without any modifications. Just > set > > > the > > > > environment variable. > > > > > > > > > You talk about > > > > > > export IGNORE_XEN_PRESENCE=1 > > > > > > right? > > > > > > I have downloaded drivers from the page: > > > > > > http://www.nvidia.com/object/linux_display_ia32_173.14.09.html > > > > > > and have tried to install it with the variable > > > IGNORE_XEN_PRESENCE set to 1. > > > > > > > > > > > > export IGNORE_XEN_PRESENCE=1 > > > sh NVIDIA-Linux-x86-173.14.09-pkg1.run > > > --x-module-path=/usr/lib/xorg/modules/ > > > > > > > > > I have got the same error message > > > "Xen was detected; I don''t want to continue" > > > or something like this. > > > > > > > > > Have you installed NVidia drivers in this way? > > > What is the kernel version on the system where you have installed > > > it? > > > May it be due to my kernel is too old? > > > $ uname -a > > > Linux cholpon 2.6.18-4-xen-686 #1 SMP Thu May 10 03:24:35 UTC 2007 > > > i686 GNU/Linux > > > > > > > > > Any other ideas? > > > > > > Thank you in advance. > > > > > > > > > > > > > > > > > > > > > > > Chris > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > > > > http://lists.xensource.com/xen-users > > > > > > -- > > > WBR, i.m.chubin > > > > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > > > > > > -- > > Emre > > -- > WBR, i.m.chubin >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. Chris _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Igor Chubin
2008-Jun-25 08:50 UTC
Re: [Xen-users] about module nVidia GeForce 8400 G in Xen
> 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@lists.xensource.com > http://lists.xensource.com/xen-users-- WBR, i.m.chubin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Christopher Isip
2008-Jun-25 12:01 UTC
Re: [Xen-users] about module nVidia GeForce 8400 G in Xen
On Wed, Jun 25, 2008 at 4:50 AM, Igor Chubin <igor@chub.in> 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@lists.xensource.com > > http://lists.xensource.com/xen-users > > -- > WBR, i.m.chubin > > Have you compiled modules for this kernel before? Try compiling anothermodule 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@lists.xensource.com http://lists.xensource.com/xen-users
Igor Chubin
2008-Jun-25 12:01 UTC
Re: [Xen-users] about module nVidia GeForce 8400 G in Xen
...> 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.I switched back to 2.6.18 and module was build without any problems. All works as it should. Thank you, guys! -- WBR, i.m.chubin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
€®!© Jansen
2008-Jun-25 14:38 UTC
Re: [Xen-users] about module nVidia GeForce 8400 G in Xen
where can I download xen-testing-aee991c7723a.e16de9635bec? would you mind telling me which url can I download? Thank you, Eric Jansen _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Christopher Isip
2008-Jun-25 19:43 UTC
Re: [Xen-users] about module nVidia GeForce 8400 G in Xen
On Wed, Jun 25, 2008 at 10:38 AM, €(R)!(c) Jansen <janseneric@gmail.com> wrote:> where can I download xen-testing-aee991c7723a.e16de9635bec? > would you mind telling me which url can I download? > > Thank you, > Eric Jansen >The rpm for the kernel source is xen-3.1.0-1.src.rpm from xen.org. You need to install the xen 3.1 rpms and then install the xen 3.2 rpms. I am using Centos 5.1. http://xen.org/download/dl_31rhel4.html http://xen.org/download/dl_32rhel5.html It would be best to create a rpmbuild environment for a non root user. Thats what I have. There are various howto''s on the net regarding this. http://wiki.centos.org/HowTos/I_need_the_Kernel_Source Chris _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I have installed latest nvidia drivers on xen using Debian, Ubuntu and Centos distributions. Yesterday I''ve installed the 173.14.09 driver on Centos 5.2 x86_64. The same driver works (better) also on Centos 5.1 i386. You should install the kernel headers (kernel-xen-headers) and create an ''include2'' directory under the kernel headers tree. Then you have to create a symbolic link to ../include/asm from that new directory. So you will have: - kernel_headers_dir/include/asm - kernel_headers_dir/include2/asm This makes the nvidia build scripts recognize the right assembly includes (in the nvidia makefile there is a -Iinclude2/asm/mach-xen, this is how I got this fix). The driver works well but unfortunately I got no text consoles anymore on amd64/x86_64 (X works fine, without issues). On i386 the driver fully works. I hope that this will help you, bye, Emilio 2008/6/23 €(R)!(c) Jansen <janseneric@gmail.com>:> Thank you for the quick reply, > But does it work with the newest nvidia driver > (NVIDIA-Linux-x86-173.14.09.pkg1.run) or just with the driver that shown in > it (NVIDIA-Linux-x86-1.0-9631-pkg1.run)? > I have installed the newest driver in the base kernel, I am afraid of the > kernel panic with the xen kernel > Cause it seems that the newest driver must have a major modification since > in which the driver mentioned that worked with xen kernel. > > Thank you very much once again > ERic Jansen > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Emre ERENOGLU
2008-Jun-26 10:12 UTC
Re: [Xen-users] about module nVidia GeForce 8400 G in Xen
Even if the driver worked, I used to get a lot of messages in syslog. I don't know if it's still the case. I guess you've installed it on 2.6.18 right? Emre On Thu, Jun 26, 2008 at 11:15 AM, emisca <emisca.ml@gmail.com> wrote:> I have installed latest nvidia drivers on xen using Debian, Ubuntu and > Centos distributions. > Yesterday I've installed the 173.14.09 driver on Centos 5.2 x86_64. > The same driver works (better) also on Centos 5.1 i386. > > You should install the kernel headers (kernel-xen-headers) and create > an 'include2' directory under the kernel headers tree. > Then you have to create a symbolic link to ../include/asm from that > new directory. So you will have: > - kernel_headers_dir/include/asm > - kernel_headers_dir/include2/asm > > This makes the nvidia build scripts recognize the right assembly > includes (in the nvidia makefile there is a -Iinclude2/asm/mach-xen, > this is how I got this fix). > > The driver works well but unfortunately I got no text consoles anymore > on amd64/x86_64 (X works fine, without issues). On i386 the driver > fully works. > > I hope that this will help you, bye, > Emilio > > 2008/6/23 €(R)!(c) Jansen <janseneric@gmail.com>: > > Thank you for the quick reply, > > But does it work with the newest nvidia driver > > (NVIDIA-Linux-x86-173.14.09.pkg1.run) or just with the driver that shown > in > > it (NVIDIA-Linux-x86-1.0-9631-pkg1.run)? > > I have installed the newest driver in the base kernel, I am afraid of the > > kernel panic with the xen kernel > > Cause it seems that the newest driver must have a major modification > since > > in which the driver mentioned that worked with xen kernel. > > > > Thank you very much once again > > ERic Jansen > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Emre _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
€®!© Jansen
2008-Jun-27 14:41 UTC
Re: [Xen-users] about module nVidia GeForce 8400 G in Xen
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@lists.xensource.com http://lists.xensource.com/xen-users
Christopher Isip
2008-Jun-28 00:39 UTC
Re: [Xen-users] about module nVidia GeForce 8400 G in Xen
On Fri, Jun 27, 2008 at 10:41 AM, €(R)!(c) Jansen <janseneric@gmail.com> 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@lists.xensource.com > 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@lists.xensource.com http://lists.xensource.com/xen-users