LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 08-14-2006, 01:29 PM   #1
bangoram
Member
 
Registered: Jan 2006
Posts: 61

Rep: Reputation: 15
Kernel Compilation configuration


Hi members,


I would like to ask one thing about kernel compilation though I am able to find many material on kernel compilation its little bit confusing me..I have downloaded kernel 2.6.15-Fc5 kernel.tar.gz I have copied this to /home directory.After untaring this I have typed


make menuconfig

I saved the default configuration(I havent selected any option) and started compiling.Whenever I compile with the default kernel configuration enabled Its throwing some error when booting the kernel.Is there any ready to use .config so that I can use that to enable the required features(for a desktop) as in-built and as modules during kernel configuration before compiling it.

Kindly provide me info about this kernel configuration.

Thanks,
 
Old 08-14-2006, 01:40 PM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
not sure you wanted this,
but you can update your kernel with this command much more easily ( I see FC5)

yum install -y kernel
 
Old 08-14-2006, 02:13 PM   #3
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
You can either do a kernel update like w3bd3vil using precompiled kernels. Either using yum or apt or with a gui tool for yum or apt like yumex or synaptic. Great way to to update the kernel. If you wish to try to build your own check out this post and use the orginal kernel config file in /boot as your starting point. One of the nice things about Redhat and clones.

Brian1
 
Old 08-14-2006, 08:29 PM   #4
bangoram
Member
 
Registered: Jan 2006
Posts: 61

Original Poster
Rep: Reputation: 15
Adding Patch and Compiling

Hi!

Thanks for your reply,

I agree that yum install is the very decent way to update the kernel, but I am tring to add a patch to the new kernel the one I have downloaded(tar.gz) and I want to compile the same after adding the patch.while this compilation I am just looking for some ready .config file which will configure my kernel for each and every feature.

Whether I can use this /boot .config file for configuring to enable selected options in the kernel.

Brian1 kndly provide me the link that you mentioned in your post.

Last edited by bangoram; 08-15-2006 at 02:34 AM.
 
Old 08-15-2006, 06:51 PM   #5
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Sorry about that here it is. http://www.linuxquestions.org/questi...36#post1401136

What kind of patch are you applying. Is the patch for that kernel you are trying to patch. Some patches are version specfic. Just the let you know.

Brian1
 
Old 08-20-2006, 12:04 PM   #6
bangoram
Member
 
Registered: Jan 2006
Posts: 61

Original Poster
Rep: Reputation: 15
Smile My patch

Hi Brian1,

Very sorry I was away for past few days, many thanks for the information.I am trying to patch squashfs 3.0 support in to the new kernel. Can you pls tell me the difference between compiling
kernel from linux-2.6.15.1.tar.gz and installing kernel-2.6.15-1.2054_FC5.src.rpm.

Thanks!
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel compilation configuration arunachalam Linux - General 3 12-14-2005 06:51 AM
kernel compilation : to remove a kernel which files should be deleted b0nd Linux - Newbie 2 08-17-2005 12:35 PM
Kernel compilation problems, distorted video and kernel panic shamrock_uk Linux - Laptop and Netbook 5 08-12-2005 11:53 PM
does kernel-source installs with the compilation cum installtion of a new kernel? luqman Linux - General 18 03-04-2005 08:33 AM
cups compilation/configuration fabio-i Linux - General 2 05-10-2003 04:03 PM


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