[Cbe-oss-dev] kexec troubles on ps3

Kazunori Asayama asayama at sm.sony.co.jp
Tue Jul 8 16:43:36 EST 2008


Geoff Levand wrote:
> Michael Ellerman wrote:
>> On Mon, 2008-07-07 at 11:23 +0200, Stefan Assmann wrote:
>>> Hi all,
>>>
>>> I'm having trouble with kexecing a kernel on opensuse. Strangely kexec
>>> works from inside petitboot, but it fails to kexec another kernel from
>>> within opensuse.
>> Hi Stefan,
>>
>>> scenario:
>>> petitboot: kexec 2.6.25.5 (opensuse) works
>>> opensuse: kexec 2.6.25.5 (same kernel as from petitboot) fails
> 
> Does opensuse -> opensuse work?
> 
>>> kexec version in both cases is kexec-tools-testing 20080324
>> My guess is there's something loaded in the opensuse kernel that's not
>> kexec'ing nicely that isn't loaded by the petitboot kernel.
> 
> Yes, that is usually the case, either it hangs going down, or
> the HV resources don't get released so fails on startup.

I could reproduce the problem with both of following combinations:

   - Fedora 9's kexec-tools + Fedora 9's kernel
   - Fedora 9's kexec-tools + the latest ps3-linux.git + ps3_defconfig

Mac G5 w/ Fedora 9's kexec-tools works.

The same kexec-tools binary (i.e., Fedora 9's one) can boot the same 
kernel from kboot:

   kboot: chroot /mnt/root
   # mount /proc
   # mount /sys
   # kexec -l --initrd=/boot/initrd-2.6.25.9-76.fc9.ppc64.img \
         --append=root=/dev/ps3da1 /boot/vmlinuz-2.6.25.9-76.fc9.ppc64
   # kexec -e

-- 
(ASAYAMA Kazunori
   (asayama at sm.sony.co.jp))
t



More information about the cbe-oss-dev mailing list