nvidia x86_64-177.13-pkg2 does not find sources for 2.6.25.

I have suse11.
I installed kernel-default (2.6.25.11-0.1) and kernel-xen ( 2.6.25.11-0.1-xen) rpms.
NVIDIA-Linux-x86_64-177.13-pkg2 was successfully installed under 2.6.25.11-0.1. But I have an issue with 2.6.25.11-0.1-xen.
Installer complains for incompatible sources.


kernel name : 2.6.25.11-0.1-xen
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
-> Only installing a kernel module for a non-running kernel; skipping the “is
an X server running?” test.
-> Only installing a kernel module for a non-running kernel; skipping the “is
an NVIDIA kernel module loaded?” test.
-> License accepted by command line option.
-> Installing NVIDIA driver version 177.13.
-> Not probing for precompiled kernel interfaces.
-> Performing CC sanity check with CC=“cc”.
-> Kernel source path: ‘/lib/modules/2.6.25.11-0.1-xen/source’
-> Kernel output path: ‘/lib/modules/2.6.25.11-0.1-xen/build’
ERROR: If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

   If you are using a Linux 2.6 kernel, please make sure
   you have configured kernel sources matching your kernel
   installed on your system. If you specified a separate
   output directory using either the "KBUILD_OUTPUT" or
   the "O" KBUILD parameter, make sure to specify this
   directory with the SYSOUT environment variable or with
   the equivalent nvidia-installer command line option.
   
   Depending on where and how the kernel sources (or the
   kernel headers) were installed, you may need to specify
   their location with the SYSSRC environment variable or
   the equivalent nvidia-installer command line option.

ERROR: Installation has failed.

here is the directory pointed by the kernel_source parameter given to the nvidia installer

sz@linux-gs2q:/lib/modules/2.6.25.11-0.1-xen> ls -l
загалом 1796
lrwxrwxrwx 1 root root 43 сер 15 22:31 build -> /usr/src/linux-2.6.25.11-0.1-obj/x86_64/xen
drwxr-xr-x 10 root root 4096 сер 15 22:27 kernel
-rw-r–r-- 1 root root 400093 сер 15 22:27 modules.alias
-rw-r–r-- 1 root root 69 сер 15 22:27 modules.ccwmap
-rw-r–r-- 1 root root 369559 сер 15 22:27 modules.dep
-rw-r–r-- 1 root root 813 сер 15 22:27 modules.ieee1394map
-rw-r–r-- 1 root root 375 сер 15 22:27 modules.inputmap
-rw-r–r-- 1 root root 18759 сер 15 22:27 modules.isapnpmap
-rw-r–r-- 1 root root 74 сер 15 22:27 modules.ofmap
-rw-r–r-- 1 root root 312229 сер 15 22:27 modules.pcimap
-rw-r–r-- 1 root root 1009 сер 15 22:27 modules.seriomap
-rw-r–r-- 1 root root 167784 сер 15 22:27 modules.symbols
-rw-r–r-- 1 root root 27525 сер 15 22:27 modules.unsupported.blacklist
-rw-r–r-- 1 root root 484726 сер 15 22:27 modules.usbmap
lrwxrwxrwx 1 root root 28 сер 15 22:29 source -> /usr/src/linux-2.6.25.11-0.1

and the include files directory

sz@linux-gs2q:/lib/modules/2.6.25.11-0.1-xen/build/include> ls -l
загалом 28
lrwxrwxrwx 1 root root 8 сер 16 12:07 asm -> asm-x86/
drwxr-xr-x 2 root root 4096 сер 15 22:29 asm-x86
drwxr-xr-x 432 root root 20480 сер 15 22:29 config
drwxr-xr-x 2 root root 4096 сер 15 22:29 linux

i’ve tried
>sudo ln -s /usr/src/linux/include/xen/ ./asm
and
>sudo ln -s /usr/src/linux/include/asm_x86/ ./asm
but still doesn’t work…
hope somebody helps me
ps stuff like IGNORE_XEN_PRESENCE and several nvidia installer patches doesn’t help

I’m having basically the exact same problem. Trying to run a xen kernel but can’t get the nvidia drivers install. Still looking for a solution myself.

On Mon, 18 Aug 2008 16:23:45 GMT
juk08 <juk08@no-mx.forums.opensuse.org> wrote:

>
> I have suse11.
> I installed kernel-default (2.6.25.11-0.1) and kernel-xen (
> 2.6.25.11-0.1-xen) rpms.
> NVIDIA-Linux-x86_64-177.13-pkg2 was successfully installed under
> 2.6.25.11-0.1. But I have an issue with 2.6.25.11-0.1-xen.
> Installer complains for incompatible sources.

Is the computer currently running with the -xen kernel? It is much easier to
compile a module for a kernel that is currently running.

Also, you may need to execute

make cloneconfig
make prepare
make modules_prepare

in the /usr/src/linux subdirectory to properly set up the source code for the
-xen kernel after using the -default kernel.

Granted, NVIDIA doesn’t seem to officially support XEN usage with their
drivers… but, you’re certainly welcome to try…

Boot system using -xen kernel.
cd /usr/src/linux
make cloneconfig
make
make modules_install
make install

reboot

try installing NVidia drivers using their NVIDIA…sh installer. If it’s
going to work, that’s how it would be done. You can take apart the
auto-installer from NVidia, but generally, if the auto-installer can’t/won’t
install the driver, there’s probably a good reason.

The above commands may take upwards of 2 hours to run, depending on processor
speed.

You must be currently running a -xen kernel though. Failure to do this
makes the rest of the procedure useless for your purposes.

Loni


L R Nix
lornix@lornix.com

thanx
i’ll try to recompile kernel sources

still nothing.

sz@linux-gs2q:~> cat /var/log/nvidia-installer.log
nvidia-installer log file ‘/var/log/nvidia-installer.log’
creation time: Thu Sep 4 23:59:01 2008
installer version: 1.0.7

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 : true
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)
force compat32 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)
compat32 install chroot : (not specified)
compat32 install prefix : (not specified)
compat32 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
-> License accepted.
-> Installing NVIDIA driver version 177.13.
-> 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: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Performing CC sanity check with CC=“cc”.
-> Performing CC version check with CC=“cc”.
-> Kernel source path: ‘/lib/modules/2.6.25.11-0.1-xen/source’
-> Kernel output path: ‘/lib/modules/2.6.25.11-0.1-xen/build’
ERROR: If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

   If you are using a Linux 2.6 kernel, please make sure
   you have configured kernel sources matching your kernel
   installed on your system. If you specified a separate
   output directory using either the "KBUILD_OUTPUT" or
   the "O" KBUILD parameter, make sure to specify this
   directory with the SYSOUT environment variable or with
   the equivalent nvidia-installer command line option.
   
   Depending on where and how the kernel sources (or the
   kernel headers) were installed, you may need to specify
   their location with the SYSSRC environment variable or
   the equivalent nvidia-installer command line option.

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 Welcome to NVIDIA - World Leader in Visual Computing Technologies.

to cjarrett:
Do u find someth?