Bug#401249: [Pkg-xen-devel] Bug#401249: xen-utils-common: xenbr0 not being created

FRLinux frlinux at frlinux.net
Sat Dec 2 12:50:52 CET 2006


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) = 0xb7ef0000
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, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x110) = 0xb7ebe000
mmap2(0xb7ec5000, 10548, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ec5000
close(3)                                = 0
mprotect(0xb7ebe000, 20480, PROT_READ)  = 0
munmap(0xb7ec8000, 20356)               = 0
mkdir("/var/run/xenstored", 0755)       = -1 EEXIST (File exists)
mkdir("/var/lib/xenstored", 0755)       = -1 EEXIST (File exists)
fork()                                  = 3325
--- SIGCHLD (Child exited) @ 0 (0) ---
exit_group(0)                           = ?
Process 3324 detached

As for this one : FATAL: Failed to open evtchn device: No such device. 
This dev exists but under /dev/xen/evtchn which seems to be the correct 
behavior from what i read.

> 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.

Ok, fixed this thanks.

> I think, you want to install xen-linux-system-*.

done too.

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-5 
Linux 2.6.18 image on PPro/Celeron/PII/PIII/
ii  linux-image-2.6.18-3-xen-686       2.6.18-6 
Linux 2.6.18 image on PPro/Celeron/PII/PIII/
ii  linux-modules-2.6.18-2-xen-686     2.6.18-5 
Linux 2.6.18 modules on PPro/Celeron/PII/PII
ii  linux-modules-2.6.18-3-xen-686     2.6.18-6 
Linux 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
ii  xen-hypervisor-3.0.3-1-i386        3.0.3-0-2 
The Xen Hypervisor on i386
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-linux-system-2.6.18-3-xen-686  2.6.18-6 
XEN system with Linux 2.6.18 image on PPro/C
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 still have the issue, that xend (because of xenstored) cannot start, I 
went through the xen lists too but i am failing to find what the issue is.

Thanks,
Steph
-- 
Mail sent on Gentoo Linux (http://www.gentoo.org)
http://frlinux.net - frlinux at frlinux.net
public key : http://frlinux.net/files/frlinux_public_key.asc



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





More information about the Pkg-xen-devel mailing list