From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?windows-1252?Q?Roger_Pau_Monn=E9?= Subject: Re: Compiling Xen from source Date: Mon, 10 Jun 2013 17:51:20 +0200 Message-ID: <51B5F5F8.7010007@citrix.com> References: <7a23763d5a9a4799bd6aa001306a3a28@BY2PR04MB189.namprd04.prod.outlook.com> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <7a23763d5a9a4799bd6aa001306a3a28@BY2PR04MB189.namprd04.prod.outlook.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Joshua Tuttle Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On 10/06/13 17:41, Joshua Tuttle wrote: > Hey, > = > = > = > I am new to both Xen and development in general and am running into some > issues when trying to compile and install from source. > = > I have already been able to get Xen installed and working using apt-get, > but since I want to be able to edit the source code, this will not > = > Be an option for install. I guess you removed the Xen packages that you installed with apt-get before installing from source, right? > = > = > = > The first thing I noticed that was quite a bit different from installing > from the package manager, was the difference in entries shown in grub. > = > When I installed Xen using apt-get, all I had was one entry for Xen in > grub, which I would use this command to have it be default. > = > = > = > =93dpkg-divert =96divert /etc/grub.d/08_linux_xen =96rename > /etc/grub.d/20_linux_xen=94 > = > = > = > Now when installing from source, there are several entries, where only a > couple of them will actually work. > > = > = > After Xen is installed, I typically run the =93xl info=94 command to ensu= re > its running. However, when I try to run it after being compiled from > source, I > = > Get this error: > = > = > = > =93libxl: error: libxl.c:87: libxl_ctx_alloc: Is Xenstore daemon running? > = > Failed to stat /var/run/xenstored.pid > = > No such file or directory > = > Cannot init xl content=94 > = > = > = > I checked and that directory does not exist, but was able to start Xen > manually by running xencommons in /etc/init.d > = > = > = > The problem with manually starting it though, is that it causes my > terminal to quit echoing my input. This is a Qemu problem that I think was solved in recent versions. "stty sane" used to resolve this issue. > = > = > What do I need to do to resolve this error, and get Xen to automatically > start? # update-rc.d xencommons defaults