LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-03-2008, 05:19 PM   #1
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 582

Rep: Reputation: 28
How do I build a 64-bit kernel?


I have Fedora 8 installed from a magazine's DVD, and built a kernel from 2.6.24 source downloaded from a kernel mirror. I got a 32-bit i686 kernel.

I am trying to build a 64-bit kernel from that source with no luck.

make xconfig does not appear to offer x86_64 as an option for processor type. .config has the following lines:

# CONFIG_64BIT is not set
CONFIG_X86_32=y
# CONFIG_X86_64 is not set
CONFIG_X86=y

If I try to change them manually they get changed back when I run make.

How do I build a kernel for x86_64?

The processor is an AMD Athlon 4600+

TIA
Jim

Last edited by CollieJim; 02-03-2008 at 05:20 PM.
 
Old 02-03-2008, 09:25 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
First and foremost, you have the 32-bit version of Fedora 8 installed, building a 64-bit kernel will be useless. To start with you do not have the tools and components required to build or support a 64-bit kernel.

As a suggestion, please download and install the 64-bit OS first.
 
Old 02-04-2008, 12:39 AM   #3
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 582

Original Poster
Rep: Reputation: 28
Thanks. I'll do that.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Will compiling LFS on an 64 bit distro build an 64 bit LFS? Vampirite Linux From Scratch 4 08-31-2007 02:48 PM
Can I build 32-bit LFS on a 64-bit AMD system? dhave Linux From Scratch 4 07-23-2007 07:00 PM
Which is the kernel build directory? I Can't find kernel build files crabsody Debian 7 01-09-2007 04:48 AM
Build a 32 bit chroot? Tomex Fedora 1 11-14-2005 12:31 PM
VPN build error on 64 bit ronban Programming 2 09-09-2005 02:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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