LinuxQuestions.org
Social Bookmarking all things Linux and Open Source
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools
Old 09-17-2009, 08:40 AM   #1
atulsdeshmukh
LQ Newbie
 
Registered: Sep 2009
Posts: 2
Thanked: 0
Unable to compile 64 bit kernel on 64 bit machine even after successful compilation.


[Log in to get rid of this advertisement]
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.
linuxfedora atulsdeshmukh is offline  
Tag This Post , , ,
Reply With Quote
Old 09-17-2009, 09:00 AM   #2
gael
Member
 
Registered: Aug 2008
Posts: 39
Thanked: 0
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.
macos gael is offline     Reply With Quote
Old 09-18-2009, 03:28 AM   #3
atulsdeshmukh
LQ Newbie
 
Registered: Sep 2009
Posts: 2
Thanked: 0

Original Poster
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..
windows_xp_2003 atulsdeshmukh is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 07:18 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration