WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] pv 2.6.31 (kernel.org) and save/migrate

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Subject: Re: [Xen-devel] pv 2.6.31 (kernel.org) and save/migrate
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Sat, 7 Nov 2009 13:09:05 +0200
Cc: "Xen-Devel \(E-mail\)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 07 Nov 2009 03:09:25 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <f830fce3-442f-4bf9-a3ef-c9fde006cbe9@default>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20091106223046.GA1434@xxxxxxxxxxx> <f830fce3-442f-4bf9-a3ef-c9fde006cbe9@default>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Fri, Nov 06, 2009 at 04:08:26PM -0800, Dan Magenheimer wrote:
> > On Fri, Nov 06, 2009 at 02:27:27PM -0800, Dan Magenheimer wrote:
> > > > On Fri, Nov 06, 2009 at 10:37:49AM -0800, Dan Magenheimer wrote:
> > > > > Sorry for another possibly stupid question:
> > > > > 
> > > > > I've observed that for a pv domain that's been updated
> > > > > to a 2.6.31 kernel (straight from kernel.org), "xm save"
> > > > > never completes.  When the older kernel (2.6.18)
> > > > > is booted, "xm save" works fine.  Is this a known problem...
> > > > > or perhaps xm save has never worked with an upstream pv
> > > > > kernel and I've never noticed?
> > > > > 
> > > > > I'd assume migrate and live migrate would fail also but
> > > > > haven't tried them.
> > > > > 
> > > > 
> > > > Just checking.. are you running the latest 2.6.31.5 ? I think 
> > > > there has
> > > > been multiple xen related bugfixes in the 2.6.31.X releases.
> > > > 
> > > > -- Pasi
> > > 
> > > No it was plain 2.6.31.  But I downloaded/built 2.6.31.5 and
> > > can't even get it to boot (and no console or VNC output at
> > > all).  Are CONFIG changes required betwen 2.6.31 and 2.6.31.5
> > > for Xen?  (I checked and I am using the same .config.)
> > > 
> > > Trying to reproduce on a different machine, just to verify.
> > 
> > There shouldn't be any .config changes needed.
> > 
> > Can you paste the full domU console output? Does it crash or? 
> > 
> > -- Pasi
> 
> Well, first, I got 2.6.31.5 to boot in a PV guest in another
> 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=y... don't
> know if that is important.)
> 

I'll have to try it later today..

> (On the machine I couldn't boot 2.6.31.5 as a PV guest, there
> was absolutely no console output.  However, I think tools
> are out-of-date on that machine so ignore that.)

Did you have "console=hvc0 earlyprintk=xen" in the domU kernel
parameters?

You might also change the xen guest cfgfile so that you have
on_crash=preserve and then when the PV guest is crashed run this:

/usr/lib/xen/bin/xenctx -s System.map-domUkernelversion <domid>

(if you have 64b host the xenctx binary might be under /usr/lib64/)

to get a stack trace..

-- Pasi


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel