Fwd: Kexec support for PS3 (ppc64)

Pete/Piet Delaney pete at bluelane.com
Tue Mar 11 21:21:07 EDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Geoff Levand wrote:
| 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.

I was wondering about bringing in the printf() code from purgatory
and using that to print info about what's going on in the kexec code.
The standalone printf() might come in handy in other places; Ex: kgdb
stub. If it was in a library it could also be used during kernel
decompression to inform on problems occurring, like checksum errors.

- -piet


|> 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
|
|
| _______________________________________________
| kexec mailing list
| kexec at lists.infradead.org
| http://lists.infradead.org/mailman/listinfo/kexec
|

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH1zACJICwm/rv3hoRAtyQAJ9E+nFUBAtTpmRCYoXTCNXNeuRm7ACfXOUa
YX3Ipj6hDj9Cfwli6H/E1Gg=
=SMaU
-----END PGP SIGNATURE-----



More information about the kexec mailing list