[Fedora-xen] Xen network problem

Daniel lists at fathom13.com
Sat Mar 31 03:36:56 UTC 2007


Hi

I have a Fedora Core 6 Xen box running two Linux hosts and one Windows 
Server 2003 host. I am having trouble with the Windows VM network. It 
was working fine but for some reason it has decided to stop. I can not 
ping the Windows VM for Domain-0 and I can not ping out from the Windows 
VM. The Windows VM has and detects the network interfaces no problem. 
The Windows VM network did work fine but stop for some strange reason.

Both Linux hosts work fine. Each VM has two vif. Both don't work in the 
problem VM. It is the last VM to be started on boot. The other two VMs 
have two vif each as well. vif0 is bound to eth0 and vif1 is bound to 
eth1. I notice this machine has only 8 loop devs could this be the problem?

Any help greatly appreciated as I am stumped.

xen-3.0.3-8.fc6
xen-libs-3.0.3-8.fc6
kernel-xen-2.6.20-1.2933.fc6

I get this in dmesg which I guess is my problem:

device vif5.0 entered promiscuous mode
ADDRCONF(NETDEV_UP): vif5.0: link is not ready
device vif5.1 entered promiscuous mode
ADDRCONF(NETDEV_UP): vif5.1: link is not ready

Regards
Daniel

dir /dev/loop*
brw-r----- 1 root disk 7, 0 Mar 26 20:10 /dev/loop0
brw-r----- 1 root disk 7, 1 Mar 26 20:10 /dev/loop1
brw-r----- 1 root disk 7, 2 Mar 26 20:10 /dev/loop2
brw-r----- 1 root disk 7, 3 Mar 26 20:10 /dev/loop3
brw-r----- 1 root disk 7, 4 Mar 26 20:10 /dev/loop4
brw-r----- 1 root disk 7, 5 Mar 26 20:10 /dev/loop5
brw-r----- 1 root disk 7, 6 Mar 26 20:10 /dev/loop6
brw-r----- 1 root disk 7, 7 Mar 26 20:10 /dev/loop7

The xen log:

[2007-03-31 10:03:44 xend.XendDomainInfo 3301] DEBUG 
(XendDomainInfo:190) XendDomainInfo.create(['vm', ['name', 
'w2k3R2-test-002'], ['memory', 768], ['shadow_memory', 8], ['on_reboot', 
'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['image', ['hvm', 
['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model', 
'/usr/lib64/xen/bin/qemu-dm'], ['vcpus', 1], ['boot', 'c'], ['vnc', 1], 
['vncunused', 1], ['xauthority', '/root/.Xauthority'], ['vncpasswd', 
None]]], ['device', ['vbd', ['uname', 
'file:/home/vm/w2k3/w2k3R2-test-002.img'], ['dev', 'ioemu:hda'], 
['mode', 'w']]], ['device', ['vif', ['bridge', 'xenbr0'], ['type', 
'ioemu']]], ['device', ['vif', ['bridge', 'xenbr1'], ['type', 'ioemu']]]])
[2007-03-31 10:03:44 xend.XendDomainInfo 3301] DEBUG 
(XendDomainInfo:296) parseConfig: config is ['vm', ['name', 
'w2k3R2-test-002'], ['memory', 768], ['shadow_memory', 8], ['on_reboot', 
'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['image', ['hvm', 
['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model', 
'/usr/lib64/xen/bin/qemu-dm'], ['vcpus', 1], ['boot', 'c'], ['vnc', 1], 
['vncunused', 1], ['xauthority', '/root/.Xauthority'], ['vncpasswd', 
None]]], ['device', ['vbd', ['uname', 
'file:/home/vm/w2k3/w2k3R2-test-002.img'], ['dev', 'ioemu:hda'], 
['mode', 'w']]], ['device', ['vif', ['bridge', 'xenbr0'], ['type', 
'ioemu']]], ['device', ['vif', ['bridge', 'xenbr1'], ['type', 'ioemu']]]]
[2007-03-31 10:03:44 xend.XendDomainInfo 3301] DEBUG 
(XendDomainInfo:397) parseConfig: result is {'shadow_memory': 8, 
'start_time': None, 'uuid': None, 'on_crash': 'restart', 'on_reboot': 
'restart', 'localtime': None, 'image': ['hvm', ['kernel', 
'/usr/lib/xen/boot/hvmloader'], ['device_model', 
'/usr/lib64/xen/bin/qemu-dm'], ['vcpus', 1], ['boot', 'c'], ['vnc', 1], 
['vncunused', 1], ['xauthority', '/root/.Xauthority'], ['vncpasswd', 
None]], 'on_poweroff': None, 'bootloader_args': None, 'cpus': None, 
'name': 'w2k3R2-test-002', 'backend': [], 'vcpus': 1, 'cpu_weight': 
None, 'features': None, 'vcpu_avail': None, 'memory': 768, 'device': 
[('vbd', ['vbd', ['uname', 'file:/home/vm/w2k3/w2k3R2-test-002.img'], 
['dev', 'ioemu:hda'], ['mode', 'w']]), ('vif', ['vif', ['bridge', 
'xenbr0'], ['type', 'ioemu']]), ('vif', ['vif', ['bridge', 'xenbr1'], 
['type', 'ioemu']])], 'bootloader': None, 'cpu': None, 'maxmem': None}
[2007-03-31 10:03:44 xend.XendDomainInfo 3301] DEBUG 
(XendDomainInfo:1264) XendDomainInfo.construct: None
[2007-03-31 10:03:44 xend.XendDomainInfo 3301] DEBUG 
(XendDomainInfo:1296) XendDomainInfo.initDomain: 5 1.0
[2007-03-31 10:03:44 xend 3301] DEBUG (image:329) args: boot, val: c
[2007-03-31 10:03:44 xend 3301] DEBUG (image:329) args: fda, val: None
[2007-03-31 10:03:44 xend 3301] DEBUG (image:329) args: fdb, val: None
[2007-03-31 10:03:44 xend 3301] DEBUG (image:329) args: soundhw, val: None
[2007-03-31 10:03:44 xend 3301] DEBUG (image:329) args: localtime, val: None
[2007-03-31 10:03:44 xend 3301] DEBUG (image:329) args: serial, val: None
[2007-03-31 10:03:44 xend 3301] DEBUG (image:329) args: std-vga, val: None
[2007-03-31 10:03:44 xend 3301] DEBUG (image:329) args: isa, val: None
[2007-03-31 10:03:44 xend 3301] DEBUG (image:329) args: vcpus, val: 1
[2007-03-31 10:03:44 xend 3301] DEBUG (image:329) args: acpi, val: None
[2007-03-31 10:03:44 xend 3301] DEBUG (image:329) args: usb, val: None
[2007-03-31 10:03:44 xend 3301] DEBUG (image:329) args: usbdevice, val: None
[2007-03-31 10:03:44 xend 3301] DEBUG (image:329) args: k, val: None
[2007-03-31 10:03:44 xend 3301] DEBUG (balloon:127) Balloon: 810284 KiB 
free; need 808756; done.
[2007-03-31 10:03:44 xend 3301] INFO (image:136) buildDomain os=hvm 
dom=5 vcpus=1
[2007-03-31 10:03:44 xend 3301] DEBUG (image:282) dom            = 5
[2007-03-31 10:03:44 xend 3301] DEBUG (image:283) image          = 
/usr/lib/xen/boot/hvmloader
[2007-03-31 10:03:44 xend 3301] DEBUG (image:284) store_evtchn   = 1
[2007-03-31 10:03:44 xend 3301] DEBUG (image:285) memsize        = 768
[2007-03-31 10:03:44 xend 3301] DEBUG (image:286) vcpus          = 1
[2007-03-31 10:03:44 xend 3301] DEBUG (image:287) pae            = 0
[2007-03-31 10:03:44 xend 3301] DEBUG (image:288) acpi           = 0
[2007-03-31 10:03:44 xend 3301] DEBUG (image:289) apic           = 0
[2007-03-31 10:03:44 xend 3301] DEBUG (image:435) hvm shutdown watch 
registered
[2007-03-31 10:03:44 xend 3301] DEBUG (blkif:24) exception looking up 
device number for hda: [Errno 2] No such file or directory: '/dev/hda'
[2007-03-31 10:03:44 xend 3301] DEBUG (DevController:110) DevController: 
writing {'backend-id': '0', 'virtual-device': '768', 'device-type': 
'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/5/768'} to 
/local/domain/5/device/vbd/768.
[2007-03-31 10:03:44 xend 3301] DEBUG (DevController:112) DevController: 
writing {'domain': 'w2k3R2-test-002', 'frontend': 
'/local/domain/5/device/vbd/768', 'dev': 'hda', 'state': '1', 'params': 
'/home/vm/w2k3/w2k3R2-test-002.img', 'mode': 'w', 'online': '1', 
'frontend-id': '5', 'type': 'file'} to /local/domain/0/backend/vbd/5/768.
[2007-03-31 10:03:44 xend 3301] DEBUG (DevController:110) DevController: 
writing {'state': '1', 'backend-id': '0', 'backend': 
'/local/domain/0/backend/vif/5/0'} to /local/domain/5/device/vif/0.
[2007-03-31 10:03:44 xend 3301] DEBUG (DevController:112) DevController: 
writing {'bridge': 'xenbr0', 'domain': 'w2k3R2-test-002', 'handle': '0', 
'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': 
'/local/domain/5/device/vif/0', 'mac': '00:16:3e:7a:5b:2f', 'online': 
'1', 'frontend-id': '5', 'type': 'ioemu'} to 
/local/domain/0/backend/vif/5/0.
[2007-03-31 10:03:44 xend 3301] DEBUG (DevController:110) DevController: 
writing {'state': '1', 'backend-id': '0', 'backend': 
'/local/domain/0/backend/vif/5/1'} to /local/domain/5/device/vif/1.
[2007-03-31 10:03:44 xend 3301] DEBUG (DevController:112) DevController: 
writing {'bridge': 'xenbr1', 'domain': 'w2k3R2-test-002', 'handle': '1', 
'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': 
'/local/domain/5/device/vif/1', 'mac': '00:16:3e:01:59:25', 'online': 
'1', 'frontend-id': '5', 'type': 'ioemu'} to 
/local/domain/0/backend/vif/5/1.
[2007-03-31 10:03:44 xend 3301] INFO (image:418) spawning device models: 
/usr/lib64/xen/bin/qemu-dm ['/usr/lib64/xen/bin/qemu-dm', '-d', '5', 
'-m', '768', '-boot', 'c', '-vcpus', '1', '-domain-name', 
'w2k3R2-test-002', '-net', 
'nic,vlan=1,macaddr=00:16:3e:70:75:72,model=rtl8139', '-net', 
'tap,vlan=1,bridge=xenbr0', '-net', 
'nic,vlan=2,macaddr=00:16:3e:62:37:fa,model=rtl8139', '-net', 
'tap,vlan=2,bridge=xenbr1', '-vncunused', '-vnclisten', '127.0.0.1']
[2007-03-31 10:03:44 xend 3301] INFO (image:420) device model pid: 10671
[2007-03-31 10:03:44 xend.XendDomainInfo 3301] DEBUG 
(XendDomainInfo:715) Storing VM details: {'shadow_memory': '8', 'uuid': 
'b962192a-ac2f-236a-594a-dc07470c31d8', 'on_reboot': 'restart', 
'start_time': '1175306624.64', 'on_poweroff': 'destroy', 'name': 
'w2k3R2-test-002', 'xend/restart_count': '0', 'vcpus': '1', 
'vcpu_avail': '1', 'memory': '768', 'on_crash': 'restart', 'image': 
"(hvm (kernel /usr/lib/xen/boot/hvmloader) (device_model 
/usr/lib64/xen/bin/qemu-dm) (vcpus 1) (boot c) (vnc 1) (vncunused 1) 
(xauthority /root/.Xauthority) (vncpasswd 'None'))", 'maxmem': '768'}
[2007-03-31 10:03:44 xend.XendDomainInfo 3301] DEBUG 
(XendDomainInfo:750) Storing domain details: {'console/port': '2', 
'name': 'w2k3R2-test-002', 'console/limit': '1048576', 'vm': 
'/vm/b962192a-ac2f-236a-594a-dc07470c31d8', 'domid': '5', 
'cpu/0/availability': 'online', 'memory/target': '786432', 
'store/ring-ref': '65356', 'store/port': '1'}
[2007-03-31 10:03:44 xend 3301] DEBUG (image:458) hvm_shutdown fired, 
shutdown reason=None
[2007-03-31 10:03:44 xend.XendDomainInfo 3301] DEBUG 
(XendDomainInfo:940) XendDomainInfo.handleShutdownWatch
[2007-03-31 10:03:44 xend 3301] DEBUG (DevController:143) Waiting for 
devices vif.
[2007-03-31 10:03:44 xend 3301] DEBUG (DevController:149) Waiting for 0.
[2007-03-31 10:03:44 xend 3301] DEBUG (DevController:472) 
hotplugStatusCallback /local/domain/0/backend/vif/5/0/hotplug-status.
[2007-03-31 10:03:45 xend 3301] DEBUG (DevController:472) 
hotplugStatusCallback /local/domain/0/backend/vif/5/0/hotplug-status.
[2007-03-31 10:03:45 xend 3301] DEBUG (DevController:486) 
hotplugStatusCallback 1.
[2007-03-31 10:03:45 xend 3301] DEBUG (DevController:149) Waiting for 1.
[2007-03-31 10:03:45 xend 3301] DEBUG (DevController:472) 
hotplugStatusCallback /local/domain/0/backend/vif/5/1/hotplug-status.
[2007-03-31 10:03:45 xend 3301] DEBUG (DevController:486) 
hotplugStatusCallback 1.
[2007-03-31 10:03:45 xend 3301] DEBUG (DevController:143) Waiting for 
devices usb.
[2007-03-31 10:03:45 xend 3301] DEBUG (DevController:143) Waiting for 
devices vbd.
[2007-03-31 10:03:45 xend 3301] DEBUG (DevController:149) Waiting for 768.
[2007-03-31 10:03:45 xend 3301] DEBUG (DevController:472) 
hotplugStatusCallback /local/domain/0/backend/vbd/5/768/hotplug-status.
[2007-03-31 10:03:45 xend 3301] DEBUG (DevController:472) 
hotplugStatusCallback /local/domain/0/backend/vbd/5/768/hotplug-status.
[2007-03-31 10:03:45 xend 3301] DEBUG (DevController:486) 
hotplugStatusCallback 1.
[2007-03-31 10:03:45 xend 3301] DEBUG (DevController:143) Waiting for 
devices irq.
[2007-03-31 10:03:45 xend 3301] DEBUG (DevController:143) Waiting for 
devices vkbd.
[2007-03-31 10:03:45 xend 3301] DEBUG (DevController:143) Waiting for 
devices vfb.
[2007-03-31 10:03:45 xend 3301] DEBUG (DevController:143) Waiting for 
devices pci.
[2007-03-31 10:03:45 xend 3301] DEBUG (DevController:143) Waiting for 
devices ioports.
[2007-03-31 10:03:45 xend 3301] DEBUG (DevController:143) Waiting for 
devices tap.
[2007-03-31 10:03:45 xend 3301] DEBUG (DevController:143) Waiting for 
devices vtpm.
[2007-03-31 10:03:45 xend 3301] INFO (XendDomain:370) Domain 
w2k3R2-test-002 (5) unpaused.




More information about the Fedora-xen mailing list