[PATCH 1/2] Fix kexec on powerpc32

Maxim Uvarov muvarov at gmail.com
Wed May 12 22:12:12 EST 2010


2010/5/12 Christian Kujau <lists at nerdbynature.de>

> On Tue, 11 May 2010 at 21:47, Maxim Uvarov wrote:
> > This patch is required in case if you are using new toolchains.
>
> After kexec-tools compiled, I actually tried it:
>
> # kexec -l /boot/2.6/zImage --command-line="root=/dev/hda6 ro"
> # echo $?
> 0
> # kexec -e
> Starting new kernel
> Bye!
>
> ....but then the system just hung there, no more messages, I had to
> powercycle it.
>
> The --debug options is listed for "dol-ppc" systems (I have a PowerBook
> G4, not sure if this falls into this category), when I use it the help
> screen of kexec is displayed again and at the bottom:
>
>   Cannot load /boot/2.6/zImage
>
>
> This is with 2.6.34-rc7 (today's git):
>
> # file /boot/2.6/zImage
> /boot/2.6/zImage: ELF 32-bit MSB executable, PowerPC or cisco 4500,
> version 1 (SYSV), statically linked, with unknown capability 0x41000000
> = 0x11676e75, with unknown capability 0x10000 = 0x90402, not stripped
>
>
> .config and dmesg: http://nerdbynature.de/bits/2.6.34-rc7/kexec/
>
> Christian.
> --
> make bzImage, not war
>


Can you try vmlinux? I tested only with vmlinux.

-- 
Best regards,
Maxim Uvarov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20100512/146cb993/attachment.htm>


More information about the Linuxppc-dev mailing list