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 19:27:47 +0200 Message-ID: <20091108172747.GR1434@reaktio.net> References: <20091108154153.GM1434@reaktio.net> <693ea516-aa5b-4f82-ad48-1bd51cfa3480@default> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <693ea516-aa5b-4f82-ad48-1bd51cfa3480@default> 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 08:54:23AM -0800, Dan Magenheimer wrote: > > > 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. > > > > > > > Yeah, fedora kernel has some patches, but it should be pretty > > close to upstream kernel.. > > > > btw was your guest UP or SMP? Mine was UP.. > > Mine was SMP... switching to UP I can now save. BUT... > restore doesn't seem to quite work. The restore completes > but I get no response from the VNC console. When I > use a tty console, after restore, I am getting > an infinite dump of > > WARNING: at arch/x86/time.c:180 xen_sched_clock+0x2b > > (see attached). > > Did you try restore on Fedora 12? > Yeah. save+restore for UP F12 guest works for me (except I get that non-fatal BUG on the guest). SMP guest doesn't work.. save crashes it. > > > > > The results explain why I can get it to run on > > > > > one machine (an older laptop) and not run on another > > > > > machine (a Nehalem system)... looks like this is maybe > > > > > related to the cpuid-extended-topology-leaf bug that Jeremy > > > > > sent a fix for upstream recently. > > > > > > > > Did you try with that patch applied? > > > > > > No, the patch wasn't posted, just a pull request to Linus, > > > so I don't have the patch (and am not a git expert so > > > am not sure how to get it). > > > > > > http://lists.xensource.com/archives/html/xen-devel/2009-11/msg00182.html > > > > > > So I'll try it again when .6 or .7 is available. > > > > See here for changelog: > > http://git.kernel.org/?p=linux/kernel/git/jeremy/xen.git;a=shortlog;h=bugfix > > > > You can get the diffs/patches from there using the links.. > > Thanks. Yes, Jeremy's patch allows 2.6.31.5 (in a PV domain) > to completely boot on my Nehalem box. Ok. But I guess those doesn't help for the save+restore problem.. -- Pasi