[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Xen-users Digest, Vol 95, Issue 8

Thank you Greg. I found out that the problem is that “yum install kernel-xen” silently install another version of xen and modified the grub file, so it is not compatible with the xen tools I installed.


It seems that for xen3.4 on centos 5, gntdev is not necessary.


Thank you again.



发件人: Greg Valcourt [mailto:greg.valcourt@xxxxxxxxx]
发送时间: 201316 19:42
收件人: xen-users@xxxxxxxxxxxxx; sdiris@xxxxxxxxx
主题: Re: Xen-users Digest, Vol 95, Issue 8


I'm just a newb at xen, but here's what I can tell you from my own experience getting xend going:

The appropriate features for evtchn and gntdev must be turned on in the kernel. Check

/boot/config-`uname -r` to see if CONFIG_XEN_GNTDEV=y and 
CONFIG_XEN_DEV_EVTCHN=m (maybe y is okay? I'm not sure). Just do it
to verify that the precompiled kernel has the options you need. If not, you'll need

to find one that does.


On Sun, Jan 6, 2013 at 6:00 AM, <xen-users-request@xxxxxxxxxxxxx> wrote:

Message: 2
Date: Sat, 5 Jan 2013 18:22:16 -0000
From: "Yiming Zhang" <sdiris@xxxxxxxxx>
To: <xen-users@xxxxxxxxxxxxx>
Subject: [Xen-users] xenstored and xend cannot start (no gntdev found)
Message-ID: <001d01cdeb71$97e40f70$c7ac2e50$@gmail.com>
Content-Type: text/plain;       charset="us-ascii"

Dear all, I want to build xen 3.4.4 on cent0s5.8 (kernel 2.6.18) and I did
the following:

# yum install kernel-xen
# make xen tools stubdom
# make install-xen install-tools install-stubdom

After reboot, I successfully get into the new dom0 kernel. However, it seems
"xm list" cannot work and xend failed to start.

# xend start
xend-debug.log says "sysctl operation failed - need to rebuild the
user-space tool set?"
# xenstored
I get "FATAL: Failed to initialize dom0 state: Invalid argument"

I googled the problem. Wiki says two device nodes, evtchn and gntdev ,should
exist. But I can find only "evtchn" either by "ls /proc/xen/" or by "cat
/proc/misc". So I guess it is because of the lack of gntdev? But I don't
know how to add it. (I installed the precompiled kernel so I don't want to
recompile it. It must be another nightmare...)

Can someone give me some advice? Thanks!

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.