Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 07-06-04, 05:23 PM   #1
linuxnewb
Registered User
 
Join Date: Dec 2002
Posts: 26
Default Kernel Source Missing

When I try to install Driver 6106 it ask for the kernal source file, can someone tell me where on the hard drive the kernel source is located and if its not on the hard drive where can I find it online without using Mandrake Update, for some reason I can't get Mandrake Update to work.
linuxnewb is offline   Reply With Quote
Old 07-06-04, 08:01 PM   #2
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default Re: Kernel Source Missing

The kernel source is located in a directory /usr/src/linux-<version> where the <version> is the output of uname -r. You should have an RPM installed that is named kernel-source-<version> where that <version> is the same as before. If you are using a special kernel (the enterprise or smp versions) you may have to fix this slightly for that -- there should be documentation around for installing the correct Mandrake sources. If you have not updated your kernel from the one installed by the cds then you can find the correct RPM on those cds. Do not install the RPM that ends in the name src.rpm, that is for recompiling the kernel, not for compiling modules (which is what this driver is doing).

If you would like help finding a direct link to where to get the correct RPM then you need to supply where you are (what country), and what version of Mandrake you are using, and what kernel you are running (show us these commands output):
rpm -q kernel
rpm -q kernel-source
uname -a
__________________
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at livna.org.
LordMorgul is offline   Reply With Quote
Old 07-09-04, 10:21 AM   #3
linuxnewb
Registered User
 
Join Date: Dec 2002
Posts: 26
Default Re: Kernel Source Missing

$ rpm -q kernel
package kernel is not installed
$ rpm -q kernel-source
kernel-source-2.6.3-15mdk
$ uname -a
Linux localhost 2.6.3-4mdk #1 Tue Mar 2 07:26:13 CET 2004 i686 unknown unknown GNU/Linux
$ cd /usr/src/linux-2.6.3-15mdk/
$ ls
3rdparty/ crypto/ include/ kernel/ mm/ scripts/
arch/ Documentation/ init/ lib/ net/ security/
COPYING drivers/ ipc/ MAINTAINERS README sound/
CREDITS fs/ kdb/ Makefile REPORTING-BUGS usr/

ok so wheree in this path would I find the kernel source? Or is this even the correct path??
also here is what slocate found (i did a updatedb):

$ slocate kernel-source
/usr/share/doc/kernel-2.6.3.4mdk-1/README.kernel-sources
/usr/share/doc/kernel-source-2.6.3
/usr/share/doc/kernel-source-2.6.3/README.kernel-sources
/usr/share/doc/kernel-source-2.6.3/README.Mandrake
linuxnewb is offline   Reply With Quote
Old 07-10-04, 03:14 AM   #4
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default Re: Kernel Source Missing

You are running kernel 2.6.3-4mdk (output of uname -r tells us that) and you only have the sources for kernel 2.6.3-15mdk installed. That will not do. Install the RPM named kernel-source-2.6.3-4mdk.i386.rpm. The name may end in i586 or i686 instead of i386.. but the kernel version must match exactly.
__________________
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at livna.org.
LordMorgul is offline   Reply With Quote
Old 07-10-04, 12:06 PM   #5
linuxnewb
Registered User
 
Join Date: Dec 2002
Posts: 26
Default Re: Kernel Source Missing

ROFL yea that is my question. How do i install/get access to 2.6.3-4 Where do I find that source kernel or woud it just be easier to just upgrade to 2.6.3-15? If so how do I do that?
linuxnewb is offline   Reply With Quote
Old 07-11-04, 01:47 AM   #6
linuxnewb
Registered User
 
Join Date: Dec 2002
Posts: 26
Default Re: Kernel Source Missing

I was able to get on to mandrake update and I downloaded everything, the source kernel is not on mandrake update.
linuxnewb is offline   Reply With Quote
Old 07-11-04, 08:02 PM   #7
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default Re: Kernel Source Missing

I would suggest updating to the latest kernel they have before you continue the adventure. When you do, you have to find the kernel-source with it. I actually do not know the difference between these files, I assume that kernel source stripped is for building modules which would not require the complete source for building the kernel -- the full source should certainly work, the stripped one is alot smaller if you want to try that out.

kernel-source-2.6.3-15mdk
ftp://distro.ibiblio.org/pub/Linux/d...15mdk.i586.rpm

kernel-source-stripped-2.6.3-15mdk
ftp://distro.ibiblio.org/pub/Linux/d...15mdk.i586.rpm

Directory listing if you need more updates from this ftp: ftp://distro.ibiblio.org/pub/Linux/d...tes/10.0/RPMS/

To find a closer ftp see this: http://www.mandrakelinux.com/en/ftp.php3
__________________
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at livna.org.
LordMorgul is offline   Reply With Quote
Old 07-16-04, 02:40 PM   #8
linuxnewb
Registered User
 
Join Date: Dec 2002
Posts: 26
Default Re: Kernel Source Missing

So any linux distro can use any kernel? I thought Mandrake would customize the kernels to work with mandrakelinux? I will try out that link once i can get a connection to the ftp (it is not connecting for some reason). Thx for your help.
linuxnewb is offline   Reply With Quote

Old 07-17-04, 06:55 PM   #9
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default Re: Kernel Source Missing

Mandrake does have their own versions of the kernel but you are not required to use them. It is a good idea for you to use their kernel until you have reason to do otherwise (maybe never). The links I gave you are for the latest version of the official Mandrake Linux kernels. If you want to investigate what I'm talking about, see the site www.kernel.org, the home of the Linux kernel (where every distribution gets its kernel source before making small custom changes).
__________________
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at livna.org.
LordMorgul is offline   Reply With Quote
Old 07-18-04, 07:11 AM   #10
linuxnewb
Registered User
 
Join Date: Dec 2002
Posts: 26
Default Re: Kernel Source Missing

Thank you for your help. I could not connect to that ftp site you gav but I did find the sources on http://rpm.pbone.net/index.php3/stat....html#provides.
The install process was great but now I have problems after I exit X server. Since this is a different problem i'll make a new thread for it. Thanx for the help.
linuxnewb is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Random crashes, NVRM Xid messages Iesos NVIDIA Linux 90 10-04-12 03:27 AM
Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295]) gbailey NVIDIA Linux 1 06-27-12 10:24 AM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
Crash when logout from X TGL NVIDIA Linux 10 09-13-02 08:22 PM

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


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.