<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=windows-1252"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Geoff Levand wrote:
<blockquote cite="mid:47D7349E.90409@am.sony.com" type="cite">
<pre wrap="">Pete/Piet Delaney wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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@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.
</pre>
</blockquote>
<pre wrap=""><!---->
When the first stage kernel goes down it releases all hypervisor
resources so that whatever boots next can successful open those
resources. The frame buffer is one of those resources that are
released, and after it is, there will be no more output to the
display until the second stage image brings up its display. It
is not a matter of adding print statements or string formatting.
</pre>
</blockquote>
<br>
Oh, I thought you experienced the same problem I had<br>
with printk() calls in some of the kexec functions making<br>
it no longer work. I was considering changing my KEXEC_DEBUG()<br>
macros to using printf() instead of printk() and importing <br>
the purgatory printf() code.<br>
<blockquote cite="mid:47D7349E.90409@am.sony.com" type="cite">
<pre wrap="">
-Geoff
</pre>
</blockquote>
<br>
</body>
</html>