Mohan Kumar M wrote:

>On Tue, Sep 19, 2006 at 12:03:33PM +0530, Mohan Kumar M wrote:
>  
>
>>When the boot loader/kernel is not configured to reserve memory for
>>crashkernel and the user tries to load the kdump kernel using kexec -p,
>>tools does not give a meaningful error message.
>>
>>The following patch checks for the "crashkernel=" parameter in the
>>/proc/cmdline and if "crashkernel=" is present then only calls the
>>corresponding kexec system call to load the kdump kernel image.
>>Otherwise it gives the error message and exits.
>>
>>Any comment, suggestion?
>>
>>    
>>
>
>There are some issues in this patch.
>
>I shall repost the patch tomorrow.
>
>Sorry for the inconvenience.
> 
>
>  
>
We are already looking for crashkernel segment before loading the kdump 
image - crashdump-<arch>.c. Ex: for ppc64, reading 
linux,crashkernel-size property and for i386/x86_64, from /proc/iomem.

Why do not we display the error message and exit from here?

Thanks
Haren

>>Regards,
>>Mohan
>>
>>    
>>
>_______________________________________________
>fastboot mailing list
>[email protected]
>https://lists.osdl.org/mailman/listinfo/fastboot
>  
>

_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot

Reply via email to