All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mohan Kumar M <mohan@in.ibm.com>
To: Rajasekaran P <rajasekaran83@gmail.com>
Cc: kexec@lists.infradead.org, Geoff Levand <geoffrey.levand@am.sony.com>
Subject: Re: Fwd: Kexec support for PS3 (ppc64)
Date: Fri, 14 Mar 2008 16:32:12 +0530	[thread overview]
Message-ID: <20080314110212.GA9643@in.ibm.com> (raw)
In-Reply-To: <4574cb3d0803140336g59236cf2w7e14405b2dc795a5@mail.gmail.com>

On Fri, Mar 14, 2008 at 03:36:58AM -0700, Rajasekaran P wrote:
> On Tue, Mar 11, 2008 at 11:48 AM, Geoff Levand <geoffrey.levand@am.sony.com>
> wrote:
> 
> Initially I made mistake by referring /proc/meminfo and thought the total
> RAM was > 200M iB (actually it shows around 211MiB in /proc/meminfo
> excluding swap space). But actual available memory is 128MiB only. Thats why
> reserving 128MiB on 32MiB failed and kernel was not booting up.
> 
> Now "crashkernel" argument works properly for 64MB@64MB and kernel reserves
> 64MB for crash dump capture kernel.

In PPC64, crashkernel base address is hard coded i.e it is always loaded
at 32MB, even though you have passed 64MB@64MB. Did you get any warning
message like crashkernel reserved at 32MB?

> 
> This memory is reserved for "dump capture kernel" which will be loaded later
> by using kexec. Please refer linux_src/Documentation/kdump/kdump.txt for
> more information.
> 
> I tried to load dump capture configured kernel and facing similar kind of
> problem. After successful loading, Dump capture kernel is NOT BOOTING UP
> upon kernel crash.

Do you get any message from the dump capture kernel? How do you trigger
the dump?

> I used the following command to load:
> 
> # kexec -t elf-ppc64 --append="video=ps3fb:mode:166 rhgb root=/dev/ps3da3
> single maxcpus=1 noirqdistrib" \
>  --initrd=/boot/initrd-2.6.23-kdump.img \
>  -p vmlinux.strip.kdump

	^^ Is this kernel compiled with CRASH_DUMP enabled? If yes, it
should build the kernel for 32MB.

> *
> Output:*
> *setup_memory_ranges memory_range[0] start:585001, end:8000000
> get memory ranges:1
> setup_memory_ranges memory_range[0] start:585001, end:8000000
> Modified cmdline:video=ps3fb:mode:166 rhgb root=/dev/ps3da3 single maxcpus=1
> noirqdistrib elfcorehdr=71068K savemaxmem=64M
> segment[0].mem:0x4000000 memsz:5599232

			^^ Says the vmlinux is loaded at 64MB
> segment[1].mem:0x4557000 memsz:65536
> segment[2].mem:0x4567000 memsz:4096
> segment[3].mem:0x4568000 memsz:36864
> segment[4].mem:0x4571000 memsz:3469312
> segment[5].mem:0x7fff000 memsz:4096
> *
> One more thing I confirmed was, this same dump capture kernel boots up
> properly when I load it on normal mode (kexec -l and then kexec -e). I am
> having no clue on this..

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

  reply	other threads:[~2008-03-14 11:02 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <C5065F118AFB3D478B052FC1E9810D9CA9041B@tec-mail.ttec.soc-soft.com>
2008-03-07  5:55 ` Fwd: Kexec support for PS3 (ppc64) Rajasekaran P
2008-03-07 19:01   ` Geoff Levand
2008-03-11 10:25     ` Rajasekaran P
2008-03-11 16:54       ` Geoff Levand
2008-03-11 18:48         ` Geoff Levand
2008-03-12  1:21           ` Pete/Piet Delaney
2008-03-12  1:40             ` Geoff Levand
2008-03-12  3:47               ` Piet Delaney
2008-03-12  5:25               ` Mohan Kumar M
2008-03-12  5:40                 ` Geoff Levand
2008-03-12  5:56                   ` Mohan Kumar M
2008-03-14 10:36           ` Rajasekaran P
2008-03-14 11:02             ` Mohan Kumar M [this message]
2008-03-14 11:18               ` Rajasekaran P
2008-03-14 11:22                 ` Mohan Kumar M
2008-03-16  6:19                   ` Rajasekaran P

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080314110212.GA9643@in.ibm.com \
    --to=mohan@in.ibm.com \
    --cc=geoffrey.levand@am.sony.com \
    --cc=kexec@lists.infradead.org \
    --cc=rajasekaran83@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.