Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-13-2004, 03:24 PM   #1
LQ Newbie
Registered: Jan 2004
Posts: 3

Rep: Reputation: 0
How to install kernel source on Suse 9 with/without Yast2

Hi everyone,
Could anyone tell me how to install the kernel source packages for Suse 9.0 both with AND without Yast2. I am trying to load the drivers for my NVIDIA GeForce FX Go5200 card on Inspiron 5150. The driver I am using is

The log is as follows:


nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Tue Jan 6 12:06:11 2004

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : false
no questions : false
silent : false
XFree86 install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel include path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp site :

Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would
you like the installer to attempt to download a kernel interface for your kernel from the NVIDIA ftp site ])?
(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.
ERROR: Unable to find the kernel header files for the currently running kernel.
Please make sure you have installed the kernel header files for your
kernel; on Red Hat Linux systems, for example, be sure you have the
'kernel-source' rpm installed. If you know the correct kernel header
files are installed, you may specify the kernel include path with the
'--kernel-include-path' commandline 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


I am unable to locate the kernel source in /usr/src
Should I use the latest kernel/nvidia drivers? I think I will get the same problem again. I have tried searching all possible forums and groups. Since I am a total newbie, some of the posts are too complicated for me. I hope someone can help me before my patience and resources run out and I have to abandon my linux endeavour and retun to MS products..

Please advice..

Old 01-13-2004, 03:36 PM   #2
LQ Newbie
Registered: Jan 2004
Location: 'zona
Distribution: SuSe 9.0 Professional
Posts: 23

Rep: Reputation: 15
I had the sam e problem. I used Yast to install the source. Start up Yast and go to install/remove software. Search for kernel-source, check the boxes and install. It will actually put them in the /lib/modules/'uname -r'/(can't remember the rest of the path) directory.

Now use the Yast Online update to update your sources to the same as your kernel that's running.

Now go into console mode, log in as root and change the init level to 3. CD to the directory where the NVIDIA script is and run it. When it says the precompiled version doesn't match and asks if it can download one say YES. It will fail and then try to compile. It will compile the driver.

This thread has alot more detail. raynet11 helped me out there.
Old 01-13-2004, 03:38 PM   #3
Senior Member
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
yast2->install/remove programs->type kernel in the search box, select "kernel-source", click accept.
Old 01-14-2004, 05:54 PM   #4
LQ Newbie
Registered: Jan 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the help. I did manage to load the new drivers and now the card is working fine. I have another question.

With windows, my laptop and card support a maximum resolution of 1400x1050 but with Suse I am getting only 1024x768.
Can I get a greater resolution that this, something on par with windows.(that was the whole point of paying extra for this card!!)
Do I need to modify my XF86Config file for this?
Can someone tell me the exact changes that I would have to make..

Thanks once again to all those who helped.. I appreciate it..
Old 01-14-2004, 06:13 PM   #5
Senior Member
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
i've got 1400x1050 under the generic 'lcd' selection , you could try that instead of the actual monitor model or
yast->hardware->graphics card and monitor, select change, select virtual resolution.


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
Install Suse source kernel taichiman SUSE / openSUSE 25 11-25-2004 02:04 AM
How do I install Kernel source - SuSE 9.0? rgbrock1 Linux - Newbie 1 10-02-2004 09:29 AM
Suse 9.1 Kernel source (2.6.5-7.95) rpm wont install shorebreak Linux - Software 2 07-26-2004 06:18 PM
SUSE 9 YAST2 cannot mount / during floppy install cryptosporidium Linux - Newbie 20 03-26-2004 02:48 PM
YaST2 aborts after install lilo in SuSE 7.1 Jacob2 Linux - Distributions 0 11-23-2001 04:04 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:44 PM.

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