LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-18-2007, 10:26 AM   #1
ad1366
LQ Newbie
 
Registered: Mar 2006
Distribution: SuSE and Debian
Posts: 22

Rep: Reputation: 15
nVidia Display driver can't determine kernel version


Hi

I have openSUSE 10.2 on my i386 PC. I can't install nvidia display driver on my system and it prompts me that it can determine my kernel version.

before this , it prompted me that it can't find my kernel but with "--kernel-source-path" I fixed this problem but but the upper problem occured.

what I must do?
 
Old 03-18-2007, 10:59 AM   #2
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
Quote:
Originally Posted by ad1366
Hi

I have openSUSE 10.2 on my i386 PC. I can't install nvidia display driver on my system and it prompts me that it can determine my kernel version.

before this , it prompted me that it can't find my kernel but with "--kernel-source-path" I fixed this problem but but the upper problem occured.

what I must do?
The kernel version will be confirmed if you open a terminal/konsole and do the command
Code:
uname -r
For the nvidia driver to install, the system also needs to have the kernel-sources/kernel-headers. I don't know which SuSE call them.

I'm guessing, that if you google for suseforums, theres a couple that might give you some direction - I seem to recall that theres actually an easy way of installing the nvidia driver using YaST - but as it's been a long time since I used any SuSE version I don't recall how this is done.

But, I seem to recall that if you have a look at nvidia.com's linux drivers pages, there used to be a nice additional note about installing it under SuSE.

Sorry I can't be more specific, but thats all from memory.

regards

John

p.s. Oh or there might be something at the distributions (SuSE) forum here at LQ ???
 
Old 03-18-2007, 11:13 AM   #3
ad1366
LQ Newbie
 
Registered: Mar 2006
Distribution: SuSE and Debian
Posts: 22

Original Poster
Rep: Reputation: 15
It writes :

Unable to determine the version of the kernel sources located in
'/lib/modules/2.6.18.2-34-default/source'. 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' 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.

Before using --kernel-source-path

And after that writes :

ERROR: Unable to determine the version of the kernel sources located in
'/usr/src/linux-2.6.18.2-34'. 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' 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.

what I must do?
 
Old 03-18-2007, 11:14 AM   #4
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
I think??? it's telling you to install the kernel-source files. Not certain though.

regards

John
 
Old 03-18-2007, 09:42 PM   #5
Cogar
Senior Member
 
Registered: Oct 2005
Location: It varies, but usually within 100 feet of a keyboard.
Distribution: Fedora 10, Kubuntu 8.04, Puppy 4.1.2, openSUSE 11.2
Posts: 1,126

Rep: Reputation: 52
The NVIDIA installer compiles the kernel interface it needs to create the driver. This has similar package demands to that of a installation using source code. Although you may not need them all, I recommend using YaST to install the following standard packages used for this work. After doing so, the installation of the NVIDIA driver should proceed normally:

kernel-source (the SUSE 10.2 source code)
binutils (GNU binary utilities)
gcc (the GNU C Compiler)
gcc-c++ (the GNU C++ Compiler)
glibc-devel (development libraries for the C compiler)
make (the GNU make command)
 
Old 03-19-2007, 02:37 AM   #6
ad1366
LQ Newbie
 
Registered: Mar 2006
Distribution: SuSE and Debian
Posts: 22

Original Poster
Rep: Reputation: 15
First :
I have installed all of them but I still have problem.

Second :
With Suse 9.2 and 10 I didn't have any problem with installing of nVidia display driver , but this problem is with openSUSE 10.2.

Can anybody help me?
 
Old 03-19-2007, 02:19 PM   #7
Cogar
Senior Member
 
Registered: Oct 2005
Location: It varies, but usually within 100 feet of a keyboard.
Distribution: Fedora 10, Kubuntu 8.04, Puppy 4.1.2, openSUSE 11.2
Posts: 1,126

Rep: Reputation: 52
9.3 and 10.0 included proprietary drivers as part of the distribution. Starting with openSUSE 10.1, Novell no longer included proprietary software, although several proprietary video driver RPMs were available from an "extras" CD or a separate repository. Although I do not know the details, starting with 10.1, the video driver RPMs available for SUSE have been poor performers and the only viable alternative is to download the .run file from NVIDIA and use the command line (shell) install. The result is a superior driver, but one that only works with the specific the kernel you are using. For example, if you patched the kernel, you need to reinstall the drivers since the kernel interface you created originally will no longer work with the (now changed) patched kernel.

So what do you do? Hard to say. I have installed the current NVIDIA driver (NVIDIA-Linux-x86-1.0-9755-pkg1.run for my 32-bit systems) multiple times on different machines and it seems to work fine if the appropriate packages are present. Therefore, I can only suggest that you carefully review the process and make sure you have not missed any steps.
http://www.nvidia.com/object/unix.html
 
  


Reply



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
LXer: NVIDIA Linux Display Driver Version 1.0-7184 LXer Syndicated Linux News 0 08-25-2006 05:54 AM
How do I determine the kernel version I am currently running? sr_25 Linux - Newbie 5 07-30-2006 08:05 PM
I would like to be able to determine my kernel version. Gueron Linux - Newbie 3 10-10-2005 02:24 PM
determine kernel version linuxmandrake Mandriva 1 05-28-2005 05:38 AM
How to determine Kernel version stonesino Linux - General 2 03-13-2004 01:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:29 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration