https://bugzilla.novell.com/show_bug.cgi?id=883686 https://bugzilla.novell.com/show_bug.cgi?id=883686#c0 Summary: kexec tools do not load kdump kernel with XEN hypervisor Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: kkeil@novell.com QAContact: qa-bugs@suse.de Found By: Third Party Developer/Partner Blocker: --- kexec does not load any kernel in dom0 under xen, regardless which size/offset was set on the commandline: kexec -p /boot/vmlinuz-3.11.10-11-desktop Could not find a free area of memory of 9d000 bytes... locate_hole failed Debbuging with gdb shows that the function get_memory_ranges_xen() always returns 0 immediately. Looking at the build logs of kexec-tools show, that that xc_get_machine_memory_map was not found during configure. [ 69s] checking xenctrl.h usability... yes [ 69s] checking xenctrl.h presence... yes [ 69s] checking for xenctrl.h... yes [ 69s] checking for xc_version in -lxenctrl... yes [ 69s] configure: Xen support disabled [ 69s] checking for xc_get_machine_memory_map... no The reason was that the kexec-tools-xen-static.patch does not longer work as expected. Disabling this patch makes kexec working again with xen setups, now xc_get_machine_memory_map is found again during configure. I do not know enough how to fix the patch to get the static linking back. Note: It is not enough to add the missing colon on the end of the second add line in the patch. --- a/configure.ac +++ b/configure.ac @@ -160,7 +160,8 @@ fi dnl find Xen control stack libraries if test "$with_xen" = yes ; then AC_CHECK_HEADER(xenctrl.h, - AC_CHECK_LIB(xenctrl, xc_version, , + AC_CHECK_LIB(xenctrl, xc_version, + [[LIBS="$LIBS -Wl,-Bstatic -lxenctrl -Wl,-Bdynamic"]] AC_MSG_NOTICE([Xen support disabled]))) if test "$ac_cv_lib_xenctrl_xc_version" = yes ; then AC_CHECK_FUNCS(xc_get_machine_memory_map) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.