From: Boris Derzhavets Subject: Re: [Xen-users] ARP problems with xen 4.0 with pvops kernel Date: Wed, 2 Jun 2010 01:00:05 -0700 (PDT) Message-ID: <725402.66447.qm@web56101.mail.re3.yahoo.com> References: <1275439138.2202.27.camel@luis-port> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1745415724==" Return-path: In-Reply-To: <1275439138.2202.27.camel@luis-port> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com, xen-users@lists.xensource.com, luis.silva@axiomasoft.pt List-Id: xen-devel@lists.xenproject.org --===============1745415724== Content-Type: multipart/alternative; boundary="0-51518915-1275465605=:66447" --0-51518915-1275465605=:66447 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Via my experience under Xen 4.0 ( 2.6.32.14 pvops) on top of Ubuntu 10.04 S= erver Command :- # virt-install --connect xen:/// --name VF13P=A0 -p --ram 2048 -f /dev/sda8= \ --vnc --location http://192.168.1.33/f13 --debug Causes installer to crash Dom0 ( box just get frozen )=A0 at the point of r= equesting IP for F13 DomU via either eth0(xen bridge)=A0 or virbr0. About month ago same install worked OK with 2.6.32.12 pvops kernel. Boris. P.S. Some new message came up at virt-install : libvirt : Xen Inotify error=A0 - ...... libvirt : Xen Inotify error=A0 - ...... libvirt : Xen Inotify error=A0 - ...... --- On Tue, 6/1/10, Lu=EDs Silva wrote: From: Lu=EDs Silva Subject: [Xen-users] ARP problems with xen 4.0 with pvops kernel To: xen-devel@lists.xensource.com, xen-users@lists.xensource.com Date: Tuesday, June 1, 2010, 8:38 PM =0A=0A=0A =0A =0AHello, =0A =0AFinally I managed to get a xen 4.0 working on ubuntu 10.04 with pvops ke= rnel and libvirt. However I am having some problems with networking... afte= r initial installation with netinstall image in hvm mode, when I transform = the vm in xen pv (via pygrub with the current ubuntu kernel), networking st= artEd to act weird... =0A =0ABasically I'm not using a network script from xen. I define a bridge (ma= nually or via libvirt, the result is the same) and I use vif-bridge to conn= ect the vif to it. But now the weird part comes: I can communicate from dom= U to dom0, but not the other way around, unless I keep a ping running from = domU to dom0... That's right, weird... while trying the ping from dom0 to d= omU, I used tcpdump both on the bridge, on the vif and on the eth0 in the d= omU. The arp packets never get to domU, but they appear both in the bridge = and the vif sniff's... =0A =0AHere is the bridge:=0A ifconfig virbr0 virbr0=A0=A0=A0 Link encap:Ethernet=A0 HWaddr fe:ff:ff:ff:ff:ff=A0=20 =A0=A0=A0=A0=A0=A0=A0=A0=A0 inet addr:192.168.120.254=A0 Bcast:192.168.120.= 255=A0 Mask:255.255.255.0 =A0=A0=A0=A0=A0=A0=A0=A0=A0 inet6 addr: fe80::7cee:4bff:fe82:e63f/64 Scope:= Link =A0=A0=A0=A0=A0=A0=A0=A0=A0 UP BROADCAST RUNNING MULTICAST=A0 MTU:1500=A0 M= etric:1 =A0=A0=A0=A0=A0=A0=A0=A0=A0 RX packets:16 errors:0 dropped:0 overruns:0 fra= me:0 =A0=A0=A0=A0=A0=A0=A0=A0=A0 TX packets:226 errors:0 dropped:0 overruns:0 ca= rrier:0 =A0=A0=A0=A0=A0=A0=A0=A0=A0 collisions:0 txqueuelen:0=20 =A0=A0=A0=A0=A0=A0=A0=A0=A0 RX bytes:952 (952.0 B)=A0 TX bytes:13953 (13.9 = KB) brctl show bridge name=09bridge id=09=09STP enabled=09interfaces virbr0=09=098000.feffffffffff=09no=09=09vif5.0 tcpdump -i virbr0 -vv -n tcpdump: listening on virbr0, link-type EN10MB (Ethernet), capture size 96 = bytes 01:31:25.945151 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP= (1), length 84) =A0=A0=A0 192.168.120.254 > 192.168.120.1: ICMP echo request, id 10317, seq= 1, length 64 01:31:26.945361 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP= (1), length 84) =A0=A0=A0 192.168.120.254 > 192.168.120.1: ICMP echo request, id 10317, seq= 2, length 64 01:31:27.945420 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP= (1), length 84) =A0=A0=A0 192.168.120.254 > 192.168.120.1: ICMP echo request, id 10317, seq= 3, length 64 01:31:28.945362 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP= (1), length 84) =A0=A0=A0 192.168.120.254 > 192.168.120.1: ICMP echo request, id 10317, seq= 4, length 64 01:31:29.945364 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP= (1), length 84) =A0=A0=A0 192.168.120.254 > 192.168.120.1: ICMP echo request, id 10317, seq= 5, length 64 01:31:30.944300 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.16= 8.120.1 tell 192.168.120.254, length 28 01:31:30.945359 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP= (1), length 84) =A0=A0=A0 192.168.120.254 > 192.168.120.1: ICMP echo request, id 10317, seq= 6, length 64 01:31:31.944297 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.16= 8.120.1 tell 192.168.120.254, length 28 01:31:31.945444 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP= (1), length 84) =A0=A0=A0 192.168.120.254 > 192.168.120.1: ICMP echo request, id 10317, seq= 7, length 64 01:31:32.944294 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.16= 8.120.1 tell 192.168.120.254, length 28 01:31:32.945401 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP= (1), length 84) =A0=A0=A0 192.168.120.254 > 192.168.120.1: ICMP echo request, id 10317, seq= 8, length 64 01:31:33.947293 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.16= 8.120.1 tell 192.168.120.254, length 28 01:31:34.947373 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.16= 8.120.1 tell 192.168.120.254, length 28 01:31:35.947353 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.16= 8.120.1 tell 192.168.120.254, length 28 01:31:37.948352 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.16= 8.120.1 tell 192.168.120.254, length 28 01:31:38.948399 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.16= 8.120.1 tell 192.168.120.254, length 28 01:31:39.948376 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.16= 8.120.1 tell 192.168.120.254, length 28 01:31:40.949356 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.16= 8.120.1 tell 192.168.120.254, length 28 tcpdump -i vif5.0 -vv -n tcpdump: WARNING: vif5.0: no IPv4 address assigned tcpdump: listening on vif5.0, link-type EN10MB (Ethernet), capture size 96 = bytes 01:32:19.956358 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.16= 8.120.1 tell 192.168.120.254, length 28 01:32:20.956358 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.16= 8.120.1 tell 192.168.120.254, length 28 01:32:21.956359 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.16= 8.120.1 tell 192.168.120.254, length 28 01:32:23.957311 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.16= 8.120.1 tell 192.168.120.254, length 28 01:32:24.957312 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.16= 8.120.1 tell 192.168.120.254, length 28 01:32:25.957359 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.16= 8.120.1 tell 192.168.120.254, length 28 01:32:27.958360 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.16= 8.120.1 tell 192.168.120.254, length 28 01:32:28.958310 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.16= 8.120.1 tell 192.168.120.254, length 28 01:32:29.958362 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.16= 8.120.1 tell 192.168.120.254, length 28 =0A =0A =0AForwarding and iptables don't seem to be the problem, because if I initi= ate a ping from domU (at the same time as the failing one from dom0), the p= ing in dom0 starts to work. As soon as I stop the ping in domU, the one in = dom0 starts failing again... =0A =0AIs anyone having the same problem? Is this a bug in the kernel? In dom0 = or domU?=20 =0A =0AThanks in advance, =0ALu=EDs=0A =0A -----Inline Attachment Follows----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users=0A=0A=0A --0-51518915-1275465605=:66447 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable

Via my experience under Xen 4.0 ( 2.6.32.= 14 pvops) on top of Ubuntu 10.04 Server
Command :-

# virt-install= --connect xen:/// --name VF13P  -p --ram 2048 -f /dev/sda8 \
--vnc= --location http://192.168.1.33/f13 --debug

Causes installer to cras= h Dom0 ( box just get frozen )  at the point of requesting IP for F13 = DomU via either eth0(xen bridge)  or virbr0.

About month ago sa= me install worked OK with 2.6.32.12 pvops kernel.

Boris.
P.S. Som= e new message came up at virt-install :
libvirt : Xen Inotify error = ; - ......
libvirt : Xen Inotify error  - ......
libvirt : Xen I= notify error  - ......

--- On Tue, 6/1/10, Lu=EDs Silva &= lt;luis.silva@axiomasoft.pt> wrote:

From: Lu=EDs Silva <luis.silva@axiomasoft.pt>
Subject: = [Xen-users] ARP problems with xen 4.0 with pvops kernel
To: xen-devel@li= sts.xensource.com, xen-users@lists.xensource.com
Date: Tuesday, June 1, = 2010, 8:38 PM

=0A=0A=0A =0A =0AHello,
= =0A
=0AFinally I managed to get a xen 4.0 working on ubuntu 10.04 with p= vops kernel and libvirt. However I am having some problems with networking.= .. after initial installation with netinstall image in hvm mode, when I tra= nsform the vm in xen pv (via pygrub with the current ubuntu kernel), networ= king startEd to act weird...
=0A
=0ABasically I'm not using a network= script from xen. I define a bridge (manually or via libvirt, the result is= the same) and I use vif-bridge to connect the vif to it. But now the weird= part comes: I can communicate from domU to dom0, but not the other way aro= und, unless I keep a ping running from domU to dom0... That's right, weird.= .. while trying the ping from dom0 to domU, I used tcpdump both on the brid= ge, on the vif and on the eth0 in the domU. The arp packets never get to do= mU, but they appear both in the bridge and the vif sniff's...
=0A
=0A= Here is the bridge:=0A

