From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from outbound.mse2.exchange.ms ([69.25.50.247] helo=mse2fe1.mse2.exchange.ms) by bombadil.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux)) id 1JZFea-0002Oh-J0 for kexec@lists.infradead.org; Wed, 12 Mar 2008 01:21:13 +0000 Message-ID: <47D73003.8060208@bluelane.com> Date: Tue, 11 Mar 2008 17:21:07 -0800 From: Pete/Piet Delaney MIME-Version: 1.0 Subject: Re: Fwd: Kexec support for PS3 (ppc64) References: <4574cb3d0803062155k7da6be9al30ee3f35d01f9f0@mail.gmail.com> <47D19114.1090700@am.sony.com> <4574cb3d0803110325u759a411ckbae3ff69557b0230@mail.gmail.com> <47D6B92D.2020205@am.sony.com> <47D6D406.8050209@am.sony.com> In-Reply-To: <47D6D406.8050209@am.sony.com> Reply-To: piet@bluelane.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Geoff Levand Cc: Rajasekaran P , kexec@lists.infradead.org -----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=3D"video=3Dps3fb:mode:166 rhgb root=3D/dev/ps3da3 |>> crashkernel=3D128M@32M" \ |>> --initrd=3D/boot/initrd-2.6.23.img \ |>> -l /boot/vmlinux-2.6.23 |>> |>> # taskset 1 kexec =96e |>> |>> 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=3D' option? |> |> As a note, the ps3 has 128MiB of boot memory, so I guess 128M@32M won't |> work. | | Just FYI, I tried this and the kernel booted: | | ./kexec -l -t elf-ppc64 --append=3D'crashkernel=3D64M@32M root=3D/dev/nfs= rw ip=3Ddhcp video=3Dwuxga' /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=3D64M@32M root=3D/dev/nfs rw ip=3Ddhcp video=3Dwuxga | | -Geoff | | | _______________________________________________ | kexec mailing list | kexec@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=3D =3DSMaU -----END PGP SIGNATURE----- _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec