Marvin Stark
2006-Sep-21 07:35 UTC
[Xen-users] xend.util.security 4312] INFO (__init__:1072) Resource label file not found.
Hi, I''m using the debian etch xen packages. Here is a list of the package versions. ii linux-image-2.6.17-2-xen-686 2.6.17-9 Linux 2.6.17 image on PPro/Celeron/PII/PIII/ ii linux-modules-2.6.17-2-xen-686 2.6.17-9 Linux 2.6.17 modules on PPro/Celeron/PII/PII ii xen-hypervisor-3.0-unstable-1-i386 3.0-unstable+hg11292-2 The Xen Hypervisor on i386-class ii xen-linux-system-2.6.17-2-xen-686 2.6.17-9 XEN system with Linux 2.6.17 image on PPro/C ii xen-utils-3.0-unstable-1 3.0-unstable+hg11292-2 XEN administrative tools ii xen-utils-common 3.0+hg11292-2 XEN administrative tools - common files --- When I want to create a domU I get the following message: Error: Device 0 (vif) could not be connected. Backend device not found. Here is the debug message: weber:~# xm create -c test123.cfg Using config file "/etc/xen/test123.cfg". [2006-09-21 09:27:54 xend.util.security 4312] INFO (__init__:1072) Resource label file not found. [2006-09-21 09:27:54 xend.util.security 4312] INFO (__init__:1072) Resource label file not found. [2006-09-21 09:27:54 xend.XendDomainInfo 4189] DEBUG (__init__:1072) XendDomainInfo.create([''vm'', [''name'', ''test123''], [''memory'', ''96''], [''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''], [''ip'', '':1.2.3.4::::eth0:dhcp''], [''root'', ''/dev/sda1 ro'']]], [''device'', [''vbd'', [''uname'', ''phy:xen_domUs/test123-disk''], [''dev'', ''sda1''], [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', ''phy:xen_domUs/test123-swap''], [''dev'', ''sda2''], [''mode'', ''w'']]], [''device'', [''vif'']]]) [2006-09-21 09:27:54 xend.XendDomainInfo 4189] DEBUG (__init__:1072) parseConfig: config is [''vm'', [''name'', ''test123''], [''memory'', ''96''], [''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''], [''ip'', '':1.2.3.4::::eth0:dhcp''], [''root'', ''/dev/sda1 ro'']]], [''device'', [''vbd'', [''uname'', ''phy:xen_domUs/test123-disk''], [''dev'', ''sda1''], [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', ''phy:xen_domUs/test123-swap''], [''dev'', ''sda2''], [''mode'', ''w'']]], [''device'', [''vif'']]] [2006-09-21 09:27:54 xend.XendDomainInfo 4189] 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''], [''ip'', '':1.2.3.4::::eth0:dhcp''], [''root'', ''/dev/sda1 ro'']], ''on_poweroff'': ''destroy'', ''bootloader_args'': None, ''cpus'': None, ''name'': ''test123'', ''backend'': [], ''vcpus'': 1, ''cpu_weight'': None, ''features'': None, ''vcpu_avail'': None, ''memory'': 96, ''device'': [(''vbd'', [''vbd'', [''uname'', ''phy:xen_domUs/test123-disk''], [''dev'', ''sda1''], [''mode'', ''w'']]), (''vbd'', [''vbd'', [''uname'', ''phy:xen_domUs/test123-swap''], [''dev'', ''sda2''], [''mode'', ''w'']]), (''vif'', [''vif''])], ''bootloader'': None, ''cpu'': None, ''maxmem'': None} [2006-09-21 09:27:54 xend.XendDomainInfo 4189] DEBUG (__init__:1072) XendDomainInfo.construct: None [2006-09-21 09:27:54 xend.XendDomainInfo 4189] DEBUG (__init__:1072) XendDomainInfo.initDomain: 1 1.0 [2006-09-21 09:27:54 xend 4189] DEBUG (__init__:1072) Balloon: 95684 KiB free; 0 to scrub; need 98304; retries: 20. [2006-09-21 09:27:54 xend 4189] DEBUG (__init__:1072) Balloon: setting dom0 target to 1413 MiB. [2006-09-21 09:27:54 xend.XendDomainInfo 4189] DEBUG (__init__:1072) Setting memory target of domain Domain-0 (0) to 1413 MiB. [2006-09-21 09:27:55 xend 4189] DEBUG (__init__:1072) Balloon: 98756 KiB free; need 98304; done. [2006-09-21 09:27:55 xend 4189] INFO (__init__:1072) buildDomain os=linux dom=1 vcpus=1 [2006-09-21 09:27:55 xend 4189] DEBUG (__init__:1072) dom = 1 [2006-09-21 09:27:55 xend 4189] DEBUG (__init__:1072) image = /boot/vmlinuz-2.6.17-2-xen-686 [2006-09-21 09:27:55 xend 4189] DEBUG (__init__:1072) store_evtchn = 1 [2006-09-21 09:27:55 xend 4189] DEBUG (__init__:1072) console_evtchn = 2 [2006-09-21 09:27:55 xend 4189] DEBUG (__init__:1072) cmdline = ip=:1.2.3.4::::eth0:dhcp root=/dev/sda1 ro [2006-09-21 09:27:55 xend 4189] DEBUG (__init__:1072) ramdisk = /boot/initrd.img-2.6.17-2-xen-686 [2006-09-21 09:27:55 xend 4189] DEBUG (__init__:1072) vcpus = 1 [2006-09-21 09:27:55 xend 4189] DEBUG (__init__:1072) features = [2006-09-21 09:27:55 xend 4189] DEBUG (__init__:1072) exception looking up device number for sda1: [Errno 2] No such file or directory: ''/dev/sda1'' [2006-09-21 09:27:55 xend 4189] DEBUG (__init__:1072) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''2049'', ''device-type'': ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/1/2049''} to /local/domain/1/device/vbd/2049. [2006-09-21 09:27:55 xend 4189] DEBUG (__init__:1072) DevController: writing {''domain'': ''test123'', ''frontend'': ''/local/domain/1/device/vbd/2049'', ''dev'': ''sda1'', ''state'': ''1'', ''params'': ''xen_domUs/test123-disk'', ''mode'': ''w'', ''frontend-id'': ''1'', ''type'': ''phy''} to /local/domain/0/backend/vbd/1/2049. [2006-09-21 09:27:55 xend 4189] DEBUG (__init__:1072) exception looking up device number for sda2: [Errno 2] No such file or directory: ''/dev/sda2'' [2006-09-21 09:27:55 xend 4189] DEBUG (__init__:1072) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''2050'', ''device-type'': ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/1/2050''} to /local/domain/1/device/vbd/2050. [2006-09-21 09:27:55 xend 4189] DEBUG (__init__:1072) DevController: writing {''domain'': ''test123'', ''frontend'': ''/local/domain/1/device/vbd/2050'', ''dev'': ''sda2'', ''state'': ''1'', ''params'': ''xen_domUs/test123-swap'', ''mode'': ''w'', ''frontend-id'': ''1'', ''type'': ''phy''} to /local/domain/0/backend/vbd/1/2050. [2006-09-21 09:27:55 xend 4189] DEBUG (__init__:1072) DevController: writing {''backend-id'': ''0'', ''mac'': ''00:16:3e:3f:bd:c9'', ''handle'': ''0'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vif/1/0''} to /local/domain/1/device/vif/0. [2006-09-21 09:27:55 xend 4189] DEBUG (__init__:1072) DevController: writing {''mac'': ''00:16:3e:3f:bd:c9'', ''state'': ''1'', ''handle'': ''0'', ''script'': ''/etc/xen/scripts/vif-bridge'', ''frontend-id'': ''1'', ''domain'': ''test123'', ''frontend'': ''/local/domain/1/device/vif/0''} to /local/domain/0/backend/vif/1/0. [2006-09-21 09:27:55 xend.XendDomainInfo 4189] DEBUG (__init__:1072) Storing VM details: {''shadow_memory'': ''0'', ''uuid'': ''903bb07b-13ba-12ac-e3b3-4d59c5452691'', ''on_reboot'': ''restart'', ''start_time'': ''1158823675.52'', ''on_poweroff'': ''destroy'', ''name'': ''test123'', ''xend/restart_count'': ''0'', ''vcpus'': ''1'', ''vcpu_avail'': ''1'', ''memory'': ''96'', ''on_crash'': ''restart'', ''image'': "(linux (kernel /boot/vmlinuz-2.6.17-2-xen-686) (ramdisk /boot/initrd.img-2.6.17-2-xen-686) (ip :1.2.3.4::::eth0:dhcp) (root ''/dev/sda1 ro''))", ''maxmem'': ''96''} [2006-09-21 09:27:55 xend.XendDomainInfo 4189] DEBUG (__init__:1072) Storing domain details: {''console/ring-ref'': ''151982'', ''console/port'': ''2'', ''name'': ''test123'', ''console/limit'': ''1048576'', ''vm'': ''/vm/903bb07b-13ba-12ac-e3b3-4d59c5452691'', ''domid'': ''1'', ''cpu/0/availability'': ''online'', ''memory/target'': ''98304'', ''store/ring-ref'': ''151983'', ''store/port'': ''1''} [2006-09-21 09:27:55 xend.XendDomainInfo 4189] DEBUG (__init__:1072) XendDomainInfo.handleShutdownWatch [2006-09-21 09:27:55 xend 4189] DEBUG (__init__:1072) Waiting for devices vif. [2006-09-21 09:27:55 xend 4189] DEBUG (__init__:1072) Waiting for 0. [2006-09-21 09:27:55 xend 4189] DEBUG (__init__:1072) hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status. Error: Device 0 (vif) could not be connected. Backend device not found. weber:~# [2006-09-21 09:27:56 xend 4189] DEBUG (__init__:1072) hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status. [2006-09-21 09:27:56 xend 4189] DEBUG (__init__:1072) hotplugStatusCallback 2. [2006-09-21 09:27:56 xend.XendDomainInfo 4189] DEBUG (__init__:1072) XendDomainInfo.destroy: domid=1 [2006-09-21 09:27:56 xend.XendDomainInfo 4189] DEBUG (__init__:1072) XendDomainInfo.destroyDomain(1) I attached the test123.cfg I hope somebody knows this problem. Regards -- .""`. Marvin Stark <marvin.stark@credativ.de> : :" : credativ.de - The creative IT consultants `. `"` `- Debian - when you have better things to do than fix a system _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Paolo Capanni
2006-Oct-20 22:08 UTC
Re: [Xen-users] xend.util.security 4312] INFO (__init__:1072) Resource label file not found.
Had same problem in etch and moved to GNU/Debian sid but did not help. Checked log file from /var/log/xen/qemu-dm.xxxx.log and discovered the message: /etc/xen/qemu-ifup: could not launch network script Could not initialize device ''tap'' I made a: # cd /etc/xen # ln -s scripts/qemu-ifup qemu-ifup Now I have a perfect "windows in a box" with network connection. Other checks: I start "windows" with # xm create xxxxx.vhm inside xxxxx.vhm I have vif = [ ''type=ioemu, bridge=xenbr0'' ] inside /etc/xen/xend-config.sxp I set: (network-script network-bridge) (vif-script vif-bridge) My system is ( from grub menu.lst) kernel /xen-3.0-unstable-1-i386.gz module /vmlinuz-2.6.18-1-xen-686 ... _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users