[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] failed to build xen from source code
- To: wenche_chang@xxxxxxxxxxxx
- From: chris <tknchris@xxxxxxxxx>
- Date: Sun, 30 May 2010 22:47:21 -0400
- Cc: Xen-devel@xxxxxxxxxxxxxxxxxxx
- Delivery-date: Sun, 30 May 2010 19:55:45 -0700
- 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=ImdDQkMB6AmiNehWg607DEH1I8j1RiMhyRqELk/KcIi3oaAiowaS0jf/SAa+4n5L2g JSLJh/voBy2QqiFtCjijFMrQiG7WVklW8/tNu/rZ8MS8OHvlI2iBtG7F3Sc/bj4r/M4L gDezEqy2Uto19+j3VjlmNkpaF3/DszDwPPhE4=
- List-id: Xen developer discussion <xen-devel.lists.xensource.com>
If it is <*> then it is compiled in and wont be in the list of loaded modules....
- chris
2010/5/30 <wenche_chang@xxxxxxxxxxxx>
Hi pasi
 After following the fstab entry on the XenParavirtOps wiki page,there are files in /proc/xen
I also check the dom0 config file, and there is "<*> Xen /dev/xen/evtchn device".
But in lsmod,there is not xen-evtchn.
I tried modprobe xen-evtchn,and it shows "FATAL : xen_evtchn not found"
do I forget something to do??
Â
thanks
Sent: 2010/5/28 [ææä] äå 06:27
On Fri, May 28, 2010 at 06:18:18PM +0800, wenche_chang@xxxxxxxxxxxx wrote: > Hi pasi > > You are right. > There is not any file in /proc/xen and I can't see xen-evtchn when I run lsmod.
> > But I don???t know how to fix these problems even I read the link in wiki. > Can you provide more detail reference? >
- Check your dom0 kernel .config file. Is the Xen event channel compiled in, or is it built as a module?
 If it's a module, then use "modprobe xen-evtchn" to load it.
- For mounting /proc/xen see the example fstab entry on the XenParavirtOps wiki page. Add the line to /etc/fstab and after that run "mount /proc/xen".
 Xen 3.4.3 and 4.0.0 should automatically mount /proc/xen though.
