All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wei Liu <wei.liu2@citrix.com>
To: Li Yechen <lccycc123@gmail.com>
Cc: Meng <xumengpanda@gmail.com>, Wei Liu <wei.liu2@citrix.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [help] How to install xen with my own kernel on grub2?
Date: Sat, 13 Jul 2013 18:20:37 +0100	[thread overview]
Message-ID: <20130713172037.GC30853@zion.uk.xensource.com> (raw)
In-Reply-To: <CAP5+zHSVs4s=hcHHU1ao_X5KoVB37d+grx7=hqtKBoMZex7nMQ@mail.gmail.com>

On Sun, Jul 14, 2013 at 01:11:12AM +0800, Li Yechen wrote:
> Yes! I have fixed this and thank you all the same.
> Now the problems come to xend start:
> 
> xc: error: Could not obtain handle on privileged command interface (2 = No
> such file or directory): Internal error
> Traceback (most recent call last):
>   File "/usr/sbin/xend", line 36, in <module>
>     from xen.xend.server import SrvDaemon
>   File "/usr/lib64/python2.7/site-packages/xen/xend/server/SrvDaemon.py",
> line 26, in <module>
>     import relocate
>   File "/usr/lib64/python2.7/site-packages/xen/xend/server/relocate.py",
> line 28, in <module>
>     from xen.xend import XendDomain
>   File "/usr/lib64/python2.7/site-packages/xen/xend/XendDomain.py", line
> 36, in <module>
>     from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo
>   File "/usr/lib64/python2.7/site-packages/xen/xend/XendCheckpoint.py",
> line 20, in <module>
>     from xen.xend import balloon, sxp, image
>   File "/usr/lib64/python2.7/site-packages/xen/xend/image.py", line 46, in
> <module>
>     xc = xen.lowlevel.xc.xc()
> xen.lowlevel.xc.Error: (1, 'Internal error', 'xc_interface_open failed: No
> such file or directory')
> 
> google says that /proc/xen should mount to xenfs, while I see no.
> I'm still searching the solution :(
> 

Make sure your kernel has all the necessary Xen drivers compiled in or
loaded.

> why so many errors come out in Fedora?
> By the way, what kind of OS do you suggest in Xen development?
> I give up CentOS because it's too hard to find a suitable package when
> trying to install software. And the gcc version is also too low.
> 
> 

Debian Wheezy works quite well for me. However you might need to compile
your own Dom0 kernel there seems to be a regression on its default 3.2
kernel. It might not boot on some hardware.


Wei.

> 
> On Sun, Jul 14, 2013 at 12:57 AM, Wei Liu <wei.liu2@citrix.com> wrote:
> 
> > On Sat, Jul 13, 2013 at 09:35:45PM +0800, Li Yechen wrote:
> > > Hi Meng,
> > >
> > > > Grub2 script checks the Xen options of each Linux kernel's
> > configuration
> > > > file under /boot. If no such config, it won't create the relative
> > entry.
> > > > You can have a look at the 20_linux_xen script under /etc/grub.d/ to
> > get
> > > > more details.
> > >
> > >
> > > Thank you very for your advice!  I does not find the config as you said.
> > > Anyway I write a menuentry manually and now it seems to work.
> > >
> > > but then when I try to start xend, an error come out as:
> > >
> > >   File "/usr/sbin/xend", line 36, in <module>
> > >     from xen.xend.server import SrvDaemon
> > >   File "/usr/lib64/python2.7/site-packages/xen/xend/server/SrvDaemon.py",
> > > line 20, in <module>
> > >     import xen.lowlevel.xc
> > > ImportError: libxenctrl.so.4.2: cannot open shared object file: No such
> > > file or directory
> > >
> > > I think my steps to install xen is right. Google says that it's something
> > > wrong with lib64.
> > >
> > > I never meet this error before in CentOS. Do you have any ideas?
> > >
> > >
> >
> > You probably need to edit /etc/ld.so.conf and  run 'ldconfig' to tell
> > the dynamic linker to pick up the newer installed libraries.
> >
> >
> > Wei.
> >
> > >
> > >
> > >
> > > On Sat, Jul 13, 2013 at 12:02 PM, Meng <xumengpanda@gmail.com> wrote:
> > >
> > > > Hi Yechen,
> > > >
> > > > Grub2 script checks the Xen options of each Linux kernel's
> > configuration
> > > > file under /boot. If no such config, it won't create the relative
> > entry.
> > > >
> > > > You can have a look at the 20_linux_xen script under /etc/grub.d/ to
> > get
> > > > more details.
> > > >
> > > > Best,
> > > >
> > > > Meng
> > > >
> > > > ---
> > > > Meng Xu
> > > > Phd Candidate in Computer and Information Science
> > > > University of Pennsylvania
> > >
> > >
> > >
> > >
> > > --
> > > Yechen Li
> > >
> > > Team of System Virtualization and Cloud Computing
> > > School of Electronic Engineering  and Computer Science,
> > > Peking University, China
> > >
> > > Nothing is impossible because impossible itself  says: " I'm possible "
> > > lccycc From PKU
> >
> > > _______________________________________________
> > > Xen-devel mailing list
> > > Xen-devel@lists.xen.org
> > > http://lists.xen.org/xen-devel
> >
> >
> 
> 
> -- 
> Yechen Li
> 
> Team of System Virtualization and Cloud Computing
> School of Electronic Engineering  and Computer Science,
> Peking University, China
> 
> Nothing is impossible because impossible itself  says: " I'm possible "
> lccycc From PKU

  reply	other threads:[~2013-07-13 17:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-13  3:12 [help] How to install xen with my own kernel on grub2? Li Yechen
2013-07-13  4:02 ` Meng
2013-07-13 13:35   ` Li Yechen
2013-07-13 16:57     ` Wei Liu
2013-07-13 17:11       ` Li Yechen
2013-07-13 17:20         ` Wei Liu [this message]
2013-07-13 17:39           ` Li Yechen
2013-07-13 18:00             ` Wei Liu
2013-07-15  7:31               ` Li Yechen
2013-07-15  7:44                 ` Wei Liu
2013-07-31 10:03                   ` Li Yechen
2013-08-06 10:43                     ` Dario Faggioli
2013-07-14  6:39     ` Meng Xu

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=20130713172037.GC30853@zion.uk.xensource.com \
    --to=wei.liu2@citrix.com \
    --cc=lccycc123@gmail.com \
    --cc=xen-devel@lists.xen.org \
    --cc=xumengpanda@gmail.com \
    /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.