From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Test results for save/restore with upstream pv_ops domU kernels Date: Thu, 28 Jan 2010 23:25:59 +0200 Message-ID: <20100128212559.GF2861@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Jeremy Fitzhardinge , Ian Campbell List-Id: xen-devel@lists.xenproject.org Hello, I just tried some save/restore tests with Fedora 12 Linux 2.6.31.12 kernels. The exact Fedora kernel versions are: 2.6.31.12-174.2.3.fc12.i686.PAE and 2.6.31.12-174.2.3.fc12.x86_64. Dom0 for these tests was CentOS 5.4 (Xen 3.1.2). - F12 32bit 1vcpu PV guest: save+restore OK, BUG() in guest dmesg after restore [1] - F12 64bit 1vcpu PV guest: save+restore OK, BUG() in guest dmesg after restore [2] - F12 32bit 2vcpu PV guest: save doesn't work, guest stays as "migrating-f12test32" in "xm list" forever and has to be "xm destroy"ed. - F12 64bit 2vcpu PV guest: save doesn't work, guest stays as "migrating-f12test64" in "xm list" forever and has to be "xm destroy"ed. What's the best way to debug failing "xm save" ? There was no errors in "xm log", or in "xm dmesg". Also the guest "xm console" doesn't show anything before it dies. Is it possible some of the save/restore related patches didn't make it to 2.6.31.x stable kernels? BUG()s after "xm restore": [1] F12 32b 1vcpu: suspending xenstore... BUG: sleeping function called from invalid context at kernel/mutex.c:94 in_atomic(): 0, irqs_disabled(): 1, pid: 1136, name: kstop/0 Pid: 1136, comm: kstop/0 Tainted: G W 2.6.31.12-174.2.3.fc12.i686.PAE #1 Call Trace: [] __might_sleep+0xc6/0xcb [] mutex_lock+0x1d/0x3c [] dpm_resume_noirq+0x17/0xe1 [] xen_suspend+0xc4/0xcf [] stop_cpu+0x75/0xb4 [] worker_thread+0x13c/0x1bc [] ? stop_cpu+0x0/0xb4 [] ? autoremove_wake_function+0x0/0x34 [] ? worker_thread+0x0/0x1bc [] kthread+0x70/0x75 [] ? kthread+0x0/0x75 [] kernel_thread_helper+0x7/0x10 eth0: no IPv6 routers present [2] F12 64b 1vcpu: suspending xenstore... trying to map vcpu_info 0 at ffffc9000000b020, mfn 1d9997, offset 32 cpu 0 using vcpu_info at ffffc9000000b020 BUG: sleeping function called from invalid context at kernel/mutex.c:94 in_atomic(): 0, irqs_disabled(): 1, pid: 1112, name: kstop/0 Pid: 1112, comm: kstop/0 Tainted: G W 2.6.31.12-174.2.3.fc12.x86_64 #1 Call Trace: [] __might_sleep+0xe6/0xe8 [] mutex_lock+0x22/0x4e [] dpm_resume_noirq+0x21/0x11f [] xen_suspend+0xca/0xd1 [] stop_cpu+0x8c/0xd2 [] worker_thread+0x18a/0x224 [] ? autoremove_wake_function+0x0/0x39 [] ? _spin_unlock_irqrestore+0x19/0x1b [] ? worker_thread+0x0/0x224 [] kthread+0x91/0x99 [] child_rip+0xa/0x20 [] ? int_ret_from_sys_call+0x7/0x1b [] ? retint_restore_args+0x5/0x6 [] ? child_rip+0x0/0x20 -- Pasi