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 09-17-2009, 07:40 AM   #1
atulsdeshmukh
LQ Newbie
 
Registered: Sep 2009
Posts: 2

Rep: Reputation: 0
Unable to compile 64 bit kernel on 64 bit machine even after successful compilation.


I want to compile 64 bit 2.6.26 kernel on my 64 machine My distribution is Fedore 9.
I tried the commands
1: make ARCH=x86_64 menuconfig and all other remaing routine makes to compile the kernel.
But after successful compilation when i looked into /lib/modules/2.6.26.2/build/.config
It shows x86_64=n and x86_32=y entries in .config file.
I also checked it by command
file /proc/kcore
but the output is
/proc/kcore: ELF 32-bit LSB core file Intel 80386, version 1 (SYSV), SVR4-style, from 'ro root=/dev/VolGroup00/LogVol00 rhgb quie'
Still shows 32 bit kernel..
on my 64 bit machine 32 bit 2.6.26.2 kernel is installed .
Now i want to test my code on 64 bit 2.6.26.2
Can anyone suggest me detailed steps to compile 64 bit kernel.
It would be great help for me.
 
Old 09-17-2009, 08:00 AM   #2
gael
Member
 
Registered: Aug 2008
Posts: 41

Rep: Reputation: 15
Did you save your configuration file when exciting make menuconfig?

Did you have a look at .config in your source folder before running make all, make modules_install, make install?

G.
 
Old 09-18-2009, 02:28 AM   #3
atulsdeshmukh
LQ Newbie
 
Registered: Sep 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by gael View Post
Did you save your configuration file when exciting make menuconfig?

Did you have a look at .config in your source folder before running make all, make modules_install, make install?

G.
Hi gael,
No,I dint save my .config.But how does it make any diff if i dont want 32 bit kernel on my machine..I looked at it befoore...It were showing
x86_64 = y after make ARCH=x86_64 menuconfig
So i thought i wouldnt get any prob and went further by make all,make modules,make modules_install,make install.
But finally,there were same x86_32 = y in my /lib/modules/2.6.26.2/build/.config file
and same 32 bit stuff by executing command file /proc/kcore ...
I think there must be something extra need to be done..
Surprisingly I was asked some other configuration options when i executed make commnad even after i was done with make ARCH=x86_64 menuconfig..
 
  


Reply

Tags
bit, compilations, 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
Compile 32-bit kernel on a 64-bit machine kushalkoolwal Debian 6 06-15-2009 05:48 PM
32-bit apps using pango on a 64-bit machine alanhr Linux - Software 5 10-31-2008 04:19 AM
how do I install 32-bit compiler libraries onto a 64-bit machine? charleycat Linux - Software 1 08-16-2007 01:45 PM
Installing 32 bit SUSE 10 in 64 bit machine me4linux Linux - General 2 01-22-2007 01:55 AM
32 bit kernel on 64 bit AMD machine dipsae Linux - Software 5 10-01-2004 10:03 AM


All times are GMT -5. The time now is 12:10 PM.

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