[PATCH] [makedumpfile] Fix problem with `half' pages

Ken'ichi Ohmichi oomichi at mxs.nes.nec.co.jp
Wed May 23 08:38:56 EDT 2007


Hi Bernhard,

2007/05/18 12:50:04 +0200, Bernhard Walle <bwalle at suse.de> wrote:
>We have a system here with following memory map:
>
>/proc/iomem:
>4ffe14000-4ffe7ffff : reserved
>4ffe80000-4fffb5fff : System RAM
>4fffb6000-4ffffffff : reserved
>
>max_pfn = 1310720
>
>In that case, the last page of the "System RAM" is not full in 16K page size
>configuration. That leads to an error in makedumpfile when it checks if that's
>a zero page. It's because it tries to read the whole page and the read()
>fails because it's after the end of the dump file.
>
>That patch fixes this problem.

Thank you for the patch.
I guess there are the other problems because makedumpfile should not access
incomplete page.
To confirm the problem, I'd like to see the makedumpfile log with -D option.
Could you send it ?


Thanks
Ken'ichi Ohmichi



More information about the kexec mailing list