On Thu, May 23, 2013 at 3:38 PM, Giridhara RP (grp) <grp@cisco.com> wrote:
I did not see any file (vmlinuz-<version>.x86_64) under /boot. I was only looking at bzImage found under <arch>/boot/ . Am I missing something?
Can you look at the 'running' kernel's config to see if it's indeed the one you compiled (provided you enabled support for it during building - see /proc/config.gz)? Eg something like 'CONFIG_X86_64=y' is set. Is the machine you're building on 64-bit or 32-bit? I hope you used a 64bit compiler for building your kernel. HTH, -mandeep
[root@grpRHEL2 linux-2.6.32.60]# pwd /root/lin_2/linux-2.6.32.60 [root@grpRHEL2 linux-2.6.32.60]# find . | grep -i vmlinuz [root@grpRHEL2 linux-2.6.32.60]# [root@grpRHEL2 linux-2.6.32.60]# [root@grpRHEL2 linux-2.6.32.60]# file vmlinux vmlinux: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped
[root@grpRHEL2 linux-2.6.32.60]# file vmlinux.o vmlinux.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
[root@grpRHEL2 linux-2.6.32.60]# file arch/x86/boot/bzImage arch/x86/boot/bzImage: Linux kernel x86 boot executable bzImage, version 2.6.32.60 (root@grpRHEL2) #1 SM, RO-rootFS, swap_dev 0x3, Normal VGA [root@grpRHEL2 linux-2.6.32.60]# file arch/x86_64/boot/bzImage arch/x86_64/boot/bzImage: symbolic link to `../../x86/boot/bzImage'
-----Original Message----- From: amit mehta [mailto:gmate.amit@gmail.com] Sent: Thursday, May 23, 2013 3:31 PM To: Giridhara RP (grp) Cc: kernelnewbies@kernelnewbies.org Subject: Re: Kernel 64bit
On Thu, May 23, 2013 at 2:45 PM, Giridhara RP (grp) <grp@cisco.com> wrote:
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
Generally, After building a new kernel, I issue 'update-grub' command on my ubuntu box to add proper entries for the newly built kernel in the grub configuration file, but I think 'make install' will take care of this as well. However, as you've confirmed that you've successfully booted from the newly built kernel, which is still being reported as a 32 bit kernel, therefore we can safely reject the case of incorrect and or missing grub entry.
Do you see compressed x86_64 bit kernel image(vmlinuz-<version>.x86_64) under /boot ? _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies