LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-30-2005, 07:09 PM   #1
dianna
LQ Newbie
 
Registered: Jun 2005
Location: usa, michigan
Posts: 2

Rep: Reputation: 0
Question Please lead me by the nose to kernel source files?


Hi...hope the subject says it all? I seem to need very explicit assistance finding the source files (kernel 2.6.11-1.35)! I've read lots of posts with info like "go to the updates and download the kernel* RPMS" but apparently, I'm too dense to locate what I need correctly. (I don't want to recompile the kernel, just need the source so that i can compile / install drivers for some silly peripherals...camera, etc.)

So, if someone doesn't mind giving a noob a nice hard push in the right direction? I will appreciate it...

thanks,
dianne
 
Old 06-30-2005, 07:19 PM   #2
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
is this what you're looking for?

http://www.rpmfind.net/linux/rpm2htm...&system=&arch=

Last edited by Genesee; 06-30-2005 at 07:23 PM.
 
Old 06-30-2005, 07:28 PM   #3
dugas
Member
 
Registered: Jul 2004
Location: louisiana
Distribution: fedora 4/kubuntu
Posts: 116

Rep: Reputation: 15
kernel source

It depends on your distribution as to whether or not you can install the rpm. If you are using a distro that uses rpms, then find the appropriate kernel source rpm. Example, if you are using Fedora 3, then you could go to
http://download.fedora.redhat.com/pu...pdates/3/i386/
and download the right kernel (according to version). The kernel source rpm you need is
http://download.fedora.redhat.com/pu...FC3.noarch.rpm
You would then install the rpm by opening a terminal.
Log in as root by typing
su
then you password
Once logged in as root, issue the command
rpm -ivh kernel-doc-2.6.11-1.35_FC3.noarch.rpm
from the directory where the rpm was downloaded, or just put the full path in the command. Let me know if you need more assistance.
 
Old 07-05-2005, 08:46 AM   #4
dianna
LQ Newbie
 
Registered: Jun 2005
Location: usa, michigan
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks, Dugas - and Genesee --

The rpmfind site looks like it has everything, but I wasn't sure exactly what to look for (filewise) or download. I'd previously downloaded what I thought was the source files, something named kernel-2.6.11-1.27_FC3.src.rpm, only to find it was a collection of files with the extension .patch (differences files?) and .config files but no actual source code.

(btw I am using Fedora Core 3, my cut and paste skills lack, I see I cut off the end of the string in my first post, sorry.)

The kernel-doc-2.6.11-1.35_FC3.noarch.rpm appears to be all the documentation on the kernel source, but not the actual source code, so I'm still searching for that.

Do you know what "kernel-smp-2.6.11-1.27_FC3.i586.rpm" contains? It's a pretty large file, maybe it's what I need...? I think "kernel-2.6.11-1.27_FC3.i586.rpm" is the actual compiled bits? I let the redhat automatic updater run after I installed it from the disks (borrowed from school) so I didn't download and install the kernel upgrade myself.

All these files I found at the URL from Dugas, (thanks again!) and also for the instructions on installing...I guess I do need a bit more help to get the right source files ...

dianna
 
Old 07-09-2005, 01:58 PM   #5
sarn
LQ Newbie
 
Registered: Jul 2005
Posts: 1

Rep: Reputation: 0
As Fedora Project Release Notes says, there is no source code of the Fedora kernel, as it usually was before. They release the source as kernel.x.x.x.src.rpm but recompiling the kernel is about rebuilding the kernel rpm from the source and it is harder then doing it with 'make xconfig' like before..

i had some problem with adding ntfs modules to kernel.. Trying recompile kernel as usual make errors all the time on Fedora, because there is no source actually, just the directory i tried recompile within was the compiled source of course. 'make xconfig' works there but 'make bzImage' always fails.. building the new rpm from the srpm to fit our needs is the only way i think..

i solved my problem finding the pre-built kernel rpm with ntfs-drivers installed.. this was the quick way of course, because i still had to try out to rebuild the rpm, when i would need for example amiga-fs support in my kernel.. i'm still on it..

Last words.. The kernel-spm packages has nothing to do with the source actually, they are just prebuilt versions of the kernel supporting multiprocessors, because rather then little differences on kernel, many people who have multiprocessors need them, thats why they always released on Fedora Servers..

Suggest to keep struggling..
 
  


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
kernel source files missing !! rpb Linux - Software 4 04-27-2005 01:34 AM
I just cant get it right: If I download the kernel source, where do I put the files? Shagrath239 Slackware 6 02-14-2005 09:13 PM
help!!! Upgrading redhat with 2.6.5 kernel source files dontgp Linux - Newbie 1 04-20-2004 08:35 AM
Mandrake 8.1 need help in getting Kernel source files CorpChAoS Mandriva 2 01-19-2004 04:54 AM
How to install kernel-source files? (v 2.4.22) Pisces107 Linux - Newbie 12 12-17-2003 06:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:08 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration