Please lead me by the nose to kernel source files?
Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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...
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
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.
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 ...
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..