cat /var/log/xen/xend-debug.log Link veth0 is missing. This may be because you have reached the limit of the number of interfaces that the loopback driver supports. If the loopback driver is a module, you may raise this limit by passing it as a parameter (nloopbacks=); if the driver is compiled statically into the kernel, then you may set the parameter using loopback.nloopbacks= on the domain 0 kernel command line. did modprobe loop max_loop=256 mebbe its need earlier by the init script should i add it to xen's init script? xen-3.0-unstable-1-i386 vmlinuz-2.6.17-2-xen-686 am able to start xen without network xm create etch.cfg -c Using config file "etch.cfg". Started domain etch Linux version 2.6.17-2-xen-686 (Debian 2.6.17-9) (waldi@debian.org) (gcc version 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)) #1 SMP Wed Sep 13 20:58:20 UTC 2006 BIOS-provided physical RAM map: then shutting down and starting again _wid_ network xm create etch.cfg -c Using config file "etch.cfg". Error: Device 0 (vif) could not be connected. Backend device not found. /var/log/xen/xend.log [2006-09-22 00:23:39 xend.XendDomainInfo 4196] INFO (__init__:1072) Domain has shutdown: name=etch id=3 reason=poweroff. [2006-09-22 00:23:39 xend.XendDomainInfo 4196] DEBUG (__init__:1072) XendDomainInfo.destroy: domid=3 [2006-09-22 00:23:39 xend.XendDomainInfo 4196] DEBUG (__init__:1072) XendDomainInfo.destroyDomain(3) [2006-09-22 00:24:42 xend.util.security 27532] INFO (__init__:1072) Resource label file not found. [2006-09-22 00:24:42 xend.util.security 27532] INFO (__init__:1072) Resource label file not found. [2006-09-22 00:24:42 xend.XendDomainInfo 4196] DEBUG (__init__:1072) XendDomainInfo.create(['vm', ['name', 'etch'], ['memory', '50'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.17-2-xen-686'], ['ramdisk', '/boot/initrd.img-2.6.17-2-xen-686'], ['root', '/dev/sda1 ro']]], ['device', ['vbd', ['uname', 'file:/home/xen/domains/etch/disk.img'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/home/xen/domains/etch/swap.img'], ['dev', 'sda2'], ['mode', 'w']]], ['device', ['vif', ['ip', '10.9.1.2']]]]) [2006-09-22 00:24:42 xend.XendDomainInfo 4196] DEBUG (__init__:1072) parseConfig: config is ['vm', ['name', 'etch'], ['memory', '50'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.17-2-xen-686'], ['ramdisk', '/boot/initrd.img-2.6.17-2-xen-686'], ['root', '/dev/sda1 ro']]], ['device', ['vbd', ['uname', 'file:/home/xen/domains/etch/disk.img'], ['dev', 'sda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/home/xen/domains/etch/swap.img'], ['dev', 'sda2'], ['mode', 'w']]], ['device', ['vif', ['ip', '10.9.1.2']]]] [2006-09-22 00:24:42 xend.XendDomainInfo 4196] DEBUG (__init__:1072) parseConfig: result is {'shadow_memory': None, 'uuid': None, 'on_crash': 'restart', 'on_reboot': 'restart', 'localtime': None, 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.17-2-xen-686'], ['ramdisk', '/boot/initrd.img-2.6.17-2-xen-686'], ['root', '/dev/sda1 ro']], 'on_poweroff': 'destroy', 'bootloader_args': None, 'cpus': None, 'name': 'etch', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features': None, 'vcpu_avail': None, 'memory': 50, 'device': [('vbd', ['vbd', ['uname', 'file:/home/xen/domains/etch/disk.img'], ['dev', 'sda1'], ['mode', 'w']]), ('vbd', ['vbd', ['uname', 'file:/home/xen/domains/etch/swap.img'], ['dev', 'sda2'], ['mode', 'w']]), ('vif', ['vif', ['ip', '10.9.1.2']])], 'bootloader': None, 'cpu': None, 'maxmem': None} [2006-09-22 00:24:42 xend.XendDomainInfo 4196] DEBUG (__init__:1072) XendDomainInfo.construct: None [2006-09-22 00:24:42 xend.XendDomainInfo 4196] DEBUG (__init__:1072) XendDomainInfo.initDomain: 4 1.0 [2006-09-22 00:24:42 xend 4196] DEBUG (__init__:1072) Balloon: 62772 KiB free; need 51200; done. [2006-09-22 00:24:42 xend 4196] INFO (__init__:1072) buildDomain os=linux dom=4 vcpus=1 [2006-09-22 00:24:42 xend 4196] DEBUG (__init__:1072) dom = 4 [2006-09-22 00:24:42 xend 4196] DEBUG (__init__:1072) image = /boot/vmlinuz-2.6.17-2-xen-686 [2006-09-22 00:24:42 xend 4196] DEBUG (__init__:1072) store_evtchn = 1 [2006-09-22 00:24:42 xend 4196] DEBUG (__init__:1072) console_evtchn = 2 [2006-09-22 00:24:42 xend 4196] DEBUG (__init__:1072) cmdline = root=/dev/sda1 ro [2006-09-22 00:24:42 xend 4196] DEBUG (__init__:1072) ramdisk = /boot/initrd.img-2.6.17-2-xen-686 [2006-09-22 00:24:42 xend 4196] DEBUG (__init__:1072) vcpus = 1 [2006-09-22 00:24:42 xend 4196] DEBUG (__init__:1072) features = [2006-09-22 00:24:42 xend 4196] DEBUG (__init__:1072) exception looking up device number for sda1: [Errno 2] No such file or directory: '/dev/sda1' [2006-09-22 00:24:42 xend 4196] DEBUG (__init__:1072) DevController: writing {'backend-id': '0', 'virtual-device': '2049', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/4/2049'} to /local/domain/4/device/vbd/2049. [2006-09-22 00:24:42 xend 4196] DEBUG (__init__:1072) DevController: writing {'domain': 'etch', 'frontend': '/local/domain/4/device/vbd/2049', 'dev': 'sda1', 'state': '1', 'params': '/home/xen/domains/etch/disk.img', 'mode': 'w', 'frontend-id': '4', 'type': 'file'} to /local/domain/0/backend/vbd/4/2049. [2006-09-22 00:24:42 xend 4196] DEBUG (__init__:1072) exception looking up device number for sda2: [Errno 2] No such file or directory: '/dev/sda2' [2006-09-22 00:24:42 xend 4196] DEBUG (__init__:1072) DevController: writing {'backend-id': '0', 'virtual-device': '2050', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/4/2050'} to /local/domain/4/device/vbd/2050. [2006-09-22 00:24:42 xend 4196] DEBUG (__init__:1072) DevController: writing {'domain': 'etch', 'frontend': '/local/domain/4/device/vbd/2050', 'dev': 'sda2', 'state': '1', 'params': '/home/xen/domains/etch/swap.img', 'mode': 'w', 'frontend-id': '4', 'type': 'file'} to /local/domain/0/backend/vbd/4/2050. [2006-09-22 00:24:42 xend 4196] DEBUG (__init__:1072) DevController: writing {'backend-id': '0', 'mac': '00:16:3e:3b:49:e5', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/4/0'} to /local/domain/4/device/vif/0. [2006-09-22 00:24:42 xend 4196] DEBUG (__init__:1072) DevController: writing {'domain': 'etch', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'ip': '10.9.1.2', 'state': '1', 'frontend': '/local/domain/4/device/vif/0', 'mac': '00:16:3e:3b:49:e5', 'frontend-id': '4'} to /local/domain/0/backend/vif/4/0. [2006-09-22 00:24:42 xend.XendDomainInfo 4196] DEBUG (__init__:1072) Storing VM details: {'shadow_memory': '0', 'uuid': 'd17ac520-3bab-00d7-4ad9-4cec279b5def', 'on_reboot': 'restart', 'start_time': '1158864882.63', 'on_poweroff': 'destroy', 'name': 'etch', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '50', 'on_crash': 'restart', 'image': "(linux (kernel /boot/vmlinuz-2.6.17-2-xen-686) (ramdisk /boot/initrd.img-2.6.17-2-xen-686) (root '/dev/sda1 ro'))", 'maxmem': '50'} [2006-09-22 00:24:42 xend.XendDomainInfo 4196] DEBUG (__init__:1072) Storing domain details: {'console/ring-ref': '133054', 'console/port': '2', 'name': 'etch', 'console/limit': '1048576', 'vm': '/vm/d17ac520-3bab-00d7-4ad9-4cec279b5def', 'domid': '4', 'cpu/0/availability': 'online', 'memory/target': '51200', 'store/ring-ref': '133055', 'store/port': '1'} [2006-09-22 00:24:42 xend.XendDomainInfo 4196] DEBUG (__init__:1072) XendDomainInfo.handleShutdownWatch [2006-09-22 00:24:42 xend 4196] DEBUG (__init__:1072) Waiting for devices vif. [2006-09-22 00:24:42 xend 4196] DEBUG (__init__:1072) Waiting for 0. [2006-09-22 00:24:42 xend 4196] DEBUG (__init__:1072) hotplugStatusCallback /local/domain/0/backend/vif/4/0/hotplug-status. [2006-09-22 00:24:43 xend 4196] DEBUG (__init__:1072) hotplugStatusCallback /local/domain/0/backend/vif/4/0/hotplug-status. [2006-09-22 00:24:43 xend 4196] DEBUG (__init__:1072) hotplugStatusCallback 2. [2006-09-22 00:24:43 xend.XendDomainInfo 4196] DEBUG (__init__:1072) XendDomainInfo.destroy: domid=4 [2006-09-22 00:24:43 xend.XendDomainInfo 4196] DEBUG (__init__:1072) XendDomainInfo.destroyDomain(4) /etc/xen/etch.cfg # # Configuration file for the Xen instance etch, created on # Tue Sep 19 04:50:35 2006. # # # Kernel + memory size # kernel = '/boot/vmlinuz-2.6.17-2-xen-686' ramdisk = '/boot/initrd.img-2.6.17-2-xen-686' memory = '50' # # Disk device(s). # root = '/dev/sda1 ro' disk = [ 'file:/home/xen/domains/etch/disk.img,sda1,w', 'file:/home/xen/domains/etch/swap.img,sda2,w' ] # # Hostname # name = 'etch' # # Networking # vif = [ 'ip=10.9.1.2' ] # # Behaviour # on_poweroff = 'destroy' on_reboot = 'restart' on_crash = 'restart' /etc/xen/xend-config.sxp has only the following enabled (vif-script vif-bridge) (network-script 'network-bridge netdev=eth0')