Kernel 64bit

Giridhara RP (grp) grp at cisco.com
Thu May 23 00:46:47 EDT 2013


Hi,

I am trying to build 64bit kernel (linux kernel 2.6.32-60). But, once I boot the image (ISO), uname -a still shows as i686. It does not show as 'X86_64'.  My vmlinuz and vmlinuz.o shows 64bit. Any pointers much appreciated. I have followed below steps. 

1. make X86_64_defconfig
2. make V=1 (comiler shows that -m64 is getting used).
3. [root at grpRHEL2 linux-2.6.32.60]# file vmlinux vmlinux.o 
vmlinux:   ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped
vmlinux.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
4.  bzImage does not say x86_64 boot.
 root at grpRHEL2 boot]# pwd
/root/lin_2/linux-2.6.32.60/arch/x86_64/boot
[root at grpRHEL2 boot]# file bzImage 
bzImage: symbolic link to `../../x86/boot/bzImage'
[root at grpRHEL2 boot]# file ../../x86/boot/bzImage 
../../x86/boot/bzImage: Linux kernel x86 boot executable bzImage, version 2.6.32.60 (root at grpRHEL2) #1 SM, RO-rootFS, swap_dev 0x3, Normal VGA

5. After boot 'uname -a' , shows this.
Linux 2.6.29.6 #1 SMP Mon Mar 25 16:20:30 IST 2013 i686 GNU/Linux



More information about the Kernelnewbies mailing list