From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: pv 2.6.31 (kernel.org) and save/migrate, domU BUG() Date: Sun, 8 Nov 2009 18:48:44 +0200 Message-ID: <20091108164844.GN1434@reaktio.net> References: <20091108141743.GK1434@reaktio.net> <89b6b191-7754-487a-9602-64defd49bbc4@default> <20091108154153.GM1434@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <20091108154153.GM1434@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dan Magenheimer Cc: Jeremy Fitzhardinge , "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org On Sun, Nov 08, 2009 at 05:41:53PM +0200, Pasi K=E4rkk=E4inen wrote: > On Sun, Nov 08, 2009 at 07:29:58AM -0800, Dan Magenheimer wrote: > > > > > > machine and it fails to save also. Are you able to save > > > > > > 2.6.31{,.5} successfully? On latest xen-unstable? > > > > > > (NOTE: Yes, I do have CONFIG_XEN_SAVE_RESTORE=3Dy... don't > > > > > > know if that is important.) > > >=20 > > > Ok. I just tried with a Fedora 12 (rawhide) PV guest. I was able to= =20 > > > "xm save" and "xm restore" it without problems.=20 > > >=20 > > > But I noticed there was a BUG printed on the guest console: > > > http://pasik.reaktio.net/xen/debug/dmesg-2.6.31.5-122.fc12.x86 > > > _64-saverestore.txt > > > BUG: sleeping function called from invalid context at=20 > > > kernel/mutex.c:94 > > > in_atomic(): 0, irqs_disabled(): 1, pid: 1052, name: kstop/0 > > > Pid: 1052, comm: kstop/0 Not tainted 2.6.31.5-122.fc12.x86_64 #1 > >=20 > > Ok, so it appears there is something problematic with > > saving an upstream kernel. It might be (partially) fixed > > in Fedora 12 or maybe there is some other environmental > > difference which makes save fail entirely on my system. > >=20 >=20 > Yeah, fedora kernel has some patches, but it should be pretty=20 > close to upstream kernel.. >=20 > btw was your guest UP or SMP? Mine was UP.. >=20 Ok.. saving SMP guest fails for me too: [2009-11-09 23:44:38 1353] DEBUG (XendCheckpoint:110) [xc_save]: /usr/lib= 64/xen/bin/xc_save 28 2 0 0 0 [2009-11-09 23:44:38 1353] INFO (XendCheckpoint:417) xc_save: failed to g= et the suspend evtchn port Jeremy: Ideas what's causing that? "xm save" for UP 2.6.31.5 guest works OK, but for SMP guest it fails with the error above. -- Pasi