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] Problem with starting guest (para_virt dom0)

To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] Problem with starting guest (para_virt dom0)
From: Adam Wendt <thelsdj@xxxxxxxxx>
Date: Fri, 16 Jan 2009 13:40:08 -0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 16 Jan 2009 13:40:45 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=VdXhrL3o6WxjMpqXztE85bpW20Ec9xvaIss9XbfFUvk=; b=tbDiQFVG9tGKYIlCwcjno4uPf/akNzYms2YORl72Pcrl0vJaRjCLIJla6C2f7cB7G1 Mi2vmQUhn65YLuMwpWMjXTONfEXTCRMNYAFSvX1z5ssbe7Pcyynk+mJONqReK4H8s0O3 jWP6mDC507jdSLDds0/Q0ZIaI9Ef+N8bh8eEQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=iGW+PnMH5+d/J7pTymM6gqWIqhZDPMJXrAjkgDg5qykYfoYZe2+Uw0kvbMo0mQDbBP YVBwNNOzVozRH4A9LFltLcvCPw6Ewf1FOV3YsJrEaf0YE49NSRl9zrfbvJJWLnn95alu SQamCnYBEBxAx1c9WEM9Nk0LBbwEJM70WVHRY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1232006689.23860.14.camel@xxxxxxxxxxxxxxxxxxxxx>
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: <7385ecaf0901142356l5fc58aabx4f525d5a453287d7@xxxxxxxxxxxxxx> <1232006689.23860.14.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Jan 15, 2009 at 12:04 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
On Wed, 2009-01-14 at 23:56 -0800, Adam Wendt wrote:
> Hi,
>
> I've managed to get a para_virt dom0 running on my x86_64 system but
> having problems starting a guest.  First problem was that xenstore
> client programs weren't able to communicate over xenbus (xs_write_all
> hitting its return false branch) still not sure why this is happening.
> I was able to at least get xenstore working by hacking the client to
> use the normal socket by default.

Perhaps you need to enable xenfs in your kernel build and mount it
on /proc/xen in order to gain access to /proc/xen/xsd*?

Not sure if you actually meant /proc/xen/xsd or that was just a mistype, but xs_lib.c tries to use /proc/xen/xenbus which _does_ exist in /proc/xen/ but like I said above the xs_write_all hits the return false branch so something wrong with the filehandle or who knows what, for now I was able to get rudimentary xenstore functionality working defaulting to the socket interface, but when I try to start a guest I get a bunch of:

xenstore-write: could not write path backend/vbd/1/770/hotplug-error
xenstore-write: could not write path backend/vbd/1/771/hotplug-error
xenstore-write: could not write path backend/vbd/1/770/hotplug-error

In the hotplug log and then guest creation errors out about failed hotplug. So still unable to start a guest.


> But now I'm getting:
> Error: [Errno 2] No such file or directory: '/proc/xen/balloon'
>
> Google only turned up reports that this is related to trying to give
> the guest too much memory, but xm info shows I have over 3.5G free and
> only trying to give 128M to the guest. Any other ideas what might be
> causing this?

pvops only supports balloon via a sysfs interface not proc. There is a
patch in xen-unstable.hg from Jeremy Fitzhardinge which fixes this but
you'll either need to use xen-unstable or backport it to whatever you
are using (it's pretty simple, IIRC).

Ok yea I switched back to xen-unstable for now, though not sure if unstable is causing my above xenstore-write error as I wasn't getting that on 3.3.1 (but was then getting the balloon error)

Adam

Ian.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>