From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Liu Subject: Re: [help] How to install xen with my own kernel on grub2? Date: Sat, 13 Jul 2013 18:20:37 +0100 Message-ID: <20130713172037.GC30853@zion.uk.xensource.com> References: <11CA63AF-3762-4C7E-AF41-D41C6B8B8F3F@gmail.com> <20130713165728.GA30853@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Li Yechen Cc: Meng , Wei Liu , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org 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 > from xen.xend.server import SrvDaemon > File "/usr/lib64/python2.7/site-packages/xen/xend/server/SrvDaemon.py", > line 26, in > import relocate > File "/usr/lib64/python2.7/site-packages/xen/xend/server/relocate.py", > line 28, in > from xen.xend import XendDomain > File "/usr/lib64/python2.7/site-packages/xen/xend/XendDomain.py", line > 36, in > from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo > File "/usr/lib64/python2.7/site-packages/xen/xend/XendCheckpoint.py", > line 20, in > from xen.xend import balloon, sxp, image > File "/usr/lib64/python2.7/site-packages/xen/xend/image.py", line 46, in > > 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 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 > > > from xen.xend.server import SrvDaemon > > > File "/usr/lib64/python2.7/site-packages/xen/xend/server/SrvDaemon.py", > > > line 20, in > > > 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 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