-- Pasi
> thanks a lot. > -----Original Message----- > From: Pasi KÃrkkÃinen [mailto:pasik@xxxxxx]
> Sent: Friday, May 28, 2010 5:48 PM > To: Wen Che Chang (RD-TW) > Cc: Xen-devel@xxxxxxxxxxxxxxxxxxx > Subject: Re: [Xen-devel] failed to build xen from source code
> > On Fri, May 28, 2010 at 05:35:09PM +0800, wenche_chang@xxxxxxxxxxxx wrote: > > Hi > > I have read "Xend does not start when using pv_ops dom0 kernel? "in this link and I don???t think it's my problem
> > > > I download SRPM of XEN 4.0.0 from http://pasik.reaktio.net/fedora/xen-4.0.0-0.7.fc12.src.rpm or http://fedorapeople.org/~myoung/dom0/src/xen-4.0.0-0.7.fc12.src.rpm
> > > > After installation it in Fedora 12 , xend works well, but it can't start if I install Xen from http://xenbits.xen.org/xen-4.0-testing.hg
> > > > I think the init scripts in Fedora rpm do more than the default scripts in upstream Xen. > > So: > ÂÂÂÂÂ - Do you have /proc/xen (xenfs) mounted? Do you have files in it? > ÂÂÂÂÂ - Do you have xen-evtchn driver loaded? Run lsmod if it's compiled as a module in your dom0 kernel.
>Â > Both of those need to be OK before xend starts. > > -- Pasi > > > -----Original Message----- > > From: Pasi KÃrkkÃinen [mailto:pasik@xxxxxx]
> > Sent: Friday, May 28, 2010 4:51 PM > > To: Wen Che Chang (RD-TW) > > Cc: jeremy@xxxxxxxx; Xen-devel@xxxxxxxxxxxxxxxxxxx
> > Subject: Re: [Xen-devel] failed to build xen from source code > > > > On Fri, May 28, 2010 at 03:33:54PM +0800, wenche_chang@xxxxxxxxxxxx wrote:
> > >ÂÂÂ Hi > > > > > >ÂÂÂ after install these two RPMs , I can build and install the xen 4.0.1 > > > > > >ÂÂÂ But there are some troubles about xend , the error message is shown as
> > >ÂÂÂ below > > > > > >ÂÂÂ [root@localhost ~]# xm list > > >ÂÂÂÂ Unable to connect to xend: No such file or directory. Is xend running? > > > > > >ÂÂÂ [root@localhost ~]# xend
> > >ÂÂÂ ERROR Internal error: Could not obtain handle on privileged command > > >ÂÂÂ interface (2 = No such file or directory) > > >ÂÂÂ Traceback (most recent call last): > > >ÂÂÂÂÂ File "/usr/sbin/xend", line 36, in <module>
> > >ÂÂÂÂÂÂÂ from xen.xend.server import SrvDaemon > > >ÂÂÂÂÂ File "/usr/lib64/python2.6/site-packages/xen/xend/server/SrvDaemon.py", > > >ÂÂÂ line 26, in <module> > > >ÂÂÂÂÂÂÂ import relocate
> > >ÂÂÂÂÂ File "/usr/lib64/python2.6/site-packages/xen/xend/server/relocate.py", > > >ÂÂÂ line 28, in <module> > > >ÂÂÂÂÂÂÂ from xen.xend import XendDomain > > >ÂÂÂÂÂ File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomain.py", line
> > >ÂÂÂ 36, in <module> > > >ÂÂÂÂÂÂÂ from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo > > >ÂÂÂÂÂ File "/usr/lib64/python2.6/site-packages/xen/xend/XendCheckpoint.py",
> > >ÂÂÂ line 20, in <module> > > >ÂÂÂÂÂÂÂ from xen.xend import balloon, sxp, image > > >ÂÂÂÂÂ File "/usr/lib64/python2.6/site-packages/xen/xend/image.py", line 46, in > > >ÂÂÂ <module>
> > >ÂÂÂÂÂÂÂ xc = xen.lowlevel.xc.xc() > > >ÂÂÂ xen.lowlevel.xc.Error: (1, 'Internal error', 'Could not obtain handle on > > >ÂÂÂ privileged command interface (2 = No such file or directory)')
> > > > > > > > >ÂÂÂ Any idea? > > > > > > > > > Try reading the troubleshooting tips at: > > http://wiki.xensource.com/xenwiki/XenParavirtOps
> > > > > > -- Pasi > > > > > > >ÂÂÂ -------------------------------------------------------------------------- > > > > > >ÂÂÂ From: Jeremy Fitzhardinge [mailto:jeremy@xxxxxxxx]
> > > Sent: 2010/5/28 [ÂPÅÃâ] âUâà 12:19 > > > To: Wen Che Chang (RD-TW) > > > Cc: Xen-devel@xxxxxxxxxxxxxxxxxxx
> > >ÂÂÂ Subject: Re: [Xen-devel] failed to build xen from source code > > > > > >ÂÂÂ On 05/27/2010 08:47 PM, wenche_chang@xxxxxxxxxxxx wrote:
> > >ÂÂÂ > Hi > > >ÂÂÂ > I tried to install Xen 4.0.1 from > > >ÂÂÂ > [1]http://*xen*bits.*xen*.org/*xen*-*4.0*-testing.hg
> > >ÂÂÂ > <[2]http://xenbits.xen.org/xen-4.0-testing.hg> > > >ÂÂÂ > I use the installation step in Xen wiki as shown below
> > >ÂÂÂ > yum groupinstall "Development Libraries" > > >ÂÂÂ > yum groupinstall "Development Tools" > > >ÂÂÂ > yum install transfig texi2html libaio-devel dev86 glibc-devel
> > >ÂÂÂ e2fsprogs-devel gitk mkinitrd iasl xz-devel bzip2-devel > > >ÂÂÂ > hg clone [3]http://xenbits.xen.org/xen-4.0-testing.hg
> > > > cd xen-4.0-testing.hg > > > > make xen > > > > make tools > > > > make stubdom > > > > I failed in "make tools" and it shows
> > >ÂÂÂ > /usr/bin/ld: cannot find -lpci > > >ÂÂÂ > > > > > > >ÂÂÂ I think you also need pciutils-libs and pciutils-devel. > > > > > >ÂÂÂ J > > >
> > > TREND MICRO EMAIL NOTICE > > > The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and we request that you notify us by reply mail or telephone and delete the original message from your mail system.
> > > > > > References > > > > > >ÂÂÂ Visible links > > >ÂÂÂ 1. http://*xen*bits.*xen*.org/*xen*-*4.0*-testing.hg
> > >ÂÂÂ 2. http://xenbits.xen.org/xen-4.0-testing.hg > > >ÂÂÂ 3. http://xenbits.xen.org/xen-4.0-testing.hg
> > > > > _______________________________________________ > > > Xen-devel mailing list > > > Xen-devel@xxxxxxxxxxxxxxxxxxx
> > > http://lists.xensource.com/xen-devel > > > > > > TREND MICRO EMAIL NOTICE > > The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and we request that you notify us by reply mail or telephone and delete the original message from your mail system.
> > TREND MICRO EMAIL NOTICE > The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and we request that you notify us by reply mail or telephone and delete the original message from your mail system.
TREND MICRO EMAIL NOTICE
The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and we request that you notify us by reply mail or telephone and delete the original message from your mail system.
|
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|