All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Joshua Tuttle <jtuttle@i-a-i.com>
Cc: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: Compiling Xen from source
Date: Mon, 10 Jun 2013 17:51:20 +0200	[thread overview]
Message-ID: <51B5F5F8.7010007@citrix.com> (raw)
In-Reply-To: <7a23763d5a9a4799bd6aa001306a3a28@BY2PR04MB189.namprd04.prod.outlook.com>

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.
> 
>  
> 
> “dpkg-divert –divert /etc/grub.d/08_linux_xen –rename
> /etc/grub.d/20_linux_xen”
> 
>  
> 
> 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 “xl info” command to ensure
> its running. However, when I try to run it after being compiled from
> source, I
> 
> Get this error:
> 
>  
> 
> “libxl: 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”
> 
>  
> 
> 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

  reply	other threads:[~2013-06-10 15:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-10 15:41 Compiling Xen from source Joshua Tuttle
2013-06-10 15:51 ` Roger Pau Monné [this message]
2013-06-10 16:11   ` jacek burghardt
  -- strict thread matches above, loose matches on Subject: below --
2020-09-15 20:16 David I
2020-09-15 22:00 ` Andrew Cooper
2020-09-15 22:34   ` Hans van Kranenburg
2020-09-16 13:22     ` David I
2020-09-16 13:51       ` David I
2020-09-16 16:12         ` Olaf Hering
2020-09-16 20:59           ` Hans van Kranenburg
2020-09-17 18:05             ` David I
2020-09-17 18:21               ` David I
2020-10-21 15:12             ` David I

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51B5F5F8.7010007@citrix.com \
    --to=roger.pau@citrix.com \
    --cc=jtuttle@i-a-i.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.