LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 09-02-2009, 12:42 AM   #1
chipotphe
Member
 
Registered: Nov 2007
Posts: 62

Rep: Reputation: 16
First steps with kernel builds


Hello,



I want to start to play with "homemade" kernels. (To get some experiences in this subject).

I want to do this step-by-step.

I have already read a lot about this.

I have a Fedora 10 running. So I want to start with this.
I have read that there is a "special" way to create a kernel for Fedora.
(http://fedoraproject.org/wiki/Docs/CustomKernel)

OK. I understand this +/-.
When you build a new kernel with an other version number, you have to rebuild all the modules with this new kernelversion, and you have to install these also.

But : I want to start with modify only some parameters in my kernel config.

Do I need to rebuild and re-install the modules also?
Will it not be enough to rebuild only the kernel? (vmlinuz)


Where can I find some information about the options I can disable in my kernel to speedup my system? (boot process ed). I want to suppress the loading of unneeded modules.
I want to understand the options in menuconfig (and there are a lot of options ! ! )

Thanks in advance !
__________________
 
Old 09-02-2009, 02:44 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Hi,

To start off, you will need to document all the hardware in your computer and any hardware you may want to attach to it. If you miss anything you'll just have to build the custom kernel again. As far as modules go, did you read this ref from the site you mentioned ?

Quote:
The kernel-doc package contains official Kbuild documentation - see files under Documentation/kbuild, in particular the modules.txt file.
This should provide enough info to get started,

cheers

kbp
 
Old 09-02-2009, 03:46 AM   #3
chipotphe
Member
 
Registered: Nov 2007
Posts: 62

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by kbp View Post
Hi,

To start off, you will need to document all the hardware in your computer and any hardware you may want to attach to it. If you miss anything you'll just have to build the custom kernel again. As far as modules go, did you read this ref from the site you mentioned ?
I know.

I would start from a running and working kernel for that reason.
I would first modify some simple options (that are safe to disable).
Do you know some of such options ?

And I would go further step by step.

Is it possible to get a kind of a listing of the hardware present in my machine ?

regards,
 
Old 09-02-2009, 10:31 PM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
From a running system you should be able to use 'lshal' to display all detected hardware, as far as modules you can disable you'll just have to use some common-sense

eg. do I need packet radio support ? - probably not

cheers
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Repeated kernel builds on Ubuntu using make-kpkg martinrp Linux - Kernel 4 01-10-2007 02:25 PM
Kernel Internals - customizing 2.6 builds bgeddy Slackware 5 11-01-2006 11:08 AM
How to write makefile for module in 2.6 kernel which builds and uses libraries videsh Linux - Distributions 1 01-19-2006 02:57 PM
latest kernel builds bmorgan98 Linux - Newbie 4 07-17-2004 05:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 07:27 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
Open Source Consulting | Domain Registration