* Fwd: Fail to start xend in xen/stable-2.6.32.x (57028f01dcd263bcee41e00ddcda167a082ae075)
@ 2010-06-11 5:31 Mingfan Lu
2010-06-12 0:45 ` Mingfan Lu
0 siblings, 1 reply; 2+ messages in thread
From: Mingfan Lu @ 2010-06-11 5:31 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 3589 bytes --]
Hi,
I want to use xenoprof in pv dom0. so i use the patch from Dulloor (in
branch origin/xen/oprofile ) to the xen/stable-2.6.32.x
(57028f01dcd263bcee41e00ddcda167a082ae075).
My xen (version: 4.0.0) which is compied from the source code.
All seems to work, I even could use oprofile to collect samples.
But the xend which could not start normally.
check the xend.log, I find taht
{{{
[2010-06-11 10:34:31 5887] INFO (SrvDaemon:332) Xend Daemon started
[2010-06-11 10:34:31 5887] INFO (SrvDaemon:336) Xend changeset: unavailable.
[2010-06-11 10:34:32 5887] ERROR (SrvDaemon:349) Exception starting xend
((111, 'Connection refused'))
Traceback (most recent call last):
File
"/usr/local/lib/python2.6/site-packages/xen/xend/server/SrvDaemon.py", line
341, in run
servers = SrvServer.create()
File
"/usr/local/lib/python2.6/site-packages/xen/xend/server/SrvServer.py", line
251, in create
root.putChild('xend', SrvRoot())
File "/usr/local/lib/python2.6/site-packages/xen/xend/server/SrvRoot.py",
line 40, in __init__
self.get(name)
File "/usr/local/lib/python2.6/site-packages/xen/web/SrvDir.py", line 84,
in get
val = val.getobj()
File "/usr/local/lib/python2.6/site-packages/xen/web/SrvDir.py", line 52,
in getobj
self.obj = klassobj()
File "/usr/local/lib/python2.6/site-packages/xen/xend/server/SrvNode.py",
line 30, in __init__
self.xn = XendNode.instance()
File "/usr/local/lib/python2.6/site-packages/xen/xend/XendNode.py", line
1141, in instance
inst.save()
File "/usr/local/lib/python2.6/site-packages/xen/xend/XendNode.py", line
578, in save
self.save_networks()
File "/usr/local/lib/python2.6/site-packages/xen/xend/XendNode.py", line
594, in save_networks
for network_uuid in XendNetwork.get_all()])
File "/usr/local/lib/python2.6/site-packages/xen/xend/XendBase.py", line
102, in get_record
for key in keys])
File "/usr/local/lib/python2.6/site-packages/xen/xend/XendNetwork.py",
line 196, in get_VIFs
vms = XendDomain.instance().get_all_vms()
File "/usr/local/lib/python2.6/site-packages/xen/xend/XendDomain.py", line
1882, in instance
inst.init()
File "/usr/local/lib/python2.6/site-packages/xen/xend/XendDomain.py", line
114, in init
xstransact.Mkdir(XS_VMROOT)
File
"/usr/local/lib/python2.6/site-packages/xen/xend/xenstore/xstransact.py",
line 355, in Mkdir
complete(path, lambda t: t.mkdir(*args))
File
"/usr/local/lib/python2.6/site-packages/xen/xend/xenstore/xstransact.py",
line 361, in complete
t = xstransact(path)
File
"/usr/local/lib/python2.6/site-packages/xen/xend/xenstore/xstransact.py",
line 29, in __init__
self.transaction = xshandle().transaction_start()
File "/usr/local/lib/python2.6/site-packages/xen/xend/xenstore/xsutil.py",
line 18, in xshandle
xs_handle = xen.lowlevel.xs.xs()
Error: (111, 'Connection refused')
[2010-06-11 10:34:32 5886] INFO (SrvDaemon:220) Xend exited with status 1.
}}}
I go check /proc/xen/capabilities , it contains control_d in this file.
and then I go to the /dev/xen, nothing in this directory.
It seems evtchn which is missing.
then I compile xen_evtchn as module (before, xen_evtchn is built-in), and
modprobe xen_evtchn manually
it seems evtchn in /dev/xen now.
Go on to execute /etc/init.d/xend start. just fail. the error log is the
same mentioned above.
and the evtchn is missing in /dev/xen now
try xenstored,
I got
{{{
ERROR Internal error: Could not open event channel interface (22 = Invalid
argument)
FATAL: Failed to open evtchn device: Invalid argument
}}}
any comments and suggestion?
Mingfan Lu
[-- Attachment #1.2: Type: text/html, Size: 4361 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Fail to start xend in xen/stable-2.6.32.x (57028f01dcd263bcee41e00ddcda167a082ae075)
2010-06-11 5:31 Fwd: Fail to start xend in xen/stable-2.6.32.x (57028f01dcd263bcee41e00ddcda167a082ae075) Mingfan Lu
@ 2010-06-12 0:45 ` Mingfan Lu
0 siblings, 0 replies; 2+ messages in thread
From: Mingfan Lu @ 2010-06-12 0:45 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 3908 bytes --]
use xen 4.0.1-rc2-pre, it works now
Thanks
On Fri, Jun 11, 2010 at 1:31 PM, Mingfan Lu <mingfan.lu@gmail.com> wrote:
> Hi,
> I want to use xenoprof in pv dom0. so i use the patch from Dulloor (in
> branch origin/xen/oprofile ) to the xen/stable-2.6.32.x
> (57028f01dcd263bcee41e00ddcda167a082ae075).
>
> My xen (version: 4.0.0) which is compied from the source code.
> All seems to work, I even could use oprofile to collect samples.
> But the xend which could not start normally.
>
> check the xend.log, I find taht
> {{{
> [2010-06-11 10:34:31 5887] INFO (SrvDaemon:332) Xend Daemon started
> [2010-06-11 10:34:31 5887] INFO (SrvDaemon:336) Xend changeset:
> unavailable.
> [2010-06-11 10:34:32 5887] ERROR (SrvDaemon:349) Exception starting xend
> ((111, 'Connection refused'))
> Traceback (most recent call last):
> File
> "/usr/local/lib/python2.6/site-packages/xen/xend/server/SrvDaemon.py", line
> 341, in run
> servers = SrvServer.create()
> File
> "/usr/local/lib/python2.6/site-packages/xen/xend/server/SrvServer.py", line
> 251, in create
> root.putChild('xend', SrvRoot())
> File "/usr/local/lib/python2.6/site-packages/xen/xend/server/SrvRoot.py",
> line 40, in __init__
> self.get(name)
> File "/usr/local/lib/python2.6/site-packages/xen/web/SrvDir.py", line 84,
> in get
> val = val.getobj()
> File "/usr/local/lib/python2.6/site-packages/xen/web/SrvDir.py", line 52,
> in getobj
> self.obj = klassobj()
> File "/usr/local/lib/python2.6/site-packages/xen/xend/server/SrvNode.py",
> line 30, in __init__
> self.xn = XendNode.instance()
> File "/usr/local/lib/python2.6/site-packages/xen/xend/XendNode.py", line
> 1141, in instance
> inst.save()
> File "/usr/local/lib/python2.6/site-packages/xen/xend/XendNode.py", line
> 578, in save
> self.save_networks()
> File "/usr/local/lib/python2.6/site-packages/xen/xend/XendNode.py", line
> 594, in save_networks
> for network_uuid in XendNetwork.get_all()])
> File "/usr/local/lib/python2.6/site-packages/xen/xend/XendBase.py", line
> 102, in get_record
> for key in keys])
> File "/usr/local/lib/python2.6/site-packages/xen/xend/XendNetwork.py",
> line 196, in get_VIFs
> vms = XendDomain.instance().get_all_vms()
> File "/usr/local/lib/python2.6/site-packages/xen/xend/XendDomain.py",
> line 1882, in instance
> inst.init()
> File "/usr/local/lib/python2.6/site-packages/xen/xend/XendDomain.py",
> line 114, in init
> xstransact.Mkdir(XS_VMROOT)
> File
> "/usr/local/lib/python2.6/site-packages/xen/xend/xenstore/xstransact.py",
> line 355, in Mkdir
> complete(path, lambda t: t.mkdir(*args))
> File
> "/usr/local/lib/python2.6/site-packages/xen/xend/xenstore/xstransact.py",
> line 361, in complete
> t = xstransact(path)
> File
> "/usr/local/lib/python2.6/site-packages/xen/xend/xenstore/xstransact.py",
> line 29, in __init__
> self.transaction = xshandle().transaction_start()
> File
> "/usr/local/lib/python2.6/site-packages/xen/xend/xenstore/xsutil.py", line
> 18, in xshandle
> xs_handle = xen.lowlevel.xs.xs()
> Error: (111, 'Connection refused')
> [2010-06-11 10:34:32 5886] INFO (SrvDaemon:220) Xend exited with status 1.
> }}}
>
> I go check /proc/xen/capabilities , it contains control_d in this file.
>
> and then I go to the /dev/xen, nothing in this directory.
> It seems evtchn which is missing.
>
> then I compile xen_evtchn as module (before, xen_evtchn is built-in), and
> modprobe xen_evtchn manually
> it seems evtchn in /dev/xen now.
>
> Go on to execute /etc/init.d/xend start. just fail. the error log is the
> same mentioned above.
> and the evtchn is missing in /dev/xen now
>
> try xenstored,
>
> I got
> {{{
> ERROR Internal error: Could not open event channel interface (22 = Invalid
> argument)
> FATAL: Failed to open evtchn device: Invalid argument
> }}}
>
> any comments and suggestion?
>
> Mingfan Lu
>
>
[-- Attachment #1.2: Type: text/html, Size: 4778 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-12 0:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-11 5:31 Fwd: Fail to start xend in xen/stable-2.6.32.x (57028f01dcd263bcee41e00ddcda167a082ae075) Mingfan Lu
2010-06-12 0:45 ` Mingfan Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).