[Bug 883686] New: kexec tools do not load kdump kernel with XEN hypervisor
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.
https://bugzilla.novell.com/show_bug.cgi?id=883686 https://bugzilla.novell.com/show_bug.cgi?id=883686#c1 --- Comment #1 from Karsten Keil <kkeil@novell.com> 2014-06-23 05:32:51 UTC --- Testing with 2.0.5 kexec tools from factory compiled for 13.1 shows the same issue there, and here is also in the buildlog: [ 48s] checking xenctrl.h usability... yes [ 48s] checking xenctrl.h presence... yes [ 48s] checking for xenctrl.h... yes [ 48s] checking for xc_kexec_load in -lxenctrl... yes [ 48s] configure: Xen support disabled [ 48s] configure: creating ./config.status -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=883686 https://bugzilla.novell.com/show_bug.cgi?id=883686#c2 --- Comment #2 from Jeff Mahoney <jeffm@suse.com> 2014-08-08 18:38:20 EDT --- The 2.0.5 issue is different. That's expecting a newer version of xen-devel that offers that function. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=883686 https://bugzilla.novell.com/show_bug.cgi?id=883686#c3 Jeff Mahoney <jeffm@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |carnold@suse.com AssignedTo|kernel-maintainers@forge.pr |maintenance@opensuse.org |ovo.novell.com | --- Comment #3 from Jeff Mahoney <jeffm@suse.com> 2014-08-08 18:46:36 EDT --- Ok, so the problem is that xen-devel has been updated in 13.1 but since kexec-tools statically links against it, it needs to be updated too. I'm not sure how that gets handled. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=883686 https://bugzilla.novell.com/show_bug.cgi?id=883686#c4 Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #4 from Benjamin Brunner <bbrunner@suse.com> 2014-08-25 14:44:35 CEST --- I'm really sorry for the late reply. I wasn't in the office for the last 2 weeks. I prepared the rebuilt package in openSUSE:Maintenance:2970 and release it asap (today or tomorrow). -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=883686 https://bugzilla.novell.com/show_bug.cgi?id=883686#c5 Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #5 from Benjamin Brunner <bbrunner@suse.com> 2014-08-26 11:16:15 CEST --- I released the rebuilt package for openSUSE 13.1 now. Resolved fixed. Feel free to reopen the bug if something still doesn't work. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=883686 https://bugzilla.novell.com/show_bug.cgi?id=883686#c6 --- Comment #6 from Swamp Workflow Management <swamp@suse.de> 2014-08-26 10:04:51 UTC --- openSUSE-RU-2014:1061-1: An update that has one recommended fix can now be installed. Category: recommended (important) Bug References: 883686 CVE References: Sources used: openSUSE 13.1 (src): kexec-tools-2.0.3-5.4.1 -- 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.
participants (1)
-
bugzilla_noreply@novell.com