LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices


Reply
  Search this Thread
Old 07-27-2005, 04:33 AM   #1
jhughes96
LQ Newbie
 
Registered: May 2005
Location: Wales (UK)
Distribution: FEDORA 3
Posts: 5

Rep: Reputation: 0
kernel questions


Hi all,
I have a few questions regarding the kernel on my road to Linux Enlightenment...

1) what is the fundamental difference between the kernel source (e.g. as in /3/SRPMS/kernel-2.6.12-1.1372_FC3.src.rpm) and the kernel-devel (/i386/kernel-devel-2.6.12-1.1372_FC3.i686.rpm)? Does the kernel-devel just contain the headers?

2) is i386/kernel-2.6.12-1.1372_FC3.i686.rpm just the corresponding binary RPM to kernel-2.6.12-1.1372_FC3.src.rpm? With that, if you so wish, you could build your own kernel?

3) is kernel-2.6.12-1.1372_FC3.src.rpm 'just' the current kernel.org src plus whatever else RH want to throw in? Is, for example, SELINUX one of these extras?

thanks for your thoughts...

joel
 
Old 07-27-2005, 01:20 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Re: kernel questions

Quote:
Originally posted by jhughes96
Hi all,
I have a few questions regarding the kernel on my road to Linux Enlightenment...

1) what is the fundamental difference between the kernel source (e.g. as in /3/SRPMS/kernel-2.6.12-1.1372_FC3.src.rpm) and the kernel-devel (/i386/kernel-devel-2.6.12-1.1372_FC3.i686.rpm)? Does the kernel-devel just contain the headers?
Yes. For those people that just want to build add-on kernel modules (like the Nvidia video drivers), the headers are needed, but not the source.

Quote:
2) is i386/kernel-2.6.12-1.1372_FC3.i686.rpm just the corresponding binary RPM to kernel-2.6.12-1.1372_FC3.src.rpm? With that, if you so wish, you could build your own kernel?
It is a binary created from the source. There can be many binaries, with different options and built for different architectures from the same source. The example you listed, kernel-2.6.12-1.1372_FC3.i686.rpm, is built for i686 (Pentium Pro and later 32-bit processors), based on the kernel.org 2.6.12 kernel, with the Fedora 1.1372 patch-level, for Fedora Core 3.

Quote:
3) is kernel-2.6.12-1.1372_FC3.src.rpm 'just' the current kernel.org src plus whatever else RH want to throw in? Is, for example, SELINUX one of these extras?
It is the vanilla (unmodified) kernel source from kernel.org, packaged with a set of patches from Fedora Core to that kernel, with an rpm SPEC file and scripts needed to configure and build the kernel. SELinux, if not in the mainstream kernel, will be one or more of the patches applied as part of the process of preparing the kernel source for building.

Quote:
thanks for your thoughts...

joel
You're welcome.
 
  


Reply



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 questions... bong.mau Linux - General 3 11-13-2005 10:12 PM
Kernel Questions jimbo-62 Debian 2 08-08-2005 09:49 PM
kernel 2.6.10 - few questions tisam Linux - Software 0 02-11-2005 09:00 AM
Kernel Questions. rvijay Linux - General 3 01-09-2005 04:33 PM
kernel questions... hollywoodb Slackware 1 08-23-2003 12:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation

All times are GMT -5. The time now is 07:17 AM.

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
Open Source Consulting | Domain Registration