LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 10: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 10:37 AM.
 
Old 04-18-2006, 11:27 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
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, 11:41 AM   #3
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
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, 11:45 AM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 7,182

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
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


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


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