diff -up kexec-tools-testing-20070330/makedumpfile/makedumpfile.c.orig1 kexec-tools-testing-20070330/makedumpfile/makedumpfile.c --- kexec-tools-testing-20070330/makedumpfile/makedumpfile.c.orig1 2009-06-12 09:31:15.000000000 -0400 +++ kexec-tools-testing-20070330/makedumpfile/makedumpfile.c 2009-06-12 09:31:33.000000000 -0400 @@ -3274,6 +3274,9 @@ initial() unlink(info->name_vmcoreinfo); } + if (!get_machdep_info()) + return FALSE; + if (info->dump_level <= DL_EXCLUDE_ZERO) { if (!get_mem_map_without_mm()) return FALSE; @@ -3281,9 +3284,6 @@ initial() return TRUE; } - if (!get_machdep_info()) - return FALSE; - if (!get_utsname(&info->system_utsname)) return FALSE;