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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-30-2005, 07:09 PM
|
#1
|
LQ Newbie
Registered: Jun 2005
Location: usa, michigan
Posts: 2
Rep:
|
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
|
|
|
06-30-2005, 07:19 PM
|
#2
|
Member
Registered: Dec 2002
Distribution: Slackware
Posts: 927
Rep:
|
Last edited by Genesee; 06-30-2005 at 07:23 PM.
|
|
|
06-30-2005, 07:28 PM
|
#3
|
Member
Registered: Jul 2004
Location: louisiana
Distribution: fedora 4/kubuntu
Posts: 116
Rep:
|
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.
|
|
|
07-05-2005, 08:46 AM
|
#4
|
LQ Newbie
Registered: Jun 2005
Location: usa, michigan
Posts: 2
Original Poster
Rep:
|
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
|
|
|
07-09-2005, 01:58 PM
|
#5
|
LQ Newbie
Registered: Jul 2005
Posts: 1
Rep:
|
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..
|
|
|
All times are GMT -5. The time now is 01:59 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|