All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86_64 purgatory Makefile typo fix.
@ 2008-03-14  9:17 Sachin P. Sant
  2008-03-14 16:56 ` Bernhard Walle
  2008-03-17  0:49 ` Simon Horman
  0 siblings, 2 replies; 6+ messages in thread
From: Sachin P. Sant @ 2008-03-14  9:17 UTC (permalink / raw)
  To: kexec; +Cc: Simon Horman

[-- Attachment #1: Type: text/plain, Size: 612 bytes --]

While trying to test latest kexec tools git code on a x86_64
box i ran into following issue. Kexec refused to load both
kexec and kdump kernels.

# ./build/sbin/kexec -l /boot/vmlinuz-2.6.25-rc5 --initrd=/boot/initrd-2.6.25-rc5 
Symbol: entry32_regs not found cannot get

#
# ./build/kexec -p /boot/vmlinux-kdump --initrd=/boot/initrd-kdump
 --append="...."
Symbol: entry64_regs not found cannot get

#

It turns out that entry64.S file under purgatory/arch/x86_64 was not
compiled. The original x86_64_PURGATORY_SRCS were being overwritten
in the Makefile.

Here is a patch to fix this issue. 

Thanks
-Sachin


[-- Attachment #2: kexec-tools-x86_64_purgatory_makefile_fix.patch --]
[-- Type: text/x-patch, Size: 821 bytes --]

* This patch fixes a typo in x86_64 purgatory makefile

Signed Off By : Sachin Sant (sachinp@in.ibm.com)
---


diff -Naurp old/purgatory/arch/x86_64/Makefile new/purgatory/arch/x86_64/Makefile
--- old/purgatory/arch/x86_64/Makefile	2008-03-07 11:18:10.000000000 +0530
+++ new/purgatory/arch/x86_64/Makefile	2008-03-14 14:24:50.000000000 +0530
@@ -14,7 +14,7 @@ dist += purgatory/arch/x86_64/Makefile $
 	purgatory/arch/x86_64/purgatory-x86_64.h
 
 # Done add sources in i386/ to dist, as i386/Makefile adds them
-x86_64_PURGATORY_SRCS =  purgatory/arch/i386/entry32-16.S
+x86_64_PURGATORY_SRCS +=  purgatory/arch/i386/entry32-16.S
 x86_64_PURGATORY_SRCS += purgatory/arch/i386/entry32-16-debug.S
 x86_64_PURGATORY_SRCS += purgatory/arch/i386/crashdump_backup.c
 x86_64_PURGATORY_SRCS += purgatory/arch/i386/console-x86.c

[-- Attachment #3: Type: text/plain, Size: 143 bytes --]

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-03-18  3:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-14  9:17 [PATCH] x86_64 purgatory Makefile typo fix Sachin P. Sant
2008-03-14 16:56 ` Bernhard Walle
2008-03-17  0:49 ` Simon Horman
2008-03-17  9:07   ` Bernhard Walle
2008-03-18  3:03     ` Simon Horman
2008-03-17  9:16   ` Sachin P. Sant

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.