[Bug 1515145] Re: xm migrate --live panics hypervisor
Backport 3b0bcb8 x86/mm/p2m: Move p2m code in HVMOP_[gs]et_mem_access into p2m.c needs f488040222f34df97deb2470f14cef7fb9599810 to fix the build on i386. f488040 Fix 32-bit build after p2m series 3b0bcb8 x86/mm/p2m: Move p2m code in HVMOP_[gs]et_mem_access into p2m.c ** Patch added: "Backport 3b0bcb8 + f488040" https://bugs.launchpad.net/ubuntu/+source/xen/+bug/1515145/+attachment/4619340/+files/xsa97-hap-4.1-prereq2.patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to xen in Ubuntu. https://bugs.launchpad.net/bugs/1515145 Title: xm migrate --live panics hypervisor To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xen/+bug/1515145/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1515145] Re: xm migrate --live panics hypervisor
The first patch does not work! The backport was quiet complicates as that patch is in the middle of 4) eca988d x86/mm: merge the shadow, hap and log-dirty locks into a single paging lock. 3) 5bf494a x86/mm: Make MM locks recursive. 2) 301493f x86/mm: dedup the various copies of the shadow lock functions 1) 3b0bcb8 x86/mm/p2m: Move p2m code in HVMOP_[gs]et_mem_access into p2m.c 2) and 4) are already in debian/patches/xsa97-hap-4.1-prereq.patch, so the patch also contains the parts from eca988d which where skipped as 5bf494a was not back-ported. This patch also requires a back-port of 3b0bcb890955e1c3e2fde10a026c5d85481e6fb8 (1) as compilation failes otherwise - I'll attach that next - as an alternative it could be enough to '#include "../mm-locks.h"' instead, but I didn't test that. ** Patch added: "Fixed patch v2" https://bugs.launchpad.net/ubuntu/+source/xen/+bug/1515145/+attachment/4619204/+files/0003-x86-mm-Make-MM-locks-recursive.patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to xen in Ubuntu. https://bugs.launchpad.net/bugs/1515145 Title: xm migrate --live panics hypervisor To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xen/+bug/1515145/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1515145] Re: xm migrate --live panics hypervisor
Backport 3b0bcb8 x86/mm/p2m: Move p2m code in HVMOP_[gs]et_mem_access into p2m.c ** Patch added: "Backport 3b0bcb8" https://bugs.launchpad.net/ubuntu/+source/xen/+bug/1515145/+attachment/4619207/+files/0002-x86-mm-p2m-Move-p2m-code-in-HVMOP_-gs-et_mem_access-.patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to xen in Ubuntu. https://bugs.launchpad.net/bugs/1515145 Title: xm migrate --live panics hypervisor To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xen/+bug/1515145/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1515145] Re: xm migrate --live panics hypervisor
The attachment "x86/mm: Make MM locks recursive." seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to xen in Ubuntu. https://bugs.launchpad.net/bugs/1515145 Title: xm migrate --live panics hypervisor To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xen/+bug/1515145/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1515145] Re: xm migrate --live panics hypervisor
debian/patches/xsa97-hap-4.1-prereq.patch is the combination of * commit 301493fb027648db6808b66d1ccf849f524b8422 x86/mm: dedup the various copies of the shadow lock functions * commit eca988de7381e5efe58792dc166611e4523d33b3 x86/mm: merge the shadow, hap and log-dirty locks into a single paging lock. but it's missing * commit 5bf494a7bf3674f32ebaab1b70b76e5f174812a3 x86/mm: Make MM locks recursive. which leads to a recursive locking call to crash the hypervisor. With the patch applied "xm migrate -c -l $dom $host" works again. ** Patch added: "x86/mm: Make MM locks recursive." https://bugs.launchpad.net/ubuntu/+source/xen/+bug/1515145/+attachment/4617139/+files/0001-x86-mm-Make-MM-locks-recursive.patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to xen in Ubuntu. https://bugs.launchpad.net/bugs/1515145 Title: xm migrate --live panics hypervisor To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xen/+bug/1515145/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1515145] Re: xm migrate --live panics hypervisor
Reverting the following patches makes the crash go away (4.1.6.1-0ubuntu0.12.04.8): * xsa97-hap-4.1-prereq.patch * xsa97-hap-4.2-prereq.patch * xsa97-hap-4.2.patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to xen in Ubuntu. https://bugs.launchpad.net/bugs/1515145 Title: xm migrate --live panics hypervisor To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xen/+bug/1515145/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1515145] Re: xm migrate --live panics hypervisor
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: xen (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to xen in Ubuntu. https://bugs.launchpad.net/bugs/1515145 Title: xm migrate --live panics hypervisor To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xen/+bug/1515145/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1515145] Re: xm migrate --live panics hypervisor
** Attachment added: "hypervisor-debian.txt" https://bugs.launchpad.net/ubuntu/+source/xen/+bug/1515145/+attachment/4516744/+files/hypervisor-debian.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to xen in Ubuntu. https://bugs.launchpad.net/bugs/1515145 Title: xm migrate --live panics hypervisor To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xen/+bug/1515145/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1515145] Re: xm migrate --live panics hypervisor
uname -srvm Linux 3.2.0-94-generic #134-Ubuntu SMP Fri Nov 6 18:16:45 UTC 2015 x86_64 Working hypervisor versions: (XEN) Xen version 4.1.6.1 (Ubuntu 4.1.6.1-0ubuntu0.12.04.5) (stefan.ba...@canonical.com) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) Wed Mar 11 15:00:28 UTC 2015 (XEN) Xen version 4.1.4 (Debian 4.1.4-3+deb7u9) (car...@debian.org) (gcc version 4.7.2 (Debian 4.7.2-5) ) Sat Oct 31 06:17:33 UTC 2015 Non working hypervisor version: (XEN) Xen version 4.1.6.1 (Ubuntu 4.1.6.1-0ubuntu0.12.04.6) (stefan.ba...@canonical.com) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) Wed Sep 2 18:06:32 UTC 2015 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to xen in Ubuntu. https://bugs.launchpad.net/bugs/1515145 Title: xm migrate --live panics hypervisor To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xen/+bug/1515145/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs