Re: Re: [PATCH 1/1 v1] the recommended crash memory reservation istoo small for x86_64.

From: åæä
Date: Mon Mar 25 2013 - 07:58:45 EST


Thanks for reviewing
Is it sounds good to add following line into section "Boot into System Kernel":

The memory reserved for crash kernel should be no less than the unpacked init ram disk size
that loaded with dump-capture kernel plus wired memory used by kernel itself.

#################
After all, I have been trapped into "hang after capture" problem when sticking strictly to this document.
Cheers
Zhouyi

>Â
>ÂOnÂ03/25/2013Â06:56ÂPM,Âzhouzhouyi@xxxxxxxxxÂwrote:
>Â>ÂFrom:ÂrootÂ<root@zzy-Lenovo.(none)>
>Â>Â
>Â>Â
>Â>ÂÂOnÂDocumentation/kdump/kdump.txt,ÂsectionÂBootÂintoÂÂSystemÂKernel:ÂOnÂx86ÂandÂx86_64,Âuse
>Â>ÂÂ"crashkernel=64M@16M",ÂbutÂsomeÂOSesÂlikeÂubuntuÂ12.10ÂuseÂramÂfsÂlargerÂthanÂ64M,ÂsoÂinÂtheseÂcasesÂthe
>Â>ÂÂmemoryÂreservedÂforÂcrashkernelÂshouldÂbeÂatÂleastÂ128M.
>Â
>ÂPeopleÂuseÂdifferentÂinitramfsÂgeneratorsÂforÂdifferentÂpurpose.ÂThatÂmeans
>ÂtheÂsizeÂofÂinitramfsÂandÂalsoÂitsÂmemoryÂconsumingÂcanÂvaryÂveryÂmuchÂfrom
>ÂeachÂother.ÂYouÂjustÂcan'tÂlistÂallÂtheseÂgeneratorsÂandÂtheirÂrecommended
>ÂreservedÂmemoryÂhere.ÂThoughÂIÂhaveÂtoÂsayÂcrashkernel=128MÂisÂgoodÂchoice.
>Â
>ÂIÂthinkÂitÂwouldÂbeÂbetterÂtoÂleaveÂthisÂtoÂuserÂorÂdistributionÂitselfÂto
>ÂdetermineÂhowÂmuchÂmemoryÂshouldÂbeÂreservedÂforÂcrashÂkernel,ÂthenÂexport
>ÂthisÂvalueÂtoÂkernelÂinÂsomeÂways.
>Â
>ÂThanks,
>ÂWANGÂChao
>Â
>Â>Â
>Â>Â
>Â>ÂSigned-off-by:ÂZhouyiÂZhouÂ<yizhouzhou@xxxxxxxxx>
>Â>Â---
>Â>ÂÂDocumentation/kdump/kdump.txtÂ|ÂÂÂÂ4Â+++-
>Â>ÂÂ1ÂfileÂchanged,Â3Âinsertions(+),Â1Âdeletion(-)
>Â>Â
>Â>ÂdiffÂ--gitÂa/Documentation/kdump/kdump.txtÂb/Documentation/kdump/kdump.txt
>Â>ÂindexÂ13f1aa0..1e850e0Â100644
>Â>Â---Âa/Documentation/kdump/kdump.txt
>Â>Â+++Âb/Documentation/kdump/kdump.txt
>Â>Â@@Â-290,7Â+290,9Â@@ÂBootÂintoÂSystemÂKernel
>Â>ÂÂÂÂÂ"crashkernel=64M@16M"ÂtellsÂtheÂsystemÂkernelÂtoÂreserveÂ64ÂMBÂofÂmemory
>Â>ÂÂÂÂÂstartingÂatÂphysicalÂaddressÂ0x01000000Â(16MB)ÂforÂtheÂdump-captureÂkernel.
>Â>ÂÂ
>Â>Â-ÂÂÂOnÂx86ÂandÂx86_64,ÂuseÂ"crashkernel=64M@16M".
>Â>Â+ÂÂÂOnÂx86ÂandÂx86_64,ÂuseÂ"crashkernel=64M@16M"Â(someÂOSesÂuseÂinitÂramÂfsÂlarger
>Â>Â+thanÂ64M,ÂforÂexampleÂubuntu-12.10,ÂuseÂcrashkernel=128M@16MÂinstead,ÂorÂdump-capture
>Â>Â+kernelÂwillÂoutÂofÂmemory).
>Â>ÂÂ
>Â>ÂÂÂÂÂOnÂppc64,ÂuseÂ"crashkernel=128M@32M".
>Â>ÂÂ
>Â>Â
>Â




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/