WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Networkbrige is not working

To: "Thilo Riessner" <thilo@xxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Networkbrige is not working
From: "louis nerion" <louis.nerion@xxxxxxxxx>
Date: Wed, 2 May 2007 16:09:14 +0200
Delivery-date: Wed, 02 May 2007 07:07:57 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=L5qoPCquCwPL54txXtMc4dGKS10Fo1qqRjIgj5D7pnUVUaodm8n6ufoNbWl62QD1QJuNwj3ONJDk5zf74Wm2NrTefChkobVbHnmUkHcjH3VL3l0y8j+wWusULjbLefNWPwHMG1269JzNvQT3JwohXh50PsRqjvTRF+cRpJ1aohI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=aTt/LtmRYF2FeddJ52fuZJnAKx1XpBiLRjbfiuOhyfj9/iH2ge/d1TjtLr5ai0X/hOwYiS/vuTo5LLBqVD5mWm7fYu1SXBxPw8DvEMOYFcelWw5wkIX+n+YhGmAsZQAnqGJocltHr+x/w0D/ptvAwMeqWmsu9f0uFeQj1V1Zcqc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200705021640.56468.thilo@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <200704301853.53974.thilo@xxxxxxxxxxx> <ce69df00705020300l6019d35fub2367a3f2afc0568@xxxxxxxxxxxxxx> <200705021640.56468.thilo@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


2007/5/2, Thilo Riessner <thilo@xxxxxxxxxxx>:
> when xend is started check your brctl to see if peth0 and vif0.0 is mounted
>
> > in xenbr0...
>
brctl show
bridge name     bridge id               STP enabled     interfaces
xenbr0           8000.000000000000       no
OK ! try to modify your mac @ in your VM config by

vif=[.....,mac=aa,..,..,,,,,]

> If don't... It must be 'xend-config' file to edit. uncomment (network-scrip
> network-bridge)....
these are uncomented already.

> Look the xend-log....
I didn't find any suspicious there
________________________________________  xend-log ___________________________

[2007-04-30 09:24:59 xend 3784] INFO (SrvDaemon:283) Xend Daemon started
[2007-04-30 09:24:59 xend 3784] INFO (SrvDaemon:287) Xend changeset: 11774.
[2007-04-30 09:24:59 xend.XendDomainInfo 3784] DEBUG (XendDomainInfo:212)
XendDomainInfo.recreate({'paused': 0, 'cpu_time': 12462355882L, 'ssidref':
0, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0], 'shutdown_reason': 0, 'dying': 0, 'dom': 0, 'mem_kb':
953436, 'maxmem_kb': 17179869180, 'max_vcpu_id': 1, 'crashed': 0, 'running':
1, 'shutdown': 0, 'online_vcpus': 2, 'blocked': 0})
[2007-04-30 09:24:59 xend.XendDomainInfo 3784] INFO (XendDomainInfo:224)
Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000.
[2007-04-30 09:24:59 xend.XendDomainInfo 3784] WARNING (XendDomainInfo:246) No
vm path in store for existing domain 0
[2007-04-30 09:24:59 xend.XendDomainInfo 3784] DEBUG (XendDomainInfo:712)
Storing VM details:
{'shadow_memory': '0', 'uuid': '00000000-0000-0000-0000-000000000000', 'on_reboot': 'restart', 'on_poweroff': 'destroy', 'name': 'Domain-0', 'xend/restart_count': '0', 'vcpus': '2', 'vcpu_avail': '3', 'memory': '932', 'on_crash': 'restart', 'maxmem': '932'}
[2007-04-30 09:24:59 xend.XendDomainInfo 3784] DEBUG (XendDomainInfo:747)
Storing domain details:
{'cpu/0/availability': 'online', 'memory/target': '954368', 'cpu/1/availability': 'online', 'name': 'Domain-0', 'console/limit': '1048576', 'vm': '/vm/00000000-0000-0000-0000-000000000000', 'domid': '0'}
[2007-04-30 09:24:59 xend 3784] DEBUG (XendDomain:153) number of vcpus to use
is 0
[2007-04-30 09:25:00 xend.XendDomainInfo 3784] DEBUG (XendDomainInfo:933)
XendDomainInfo.handleShutdownWatch
[2007-04-30 09:31:43 xend.XendDomainInfo 3784] DEBUG (XendDomainInfo:190)
XendDomainInfo.create(['vm', ['name', 'windows2'], ['memory', '512'],
['vcpus', 1], ['image', ['hvm',
['kernel', '/usr/lib/xen-ioemu-3.0/boot/hvmloader'],
['device_model', '/usr/lib/xen-ioemu-3.0/bin/qemu-dm'], ['vcpus', 1],
['boot', 'cd'], ['vncunused', 1], ['sdl', 1], ['display', ': 0.0'],
['xauthority', '/root/.xauthgTOXRx']]], ['device', ['vbd',
['uname', 'file:/home/xen/windisk2.img'], ['dev', 'ioemu:hda'],
['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/home/xen/wincd.iso'],
['dev', 'ioemu:hdc:cdrom'], ['mode', 'r']]], ['device', ['vif',
['bridge', 'xenbr0'], ['mac', '00:16:3e:00:00:11'], ['type', 'ioemu'],
['model', 'ne2k_pci']]]])
[2007-04-30 09:31:43 xend.XendDomainInfo 3784] DEBUG (XendDomainInfo:296)
parseConfig: config is ['vm', ['name', 'windows2'], ['memory', '512'],
['vcpus', 1], ['image', ['hvm',
['kernel', '/usr/lib/xen-ioemu-3.0/boot/hvmloader'],
['device_model', '/usr/lib/xen-ioemu-3.0/bin/qemu-dm'], ['vcpus', 1],
['boot', 'cd'], ['vncunused', 1], ['sdl', 1], ['display', ':0.0'],
['xauthority', '/root/.xauthgTOXRx']]], ['device', ['vbd',
['uname', 'file:/home/xen/windisk2.img'], ['dev', 'ioemu:hda'],
['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/home/xen/wincd.iso'],
['dev', 'ioemu:hdc:cdrom'], ['mode', 'r']]], ['device', ['vif',
['bridge', 'xenbr0'], ['mac', '00:16:3e:00:00:11'], ['type', 'ioemu'],
['model', 'ne2k_pci']]]]
[2007-04-30 09:31:43 xend.XendDomainInfo 3784] DEBUG (XendDomainInfo:395)
parseConfig: result is {'shadow_memory': None, 'uuid': None, 'on_crash':
None, 'on_reboot': None, 'localtime': None, 'image': ['hvm',
['kernel', '/usr/lib/xen- ioemu-3.0/boot/hvmloader'],
['device_model', '/usr/lib/xen-ioemu-3.0/bin/qemu-dm'], ['vcpus', 1],
['boot', 'cd'], ['vncunused', 1], ['sdl', 1], ['display', ': 0.0'],
['xauthority', '/root/.xauthgTOXRx']], 'on_poweroff':
None, 'bootloader_args': None, 'cpus': None, 'name': 'windows2', 'backend':
[], 'vcpus': 1, 'cpu_weight': None, 'features': None, 'vcpu_avail':
None, 'memory': 512, 'device': [('vbd', ['vbd',
['uname', 'file:/home/xen/windisk2.img'], ['dev', 'ioemu:hda'],
['mode', 'w']]), ('vbd', ['vbd', ['uname', 'file:/home/xen/wincd.iso'],
['dev', 'ioemu:hdc:cdrom'], ['mode', 'r']]), ('vif', ['vif',
['bridge', 'xenbr0'], ['mac', '00:16:3e:00:00:11'], ['type', 'ioemu'],
['model', 'ne2k_pci']])], 'bootloader': None, 'cpu': None, 'maxmem': None}
[2007-04-30 09:31:43 xend.XendDomainInfo 3784] DEBUG (XendDomainInfo:1274)
XendDomainInfo.construct : None
[2007-04-30 09:31:43 xend.XendDomainInfo 3784] DEBUG (XendDomainInfo:1306)
XendDomainInfo.initDomain: 1 1.0
[2007-04-30 09:31:43 xend 3784] DEBUG (image:320) args: boot, val: cd
[2007-04-30 09:31:43 xend 3784] DEBUG (image:320) args: fda, val: None
[2007-04-30 09:31:43 xend 3784] DEBUG (image:320) args: fdb, val: None
[2007-04-30 09:31:43 xend 3784] DEBUG (image:320) args: soundhw, val: None
[2007-04-30 09:31:43 xend 3784] DEBUG (image:320) args: localtime, val: None
[2007-04-30 09:31:43 xend 3784] DEBUG (image:320) args: serial, val: None
[2007-04-30 09:31:43 xend 3784] DEBUG (image:320) args: std-vga, val: None
[2007-04-30 09:31:43 xend 3784] DEBUG (image:320) args: isa, val: None
[2007-04-30 09:31:43 xend 3784] DEBUG (image:320) args: vcpus, val: 1
[2007-04-30 09:31:43 xend 3784] DEBUG (image:320) args: acpi, val: None
[2007-04-30 09:31:43 xend 3784] DEBUG (image:320) args: usb, val: None
[2007-04-30 09:31:43 xend 3784] DEBUG (image:320) args: usbdevice, val: None
[2007-04-30 09:31:43 xend 3784] DEBUG (balloon:152) Balloon: 64924 KiB free; 0
to scrub; need 541904; retries: 20.
[2007-04-30 09:31:43 xend 3784] DEBUG (balloon:167) Balloon: setting dom0
target to 465 MiB.
[2007-04-30 09:31:43 xend.XendDomainInfo 3784] DEBUG (XendDomainInfo:1035)
Setting memory target of domain Domain-0 (0) to 465 MiB.
[2007-04-30 09:31:45 xend 3784] DEBUG (balloon:146) Balloon: 542200 KiB free;
need 541904; done.
[2007-04-30 09:31:46 xend 3784] INFO (image:136) buildDomain os=hvm dom=1
vcpus=1
[2007-04-30 09:31:46 xend 3784] DEBUG (image:274) dom            = 1
[2007-04-30 09:31:46 xend 3784] DEBUG (image:275) image
= /usr/lib/xen-ioemu-3.0/boot/hvmloader
[2007-04-30 09:31:46 xend 3784] DEBUG (image:276) store_evtchn   = 1
[2007-04-30 09:31:46 xend 3784] DEBUG (image:277) memsize        = 512
[2007-04-30 09:31:46 xend 3784] DEBUG (image:278) vcpus          = 1
[2007-04-30 09:31:46 xend 3784] DEBUG (image:279) pae            = 1
[2007-04-30 09:31:46 xend 3784] DEBUG (image:280) acpi           = 0
[2007-04-30 09:31:46 xend 3784] DEBUG (image:281) apic           = 0
[2007-04-30 09:31:46 xend 3784] DEBUG (image:415) hvm shutdown watch
registered
[2007-04-30 09:31:46 xend 3784] DEBUG (blkif:24) exception looking up device
number for hda: [Errno 2] No such file or directory: '/dev/hda'
[2007-04-30 09:31:46 xend 3784] DEBUG (DevController:110) DevController:
writing
{'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/1/768'}
to /local/domain/1/device/vbd/768.
[2007-04-30 09:31:46 xend 3784] DEBUG (DevController:112) DevController:
writing
{'domain': 'windows2', 'frontend': '/local/domain/1/device/vbd/768', 'dev': 'hda', 'state': '1', 'params': '/home/xen/windisk2.img', 'mode': 'w', 'online': '1', 'frontend-id': '1', 'type': 'file'}
to /local/domain/0/backend/vbd/1/768.
[2007-04-30 09:31:46 xend 3784] DEBUG (blkif:24) exception looking up device
number for hdc: [Errno 2] No such file or directory: '/dev/hdc'
[2007-04-30 09:31:46 xend 3784] DEBUG (DevController:110) DevController:
writing
{'backend-id': '0', 'virtual-device': '5632', 'device-type': 'cdrom', 'state': '1', 'backend': '/local/domain/0/backend/vbd/1/5632'}
to /local/domain/1/device/vbd/5632.
[2007-04-30 09:31:46 xend 3784] DEBUG (DevController:112) DevController:
writing
{'domain': 'windows2', 'frontend': '/local/domain/1/device/vbd/5632', 'dev': 'hdc', 'state': '1', 'params': '/home/xen/wincd.iso', 'mode': 'r', 'online': '1', 'frontend-id': '1', 'type': 'file'}
to /local/domain/0/backend/vbd/1/5632.
[2007-04-30 09:31:46 xend 3784] DEBUG (DevController:110) DevController:
writing
{'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vif/1/0'}
to /local/domain/1/device/vif/0.
[2007-04-30 09:31:46 xend 3784] DEBUG (DevController:112) DevController:
writing
{'bridge': 'xenbr0', 'domain': 'windows2', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/1/device/vif/0', 'mac': '00:16:3e:00:00:11', 'online': '1', 'frontend-id': '1', 'type': 'ioemu'}
to /local/domain/0/backend/vif/1/0.
[2007-04-30 09:31:46 xend 3784] INFO (image:398) spawning device
models: /usr/lib/xen-ioemu-3.0/bin/qemu-dm
['/usr/lib/xen-ioemu-3.0/bin/qemu-dm', '-d', '1', '-m', '512', '-boot', 'cd', '-vcpus', '1', '-domain-name', 'windows2', '-net', 'nic,vlan=1,macaddr=00:16:3e:00:00:11,model=ne2k_pci', '-net', 'tap,vlan=1,bridge=xenbr0', '-k', 'en-us']
[2007-04-30 09:31:46 xend 3784] INFO (image:400) device model pid: 5616
[2007-04-30 09:31:46 xend.XendDomainInfo 3784] DEBUG (XendDomainInfo:712)
Storing VM details:
{'shadow_memory': '4', 'uuid': 'e5708206-93b7-2cc0-cdc6-68fc862777a9', 'on_reboot': 'restart', 'start_time': ' 1177918306.35', 'on_poweroff': 'destroy', 'name': 'windows2', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '512', 'on_crash': 'restart', 'image': '(hvm
(kernel /usr/lib/xen-ioemu-3.0/boot/hvmloader)
(device_model /usr/lib/xen-ioemu-3.0/bin/qemu-dm) (vcpus 1) (boot cd)
(vncunused 1) (sdl 1) (display :0.0)
(xauthority /root/.xauthgTOXRx))', 'maxmem': '512'}
[2007-04-30 09:31:46 xend.XendDomainInfo 3784] DEBUG (XendDomainInfo:747)
Storing domain details:
{'console/port': '2', 'name': 'windows2', 'console/limit': '1048576', 'vm': '/vm/e5708206-93b7-2cc0-cdc6-68fc862777a9', 'domid': '1', 'cpu/0/availability': 'online', 'memory/target': '524288', 'store/ring-ref': '134527', 'store/port': '1'}
[2007-04-30 09:31:46 xend 3784] DEBUG (image:438) hvm_shutdown fired, shutdown
reason=None
[2007-04-30 09:31:46 xend.XendDomainInfo 3784] DEBUG (XendDomainInfo:933)
XendDomainInfo.handleShutdownWatch
[2007-04-30 09:31:47 xend 3784] DEBUG (DevController:143) Waiting for devices
vif.
[2007-04-30 09:31:47 xend 3784] DEBUG (DevController:149) Waiting for 0.
[2007-04-30 09:31:47 xend 3784] DEBUG (DevController:464)
hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status.
[2007-04-30 09:31:49 xend 3784] DEBUG (DevController:464)
hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status.
[2007-04-30 09:31:49 xend 3784] DEBUG (DevController:478)
hotplugStatusCallback 1.
[2007-04-30 09:31:49 xend 3784] DEBUG (DevController:143) Waiting for devices
usb.
[2007-04-30 09:31:49 xend 3784] DEBUG (DevController:143) Waiting for devices
vbd.
[2007-04-30 09:31:49 xend 3784] DEBUG (DevController:149) Waiting for 768.
[2007-04-30 09:31:49 xend 3784] DEBUG (DevController:464)
hotplugStatusCallback /local/domain/0/backend/vbd/1/768/hotplug-status.
[2007-04-30 09:31:49 xend 3784] DEBUG (DevController:478)
hotplugStatusCallback 1.
[2007-04-30 09:31:49 xend 3784] DEBUG (DevController:149) Waiting for 5632.
[2007-04-30 09:31:49 xend 3784] DEBUG (DevController:464)
hotplugStatusCallback /local/domain/0/backend/vbd/1/5632/hotplug-status.
[2007-04-30 09:31:50 xend 3784] DEBUG (DevController:464)
hotplugStatusCallback /local/domain/0/backend/vbd/1/5632/hotplug-status.
[2007-04-30 09:31:50 xend 3784] DEBUG (DevController:478)
hotplugStatusCallback 1.
[2007-04-30 09:31:50 xend 3784] DEBUG (DevController:143) Waiting for devices
irq.
[2007-04-30 09:31:50 xend 3784] DEBUG (DevController:143) Waiting for devices
pci.
[2007-04-30 09:31:50 xend 3784] DEBUG (DevController:143) Waiting for devices
ioports.
[2007-04-30 09:31:50 xend 3784] DEBUG (DevController:143) Waiting for devices
tap.
[2007-04-30 09:31:50 xend 3784] DEBUG (DevController:143) Waiting for devices
vtpm.
[2007-04-30 09:31:50 xend 3784] INFO (XendDomain:370) Domain windows2 (1)
unpaused.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-users] Networkbrige is not working, louis nerion <=