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

[Xen-users] Eth0 and eth1 swapped

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Eth0 and eth1 swapped
From: Gabriel Tataranu <tgabi@xxxxxxxxxx>
Date: Thu, 08 Mar 2007 15:28:49 -0500
Delivery-date: Thu, 08 Mar 2007 12:28:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.9 (X11/20070103)
Greetings,

Sometimes - at random it seems - ethernet interfaces start swapped (i.e. eth0 in domU is connected to xenbr1 instead of being connected to xenbr0 . Below is the relevant portion of xend.log when such swap takes place.

I'm using Xen 3.0.4_1 on 32bit Linux.

Any ideas ?

----------------------------------------------------------
[2007-03-08 14:29:59 xend.XendDomainInfo 20668] DEBUG (XendDomainInfo:94) XendDomainInfo.create(['vm', ['name', 'mp2x1'], ['memory', 184], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.16.33-xenU'], ['root', '/dev/sdc1'], ['args', '3']]], ['device', ['vbd', ['uname', 'phy:/dev/vservd0/mp2x1_root'], ['dev', 'sdc1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:/dev/vservd0/mp2x1_var'], ['dev', 'sdc2'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:/dev/vservd0/mp2x1_home'], ['dev', 'sdc3'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:/dev/vservd0/mp2x1_swap'], ['dev', 'sdc4'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'xenbr0'], ['vifname', 'vifm1.0']]], ['device', ['vif', ['bridge', 'xenbr1'], ['vifname', 'vifm1.1']]]])

[2007-03-08 14:29:59 xend.XendDomainInfo 20668] INFO (XendDomainInfo:1194) createDevice: vif : {'bridge': 'xenbr1', 'vifname': 'vifm1.1', 'uuid': 'dfa9862e-26e5-18d3-368e-15ac9f862fd2'}

[2007-03-08 14:29:59 xend 20668] DEBUG (DevController:115) DevController: writing {'backend-id': '0', 'mac': '00:16:3e:36:a6:0d', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/73/0'} to /local/domain/73/device/vif/0.

[2007-03-08 14:29:59 xend 20668] DEBUG (DevController:117) DevController: writing {'bridge': 'xenbr1', 'domain': 'mailp2x1', 'handle': '0', 'uuid': 'dfa9862e-26e5-18d3-368e-15ac9f862fd2', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/73/device/vif/0', 'mac': '00:16:3e:36:a6:0d', 'vifname': 'vifm1.1', 'online': '1', 'frontend-id': '73'} to /local/domain/0/backend/vif/73/0.

[2007-03-08 14:29:59 xend.XendDomainInfo 20668] INFO (XendDomainInfo:1194) createDevice: vif : {'bridge': 'xenbr0', 'vifname': 'vifm1.0', 'uuid': 'fdbe66e8-d6f7-8e85-bd11-9b06760a0b98'} [2007-03-08 14:29:59 xend 20668] DEBUG (DevController:115) DevController: writing {'backend-id': '0', 'mac': '00:16:3e:1d:68:21', 'handle': '1', 'state': '1', 'backend': '/local/domain/0/backend/vif/73/1'} to /local/domain/73/device/vif/1.

[2007-03-08 14:29:59 xend 20668] DEBUG (DevController:117) DevController: writing {'bridge': 'xenbr0', 'domain': 'mp2x1', 'handle': '1', 'uuid': 'fdbe66e8-d6f7-8e85-bd11-9b06760a0b98', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/73/device/vif/1', 'mac': '00:16:3e:1d:68:21', 'vifname': 'vifm1.0', 'online': '1', 'frontend-id': '73'} to /local/domain/0/backend/vif/73/1.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>