Fwd: Kexec support for PS3 (ppc64)

Geoff Levand geoffrey.levand at am.sony.com
Tue Mar 11 14:48:38 EDT 2008


Geoff Levand wrote:
> Rajasekaran P wrote:
>> Hi Geoff,
>> Thanks for your information.
>> 
>> I used latest kexec tools with 2.6.23 kernel built with ps3_defconfig.
>> This kernel boots normally on PS3. But when I  add "crashkernel"
>> argument, it goes on hang.
>> 
>> # kexec --command-line="video=ps3fb:mode:166 rhgb root=/dev/ps3da3
>> crashkernel=128M at 32M" \
>> --initrd=/boot/initrd-2.6.23.img \
>> -l /boot/vmlinux-2.6.23
>> 
>> # taskset 1 kexec –e
>> 
>> Nothing happens after this. As you said earlier in your mail, I am not
>> getting any PRINTK outputs from kernel on screen.
> 
> As I said, this usage is currently unsupported.  Could you tell me what you
> want to do?  I mean, why do you want to use this 'crashkernel=' option?
> 
> As a note, the ps3 has 128MiB of boot memory, so I guess 128M at 32M won't
> work.

Just FYI, I tried this and the kernel booted:

./kexec -l -t elf-ppc64 --append='crashkernel=64M at 32M root=/dev/nfs rw ip=dhcp video=wuxga' /boot/vmlinux.strip

I saw this output:

kexec: waiting for cpu 1 (physical 1) to go down
Reserving 64MB of memory at 32MB for crashkernel (System RAM: 128MB)
...
Kernel command line: crashkernel=64M at 32M root=/dev/nfs rw ip=dhcp video=wuxga

-Geoff




More information about the kexec mailing list