LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 08-21-2007, 10:01 AM   #1
Alexander.s
Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Slackware, Gentoo!
Posts: 115

Rep: Reputation: 15
Problems installing nvidia drivers


I downloaded the most recent driver for my graphics card, logged in as root and executed
sh NVIDIA...blabla

All i got was errors and this is what /var/log/nvidia-installer.log says
The card is a 7800GT and I'm running opensuse 10.2

Code:
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
  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.
-> 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.
ERROR: The kernel header file
       '/lib/modules/2.6.18.2-34-default/build/include/linux/kernel.h' does not
       exist.  The most likely reason for this is that the kernel source path
       '/lib/modules/2.6.18.2-34-default/build' is incorrect.  Please make sure
       you have installed the kernel source files for your kernel and that they
       are properly configured; on Red Hat Linux systems, for example, be sure
       you have the 'kernel-source' or 'kernel-devel' RPM installed.  If you
       know the correct kernel source files are installed, you may specify the
       kernel source path with the '--kernel-source-path' 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 www.nvidia.com.

Last edited by Alexander.s; 08-21-2007 at 10:03 AM.
 
Old 08-21-2007, 10:19 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,751
Blog Entries: 1

Rep: Reputation: 238Reputation: 238Reputation: 238
So what's the question? Do you have the kernel headers on your system or not? If not, then install them. If so and they are not at /lib/modules/`uname -r`/build or /usr/src/linux, then pass --kernel-source-path=/path/to/headers to the install script.
 
Old 08-21-2007, 11:21 AM   #3
Alexander.s
Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Slackware, Gentoo!
Posts: 115

Original Poster
Rep: Reputation: 15
Thanks for the reply!

I'v tried the --kernel-source-path command still doesn't work, i found the kernel.h file by using whereis.
But i read some where about people not being able to install the nvidia drivers without the kernel source code, so I'm installing those atm.
 
Old 08-22-2007, 05:38 AM   #4
dissident_goodchild
Member
 
Registered: Feb 2007
Location: Spain
Distribution: OPENSUSE 10.3 64-BIT WITH GNOME
Posts: 229

Rep: Reputation: 30
Try to install the kernel-source and linux-kernel-headers packages.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems while installing nVIDIA drivers help_a_newbie Mandriva 16 08-19-2007 12:46 AM
Problems installing nVidia graphics drivers Oxyd Linux - Software 4 11-25-2005 08:44 AM
Problems installing nvidia drivers on FC4 monkiidansu Fedora 7 10-05-2005 04:26 PM
Problems installing nvidia drivers BU5T4 Linux - Newbie 3 10-13-2003 07:46 PM
problems installing Nvidia drivers on Red hat 8.0 Kilahchris Linux - Hardware 1 01-26-2003 10:09 PM


All times are GMT -5. The time now is 08:41 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration