LinuxQuestions.org
Review your favorite Linux distribution.
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 06-21-2006, 11:26 PM   #1
zbenjudah
Member
 
Registered: Mar 2006
Posts: 64

Rep: Reputation: 15
is it possible to make a 2.2x kernel 64 bit


I hve this bit of a problem you see I jusst got a ubuntu brezy cd says its 64 bit. seeing as they gave it
free and I only have 56k conection and no money to buy a distro right now I tried the next best thing so i had to do a remaster of ubuntu to get a simple console installation with the tool chain. made an image but just can not get it to boot it just does not
work anyway question number

1 how can u tell if a kernel is 64 bit or
32 bit or what ever
2 is it posible to recompile a kernel that is
32 bit to 64 bit like say a 2.2 or 2.4 kernel

Most of the newer kernels are very larg i need somthing much leaner have been to kernel org but have found nothing

anyway thanks in advance
 
Old 06-22-2006, 01:11 AM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
The new kernel isn't that big, just don't compile in stuff you don't need. I never used to use modules, all built-in as I thought it would be quicker and my kernels were generally around 1-1.1MB. That's not very big, on an embedded system you could get that much lower and even by using something like ulibc instead of glibc would reduce filesize.
 
Old 06-22-2006, 02:44 AM   #3
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
Why would you need a small kernel? The 2.4 isn't that much smaller than 2.6, for your own sake, drop the idea of using something pre-2.6 if you don't actually need it.
 
Old 06-22-2006, 04:26 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by zbenjudah
I hve this bit of a problem you see I jusst got a ubuntu brezy cd says its 64 bit. seeing as they gave it
free and I only have 56k conection and no money to buy a distro right now I tried the next best thing so i had to do a remaster of ubuntu to get a simple console installation with the tool chain. made an image but just can not get it to boot it just does not
work anyway question number

1 how can u tell if a kernel is 64 bit or
32 bit or what ever
2 is it posible to recompile a kernel that is
32 bit to 64 bit like say a 2.2 or 2.4 kernel

Most of the newer kernels are very larg i need somthing much leaner have been to kernel org but have found nothing

anyway thanks in advance
If the CPU in question is a recent Intel (or AMD) I'd say
yes, but. ...! :}

You can probably make a 64-bit 2.2 kernel, but it will not have
any support for your chipsets or your CPU.... so, what's the point?


Cheers,
Tink
 
Old 06-23-2006, 02:33 PM   #5
zbenjudah
Member
 
Registered: Mar 2006
Posts: 64

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by elluva
Why would you need a small kernel? The 2.4 isn't that much smaller than 2.6, for your own sake, drop the idea of using something pre-2.6 if you don't actually need it.
well I dont mind but I am haveing a lot of trouble cross compileing the kernel mabey its just i dont know how to program. but I have downloaded kernel source as much as 40 mb with my 56k takes a long time. just looking for a smaller way to go and also get 64 bit with a tool chain gcc ld gdb and the like

also Iam not crazy about the idea of haveing to download or buy another whole ditrobution just to get it I tried ubuntu
and was very disapionted so.............

Last edited by zbenjudah; 06-23-2006 at 02:41 PM.
 
Old 06-23-2006, 02:52 PM   #6
zbenjudah
Member
 
Registered: Mar 2006
Posts: 64

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by cs-cam
The new kernel isn't that big, just don't compile in stuff you don't need. I never used to use modules, all built-in as I thought it would be quicker and my kernels were generally around 1-1.1MB. That's not very big, on an embedded system you could get that much lower and even by using something like ulibc instead of glibc would reduce filesize.

where do I get ulibc i have tried uclibc and could not get it to compile cant remember what I used it for?
also where can i find that kind of kernel source tree and what version of gcc compiles it I have a very old tool chain that I use gcc 2.7.2 I can put my ubuntu on but the installation takes an hour and I just want a faster way
 
  


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
compiling 64 bit kernel in 32 bit linux MadnessASAP Linux - Hardware 6 05-04-2009 11:47 AM
does "make menuconfig" affect whether kernel is 32 or 64 bit? humbletech99 Linux - General 3 05-19-2006 05:27 PM
Can I make jack use 24 bit mode johnson_steve Linux - Software 2 09-02-2005 12:37 PM
32 bit kernel on 64 bit AMD machine dipsae Linux - Software 5 10-01-2004 10:03 AM
32-bit or 64-bit linux kernel ??? gsundeep Linux - General 2 04-24-2003 08:43 PM

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

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