From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ranjith Krishnan Subject: Xenstore daemon is not running after boot; although can be started manually later. Any pointers why ? Date: Thu, 22 Mar 2012 20:01:21 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4237989834813884854==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --===============4237989834813884854== Content-Type: multipart/alternative; boundary=20cf307d00f81b217004bbde9044 --20cf307d00f81b217004bbde9044 Content-Type: text/plain; charset=ISO-8859-1 Hello, I build and installed Xen (4.1.3) from source, and I think I have got it working. Well, almost. I am using unmodified kernel of Fedora16 as my dom0 kernel. So this is what happened. I am able to boot into Xen, but the "xl info" failed with the standard error message mentioned in the tutorial. "libxl: error: libxl.c:56:libxl_ctx_init Is xenstore daemon running? failed to stat /var/run/xenstored.pid: No such file or directory cannot init xl context" I checked the xen common problems page, http://wiki.xensource.com/xenwiki/XenCommonProblems.html and did some troubleshooting. I was infact running Xen dom0, since I got this output. # ls /proc/xen/capabilities privcmd xenbus xsd_kva xsd_port# cat /proc/xen/capabilitiescontrol_d But my evtchn and gntdev were not loaded. Hence below command returned nothing. I ran commands "modprobe xen-evtchn" and "modprobe gntdev" to manually load those drivers. Then went to /etc/init.d to manually restart xencommons and got this. # ./xencommons restart" Stopping xenconsoled WARNING: Not stopping xenstored, as it cannot be restarted. Starting xenstored... Setting domain 0 name... Starting xenconsoled... Now "xl info" gave the right output. So do I need to do this everytime I boot ? Why does it not work right off the boot automatically ? Comments please ? Thanks, Ranjith --20cf307d00f81b217004bbde9044 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,

I build and installed Xen (4.1.3)=A0 from source, and I think= I have got it working. Well, almost.
I am using unmodified kernel of Fe= dora16 as my dom0 kernel.

So this is what happened.

I am abl= e to boot into Xen, but the=A0 "xl info" failed with the standard= error message mentioned in the tutorial.
"libxl: error: libxl.c:56:libxl_ctx_init Is xenstore daemon running?
failed to stat /var/run/xenstored.pid:
No such file or directory cannot init xl context"

I checked the xen common problems page, http://wiki.xensou= rce.com/xenwiki/XenCommonProblems.html and did some troubleshooting.
I was infact running Xen dom0, since I got this output.
# ls /=
proc/xen/
capabilities  privcmd  xenbus=
  xsd_kva  xsd_port

# cat /proc/xen/capabilities
control_d

But my= evtchn and gntdev were not loaded. Hence below command returned nothing. <= br>
I ran commands "modprobe xen-evtchn" and "modprobe gn= tdev" to manually load those drivers.
Then went to /etc/init.d to manually restart xencommons and got this.
#= ./xencommons restart"=A0
Stopping xenconsoled
WARNING: Not sto= pping xenstored, as it cannot be restarted.
Starting xenstored...
Set= ting domain 0 name...
Starting xenconsoled...

Now "xl info" gave the right outpu= t.

So do I need to do this everytime I boot ? Why does it not work = right off the boot automatically ?
Comments please ?


Thanks,=
Ranjith
--20cf307d00f81b217004bbde9044-- --===============4237989834813884854== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============4237989834813884854==--