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/18.104.22.168/build/.config
It shows x86_64=n and x86_32=y entries in .config file.
I also checked it by command
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 22.214.171.124 kernel is installed .
Now i want to test my code on 64 bit 126.96.36.199
Can anyone suggest me detailed steps to compile 64 bit kernel.
It would be great help for me.
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?
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/188.8.131.52/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..
|All times are GMT -5. The time now is 07:46 PM.|