LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 04-18-2006, 09:36 AM   #1
Deelk
Member
 
Registered: Mar 2006
Posts: 71

Rep: Reputation: 15
Compiling optimized kernel


Hi,

I want to compile a custom kernel for AMD athlon.Could anyone point me to a easy to follow tutorial on how to do that?I'm using ubuntu 5.10,but I think that doesn't matter.

thanx in advance

Last edited by Deelk; 04-18-2006 at 09:37 AM.
 
Old 04-18-2006, 10:27 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
http://www.digitalhermit.com/linux/K...ild-HOWTO.html
short version =
http://home.nyc.rr.com/computertaijutsu/kernel.html

activate CONFIG_MK7 option for Athlon.
 
Old 04-18-2006, 10:41 AM   #3
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Here is a link that you could have found by search Google for "compiling uBuntu kernel."

Before you start compiling your kernel, make a list of all the modules that are running right after booting your machine (assuming everything is working correctly). You need to make sure that you compile them as modules when creating your new kernel.

When you get to the point that you do make menuconfig, you'll get a configuration menu. There will be some way (like pressing ?) of getting info for each choice available. There are many choices available relative to the CPU.

Don't be surprised if it doesn't work the first time. Just try again. Also, I like to edit my grub.conf (menu.lst) file before I reboot with the new kernel. That way if it doesn't work, I just reboot and select my previous kernel.
 
Old 04-18-2006, 10:45 AM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
Modules must be compatible with .. compiled with .. the kernel they are intended to support. This is likely to be an issue only with major system upgrades, in which it is important to not only preserve the prior kernel but also its entire set of module-files. (A LiveCD is used as scaffolding if you have to roll back to the prior kernel and modules.)
 
  


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
centos optimized kernel flebber Linux - General 1 10-23-2005 09:05 PM
Kernel optimized for space RFLAGG Linux - Software 2 08-26-2004 02:53 AM
Optimized kernel config file for p4b533 micheleq Linux - Software 0 10-30-2003 03:29 AM
compile optimized kernel kvikki Slackware 0 10-12-2003 05:56 PM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 05:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:58 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