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

Re: [Xen-devel] Re: [Xen-users] pv_ops kernel and nvidia binary driver


  • To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Tue, 14 Jul 2009 14:43:39 -0700 (PDT)
  • Cc: Michael Ralston <michael@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 14 Jul 2009 14:44:09 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=mwyWO1yi+D3Tpnl/O0rMr24AfjbwrrVEHc+yt9AezZx6aTIg+dU8hpkjijvWpzojkOmtNp9FeLtzsUX77lRWlCRb0jWbrLpZ9BMCJfOI/kiUfTlxHkxV8g+1xRpA68gLkZykCR3X0lLUlfdlYkuctU4gAb1C6ZrDtK8J6OwXICs=;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Seems to build and fails  to install :-

root@SeverUbuntuJaunty:/usr/src/NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/src/nv# make SYSSRC=/usr/src/linux-2.6-xen  install
NVIDIA: calling KBUILD...
make CC=cc  KBUILD_VERBOSE=1 -C /usr/src/linux-2.6-xen SUBDIRS=/usr/src/NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/src/nv 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 missing.";    \
    echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";    \
    echo;                                \
    /bin/false)
mkdir -p /usr/src/NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/src/nv/.tmp_versions ; rm -f /usr/src/NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/src/nv/.tmp_versions/*
make -f scripts/Makefile.build obj=/usr/src/NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/src/nv
(cat /dev/null;   echo kernel//usr/src/NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/src/nv/nvidia.ko;) > /usr/src/NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/src/nv/modules.order
make -f /usr/src/linux-2.6-xen/scripts/Makefile.modpost
  scripts/mod/modpost -m -a -i /usr/src/linux-2.6-xen/Module.symvers -I /usr/src/NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/src/nv/Module.symvers  -o /usr/src/NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/src/nv/Module.symvers -S -K /usr/src/linux-2.6-xen/Module.markers -M /usr/src/NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/src/nv/Module.markers -w  -s
WARNING: could not find /usr/src/NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/src/nv/.nv-kernel.o.cmd for /usr/src/NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/src/nv/nv-kernel.o
NVIDIA: left KBUILD.

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/bin:/sbin" modprobe nvidia && \
    echo "nvidia.ko installed successfully.";
FATAL: Module nvidia not found.
make[1]: *** [package-install] Error 1


Boris
--- On Tue, 7/14/09, Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:

From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] Re: [Xen-users] pv_ops kernel and nvidia binary driver
To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Cc: "Michael Ralston" <michael@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Date: Tuesday, July 14, 2009, 5:21 PM

On 07/14/09 14:17, Boris Derzhavets wrote:
> Following  README i attemped :-
>
> root@SeverUbuntuJaunty:/usr/src/NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/src/nv#
> make SYSSRC=/usr/src/linux-2.6-xen module
> . . . . . . . .
>   ld -r -m elf_x86_64  --build-id -o
> /usr/src/NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/src/nv/nvidia.ko
> /usr/src/NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/src/nv/nvidia.o
> /usr/src/NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/src/nv/nvidia.mod.o
> NVIDIA: left KBUILD.
> root@SeverUbuntuJaunty:/usr/src/NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/src/nv#
> make SYSSRC=/usr/src/linux-2.6-xen module
> root@SeverUbuntuJaunty:/usr/src/NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/src/nv#
> ls -l
> total 40416
> -rw-r--r-- 1 root root     1148 2009-07-15 01:05 conftest.h
> -rw-r--r-- 1 root root    49341 2009-05-27 13:02 conftest.sh
> -rw-r--r-- 1 root root     8517 2009-05-27 13:02 cpuopsys.h
> -rw-r--r-- 1 root root     9077 2009-05-27 13:02 gcc-version-check.c
> -rw-r--r-- 1 root root     1834 2009-05-27 13:02 makefile
> lrwxrwxrwx 1 root root       15 2009-07-15 01:05 Makefile ->
> Makefile.kbuild
> -rw-r--r-- 1 root root     9174 2009-05-27 13:02 Makefile.kbuild
> -rw-r--r-- 1 root root     3726 2009-05-27 13:02 Makefile.nvidia
> -rw-r--r-- 1 root root       45 2009-07-15 01:05 Module.markers
> -rw-r--r-- 1 root root       72 2009-07-15 01:05 modules.order
> -rw-r--r-- 1 root root      104 2009-07-15 01:05 Module.symvers
> -rw-r--r-- 1 root root    33436 2009-05-27 13:02 nvacpi.c
> -rw-r--r-- 1 root root   178616 2009-07-15 01:05 nvacpi.o
> -rw-r--r-- 1 root root   131773 2009-05-27 13:02 nv.c
> -rw-r--r-- 1 root root       65 2009-07-15 01:05 nv_compiler.h
> -rw-r--r-- 1 root root    23476 2009-05-27 13:02 nv.h
> -rw-r--r-- 1 root root     9980 2009-05-27 13:02 nv-i2c.c
> -rw-r--r-- 1 root root   161448 2009-07-15 01:05 nv-i2c.o
> ++++++++++++++++++++++++++++++++++++++
> -rw-r--r-- 1 root root 13577047 2009-07-15 01:05 nvidia.ko
> ++++++++++++++++++++++++++++++++++++++
>

What are you saying here?  It built?  It works?

Either way, its up to nvidia to incorporate the support into their
driver.  (Or for someone to maintain it separately.)

    J

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

 


Rackspace

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