[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [help] How to install xen with my own kernel on grub2?
On Sun, Jul 14, 2013 at 01:39:33AM +0800, Li Yechen wrote: > > > > Make sure your kernel has all the necessary Xen drivers compiled in or > > loaded > > > > in make menuconfig: > > Processor type and features ---> Paravirtualized guest support > [*] Xen guest support > [*] Enable Xen debug and tuning parameters in debugfs > > Device Drivers ---> Xen driver support > > These two is enough for kernel 3.9.4? > I think kernel version > 3 should auto support Xen. > Use '/' to search for "xen" you will get all the config options. Running as Xen guest != Running as Dom0 Wei. > > > On Sun, Jul 14, 2013 at 1:20 AM, Wei Liu <wei.liu2@xxxxxxxxxx> wrote: > > > 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@xxxxxxxxxx> 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@xxxxxxxxx> > > 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@xxxxxxxxxxxxx > > > > > 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 > > > > > > -- > 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@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |