Bug#401249: [Pkg-xen-devel] Bug#401249: xen-utils-common: xenbr0 not being created
On Sat, December 2, 2006 8:10 am, Bastian Blank wrote: So it fails to connect to the xenstored. Please start it by hand and show why it dies. Hello again, this is what i get (i just upgraded to latest packages of Xen today from sid) : /usr/lib/xen-3.0.3-1/bin/xenstored ERROR: Could not open event channel interface (19 = No such device) FATAL: Failed to open evtchn device: No such device Here is a strace : strace -f /usr/lib/xen-3.0.3-1/bin/xenstored execve(/usr/lib/xen-3.0.3-1/bin/xenstored, [/usr/lib/xen-3.0.3-1/bin/xenstor...], [/* 19 vars */]) = 0 uname({sys=Linux, node=golem, ...}) = 0 brk(0) = 0x805a000 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f15000 access(/etc/ld.so.preload, R_OK) = -1 ENOENT (No such file or directory) mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f14000 open(/usr/lib/xen-3.0.3-1/lib/tls/i686/cmov/libxenctrl.so, O_RDONLY) = -1 ENOENT (No such file or directory) stat64(/usr/lib/xen-3.0.3-1/lib/tls/i686/cmov, 0xbfebcaa8) = -1 ENOENT (No such file or directory) open(/usr/lib/xen-3.0.3-1/lib/tls/i686/libxenctrl.so, O_RDONLY) = -1 ENOENT (No such file or directory) stat64(/usr/lib/xen-3.0.3-1/lib/tls/i686, 0xbfebcaa8) = -1 ENOENT (No such file or directory) open(/usr/lib/xen-3.0.3-1/lib/tls/cmov/libxenctrl.so, O_RDONLY) = -1 ENOENT (No such file or directory) stat64(/usr/lib/xen-3.0.3-1/lib/tls/cmov, 0xbfebcaa8) = -1 ENOENT (No such file or directory) open(/usr/lib/xen-3.0.3-1/lib/tls/libxenctrl.so, O_RDONLY) = -1 ENOENT (No such file or directory) stat64(/usr/lib/xen-3.0.3-1/lib/tls, 0xbfebcaa8) = -1 ENOENT (No such file or directory) open(/usr/lib/xen-3.0.3-1/lib/i686/cmov/libxenctrl.so, O_RDONLY) = -1 ENOENT (No such file or directory) stat64(/usr/lib/xen-3.0.3-1/lib/i686/cmov, 0xbfebcaa8) = -1 ENOENT (No such file or directory) open(/usr/lib/xen-3.0.3-1/lib/i686/libxenctrl.so, O_RDONLY) = -1 ENOENT (No such file or directory) stat64(/usr/lib/xen-3.0.3-1/lib/i686, 0xbfebcaa8) = -1 ENOENT (No such file or directory) open(/usr/lib/xen-3.0.3-1/lib/cmov/libxenctrl.so, O_RDONLY) = -1 ENOENT (No such file or directory) stat64(/usr/lib/xen-3.0.3-1/lib/cmov, 0xbfebcaa8) = -1 ENOENT (No such file or directory) open(/usr/lib/xen-3.0.3-1/lib/libxenctrl.so, O_RDONLY) = 3 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\33..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=46772, ...}) = 0 mmap2(NULL, 136580, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ef2000 mmap2(0xb7efd000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0xb7efd000 mmap2(0xb7efe000, 87428, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7efe000 close(3)= 0 open(/usr/lib/xen-3.0.3-1/lib/libc.so.6, O_RDONLY) = -1 ENOENT (No such file or directory) open(/etc/ld.so.cache, O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=20356, ...}) = 0 mmap2(NULL, 20356, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7eed000 close(3)= 0 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) open(/lib/tls/i686/cmov/libc.so.6, O_RDONLY) = 3 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240O\1..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=1253868, ...}) = 0 mmap2(NULL, 1259676, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7db9000 mmap2(0xb7ee3000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12a) = 0xb7ee3000 mmap2(0xb7eea000, 10396, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7eea000 close(3)= 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7db8000 mprotect(0xb7ee3000, 20480, PROT_READ) = 0 set_thread_area({entry_number:-1 - 6, base_addr:0xb7db86c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 munmap(0xb7eed000, 20356) = 0 mkdir(/var/run/xenstored, 0755) = -1 EEXIST (File exists) mkdir(/var/lib/xenstored, 0755) = -1 EEXIST (File exists) clone(Process 3389 attached child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7db8708) = 3389 [pid 3388] exit_group(0) = ? Process 3388 detached setsid()= 3389 clone(Process 3390 attached child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7db8708) = 3390 [pid 3389] exit_group(0) = ? Process 3389 detached chdir(/) = 0 umask(0)= 022 brk(0) = 0x805a000 brk(0x807b000) = 0x807b000 socket(PF_FILE, SOCK_STREAM, 0) = 3 socket(PF_FILE, SOCK_STREAM, 0) = 4
Bug#401249: [Pkg-xen-devel] Bug#401249: xen-utils-common: xenbr0 not being created
retitle 401249 xen-utils-? - fails to start xenstored tags 401249 moreinfo thanks On Sat, Dec 02, 2006 at 02:59:56AM +, FRLinux wrote: I have installed all the packages I can think of to get Xen going and it still fails with the following : This have nothing to do with the mentioned xenbr0 in the subject. /var/log/xen/xend.log: [2006-12-02 02:26:50 xend 2941] INFO (__init__:1072) Xend Daemon started [2006-12-02 02:26:50 xend 2941] INFO (__init__:1072) Xend changeset: Thu Sep 21 17:56:14 2006 +0100 . [2006-12-02 02:26:50 xend 2941] ERROR (__init__:1072) Exception starting xend ((111, 'Connection refused')) Traceback (most recent call last): File /usr/lib/xen-3.0-unstable-1/lib/python/xen/xend/server/SrvDaemon.py, line 291, in run servers = SrvServer.create() File /usr/lib/xen-3.0-unstable-1/lib/python/xen/xend/server/SrvServer.py, line 108, in create root.putChild('xend', SrvRoot()) File /usr/lib/xen-3.0-unstable-1/lib/python/xen/xend/server/SrvRoot.py, line 40, in __init__ self.get(name) File /usr/lib/xen-3.0-unstable-1/lib/python/xen/web/SrvDir.py, line 82, in get val = val.getobj() File /usr/lib/xen-3.0-unstable-1/lib/python/xen/web/SrvDir.py, line 52, in getobj self.obj = klassobj() File /usr/lib/xen-3.0-unstable-1/lib/python/xen/xend/server/SrvDomainDir.py, line 39, in __init__ self.xd = XendDomain.instance() File /usr/lib/xen-3.0-unstable-1/lib/python/xen/xend/XendDomain.py, line 646, in instance inst.init() File /usr/lib/xen-3.0-unstable-1/lib/python/xen/xend/XendDomain.py, line 71, in init xstransact.Mkdir(VMROOT) File /usr/lib/xen-3.0-unstable-1/lib/python/xen/xend/xenstore/xstransact.py, line 345, in Mkdir complete(path, lambda t: t.mkdir(*args)) File /usr/lib/xen-3.0-unstable-1/lib/python/xen/xend/xenstore/xstransact.py, line 351, in complete t = xstransact(path) File /usr/lib/xen-3.0-unstable-1/lib/python/xen/xend/xenstore/xstransact.py, line 20, in __init__ self.transaction = xshandle().transaction_start() File /usr/lib/xen-3.0-unstable-1/lib/python/xen/xend/xenstore/xsutil.py, line 18, in xshandle xs_handle = xen.lowlevel.xs.xs() Error: (111, 'Connection refused') [2006-12-02 02:26:50 xend 2940] INFO (__init__:1072) Xend exited with status 1. So it fails to connect to the xenstored. Please start it by hand and show why it dies. I have another Debian sid which I installed last week and does not show that behavior. Just in case i am adding here all the xen packages i have installed : ii libc6-xen 2.3.6.ds1-8 GNU C Library: Shared libraries [Xen version ii linux-image-2.6.18-2-xen-686 2.6.18-5Linux 2.6.18 image on PPro/Celeron/PII/PIII/ ii linux-modules-2.6.18-2-xen-686 2.6.18-5Linux 2.6.18 modules on PPro/Celeron/PII/PII ii xen-hypervisor-3.0-unstable-1-i386 3.0-unstable+hg11561-1 The Xen Hypervisor on i386-class rc xen-hypervisor-3.0.3-1-i3863.0.3-0-2 The Xen Hypervisor on i386 You have no 3.0.3 hypervisor installed, this is the only version supported by the kernel versions 2.6.18-5 and above. It is likely to simply break with other versions. ii xen-ioemu-3.0-unstable 3.0-unstable+hg11561-1 XEN administrative tools ii xen-ioemu-3.0.3-1 3.0.3-0-2 XEN administrative tools ii xen-tools 2.8-2 Tools to manage debian XEN virtual servers ii xen-utils-3.0-unstable-1 3.0-unstable+hg11561-1 XEN administrative tools ii xen-utils-3.0.3-1 3.0.3-0-2 XEN administrative tools ii xen-utils-common 3.0.3-0-2 XEN administrative tools - common files I think, you want to install xen-linux-system-*. Bastian -- Extreme feminine beauty is always disturbing. -- Spock, The Cloud Minders, stardate 5818.4 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#401249: [Pkg-xen-devel] Bug#401249: xen-utils-common: xenbr0 not being created
Bastian Blank wrote: This have nothing to do with the mentioned xenbr0 in the subject. It does, because right now, the box doesn't have a xenbr0 interface, neither a vifX one. So it fails to connect to the xenstored. Please start it by hand and show why it dies. Yup, this is what i get : /usr/lib/xen-3.0.3-1/bin/xenstored ERROR: Could not open event channel interface (19 = No such device) FATAL: Failed to open evtchn device: No such device An strace seems to indicate that it cannot find quite a few files including : /usr/lib/xen-3.0.3-1/lib/libc.so.6 strace /usr/lib/xen-3.0.3-1/bin/xenstored execve(/usr/lib/xen-3.0.3-1/bin/xenstored, [/usr/lib/xen-3.0.3-1/bin/xenstor...], [/* 16 vars */]) = 0 uname({sys=Linux, node=golem, ...}) = 0 brk(0) = 0x805a000 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ef access(/etc/ld.so.preload, R_OK) = -1 ENOENT (No such file or directory) mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7eef000 open(/usr/lib/xen-3.0.3-1/lib/tls/i686/cmov/libxenctrl.so, O_RDONLY) = -1 ENOENT (No such file or directory) stat64(/usr/lib/xen-3.0.3-1/lib/tls/i686/cmov, 0xbfe5daf8) = -1 ENOENT (No such file or directory) open(/usr/lib/xen-3.0.3-1/lib/tls/i686/libxenctrl.so, O_RDONLY) = -1 ENOENT (No such file or directory) stat64(/usr/lib/xen-3.0.3-1/lib/tls/i686, 0xbfe5daf8) = -1 ENOENT (No such file or directory) open(/usr/lib/xen-3.0.3-1/lib/tls/cmov/libxenctrl.so, O_RDONLY) = -1 ENOENT (No such file or directory) stat64(/usr/lib/xen-3.0.3-1/lib/tls/cmov, 0xbfe5daf8) = -1 ENOENT (No such file or directory) open(/usr/lib/xen-3.0.3-1/lib/tls/libxenctrl.so, O_RDONLY) = -1 ENOENT (No such file or directory) stat64(/usr/lib/xen-3.0.3-1/lib/tls, 0xbfe5daf8) = -1 ENOENT (No such file or directory) open(/usr/lib/xen-3.0.3-1/lib/i686/cmov/libxenctrl.so, O_RDONLY) = -1 ENOENT (No such file or directory) stat64(/usr/lib/xen-3.0.3-1/lib/i686/cmov, 0xbfe5daf8) = -1 ENOENT (No such file or directory) open(/usr/lib/xen-3.0.3-1/lib/i686/libxenctrl.so, O_RDONLY) = -1 ENOENT (No such file or directory) stat64(/usr/lib/xen-3.0.3-1/lib/i686, 0xbfe5daf8) = -1 ENOENT (No such file or directory) open(/usr/lib/xen-3.0.3-1/lib/cmov/libxenctrl.so, O_RDONLY) = -1 ENOENT (No such file or directory) stat64(/usr/lib/xen-3.0.3-1/lib/cmov, 0xbfe5daf8) = -1 ENOENT (No such file or directory) open(/usr/lib/xen-3.0.3-1/lib/libxenctrl.so, O_RDONLY) = 3 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\33..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=46772, ...}) = 0 mmap2(NULL, 136580, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ecd000 mmap2(0xb7ed8000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0xb7ed8000 mmap2(0xb7ed9000, 87428, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ed9000 close(3)= 0 open(/usr/lib/xen-3.0.3-1/lib/libc.so.6, O_RDONLY) = -1 ENOENT (No such file or directory) open(/etc/ld.so.cache, O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=20356, ...}) = 0 mmap2(NULL, 20356, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ec8000 close(3)= 0 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) open(/lib/tls/i686/cmov/libc.so.6, O_RDONLY) = -1 ENOENT (No such file or directory) open(/lib/tls/i686/cmov/libc.so.6, O_RDONLY) = -1 ENOENT (No such file or directory) stat64(/lib/tls/i686/cmov, 0xbfe5dadc) = -1 ENOENT (No such file or directory) open(/lib/tls/i686/libc.so.6, O_RDONLY) = -1 ENOENT (No such file or directory) stat64(/lib/tls/i686, 0xbfe5dadc) = -1 ENOENT (No such file or directory) open(/lib/tls/cmov/libc.so.6, O_RDONLY) = -1 ENOENT (No such file or directory) stat64(/lib/tls/cmov, 0xbfe5dadc) = -1 ENOENT (No such file or directory) open(/lib/tls/libc.so.6, O_RDONLY)= -1 ENOENT (No such file or directory) stat64(/lib/tls, 0xbfe5dadc) = -1 ENOENT (No such file or directory) open(/lib/i686/cmov/libc.so.6, O_RDONLY) = -1 ENOENT (No such file or directory) stat64(/lib/i686/cmov, 0xbfe5dadc)= -1 ENOENT (No such file or directory) open(/lib/i686/libc.so.6, O_RDONLY) = -1 ENOENT (No such file or directory) stat64(/lib/i686, 0xbfe5dadc) = -1 ENOENT (No such file or directory) open(/lib/cmov/libc.so.6, O_RDONLY) = -1 ENOENT (No such file or directory) stat64(/lib/cmov, 0xbfe5dadc) = -1 ENOENT (No such file or directory) open(/lib/libc.so.6, O_RDONLY)= 3 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220T\1..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1147736, ...}) = 0 mmap2(NULL, 1157428, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7dad000 mmap2(0xb7ebe000, 28672, PROT_READ|PROT_WRITE,