LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 10-22-2006, 12:18 PM   #1
EvilSlim
LQ Newbie
 
Registered: Apr 2006
Posts: 3

Rep: Reputation: 0
Is patching a vanilla kernel necessary?


Hello,

I am having a question or two about vanilla kernels and the patching that needs to be done et.c..

I want a vanilla kernel for working on my academic project. The thing is, some of the kernel modules (simple ones) give a lot of 'make' errors. And I heard that it is due to the patching done by the distributors. So the questions are

1) Is patching really necessary to have a running kernel?
2) Is there any way where we can use the vanilla kernel directly (without any patches i.e) and are there any disadvantages in it?
3) I am trying to build kernel modules on fedora and am using the LKMPG 2.6 (Linux Kernel Module Programming Guide). Is it really advisable to do it of fedora? Or is there a more convenient distro?

May be I am asking a little too much.. but I am at a complete standstill here.
So any starters, cues, tutorials, hints will be greatly appreciated.
I am rather new to linux.. I am a 1 month old penguin

Thanks in advance.
 
Old 10-22-2006, 12:58 PM   #2
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Quote:
1) Is patching really necessary to have a running kernel?
Well, patches change (usually hopefully fix) some things in the original code. To see what, read what the patch is all about. So if you're ok with the original code, have read what the patch does and come to a conclusion you don't need the patch, it's ok to leave it off -- but if it fixes something vital (like a huge crash), it's probably needed.

Code:
2) Is there any way where we can use the vanilla kernel directly (without any patches i.e) and are there any disadvantages in it?
Probably yes, just get your hands on somebody/some place that holds the original sources without patches installed. Doesn't kernel.org do this? I'm not sure..well, anyway, as I said to the 1st question, if you don't think the patch is needed for you, you're fine with it -- the disadvantages you might encounter are that if you don't apply the patch(es), some things might be broken that would be fixed with the patch. You know - patches are "fixes" of one kind. Ways to change the original code without redistributing the whole thing. Like a small repair kit.

Quote:
3) I am trying to build kernel modules on fedora and am using the LKMPG 2.6 (Linux Kernel Module Programming Guide). Is it really advisable to do it of fedora? Or is there a more convenient distro?
In my opinion it does not matter which distribution you use. All Linuxes use Linux kernel, with different configurations (and/or versions) and the rest is just programs..so, no matter which distribution you chose, it's just up to what programs you install on it with which you do the job. Fedora is just ok if you're ok with the tools it provides.

EDIT: of course it most probably matters to which kernel version you write the modules for (2.4.2 is different from 2.6.10), at least a little - so pay attention to that. But besides that, it doesn't matter which distribution you choose.

Last edited by b0uncer; 10-22-2006 at 01:01 PM.
 
Old 10-22-2006, 04:15 PM   #3
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
I never had any trouble running vanilla kernels with no patches.
 
Old 10-25-2006, 11:33 AM   #4
Kingscriber
Member
 
Registered: Nov 2004
Distribution: Slackware, CentOS
Posts: 85

Rep: Reputation: 16
It appears that you are taking an interest in your own personal kernel management with keeping up with the latest etc. Slackware is a distro that is really flexible in this area. Things change, and I haven't figured out yet..with redhat distros. Slackware just came out with a new version. There are various kernels you can choose from with installation.
 
  


Reply

Tags
fedora, kernel, patching, vanilla


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
What is Vanilla kernel ? suriyamohan Linux - General 8 08-07-2008 10:34 AM
Vanilla Kernel paddyjoy Linux - Newbie 3 06-08-2005 01:49 AM
vanilla kernel b123coder Red Hat 1 12-05-2004 02:58 PM
Vanilla kernel RichardSimmons Linux - General 2 03-21-2004 01:25 PM
WineX Vanilla kernel? RichardSimmons Linux - Software 0 02-24-2004 05:21 PM


All times are GMT -5. The time now is 09:54 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration