LinuxQuestions.org
Help answer threads with 0 replies.
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 04-24-2006, 04:04 AM   #1
khaleel5000
Member
 
Registered: Oct 2005
Location: Pakistan
Distribution: Debian,Pclinuxos
Posts: 327

Rep: Reputation: 31
Question Compiling Linux kernel for x86_64


Hello I am a newbie and runnign pclinuxos on a mobo MERCURY P4VM800M7 and intel pr 506 2.66 ghz, 1mb cache , and 64-bit support my prime question is where do i get the kernel which is 64-bit and how can i compile it (2 optimise it )
i am willing to take risks but when i googled it i didnot find any clear answer as where would i get a 64-bit kernel and how do i compile it 2 optimizie it for my system , also can i do anything during kernel compiling or any thinng in general to speed up read and write in my fat partitions? i use fat partitions (windows extensively) so frequent data read - write is required
 
Old 04-24-2006, 05:36 AM   #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: 56
Building a 64-bit kernel starts by getting the source from someplace like kernel.org, the source is the same for all supported architectures.

http://kernel.org/

You might find the kernel-rebuild guide to be helpful in accomplishing the kernel building;

http://www.digitalhermit.com/linux/K...ild-HOWTO.html

By reading both the kernel-rebuild guide and the documentation found in the extacted kernel source you should be able to tune the kernel to your hardware. It may take a few tries to build a working kernel tuned for your system, but that's part of the learning process.

Start by installing a distro of your choice, most provide x86_84 installation media.

http://distrowatch.com/
 
Old 04-24-2006, 03:17 PM   #3
khaleel5000
Member
 
Registered: Oct 2005
Location: Pakistan
Distribution: Debian,Pclinuxos
Posts: 327

Original Poster
Rep: Reputation: 31
Thanks LENARD i lil jsut start downloading the KERNEL and start the process and since its going 2 need several tries , i would really admire ur close assistance ,
I LOVE PCLINUX-OS i think its the DISTRO FOR ME and i am currently using it with ease , unfortunately it yet doesnot support x86_64 architecture so does this mean installing a 64-bit kernel on this distro wont make a change/??
b) when i install a 64 bit kernel will it speed up my system disregarding the fact that it uses only 32 bit programmes?
c)what about the FAT32 thing? do i need a module or something ??
--many honest and deep thanks
 
Old 04-24-2006, 07:24 PM   #4
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: 56
Sorry cannot help much with PCLINUX-OS as I don't use it.... and after a quick review the website, it does not look like 64-bit support is not available or not supported yet. It would be a better idea to choose a different one, both Knoppix and Ubuntu would make good choices for you judging by the PCLINUXOS website.

Building a 64-bit and running 32-bit applications is possible, many (like me) run a 64-bit OS with 32-bit applications. The kernel when built (correctly) will support both 64 and 32-bit applications as long as you have the needed libs required. You will need the 64-bit libs (gcc and such) to build a 64-bit kernel. The 64-bit kernel will be a bit faster then the 32-bit, how much I cannot say.

Yes you have to build support for the FAT32 filesystem (and any other filesystems) in order to access the information.
 
Old 04-25-2006, 12:29 AM   #5
khaleel5000
Member
 
Registered: Oct 2005
Location: Pakistan
Distribution: Debian,Pclinuxos
Posts: 327

Original Poster
Rep: Reputation: 31
okiez so i have jsut downloaded the kernel from kernel.org (its 33kb! ) and the prepatch is like 5.3~6 mb [the file i doenloaded has the following link ]
http://www.kernel.org/pub/linux/kern...-2.6.16.11.bz2
! well would start the compilation , lets c what happens (by the way if i compile a 64-bit kernel it on pclinux os it would work then its no problem for me as which distro i should be using. Ubuntu and Knoppix both are not LOADED with programmes and i have dialup and not great deal of time 2 do the drills of downloading pakages+dependencies (even apt-get or yum) so i would stick 2 a loaded distro like pc-linux ..
thanks on my way to compilation....
 
  


Reply

Tags
kernel


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
Linux Kernel for x86_64 sanjay_ach Linux - Software 2 07-15-2007 03:28 PM
compiling kernel 2.6.16-1.2080_FC5-x86_64 fbarsoba Linux - Software 1 05-18-2006 10:01 PM
Compiling x86_64 kernel michaelsanford Linux - General 4 04-28-2005 10:59 AM
Problems compiling gift for x86_64 mmc Suse/Novell 0 01-13-2005 04:20 PM
Compiling Samba in Fedora x86_64 dwmorton Linux - Newbie 2 05-04-2004 10:13 PM


All times are GMT -5. The time now is 12:14 AM.

Main Menu
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