WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] xen4.1 xencommons xend init script issue

To: xu <xupingyong008@xxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] xen4.1 xencommons xend init script issue
From: "Fan, Huaxiang" <hufan@xxxxxxxxxxxx>
Date: Wed, 18 May 2011 02:08:37 +0000
Accept-language: en-US
Cc:
Delivery-date: Tue, 17 May 2011 19:11:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4e3a1d54.5c2e.12ff39a0d98.Coremail.xupingyong008@xxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4e3a1d54.5c2e.12ff39a0d98.Coremail.xupingyong008@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AQHMFOVUmBL+a50qsEWC4+TGfeKEupSR1roQ
Thread-topic: [Xen-users] xen4.1 xencommons xend init script issue

I think you should load xen-evtchn module before start xencommons, try to do that if you have compiled xen-evtchn as a module

#modprobe xen-evtchn

Hope that helps

Huaxiang

 

From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of xu
Sent: Sunday, May 15, 2011 8:21 PM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xen4.1 xencommons xend init script issue

 

I firstly run xencommons start following, the result is
Starting xenstored...FATAL: Failed to open evtchn device: No such file or directory
..............................
Could not start xenstored.
Then run xend start, no message deplay. And here is the error in the xend.log:
[2011-05-14 22:04:09 2227] INFO (SrvDaemon:332) Xend Daemon started
[2011-05-14 22:04:09 2227] INFO (SrvDaemon:336) Xend changeset: unavailable.
[2011-05-14 22:04:09 2227] DEBUG (tcp:96) Listening on :8002
[2011-05-14 22:04:12 2227] DEBUG (XendNode:332) pscsi record count: 8
[2011-05-14 22:04:12 2227] DEBUG (XendCPUPool:747) recreate_active_pools
[2011-05-14 22:04:12 2227] ERROR (SrvDaemon:349) Exception starting xend ((19, 'No such device'))
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py", line 341, in run
    servers = SrvServer.create()
  File "/usr/local/lib/python2.6/di st-packages/xen/xend/server/SrvServer.py", line 258, in create
    root.putChild('xend', SrvRoot())
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvRoot.py", line 40, in __init__
    self.get(name)
          .
          .
          .
          .
/xenstore/xstransact.py", line 307, in Read
    return complete(path, lambda t: t.read(*args))
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py", line 361, in complete
    t = xstransact(path)
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py", line 29, in __init__
    self.transaction = xshandle().transaction_start()
Error: (19, 'No such device')
! The error in the xend-debug.log is:
Xend started at Sat May 14 22:04:09 2011.
cat: /sys/bus/scsi/devices/host0/vendor: No such file or dir
cat: /sys/bus/scsi/devices/host0/model: No such file or dir
cat: /sys/bus/scsi/devices/host0/type: No such file or dir
cat: /sys/bus/scsi/devices/host0/rev: No such file or dir
cat: /sys/bus/scsi/devices/host0/scsi_level: No such file or dir
cat: /sys/bus/scsi/devices/host1/vendor: No such file or dir
cat: /sys/bus/scsi/devices/host1/model: No such file or dir
cat: /sys/bus/scsi/devices/host1/type: No such file or dir
cat: /sys/bus/scsi/devices/host1/rev: No such file or dir
cat: /sys/bus/scsi/devices/host1/scsi_level: No such file or dir
cat: /sys/bus/scsi/devices/host2/vendor: No such file or dir
cat: /sys/bus/scsi/devices/host2/model: No such file or dir
cat: /sys/bus/scsi/devices/host2/type: No such file or dir
cat: /sys/bus/scsi/devices/host2/rev: No such file or dir
cat: /sys/bus/sc! si /devices/host2/scsi_level: No such file or dir
cat: /sys/bus/scsi/devices/host3/vendor: No such file or dir
cat: /sys/bus/scsi/devices/host3/model: No such file or dir
cat: /sys/bus/scsi/devices/host3/type: No such file or dir
cat: /sys/bus/scsi/devices/host3/rev: No such file or dir
cat: /sys/bus/scsi/devices/host3/scsi_level: No such file or dir
cat: /sys/bus/scsi/devices/target2:0:0/vendor: No such file or dir
cat: /sys/bus/scsi/devices/target2:0:0/model: No such file or dir
cat: /sys/bus/scsi/devices/target2:0:0/type: No such file or dir
cat: /sys/bus/scsi/devices/target2:0:0/rev: No such file or dir
cat: /sys/bus/scsi/devices/target2:0:0/scsi_level:No such file or dir
cat: /sys/bus/scsi/devices/target2:0:1/vendor: No such file or dir
cat: /sys/bus/scsi/devices/target2:0:1/model: No such file or dir
cat: /sys/bus/scsi/devices/target2:0:1/type: No such file or dir
cat: /sys/bus/scsi/devices/target2:0:1/rev: No such file or dirc at: /sys/bus/scsi/devices/target2:0:1/scsi_level: No such file or dir
Exception starting xend: (19, 'No such device')

At last ,run xm list:
Error: Unable to connect to xend: No such file or directory. Is xend running?
I find a recent bug(bug 361345) likes this issue, but i do not know how to solve it.
Thanks.
julien





Click here to report this email as spam.



Protected by Websense Hosted Email Security — www.websense.com

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>