<div>Thanks Maxim for detailed analysys.</div>
<div> </div>
<div>i could see how the </div>
<div>BOOT_MEM_RESERVED is used.</div>
<div>I think in my case since the kernel was cavium the tuned kernel. and in that when i gave 64Mb as start address for reserving memory it worked. </div>
<div> </div>
<div>Regards,</div>
<div>Vishnu<br><br></div>
<div class="gmail_quote">On Wed, Feb 24, 2010 at 1:27 AM, Maxim Uvarov <span dir="ltr"><<a href="mailto:muvarov@gmail.com">muvarov@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"> Vishnu Yadav,<br><br>If you don't see reserved memory region on mips in /proc/iomem than it<br>is definitely kernel issue. You can check:<br>
1. you have continuous memory segment, which is enough for booting new<br>kernel in low 512M. (In general you can reserve memory at any address<br>but kernel can be booted if it is in lower 512M),<br>2. you specified right crashkernel= option. And it points to real<br>
memory segment.<br>3. crashkernel was parsed right in the kernel.<br><br>dmesg |grep mem - will print existence memory segments in format<br>X(memory size) @(at) Y(memory address).<br>cat /proc/iomem - should show that memory is really reserved. If you<br>
don't see reserved segments then you have to debug how kernel reserves<br>area for crashkernel (BOOT_MEM_RESERVED).<br><br>Best regards,<br>Maxim Uvarov.<br><br>2010/2/22 Simon Horman <<a href="mailto:horms@verge.net.au">horms@verge.net.au</a>>:<br>
<div>
<div></div>
<div class="h5">> On Thu, Jan 28, 2010 at 06:36:07PM +0530, Vishnu Yadav wrote:<br>>> Hi<br>>> I am not able to reserve the memory in mips 64 plateform for "crash kernel"<br>>><br>>> in below function of arch/mips/kernel/setup.c file of kernel code<br>
>> reserve_bootmem(start, size , flags)<br>>> if i put flags= BOOTMEM_DEFAULT then this function succeeds but doesnt<br>>> reserve mem of crash kernel .. i verified it by seeing /proc/iomem<br>>><br>
>> but if i put flags= BOOTMEM_EXCLUSIVE .. this function itself fails and<br>>> again no memry is reseved.<br>>><br>>><br>>> Pls suggest me how to resevre mem regio for "crash kernel" in mips 64. NOTE-<br>
>> I have applied kernel as well as user spaces patches for running kexec on<br>>> mips64.<br>><br>> Does Maxim Uvarov's recent patch help you at all?<br>><br>> <a href="http://lists.infradead.org/pipermail/kexec/2010-February/003816.html" target="_blank">http://lists.infradead.org/pipermail/kexec/2010-February/003816.html</a><br>
><br><br><br><br></div></div>--<br>Best regards,<br><font color="#888888">Maxim Uvarov<br></font></blockquote></div><br><br clear="all"><br>-- <br>Best Regards,<br><br>Vishnu Yadav<br>