Kernel 64bit
Giridhara RP (grp)
grp at cisco.com
Thu May 23 05:15:15 EDT 2013
Hi Amit
Looks like I copied wrong output in my previous email. Here is the output. Also, what should I do with 'grub'?
5. After boot 'uname -a' , shows this.
Linux 2.6.32-60 #1 SMP Mon Mar 25 16:20:30 IST 2013 i686 GNU/Linux
-----Original Message-----
From: amit mehta [mailto:gmate.amit at gmail.com]
Sent: Thursday, May 23, 2013 2:40 PM
To: Giridhara RP (grp)
Cc: kernelnewbies at kernelnewbies.org
Subject: Re: Kernel 64bit
On Thu, May 23, 2013 at 10:16 AM, Giridhara RP (grp) <grp at cisco.com> wrote:
> 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
Are you sure, you are booting from the newly built 64 bit kernel, because 'uname' is still reporting the older kernel (2.6.29.6 instead of 2.6.32.60). You might have missed updating grub after building the new kernel (version: 2.6.32.60)
-Amit
More information about the Kernelnewbies
mailing list