ifconfig virbr0
virbr0    = Link encap:Ethernet  HWaddr fe:ff:ff:ff:ff:ff 
  &n= bsp;       inet addr:192.168.120.254  Bc= ast:192.168.120.255  Mask:255.255.255.0
    &nb= sp;     inet6 addr: fe80::7cee:4bff:fe82:e63f/64 Scope:= Link
          UP BROADCAST= RUNNING MULTICAST  MTU:1500  Metric:1
    = ;      RX packets:16 errors:0 dropped:0 overruns:0= frame:0
          TX packe= ts:226 errors:0 dropped:0 overruns:0 carrier:0
    &= nbsp;     collisions:0 txqueuelen:0
  &nb= sp;       RX bytes:952 (952.0 B)  TX byt= es:13953 (13.9 KB)


brctl show
bridge name=09bridge id=09=09ST= P enabled =09interfaces
virbr0=09=098000.feffffffffff=09no=09=09vif5.0


= tcpdump -i virbr0 -vv -n
tcpdump: listening on virbr0, link-type EN10MB = (Ethernet), capture size 96 bytes
01:31:25.945151 IP (tos 0x0, ttl 64, i= d 0, offset 0, flags [DF], proto ICMP (1), length 84)
   = 192.168.120.254 > 192.168.120.1: ICMP echo request, id 10317, seq 1, le= ngth 64
01:31:26.945361 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF],= proto ICMP (1), length 84)
    192.168.120.254 > 192.= 168.120.1: ICMP echo request, id 10317, seq 2, length 64
01:31:27.945420= IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP (1), length 84= )
    192.168.120.254 > 192.168.120.1: ICMP echo reque= st, id 10317, seq 3, length 64
01:31:28.945362 IP (tos 0x0, ttl 64, id 0= , offset 0, flags [DF], proto ICMP (1), length 84)
    19= 2.168.120.254 > 192.168.120.1: ICMP echo request, id 10317, seq 4, lengt= h 64
