Hi, I just compiled xen-4.1.3 and Dom0 kernel 2.6.32. After booting, I executed `xl list`, but I hit this problem: libxl: error: libxl.c:56:libxl_ctx_init Is xenstore daemon running? failed to stat /var/run/xenstored.pid: No such file or directory cannot init xl context By checking the trubleshooting page on wiki, http://wiki.xensource.com/xenwiki/XenCommonProblems#head-26434581604cc8357d9762aaaf040e8d87b37752 , I get that there is no xen-evtchn and xen-gntdev, and there is no xencommons in /etc/init.d. # modprobe xen-evtchn FATAL: Module xen_evtchn not found. # modprobe xen-gntdev FATAL: Module xen_gntdev not found. # ls /etc/init.d/xen* /etc/init.d/xen-watchdog Is that a known issue, or any suggetsions? Thanks! ------ Regards, Felix _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
On Thu, 2013-03-14 at 10:49 +0000, Felix Feng wrote:> I just compiled xen-4.1.3 and Dom0 kernel 2.6.32. After booting, I > executed `xl list`, but I hit this problem:This list is for the development of Xen, not user support. I have moved xen-devel to Bcc and added xen-users instead.> Is that a known issue, or any suggetsions?It seems like you have already got the information you need, in other words you need to make sure that the xen-evtchn and xen-gntdev modules are available with your kernel. Ian.
On Thu, 2013-03-14 at 10:49 +0000, Felix Feng wrote:> I just compiled xen-4.1.3 and Dom0 kernel 2.6.32. After booting, I > executed `xl list`, but I hit this problem:This list is for the development of Xen, not user support. I have moved xen-devel to Bcc and added xen-users instead.> Is that a known issue, or any suggetsions?It seems like you have already got the information you need, in other words you need to make sure that the xen-evtchn and xen-gntdev modules are available with your kernel. Ian.
On 14/03/13 11:58, Ian Campbell wrote:> On Thu, 2013-03-14 at 10:49 +0000, Felix Feng wrote: >> I just compiled xen-4.1.3 and Dom0 kernel 2.6.32. After booting, I >> executed `xl list`, but I hit this problem: > > This list is for the development of Xen, not user support. I have moved > xen-devel to Bcc and added xen-users instead. > >> Is that a known issue, or any suggetsions? > > It seems like you have already got the information you need, in other > words you need to make sure that the xen-evtchn and xen-gntdev modules > are available with your kernel.> # ls /etc/init.d/xen* > /etc/init.d/xen-watchdog > > Is that a known issue, or any suggetsions?Seems like your installation is incomplete. What steps did you perform to install Xen from source?
Hi Roger, I installed xen-hypervisor, xen-firmware, xen-tools, xen-devel packages for xen. Then I installed kernel-xen, kernel-xen-firmware, kernel-xen-devel, kernel-extra-devel, kernel-utility, kernel-utility-devel packages for Dom0 kernel. After rebooting, I hit the problem. I compiled xen and Dom0 kernel on CentOS 5.9 running in Virtual Box. Is there anything I missed? Thanks. ------ Regards, Felix On Thu, Mar 14, 2013 at 7:07 PM, Roger Pau Monné <roger.pau@citrix.com>wrote:> On 14/03/13 11:58, Ian Campbell wrote: > > On Thu, 2013-03-14 at 10:49 +0000, Felix Feng wrote: > >> I just compiled xen-4.1.3 and Dom0 kernel 2.6.32. After booting, I > >> executed `xl list`, but I hit this problem: > > > > This list is for the development of Xen, not user support. I have moved > > xen-devel to Bcc and added xen-users instead. > > > >> Is that a known issue, or any suggetsions? > > > > It seems like you have already got the information you need, in other > > words you need to make sure that the xen-evtchn and xen-gntdev modules > > are available with your kernel. > > > # ls /etc/init.d/xen* > > /etc/init.d/xen-watchdog > > > > Is that a known issue, or any suggetsions? > > Seems like your installation is incomplete. What steps did you perform > to install Xen from source? > >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On 14/03/13 12:35, Felix Feng wrote:> Hi Roger, > > I installed xen-hypervisor, xen-firmware, xen-tools, xen-devel packages > for xen. Then I installed kernel-xen, kernel-xen-firmware, > kernel-xen-devel, kernel-extra-devel, kernel-utility, > kernel-utility-devel packages for Dom0 kernel. After rebooting, I hit > the problem. I compiled xen and Dom0 kernel on CentOS 5.9 running in > Virtual Box. Is there anything I missed? Thanks.I don''t understand this, why did you install all the Xen packages if you ended up compiling it yourself? Did you mean that you compiled the Xen kernel from a different version and tried to use it with the tools from the packages your distro provides? Because that is certainly not going to work if they are from different versions. Anyway, I would recommend using the packages your distro provides, and you seem to be missing init scripts at least, so I would check which package provides those init scripts.
Hi Roger, On Thursday, March 14, 2013, Roger Pau Monné <roger.pau@citrix.com> wrote:> On 14/03/13 12:35, Felix Feng wrote: >> Hi Roger, >> >> I installed xen-hypervisor, xen-firmware, xen-tools, xen-devel packages >> for xen. Then I installed kernel-xen, kernel-xen-firmware, >> kernel-xen-devel, kernel-extra-devel, kernel-utility, >> kernel-utility-devel packages for Dom0 kernel. After rebooting, I hit >> the problem. I compiled xen and Dom0 kernel on CentOS 5.9 running in >> Virtual Box. Is there anything I missed? Thanks. > > I don''t understand this, why did you install all the Xen packages if you > ended up compiling it yourself?Sorry for my confusing words. I mean I built these packages by using *.src.rpm, then I installed them. I''m not sure whether or not it is recommended.> > Did you mean that you compiled the Xen kernel from a different version > and tried to use it with the tools from the packages your distro > provides? Because that is certainly not going to work if they are from > different versions. > > Anyway, I would recommend using the packages your distro provides, and > you seem to be missing init scripts at least, so I would check which > package provides those init scripts. > >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On 14/03/13 16:08, Felix Feng wrote:> Hi Roger, > > On Thursday, March 14, 2013, Roger Pau Monné <roger.pau@citrix.com > <mailto:roger.pau@citrix.com>> wrote: >> On 14/03/13 12:35, Felix Feng wrote: >>> Hi Roger, >>> >>> I installed xen-hypervisor, xen-firmware, xen-tools, xen-devel packages >>> for xen. Then I installed kernel-xen, kernel-xen-firmware, >>> kernel-xen-devel, kernel-extra-devel, kernel-utility, >>> kernel-utility-devel packages for Dom0 kernel. After rebooting, I hit >>> the problem. I compiled xen and Dom0 kernel on CentOS 5.9 running in >>> Virtual Box. Is there anything I missed? Thanks. >> >> I don''t understand this, why did you install all the Xen packages if you >> ended up compiling it yourself? > Sorry for my confusing words. I mean I built these packages by using > *.src.rpm, then I installed them. I''m not sure whether or not it is > recommended.I don''t build packages myself, because AFAIK the result is exactly the same as the prebuild ones that your distro supplies (unless you applied some local patches). Either way, you have to check which package provides the init scripts, and install it.