01:31:29.945364 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], pro= to ICMP (1), length 84)
    192.168.120.254 > 192.168.= 120.1: ICMP echo request, id 10317, seq 5, length 64
01:31:30.944300 ARP= , Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.120.1 tell 192.16= 8.120.254, length 28
01:31:30.945359 IP (tos 0x0, ttl 64, id 0, offset 0= , flags [DF], proto ICMP (1), length 84)
    192.168.120.= 254 > 192.168.120.1: ICMP echo request, id 10317, seq 6, length 64
01= :31:31.944297 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.= 120.1 tell 192.168.120.254, length 28
01:31:31.945444 IP (tos 0x0, ttl 6= 4, id 0, offset 0, flags [DF], proto ICMP (1), length 84)
  &n= bsp; 192.168.120.254 > 192.168.120.1: ICMP echo request, id 10317, seq 7= , length 64
01:31:32.944294 ARP, Ethernet (len 6), IPv4 (len 4), Request= who-has 192.168.120.1 tell 192.168.120.254, length 28
01:31:32.945401 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], pro= to ICMP (1), length 84)
    192.168.120.254 > 192.168.= 120.1: ICMP echo request, id 10317, seq 8, length 64
01:31:33.947293 ARP= , Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.120.1 tell 192.16= 8.120.254, length 28
01:31:34.947373 ARP, Ethernet (len 6), IPv4 (len 4)= , Request who-has 192.168.120.1 tell 192.168.120.254, length 28
01:31:35= .947353 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.120.1 = tell 192.168.120.254, length 28
01:31:37.948352 ARP, Ethernet (len 6), I= Pv4 (len 4), Request who-has 192.168.120.1 tell 192.168.120.254, length 28<= br>01:31:38.948399 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192= .168.120.1 tell 192.168.120.254, length 28
01:31:39.948376 ARP, Ethernet= (len 6), IPv4 (len 4), Request who-has 192.168.120.1 tell 192.168.120.254,= length 28
01:31:40.949356 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.120.1 tell 192.168.120.254, length 28


t= cpdump -i vif5.0 -vv -n
tcpdump: WARNING: vif5.0: no IPv4 address assign= ed
tcpdump: listening on vif5.0, link-type EN10MB (Ethernet), capture si= ze 96 bytes
01:32:19.956358 ARP, Ethernet (len 6), IPv4 (len 4), Request= who-has 192.168.120.1 tell 192.168.120.254, length 28
01:32:20.956358 A= RP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.120.1 tell 192.= 168.120.254, length 28
01:32:21.956359 ARP, Ethernet (len 6), IPv4 (len = 4), Request who-has 192.168.120.1 tell 192.168.120.254, length 28
01:32:= 23.957311 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.120.= 1 tell 192.168.120.254, length 28
01:32:24.957312 ARP, Ethernet (len 6),= IPv4 (len 4), Request who-has 192.168.120.1 tell 192.168.120.254, length 2= 8
01:32:25.957359 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 1= 92.168.120.1 tell 192.168.120.254, length 28
01:32:27.958360 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.120.1 tell 192.168= .120.254, length 28
01:32:28.958310 ARP, Ethernet (len 6), IPv4 (len 4),= Request who-has 192.168.120.1 tell 192.168.120.254, length 28
01:32:29.= 958362 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.120.1 t= ell 192.168.120.254, length 28
=0A
=0A
=0AForwarding and ipt= ables don't seem to be the problem, because if I initiate a ping from domU = (at the same time as the failing one from dom0), the ping in dom0 starts to= work. As soon as I stop the ping in domU, the one in dom0 starts failing a= gain...
=0A
=0AIs anyone having the same problem? Is this a bug in th= e kernel? In dom0 or domU?
=0A
=0AThanks in advance,
=0ALu=EDs=0A= =0A

-----Inline Attachment Follows-----

_______________________________________________
Xen-users mailing= list
Xen-users@lists.xensource.com=
http= ://lists.xensource.com/xen-users
=0A=0A --0-51518915-1275465605=:66447-- --===============1745415724== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1745415724==--