From: Boris Derzhavets Subject: Re: [Xen-users] Re: ARP problems with xen 4.0 with pvops kernel 2.6.32.15 Date: Wed, 9 Jun 2010 05:47:42 -0700 (PDT) Message-ID: <756573.70654.qm@web56102.mail.re3.yahoo.com> References: <20100607075511.GW17817@reaktio.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1171378908==" Return-path: In-Reply-To: <20100607075511.GW17817@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: =?iso-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: Jeremy Fitzhardinge , xen-devel@lists.xensource.com, luis.silva@axiomasoft.pt, xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1171378908== Content-Type: multipart/alternative; boundary="0-1862487003-1276087662=:70654" --0-1862487003-1276087662=:70654 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I was able to virt-install F13 PV DomU in nographics mode under Xen 4.0.1-r= c2-pre (2.6.32.15 pvops c2cb3df04eb3ff68d0de102b2acacc9b8616e659) at the po= int of extracting data from Apache mirror at Dom0 on top of Ubuntu 10.04=A0= ( text console mode message) ------------------------------------------------- =A02 extracting cpio errors.=A0 Bad Magic ------------------------------------------------- However, virt-install proceeds further to promt "set up VNC at DomU" and completed successfully. VNC mode cannot pass through this extractions. It just hangs. Boris. --- On Mon, 6/7/10, Pasi K=E4rkk=E4inen wrote: From: Pasi K=E4rkk=E4inen Subject: Re: [Xen-users] Re: [Xen-devel] ARP problems with xen 4.0 with pvo= ps kernel 2.6.32.15 To: "Boris Derzhavets" Cc: "Jeremy Fitzhardinge" , xen-devel@lists.xensource.com,= luis.silva@axiomasoft.pt, xen-users@lists.xensource.com Date: Monday, June 7, 2010, 3:55 AM On Sun, Jun 06, 2010 at 11:54:11AM -0700, Boris Derzhavets wrote: >=A0 =A0 Virt-install hangs attempting to retrieve updates.img from Apache = Mirror >=A0 =A0 setup at Dom0 >=A0 =A0 with kernel 2.6.32.15 >=A0 =A0 It doesn't happen with 2.6.32.10 (12,14 final). >=A0 =A0 Environment Xen 4.0 Dom0 on top Ubuntu 10.04 Server. Libvirt is 0.= 8.0 . >=A0 =A0 Attempting=A0 to virt-install F13 PV DomU in vnc mode. >=20 >=A0 =A0 =A0 I believe that builds are consistent. >=A0 =A0 Runtime behavior is the same for .10, .14, .15. Seems to be commun= icating >=A0 =A0 problem between DomU and Dom0 during HTTP download. >=20 I'm seeing PV domU network issues aswell.. when running Xen 4.0.0 on Fedora= 13. I'll have to dig more into it.. -- Pasi >=A0 =A0 Boris. >=20 >=A0 =A0 --- On Sun, 6/6/10, Jeremy Fitzhardinge wrote: >=20 >=A0 =A0 =A0 From: Jeremy Fitzhardinge >=A0 =A0 =A0 Subject: Re: [Xen-users] Re: [Xen-devel] ARP problems with xen= 4.0 with >=A0 =A0 =A0 pvops kernel 2.6.32.15 >=A0 =A0 =A0 To: "Boris Derzhavets" >=A0 =A0 =A0 Cc: luis.silva@axiomasoft.pt, xen-devel@lists.xensource.com, >=A0 =A0 =A0 xen-users@lists.xensource.com >=A0 =A0 =A0 Date: Sunday, June 6, 2010, 12:43 PM >=20 >=A0 =A0 =A0 On 06/06/2010 03:19 AM, Boris Derzhavets wrote: >=A0 =A0 =A0 > Network issues when working with DomUs in 2.6.32.14 and fina= lly been >=A0 =A0 =A0 > fixed, >=A0 =A0 =A0 > seem to appear again in 2.6.32.15. Reverting to back to xen/= stable - >=A0 =A0 =A0 > 2.6.32.10 >=A0 =A0 =A0 > works as a fix again. >=A0 =A0 =A0 > >=20 >=A0 =A0 =A0 There are no substantial differences between 2.6.32.14 and .15= .=A0 If >=A0 =A0 =A0 there are any differences in behaviour between them, then I'd = suspect >=A0 =A0 =A0 some inconsistency from boot to boot, or in your kernel build = process. >=20 >=A0 =A0 =A0 =A0 =A0 J >=20 >=A0 =A0 =A0 > >=A0 =A0 =A0 > Boris >=A0 =A0 =A0 > >=A0 =A0 =A0 > --- On *Thu, 6/3/10, Lu=EDs Silva /<[1]luis.silva@axiomasoft= .pt>/* >=A0 =A0 =A0 wrote: >=A0 =A0 =A0 > >=A0 =A0 =A0 > >=A0 =A0 =A0 >=A0 =A0=A0=A0From: Lu=EDs Silva <[2]luis.silva@axiomasoft.pt> >=A0 =A0 =A0 >=A0 =A0=A0=A0Subject: Re: [Xen-users] Re: [Xen-devel] ARP pro= blems with xen 4.0 >=A0 =A0 =A0 >=A0 =A0=A0=A0with pvops kernel >=A0 =A0 =A0 >=A0 =A0=A0=A0To: "Boris Derzhavets" <[3]bderzhavets@yahoo.com= > >=A0 =A0 =A0 >=A0 =A0=A0=A0Cc: "Jeremy Fitzhardinge" <[4]jeremy@goop.org>, >=A0 =A0 =A0 >=A0 =A0=A0=A0[5]xen-devel@lists.xensource.com, [6]xen-users@l= ists.xensource.com >=A0 =A0 =A0 >=A0 =A0=A0=A0Date: Thursday, June 3, 2010, 6:20 AM >=A0 =A0 =A0 > >=A0 =A0 =A0 >=A0 =A0=A0=A0Hello, >=A0 =A0 =A0 > >=A0 =A0 =A0 >=A0 =A0=A0=A0Thanks for the suggestion, xen/stable works ok f= or me. Only >=A0 =A0 =A0 >=A0 =A0=A0=A0problem is that I have to disable offload do get= dhcp to work on >=A0 =A0 =A0 >=A0 =A0=A0=A0domU, but the problem I described before doesn't= exist in this >=A0 =A0 =A0 >=A0 =A0=A0=A0kernel. Later today I'm going to try a previous = build I have based >=A0 =A0 =A0 >=A0 =A0=A0=A0on stable-2.6.32.x (2.6.32.13) to check if it al= ready had this >=A0 =A0 =A0 >=A0 =A0=A0=A0problem or not and I'll post the results. >=A0 =A0 =A0 > >=A0 =A0 =A0 >=A0 =A0=A0=A0Lu=EDs >=A0 =A0 =A0 > >=A0 =A0 =A0 >=A0 =A0=A0=A0On Wed, 2010-06-02 at 12:26 -0700, Boris Derzhav= ets wrote: >=A0 =A0 =A0 >>=A0 =A0=A0=A0Could you,please, build and try 2.6.32.10 ( xen= /stable) ? >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0=A0=A0Boris. >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0=A0=A0--- On *Wed, 6/2/10, Lu=EDs Silva >=A0 =A0 =A0 **/<[7]luis.silva@axiomasoft.pt>/* >=A0 =A0 =A0 >>=A0 =A0=A0=A0wrote: >=A0 =A0 =A0 >> >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0From: Lu=EDs Silva <[8]luis.silva@axiom= asoft.pt> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0Subject: [Xen-users] Re: [Xen-devel] AR= P problems with xen >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A04.0 with pvops kernel >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0To: "Jeremy Fitzhardinge" <[9]jeremy@go= op.org> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0Cc: [10]xen-devel@lists.xensource.com, >=A0 =A0 =A0 [11]xen-users@lists.xensource.com >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0Date: Wednesday, June 2, 2010, 2:53 PM >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0Hello, >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0On Wed, 2010-06-02 at 09:06 -0700, Jere= my Fitzhardinge wrote: >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0On 06/02/2010 01:47 AM, Lu=EDs Silva w= rote: >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0> Hello, >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0> >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0> I'm using the latest stable-2.6.32.x= . I already tried >=A0 =A0 =A0 "ethtool -K >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0> tx off", but that didn't ma= ke any difference. >=A0 =A0 =A0 Also, this only >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0> happen with pv, in hvm mode all work= s ok and the domU sees >=A0 =A0 =A0 the arp >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0> messages... >=A0 =A0 =A0 >>> >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0Yes, ARP is a new twist on network pro= blems.=A0 I'm guessing >=A0 =A0 =A0 you're using >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0hvm without stubdoms, which means that= its networking >=A0 =A0 =A0 originates from >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0qemu within dom0, whereas PV and HVM+s= tubdom comes via >=A0 =A0 =A0 netback. >=A0 =A0 =A0 >>> >=A0 =A0 =A0 >>> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0Yes, when I mentioned hvm I was talking= about hvm without >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0stubdoms. I haven't tried those yet. >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0But aside from that, I'm stumped.=A0 A= re you running any >=A0 =A0 =A0 firewalls on >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0either side?=A0=A0=A0Can you try disab= ling all the offloads (tx, >=A0 =A0 =A0 rx, gso, tso) >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0on all the relevent interfaces (bridge= , netback, within the >=A0 =A0 =A0 guest) and >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0see if that changes anything? >=A0 =A0 =A0 >>> >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0 =A0 =A0=A0=A0J >=A0 =A0 =A0 >>> >=A0 =A0 =A0 >>> >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0Ok, this is the bridge interface: >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0brctl show >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0bridge name=A0 =A0 bridge id=A0 =A0 =A0= =A0 STP enabled=A0 =A0 interfaces >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0virbr0=A0 =A0 =A0 =A0 8000.feffffffffff= =A0 =A0 no=A0 =A0 =A0 =A0 vif1.0 >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0ifconfig virbr0 >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0virbr0=A0 =A0 Link encap:Ethernet=A0 HW= addr c2:ef:67:2b:a4:23 >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0=A0inet addr:192.168.1= 20.254=A0 Bcast:192.168.120.255 >=A0 =A0 =A0 Mask:255.255.255.0 >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0=A0inet6 addr: fe80::c= 0ef:67ff:fe2b:a423/64 Scope:Link >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0=A0UP BROADCAST RUNNIN= G MULTICAST=A0 MTU:1500=A0 Metric:1 >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0=A0RX packets:0 errors= :0 dropped:0 overruns:0 frame:0 >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0=A0TX packets:25 error= s:0 dropped:0 overruns:0 >=A0 =A0 =A0 carrier:0 >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0=A0collisions:0 txqueu= elen:0 >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0=A0RX bytes:0 (0.0 >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 B) >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 TX bytes:4662 (4.6 KB) >=A0 =A0 =A0 >> >=A0 =A0 =A0 >> >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0I'm not using firewall other than the r= ules defined by >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0libvirt. DomU has no firewall and the r= ules in dom0 are only >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0these (virbr0 is natted to the outside,= virbr1 is routed. The >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0result is the same in either one of the= m): >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0sudo iptables -L -n -v >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0Chain INPUT (policy ACCEPT 241K packets= , 53M bytes) >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 pkts bytes target=A0 =A0=A0=A0prot opt i= n=A0 =A0=A0=A0out=A0 =A0=A0=A0source >=A0 =A0 =A0 =A0 =A0 =A0=A0=A0destination >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 =A0=A0=A00=A0 =A0=A0=A00 ACCEPT=A0 =A0= =A0=A0udp=A0 --=A0 virbr1 *=A0 =A0 =A0=A0=A00.0.0.0/0 >=A0 =A0 =A0 =A0 =A0 =A0 0.0.0.0/0=A0 =A0 =A0 =A0 =A0=A0=A0udp dpt:53 >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 =A0=A0=A00=A0 =A0=A0=A00 ACCEPT=A0 =A0= =A0=A0tcp=A0 --=A0 virbr1 *=A0 =A0 =A0=A0=A00.0.0.0/0 >=A0 =A0 =A0 =A0 =A0 =A0 0.0.0.0/0=A0 =A0 =A0 =A0 =A0=A0=A0tcp dpt:53 >=A0 =A0 =A0 >> >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 =A0=A0=A00=A0 =A0=A0=A00 ACCEPT=A0 =A0= =A0=A0udp=A0 --=A0 virbr1 *=A0 =A0 =A0=A0=A00.0.0.0/0 >=A0 =A0 =A0 =A0 =A0 =A0 0.0.0.0/0=A0 =A0 =A0 =A0 =A0=A0=A0udp dpt:67 >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 =A0=A0=A00=A0 =A0=A0=A00 ACCEPT=A0 =A0= =A0=A0tcp=A0 --=A0 virbr1 *=A0 =A0 =A0=A0=A00.0.0.0/0 >=A0 =A0 =A0 =A0 =A0 =A0 0.0.0.0/0=A0 =A0 =A0 =A0 =A0=A0=A0tcp dpt:67 >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 =A0=A0=A08=A0=A0=A0515 ACCEPT=A0 =A0=A0= =A0udp=A0 --=A0 virbr0 *=A0 =A0 =A0=A0=A00.0.0.0/0 >=A0 =A0 =A0 =A0 =A0 =A0 0.0.0.0/0=A0 =A0 =A0 =A0 =A0=A0=A0udp dpt:53 >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 =A0=A0=A00=A0 =A0=A0=A00 >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 ACCEPT=A0 =A0=A0=A0tcp=A0 --=A0 virbr0 *= =A0 =A0 =A0=A0=A00.0.0.0/0 >=A0 =A0 =A0 0.0.0.0/0=A0 =A0 =A0 =A0 =A0=A0=A0tcp dpt:53 >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 =A0=A0=A00=A0 =A0=A0=A00 ACCEPT=A0 =A0= =A0=A0udp=A0 --=A0 virbr0 *=A0 =A0 =A0=A0=A00.0.0.0/0 >=A0 =A0 =A0 =A0 =A0 =A0 0.0.0.0/0=A0 =A0 =A0 =A0 =A0=A0=A0udp dpt:67 >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 =A0=A0=A00=A0 =A0=A0=A00 ACCEPT=A0 =A0= =A0=A0tcp=A0 --=A0 virbr0 *=A0 =A0 =A0=A0=A00.0.0.0/0 >=A0 =A0 =A0 =A0 =A0 =A0 0.0.0.0/0=A0 =A0 =A0 =A0 =A0=A0=A0tcp dpt:67 >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0Chain FORWARD (policy ACCEPT 0 packets,= 0 bytes) >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 pkts bytes target >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 prot >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 opt in=A0 =A0=A0=A0out=A0 =A0=A0=A0sourc= e=A0 =A0 =A0 =A0 =A0 =A0 =A0=A0=A0destination >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 =A0=A0=A00=A0 =A0=A0=A00 ACCEPT=A0 =A0= =A0=A0all=A0 --=A0 *=A0 =A0 =A0 virbr1=A0 0.0.0.0/0 >=A0 =A0 =A0 =A0 =A0 =A0 192.168.121.0/24 >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 =A0=A0=A00=A0 =A0=A0=A00 ACCEPT=A0 =A0= =A0=A0all=A0 --=A0 virbr1 * >=A0 =A0 =A0 =A0=A0=A0192.168.121.0/24=A0 =A0=A0=A00.0.0.0/0 >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 =A0=A0=A00=A0 =A0=A0=A00 ACCEPT=A0 =A0= =A0=A0all=A0 --=A0 virbr1 virbr1=A0 0.0.0.0/0 >=20 >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 0.0.0.0/0 >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 =A0=A0=A00=A0 =A0=A0=A00 REJECT=A0 =A0= =A0=A0all=A0 --=A0 *=A0 =A0 =A0 virbr1=A0 0.0.0.0/0 >=A0 =A0 =A0 =A0 =A0 =A0 0.0.0.0/0=A0 =A0 =A0 =A0 =A0=A0=A0reject-with icmp= -port-unreachable >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 =A0=A0=A00=A0 =A0=A0=A00 REJECT=A0 =A0= =A0=A0all=A0 --=A0 virbr1 *=A0 =A0 =A0=A0=A00.0.0.0/0 >=A0 =A0 =A0 =A0 =A0 =A0 0.0.0.0/0=A0 =A0 =A0 =A0 =A0=A0=A0reject-with icmp= -port-unreachable >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 =A0 13=A0 3448 ACCEPT=A0 =A0=A0=A0all=A0= --=A0 *=A0 =A0 =A0 virbr0=A0 0.0.0.0/0 >=A0 =A0 =A0 =A0 =A0 =A0 192.168.120.0/24 >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 state >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 RELATED,ESTABLISHED >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 =A0 16=A0 1374 ACCEPT=A0 =A0=A0=A0all=A0= --=A0 virbr0 * >=A0 =A0 =A0 =A0=A0=A0192.168.120.0/24=A0 =A0=A0=A00.0.0.0/0 >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 =A0=A0=A00=A0 =A0=A0=A00 ACCEPT=A0 =A0= =A0=A0all=A0 --=A0 virbr0 virbr0=A0 0.0.0.0/0 >=A0 =A0 =A0 =A0 =A0 =A0 0.0.0.0/0 >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 =A0=A0=A00=A0 =A0=A0=A00 REJECT=A0 =A0= =A0=A0all=A0 --=A0 *=A0 =A0 =A0 virbr0=A0 0.0.0.0/0 >=A0 =A0 =A0 =A0 =A0 =A0 0.0.0.0/0=A0 =A0 =A0 =A0 =A0=A0=A0reject-with icmp= -port-unreachable >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 =A0=A0=A00=A0 =A0=A0=A00 REJECT=A0 =A0= =A0=A0all=A0 -- >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 virbr0 >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 *=A0 =A0 =A0=A0=A00.0.0.0/0=A0 =A0 =A0 = =A0 =A0 =A0 0.0.0.0/0=A0 =A0 =A0 =A0 =A0=A0=A0reject-with >=A0 =A0 =A0 icmp-port-unreachable >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0Chain OUTPUT (policy ACCEPT 233K packet= s, 27M bytes) >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0 =A0 pkts bytes target=A0 =A0=A0=A0prot opt i= n=A0 =A0=A0=A0out=A0 =A0=A0=A0source >=A0 =A0 =A0 =A0 =A0 =A0=A0=A0destination >=A0 =A0 =A0 >> >=A0 =A0 =A0 >> >=A0 =A0 =A0 >> >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0And these are the various offload param= eters as set at boot: >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0Offload parameters for virbr0: >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0rx-checksumming: on >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0tx-checksumming: on >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0scatter-gather: on >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0tcp-segmentation-offload: on >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0udp-fragmentation-offload: on >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0generic-segmentation-offload: on >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0generic-receive-offload: off >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0large-receive-offload: off >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0Offload parameters for vif1.0: >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0rx-checksumming: on >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0tx-checksumming: on >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0scatter-gather: on >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0tcp-segmentation-offload: on >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0udp-fragmentation-offload: off >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0generic-segmentation-offload: on >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0generic-receive-offload: off >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0large-receive-offload: off >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0Offload parameters for eth0: >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0rx-checksumming: on >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0tx-checksumming: on >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0scatter-gather: on >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0tcp-segmentation-offload: on >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0udp-fragmentation-offload: off >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0generic-segmentation-offload: off >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0generic-receive-offload: off >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0large-receive-offload: off >=A0 =A0 =A0 >> >=A0 =A0 =A0 >> >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0To disable all checksuming I run the fo= llowing commands: >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0dom0: >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0sudo ethtool -K virbr0 tx off sg off ts= o off gso off gro off >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0sudo ethtool -K vif1.0 tx off sg off ts= o off gso off gro off >=A0 =A0 =A0 >> >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0domU >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0sudo ethtool -K eth0 tx off sg off tso = off gso off gro off >=A0 =A0 =A0 >> >=A0 =A0 =A0 >> >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0This managed to get all parameter to of= f in the mentioned >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0interfaces, but unfortunately the resul= t is the same. The arp >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0requests get to vif1.0, but not to eth0= on the domU. >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0sudo tcpdump -i vif1.0 -n -vv arp >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0tcpdump: WARNING: vif1.0: no IPv4 addre= ss assigned >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0tcpdump: listening on vif1.0, link-type= EN10MB (Ethernet), >=A0 =A0 =A0 capture size 96 bytes >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A019:43:51.233378 ARP, Ethernet (len 6), = IPv4 (len 4), Request >=A0 =A0 =A0 who-has 192.168.120.1 tell 192.168.120.254, length 28 >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A019:43:52.233164 ARP, Ethernet (len 6), = IPv4 (len 4), Request >=A0 =A0 =A0 who-has 192.168.120.1 tell 192.168.120.254, length 28 >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A019:43:53.233166 ARP, Ethernet (len 6), = IPv4 (len 4), Request >=A0 =A0 =A0 who-has 192.168.120.1 tell 192.168.120.254, length 28 >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A019:43:54.684214 ARP, Ethernet (len 6), = IPv4 (len 4), Request >=A0 =A0 =A0 who-has 192.168.120.1 tell 192.168.120.254, length 28 >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A019:43:55.684218 ARP, Ethernet (len 6), = IPv4 (len 4), Request >=A0 =A0 =A0 who-has 192.168.120.1 tell 192.168.120.254, length 28 >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A019:43:56.684232 ARP, Ethernet (len 6), = IPv4 (len 4), Request >=A0 =A0 =A0 who-has 192.168.120.1 tell 192.168.120.254, length 28 >=A0 =A0 =A0 >> >=A0 =A0 =A0 >> >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0I hope this information is enough. If I= can provide anything >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0else to help debug or test, please just= ask! ;) >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0Thanks in advance, >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0Lu=EDs >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0> >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0> Thanks, >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0> Lu=EDs >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0> >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0> On Tue, 2010-06-01 at 18:20 -0700, J= eremy Fitzhardinge >=A0 =A0 =A0 wrote: >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> On 06/01/2010 05:38 PM, Lu=EDs Silv= a wrote: >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > Hello, >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > Finally I managed to get a xen 4.= 0 working on ubuntu >=A0 =A0 =A0 10.04 with pvops >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > kernel and libvirt. However I am = having some problems >=A0 =A0 =A0 with >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > networking... after initial insta= llation with >=A0 =A0 =A0 netinstall image in hvm >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > mode, when I transform the vm in = xen pv (via pygrub >=A0 =A0 =A0 with the current >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > ubuntu kernel), networking startE= d to act weird... >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > Basically I'm not using a network= script from xen. I >=A0 =A0 =A0 define a bridge >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > (manually or via libvirt, the res= ult is the same) and I >=A0 =A0 =A0 use vif-bridge >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > to connect the vif to it. But now= the weird part comes: >=A0 =A0 =A0 I can >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > communicate from domU to dom0, bu= t not the other way >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0 =A0 around, >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0 =A0 unless I >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > keep a ping running from domU to = dom0... That's right, >=A0 =A0 =A0 weird... while >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > trying the ping from dom0 to domU= , I used tcpdump both >=A0 =A0 =A0 on the bridge, >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > on the vif and on the eth0 in the= domU. The arp packets >=A0 =A0 =A0 never get to >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > domU, but they appear both in the= bridge and the vif >=A0 =A0 =A0 sniff's... >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> What version of kernel are you usin= g in dom0 and domU? >=A0 =A0 =A0 There was a >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> netback bug which caused problems w= ith dom0<->domU >=A0 =A0 =A0 communication, but it >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> has been fixed for a while in 2.6.3= 2 (but only recently >=A0 =A0 =A0 in .31).=A0 The >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> workaround is to disable tx checksu= m offload on your >=A0 =A0 =A0 bridge (ethtool -K >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> tx off). >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>>=A0 =A0=A0=A0J >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > Here is the bridge: >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > ifconfig virbr0 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > virbr0=A0 =A0 Link encap:Ethernet= =A0 HWaddr >=A0 =A0 =A0 fe:ff:ff:ff:ff:ff >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > >=A0 =A0 =A0 >>> >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0 =A0 inet addr:192.168.120.254=A0 Bcast:192.= 168.120.255 >=A0 =A0 =A0 Mask:255.255.255.0 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> >=A0 =A0 =A0 =A0 =A0=A0=A0inet6 add= r: fe80::7cee:4bff:fe82:e63f/64 >=A0 =A0 =A0 Scope:Link >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> >=A0 =A0 =A0 =A0 =A0=A0=A0UP BROADC= AST RUNNING MULTICAST=A0 MTU:1500 >=A0 =A0 =A0 Metric:1 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> >=A0 =A0 =A0 =A0 =A0=A0=A0RX packet= s:16 errors:0 dropped:0 overruns:0 >=A0 =A0 =A0 frame:0 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> >=A0 =A0 =A0 =A0 =A0=A0=A0TX packet= s:226 errors:0 dropped:0 overruns:0 >=A0 =A0 =A0 carrier:0 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> >=A0 =A0 =A0 =A0 =A0=A0=A0collision= s:0 txqueuelen:0 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> >=A0 =A0 =A0 =A0 =A0=A0=A0RX bytes:= 952 (952.0 B)=A0 TX bytes:13953 (13.9 >=A0 =A0 =A0 KB) >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > brctl show >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > bridge name=A0 =A0 bridge id=A0 = =A0 =A0 =A0 STP enabled >=A0 =A0 =A0 interfaces >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > virbr0=A0 =A0 =A0 =A0 8000.feffff= ffffff=A0 =A0 no=A0 =A0 =A0 =A0 vif5.0 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > tcpdump -i virbr0 -vv -n >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > tcpdump: listening on virbr0, lin= k-type EN10MB >=A0 =A0 =A0 (Ethernet), capture size 96 bytes >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > 01:31:25.945151 IP (tos 0x0, ttl = 64, id 0, offset 0, >=A0 =A0 =A0 flags [DF], >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0 =A0 proto ICMP (1), >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0 =A0 length 84) >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> >=A0 =A0=A0=A0192.168.120.254 > 192= .168.120.1: ICMP echo request, >=A0 =A0 =A0 id 10317, seq 1, length 64 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > 01:31:26.945361 IP (tos 0x0, ttl = 64, id 0, offset 0, >=A0 =A0 =A0 flags [DF], proto ICMP (1), length 84) >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> >=A0 =A0=A0=A0192.168.120.254 > 192= .168.120.1: ICMP echo request, >=A0 =A0 =A0 id 10317, seq 2, length 64 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > 01:31:27.945420 IP (tos 0x0, ttl = 64, id 0, offset 0, >=A0 =A0 =A0 flags [DF], proto ICMP (1), length 84) >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> >=A0 =A0=A0=A0192.168.120.254 > 192= .168.120.1: ICMP echo request, >=A0 =A0 =A0 id 10317, seq 3, length 64 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > 01:31:28.945362 IP (tos 0x0, ttl = 64, id 0, offset 0, >=A0 =A0 =A0 flags [DF], proto ICMP (1), length 84) >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> >=A0 =A0=A0=A0192.168.120.254 > 192= .168.120.1: ICMP echo request, >=A0 =A0 =A0 id 10317, seq 4, length 64 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > 01:31:29.945364 IP (tos 0x0, ttl = 64, id 0, offset 0, >=A0 =A0 =A0 flags [DF], proto ICMP (1), length 84) >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> >=A0 =A0=A0=A0192.168.120.254 > 192= .168.120.1: ICMP echo request, >=A0 =A0 =A0 id 10317, >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0 =A0 seq 5, length >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0 =A0 64 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > 01:31:30.944300 ARP, Ethernet (le= n 6), IPv4 (len 4), >=A0 =A0 =A0 Request who-has 192.168.120.1 tell 192.168.120.254, length 28 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > 01:31:30.945359 IP (tos 0x0, ttl = 64, id 0, offset 0, >=A0 =A0 =A0 flags [DF], proto ICMP (1), length 84) >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> >=A0 =A0=A0=A0192.168.120.254 > 192= .168.120.1: ICMP echo request, >=A0 =A0 =A0 id 10317, seq 6, length 64 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > 01:31:31.944297 ARP, Ethernet (le= n 6), IPv4 (len 4), >=A0 =A0 =A0 Request who-has 192.168.120.1 tell 192.168.120.254, length 28 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > 01:31:31.945444 IP (tos 0x0, ttl = 64, id 0, offset 0, >=A0 =A0 =A0 flags [DF], proto ICMP (1), length 84) >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> >=A0 =A0=A0=A0192.168.120.254 > 192= .168.120.1: ICMP echo request, >=A0 =A0 =A0 id 10317, seq 7, length 64 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > 01:31:32.944294 ARP, Ethernet (le= n 6), IPv4 (len 4), >=A0 =A0 =A0 Request who-has 192.168.120.1 tell 192.168.120.254, length 28 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > 01:31:32.945401 IP (tos 0x0, ttl = 64, id 0, offset 0, >=A0 =A0 =A0 flags [DF], proto ICMP (1), length 84) >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > >=A0 =A0 =A0 >>> >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0 =A0 192.168.120.254 > 192.168.120.1: ICMP e= cho request, id >=A0 =A0 =A0 10317, seq 8, length 64 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > 01:31:33.947293 ARP, Ethernet (le= n 6), IPv4 (len 4), >=A0 =A0 =A0 Request who-has 192.168.120.1 tell 192.168.120.254, length 28 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > 01:31:34.947373 ARP, Ethernet (le= n 6), IPv4 (len 4), >=A0 =A0 =A0 Request who-has 192.168.120.1 tell 192.168.120.254, length 28 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > 01:31:35.947353 ARP, Ethernet (le= n 6), IPv4 (len 4), >=A0 =A0 =A0 Request who-has 192.168.120.1 tell 192.168.120.254, length 28 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > 01:31:37.948352 ARP, Ethernet (le= n 6), IPv4 (len 4), >=A0 =A0 =A0 Request who-has 192.168.120.1 tell 192.168.120.254, length 28 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > 01:31:38.948399 ARP, Ethernet (le= n 6), IPv4 (len 4), >=A0 =A0 =A0 Request who-has 192.168.120.1 tell 192.168.120.254, length 28 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > 01:31:39.948376 ARP, Ethernet (le= n 6), IPv4 (len 4), >=A0 =A0 =A0 Request who-has 192.168.120.1 tell 192.168.120.254, length 28 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > 01:31:40.949356 ARP, Ethernet (le= n 6), IPv4 (len 4), >=A0 =A0 =A0 Request >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0 =A0 who-has >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0 =A0 192.168.120.1 tell 192.168.120.254, len= gth 28 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > tcpdump -i vif5.0 -vv -n >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > tcpdump: WARNING: vif5.0: no IPv4= address assigned >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > tcpdump: listening on vif5.0, lin= k-type EN10MB >=A0 =A0 =A0 (Ethernet), capture size 96 bytes >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > 01:32:19.956358 ARP, Ethernet (le= n 6), IPv4 (len 4), >=A0 =A0 =A0 Request who-has 192.168.120.1 tell 192.168.120.254, length 28 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > 01:32:20.956358 ARP, Ethernet (le= n 6), IPv4 (len 4), >=A0 =A0 =A0 Request who-has 192.168.120.1 tell 192.168.120.254, length 28 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > 01:32:21.956359 ARP, Ethernet (le= n 6), IPv4 (len 4), >=A0 =A0 =A0 Request who-has 192.168.120.1 tell 192.168.120.254, length 28 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > 01:32:23.957311 ARP, Ethernet (le= n 6), IPv4 (len 4), >=A0 =A0 =A0 Request who-has 192.168.120.1 tell 192.168.120.254, length 28 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > 01:32:24.957312 ARP, Ethernet (le= n 6), IPv4 (len 4), >=A0 =A0 =A0 Request who-has 192.168.120.1 tell 192.168.120.254, length >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0 =A0 28 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0 =A0 01:32:25.957359 ARP, Ethernet (len 6), = IPv4 (len 4), >=A0 =A0 =A0 Request who-has 192.168.120.1 tell 192.168.120.254, length 28 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > 01:32:27.958360 ARP, Ethernet (le= n 6), IPv4 (len 4), >=A0 =A0 =A0 Request who-has 192.168.120.1 tell 192.168.120.254, length 28 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > 01:32:28.958310 ARP, Ethernet (le= n 6), IPv4 (len 4), >=A0 =A0 =A0 Request who-has 192.168.120.1 tell 192.168.120.254, length 28 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > 01:32:29.958362 ARP, Ethernet (le= n 6), IPv4 (len 4), >=A0 =A0 =A0 Request who-has 192.168.120.1 tell 192.168.120.254, length 28 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > Forwarding and iptables don't see= m to be the problem, >=A0 =A0 =A0 because if I >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > initiate a ping from domU (at the= same time as the >=A0 =A0 =A0 failing one from >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > dom0), the ping in dom0 starts to= work. As soon as I >=A0 =A0 =A0 stop the ping in >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > domU, the one in dom0 starts fail= ing again... >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > Is anyone having the same >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0 =A0 problem? Is this a bug >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0 =A0 in the kernel? In >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > dom0 or domU? >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > Thanks in advance, >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > Lu=EDs >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > _________________________________= ______________ >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > Xen-devel mailing list >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > [12]Xen-devel@lists.xensource.com >=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > [15]http://lists.xensource.com/xe= n-devel >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> > >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> ___________________________________= ____________ >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> Xen-devel mailing list >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> [16]Xen-devel@lists.xensource.com >=A0 =A0 =A0 >=A0 =A0 =A0 >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> [19]http://lists.xensource.com/xen-= devel >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0>> >=A0 =A0 =A0 >>>=A0 =A0 =A0 =A0=A0=A0> >=A0 =A0 =A0 >>> >=A0 =A0 =A0 >>> >=A0 =A0 =A0 >>> >=A0 =A0 =A0 >> >=A0 =A0 =A0 >> >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0-----Inline Attachment Follows----- >=A0 =A0 =A0 >> >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0_______________________________________= ________ >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0Xen-users mailing list >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0[20]Xen-users@lists.xensource.com >=A0 =A0 =A0 >>=A0 =A0 =A0 =A0=A0=A0[21]http://lists.xensource.com/xen-user= s >=A0 =A0 =A0 >> >=A0 =A0 =A0 >> >=A0 =A0 =A0 > >=A0 =A0 =A0 > >=A0 =A0 =A0 >=A0 =A0=A0=A0-----Inline Attachment Follows----- >=A0 =A0 =A0 > >=A0 =A0 =A0 >=A0 =A0=A0=A0_______________________________________________ >=A0 =A0 =A0 >=A0 =A0=A0=A0Xen-users mailing list >=A0 =A0 =A0 >=A0 =A0=A0=A0[22]Xen-users@lists.xensource.com >=A0 =A0 =A0 >=A0 =A0=A0=A0 >=A0 =A0 =A0 >=A0 =A0=A0=A0[24]http://lists.xensource.com/xen-users >=A0 =A0 =A0 > >=A0 =A0 =A0 > >=20 > References >=20 >=A0 =A0 Visible links >=A0 =A0 1. file:///mc/compose?to=3Dluis.silva@axiomasoft.pt >=A0 =A0 2. file:///mc/compose?to=3Dluis.silva@axiomasoft.pt >=A0 =A0 3. file:///mc/compose?to=3Dbderzhavets@yahoo.com >=A0 =A0 4. file:///mc/compose?to=3Djeremy@goop.org >=A0 =A0 5. file:///mc/compose?to=3Dxen-devel@lists.xensource.com >=A0 =A0 6. file:///mc/compose?to=3Dxen-users@lists.xensource.com >=A0 =A0 7. file:///mc/compose?to=3Dluis.silva@axiomasoft.pt >=A0 =A0 8. file:///mc/compose?to=3Dluis.silva@axiomasoft.pt >=A0 =A0 9. file:///mc/compose?to=3Djeremy@goop.org >=A0=A0=A010. file:///mc/compose?to=3Dxen-devel@lists.xensource.com >=A0=A0=A011. file:///mc/compose?to=3Dxen-users@lists.xensource.com >=A0=A0=A012. file:///mc/compose?to=3DXen-devel@lists.xensource.com >=A0=A0=A013. file:///mc/compose?to=3DXen-devel@lists.xensource.com >=A0=A0=A014. file:///mc/compose?to=3DXen-devel@lists.xensource.com >=A0=A0=A015. http://lists.xensource.com/xen-devel >=A0=A0=A016. file:///mc/compose?to=3DXen-devel@lists.xensource.com >=A0=A0=A017. file:///mc/compose?to=3DXen-devel@lists.xensource.com >=A0=A0=A018. file:///mc/compose?to=3DXen-devel@lists.xensource.com >=A0=A0=A019. http://lists.xensource.com/xen-devel >=A0=A0=A020. file:///mc/compose?to=3DXen-users@lists.xensource.com >=A0=A0=A021. http://lists.xensource.com/xen-users >=A0=A0=A022. file:///mc/compose?to=3DXen-users@lists.xensource.com >=A0=A0=A023. file:///mc/compose?to=3DXen-users@lists.xensource.com >=A0=A0=A024. http://lists.xensource.com/xen-users > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-1862487003-1276087662=:70654 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
I was able to virt-install F13 PV DomU in nog= raphics mode under Xen 4.0.1-rc2-pre (2.6.32.15 pvops c2cb3df04eb3ff68d0de1= 02b2acacc9b8616e659) at the point of extracting data from Apache mirror at = Dom0 on top of Ubuntu 10.04  ( text console mode message)
---------= ----------------------------------------
 2 extracting cpio errors.=   Bad Magic
-------------------------------------------------
Ho= wever, virt-install proceeds further to promt "set up VNC at DomU"
and c= ompleted successfully.
VNC mode cannot pass through this extractions. It= just hangs.

Boris.

--- On Mon, 6/7/10, Pasi K=E4rkk=E4ine= n <pasik@iki.fi> wrote:

Fr= om: Pasi K=E4rkk=E4inen <pasik@iki.fi>
Subject: Re: [Xen-users] Re= : [Xen-devel] ARP problems with xen 4.0 with pvops kernel 2.6.32.15
To: "= Boris Derzhavets" <bderzhavets@yahoo.com>
Cc: "Jeremy Fitzhardinge= " <jeremy@goop.org>, xen-devel@lists.xensource.com, luis.silva@axioma= soft.pt, xen-users@lists.xensource.com
Date: Monday, June 7, 2010, 3:55 = AM

On Sun, Jun 06, 2010 at 11:54:11AM -0700= , Boris Derzhavets wrote:
>    Virt-install hangs attemptin= g to retrieve updates.img from Apache Mirror
>    setup at = Dom0
>    with kernel 2.6.32.15
>    It doe= sn't happen with 2.6.32.10 (12,14 final).
>    Environment = Xen 4.0 Dom0 on top Ubuntu 10.04 Server. Libvirt is 0.8.0 .
>  &= nbsp; Attempting  to virt-install F13 PV DomU in vnc mode.
> >      I believe that builds are consistent.
>&nbs= p;   Runtime behavior is the same for .10, .14, .15. Seems to be communicating
>    problem between DomU and Dom0 during HT= TP download.
>

I'm seeing PV domU network issues aswell.. whe= n running Xen 4.0.0 on Fedora 13.
I'll have to dig more into it..
-- Pasi

>    Boris.
>
>    --- = On Sun, 6/6/10, Jeremy Fitzhardinge <jeremy@goop.org> wrote:=
>
>      From: Jeremy Fitzhardinge <je= remy@goop.org>
>      Subject: Re: [Xen-users] = Re: [Xen-devel] ARP problems with xen 4.0 with
>      = pvops kernel 2.6.32.15
>      To: "Boris Derzhavets" &= lt;bderzhavets@yahoo.com>
>    &nbs= p; Cc: luis.silva@axiomasoft.pt, xen-devel@lists.xensource.com,
>      xen-users@lists.xensource.com
>&nbs= p;     Date: Sunday, June 6, 2010, 12:43 PM
>
> = ;     On 06/06/2010 03:19 AM, Boris Derzhavets wrote:
>&nbs= p;     > Network issues when working with DomUs in 2.6.32.14 a= nd finally been
>      > fixed,
>   = ;   > seem to appear again in 2.6.32.15. Reverting to back to xen/s= table -
>      > 2.6.32.10
>    &nb= sp; > works as a fix again.
>      >
> >      There are no substantial differences between 2.6.32.14 and .= 15.  If
>      there are any differences in behav= iour between them, then I'd suspect
>      some incons= istency from boot to boot, or in your kernel build process.
>
>= ;          J
>
>      = >
>      > Boris
>      >= ;
>      > --- On *Thu, 6/3/10, Lu=EDs Silva /<[= 1]luis.silva@axiomasoft.pt>/*
>  &= nbsp;   wrote:
>      >
>    &= nbsp; >
>      >     From: L= u=EDs Silva <[2]luis.silva@axiomasoft.p= t>
>      >     Subject:= Re: [Xen-users] Re: [Xen-devel] ARP problems with xen 4.0
>  &n= bsp;   >     with pvops kernel
>  &n= bsp;   >     To: "Boris Derzhavets" <[3]bderzhavets@yahoo.com>
>      >=      Cc: "Jeremy Fitzhardinge" <[4]jeremy@goop.= org>,
>      >     [5]xen-devel@lists.xensource.com, [6]xen-users@lists.xe= nsource.com
>      >     Da= te: Thursday, June 3, 2010, 6:20 AM
>      >
>= ;      >     Hello,
>  &nb= sp;   >
>      >     Th= anks for the suggestion, xen/stable works ok for me. Only
>  &nb= sp;   >     problem is that I have to disable o= ffload do get dhcp to work on
>      >   =   domU, but the problem I described before doesn't exist in this<= br>>      >     kernel. Later toda= y I'm going to try a previous build I have based
>     = ; >     on stable-2.6.32.x (2.6.32.13) to check if i= t already had this
>      >     problem or not and I'll post the results.
>  =     >
>      >     = ;Lu=EDs
>      >
>      >&n= bsp;    On Wed, 2010-06-02 at 12:26 -0700, Boris Derzhavets = wrote:
>      >>     Could y= ou,please, build and try 2.6.32.10 ( xen/stable) ?
>    &nb= sp; >>
>      >>     B= oris.
>      >>
>      >= >     --- On *Wed, 6/2/10, Lu=EDs Silva
> = ;     **/<[7]luis.silva@axiomasoft.pt>/*
>      >>     wrote= :
>      >>
>      >>
>      >>       &n= bsp; From: Lu=EDs Silva <[8]
luis.silva@axiom= asoft.pt>
>      >>      &= nbsp;  Subject: [Xen-users] Re: [Xen-devel] ARP problems with xen=
>      >>         = ;4.0 with pvops kernel
>      >>    &n= bsp;    To: "Jeremy Fitzhardinge" <[9]jeremy@goop.or= g>
>      >>       &n= bsp; Cc: [10]xen-devel@lists.xensour= ce.com,
>      [11]xen-users@lists.xensource.com
>&nb= sp;     >>         Date: Wedn= esday, June 2, 2010, 2:53 PM
>      >>
>&n= bsp;     >>         Hello,>      >>
>      >>&nbs= p;        On Wed, 2010-06-02 at 09:06 -0700, Jerem= y Fitzhardinge wrote:
>      >>>   =      On 06/02/2010 01:47 AM, Lu=EDs Silva wrote:
&g= t;      >>>         &= gt; Hello,
>      >>>      &nb= sp;  >
>      >>>    &= nbsp;    > I'm using the latest stable-2.6.32.x. I already tried
>      "ethtool -K
>   =   >>>         > <bridge&= gt; tx off", but that didn't make any difference.
>    &nbs= p; Also, this only
>      >>>    &n= bsp;    > happen with pv, in hvm mode all works ok and th= e domU sees
>      the arp
>     = >>>         > messages...
>= ;      >>>
>      >>>=          Yes, ARP is a new twist on network p= roblems.  I'm guessing
>      you're using
>= ;      >>>         hv= m without stubdoms, which means that its networking
>    &n= bsp; originates from
>      >>>         qemu within dom0, whereas PV and HVM+stubd= om comes via
>      netback.
>    &nbs= p; >>>
>      >>>
>  &nbs= p;   >>         Yes, when I mentio= ned hvm I was talking about hvm without
>      >>= ;         stubdoms. I haven't tried those yet= .
>      >>>        =  But aside from that, I'm stumped.  Are you running any
>&n= bsp;     firewalls on
>      >>>&nb= sp;        either side?   Can you t= ry disabling all the offloads (tx,
>      rx, gso, tso= )
>      >>>        =  on all the relevent interfaces (bridge, netback, within the
>      guest) and
>      >= ;>>         see if that changes anythin= g?
>      >>>
>      >= ;>>             J
>&nbs= p;     >>>
>      >>>
&= gt;      >>
>      >> =        Ok, this is the bridge interface:
>&= nbsp;     >>
>      >>  &nb= sp;      brctl show
>      >>= ;         bridge name    bridge id&= nbsp;       STP enabled    interfaces
> = ;     >>         virbr0 =       8000.feffffffffff    no        vif1.0
>      >>
>  &n= bsp;   >>         ifconfig virbr0<= br>>      >>         = virbr0    Link encap:Ethernet  HWaddr c2:ef:67:2b:a4:23
&= gt;      >>            &= nbsp;      inet addr:192.168.120.254  Bcast:192.16= 8.120.255
>      Mask:255.255.255.0
>  &nbs= p;   >>                &= nbsp;  inet6 addr: fe80::c0ef:67ff:fe2b:a423/64 Scope:Link
>= ;      >>            &nb= sp;      UP BROADCAST RUNNING MULTICAST  MTU:1500&= nbsp; Metric:1
>      >>      &nb= sp;            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>      >>=                    T= X packets:25 errors:0 dropped:0 overruns:0
>      carr= ier:0
>      >>         = ;          collisions:0 txqueuelen:0
>&= nbsp;     >>             = ;      RX bytes:0 (0.0
>      >= >          B)
>      >&= gt;          TX bytes:4662 (4.6 KB)
>  =     >>
>      >>
>  &= nbsp;   >>
>      >>    &nb= sp;    I'm not using firewall other than the rules defined b= y
>      >>         libvirt. DomU has no firewall and the rules in dom0 are = only
>      >>        &= nbsp;these (virbr0 is natted to the outside, virbr1 is routed. The
>&= nbsp;     >>         result i= s the same in either one of them):
>      >>
= >      >>         sud= o iptables -L -n -v
>      >>     = ;    Chain INPUT (policy ACCEPT 241K packets, 53M bytes)
= >      >>          pkts by= tes target     prot opt in     out&= nbsp;    source
>          &n= bsp;  destination
>      >>  &nbs= p;          0     0 ACCEPT     udp  --  virb= r1 *       0.0.0.0/0
>      &= nbsp;     0.0.0.0/0           = udp dpt:53
>      >>        =      0     0 ACCEPT   &nb= sp; tcp  --  virbr1 *       0.0.0.0= /0
>            0.0.0.0/0    =        tcp dpt:53
>      >= >
>      >>
>      >&= gt;             0    = ; 0 ACCEPT     udp  --  virbr1 *  &= nbsp;    0.0.0.0/0
>         =   0.0.0.0/0           udp dpt:67
>      >>        &nb= sp;    0     0 ACCEPT    =  tcp  --  virbr1 *       0.0.0.0/0<= br>>            0.0.0.0/0    &nb= sp;      tcp dpt:67
>      >>= ;             8   51= 5 ACCEPT     udp  --  virbr0 *    &= nbsp;  0.0.0.0/0
>           = 0.0.0.0/0           udp dpt:53
>&= nbsp;     >>            =  0     0
>      >>
&= gt;      >>          ACCEPT&n= bsp;    tcp  --  virbr0 *       0.0.0.0/0
>      0.0.0.0/0  &n= bsp;        tcp dpt:53
>     = >>             0   = ;  0 ACCEPT     udp  --  virbr0 *&n= bsp;      0.0.0.0/0
>        =     0.0.0.0/0           udp dp= t:67
>      >>         =    0     0 ACCEPT    &nb= sp;tcp  --  virbr0 *       0.0.0.0/0
= >            0.0.0.0/0     =      tcp dpt:67
>      >>>      >>         C= hain FORWARD (policy ACCEPT 0 packets, 0 bytes)
>      >>          pkts bytes target
>= ;      >>          prot
&g= t;      >>          opt in&nb= sp;    out     source     = ;          destination
>    &= nbsp; >>             0  =    0 ACCEPT     all  --  *&nbs= p;     virbr1  0.0.0.0/0
>        =     192.168.121.0/24
>      >>  &= nbsp;          0     0 AC= CEPT     all  --  virbr1 *
>  &nbs= p;      192.168.121.0/24     0.0.0.= 0/0
>      >>             0     0 ACCEPT   &n= bsp; all  --  virbr1 virbr1  0.0.0.0/0
>
>=       >>
>      >>  &n= bsp;       0.0.0.0/0
>      >>&nb= sp;            0     = ;0 REJECT     all  --  *      = virbr1  0.0.0.0/0
>            0.0= .0.0/0           reject-with icmp-port-u= nreachable
>      >>        =      0     0 REJECT   &nb= sp; all  --  virbr1 *       0.0.0.0= /0
>            0.0.0.0/0    =        reject-with icmp-port-unreachable
>      >>    &n= bsp;       13  3448 ACCEPT     all&= nbsp; --  *      virbr0  0.0.0.0/0
>  &= nbsp;         192.168.120.0/24
>    &nb= sp; >>          state
>    &= nbsp; >>          RELATED,ESTABLISHED
>= ;      >>            16&= nbsp; 1374 ACCEPT     all  --  virbr0 *
&g= t;         192.168.120.0/24    = ; 0.0.0.0/0
>      >>      &= nbsp;      0     0 ACCEPT  &nb= sp;  all  --  virbr0 virbr0  0.0.0.0/0
>&nbs= p;           0.0.0.0/0
>      >>             0 = ;    0 REJECT     all  --  *&n= bsp;     virbr0  0.0.0.0/0
>       = ;     0.0.0.0/0           reje= ct-with icmp-port-unreachable
>      >>  &n= bsp;          0     0 REJ= ECT     all  --
>      >&g= t;          virbr0
>      >= ;>          *       0.= 0.0.0/0            0.0.0.0/0    &nb= sp;      reject-with
>      icmp-p= ort-unreachable
>      >>
>    &= nbsp; >>         Chain OUTPUT (policy ACCEPT 233K packets, 27M bytes)
>      >&g= t;          pkts bytes target    &n= bsp;prot opt in     out     source<= br>>             destination
= >      >>
>      >>
&= gt;      >>
>      >>
&g= t;      >>         And t= hese are the various offload parameters as set at boot:
>   = ;   >>
>      >>      =    Offload parameters for virbr0:
>     = ; >>         rx-checksumming: on
>= ;      >>         tx-che= cksumming: on
>      >>         scatter-gather: on
>      &g= t;>         tcp-segmentation-offload: on>      >>         u= dp-fragmentation-offload: on
>      >>  &nb= sp;      generic-segmentation-offload: on
> =     >>         generic-recei= ve-offload: off
>      >>      &n= bsp;  large-receive-offload: off
>      >= >
>      >>        &= nbsp;Offload parameters for vif1.0:
>      >>&nb= sp;        rx-checksumming: on
>   = ;   >>         tx-checksumming: on=
>      >>         scatter-gather: on
>      >>&= nbsp;        tcp-segmentation-offload: on
>&= nbsp;     >>         udp-frag= mentation-offload: off
>      >>    &n= bsp;    generic-segmentation-offload: on
>   = ;   >>         generic-receive-off= load: off
>      >>       &n= bsp; large-receive-offload: off
>      >>>      >>         O= ffload parameters for eth0:
>      >>  &nbs= p;      rx-checksumming: on
>     = >>         tx-checksumming: on
>=       >>         scatter-gather: on
>      >>&= nbsp;        tcp-segmentation-offload: on
>&= nbsp;     >>         udp-frag= mentation-offload: off
>      >>    &n= bsp;    generic-segmentation-offload: off
>  &nbs= p;   >>         generic-receive-of= fload: off
>      >>       &= nbsp; large-receive-offload: off
>      >><= br>>      >>
>      >>>      >>         T= o disable all checksuming I run the following commands:
>   = ;   >>         dom0:
> =     >>
>      >>         sudo ethtool -K virbr0 tx off sg off tso o= ff gso off gro off
>      >>     =    sudo ethtool -K vif1.0 tx off sg off tso off gso off gro= off
>      >>
>      >&= gt;
>      >>        &n= bsp;domU
>      >>
>      &= gt;>         sudo ethtool -K eth0 tx off s= g off tso off gso off gro off
>      >>
>&= nbsp;     >>
>      >>
>&n= bsp;     >>         This mana= ged to get all parameter to off in the mentioned
>     = ; >>         interfaces, but unfortunat= ely the result is the same. The arp
>      >>         requests get to vif1.0, but= not to eth0 on the domU.
>      >>
> = ;     >>         sudo tcpdump= -i vif1.0 -n -vv arp
>      >>    &nb= sp;    tcpdump: WARNING: vif1.0: no IPv4 address assigned>      >>         tc= pdump: listening on vif1.0, link-type EN10MB (Ethernet),
>  &nbs= p;   capture size 96 bytes
>      >>  =        19:43:51.233378 ARP, Ethernet (len 6), IPv4= (len 4), Request
>      who-has 192.168.120.1 tell 19= 2.168.120.254, length 28
>      >>    =      19:43:52.233164 ARP, Ethernet (len 6), IPv4 (len 4= ), Request
>      who-has 192.168.120.1 tell 192.168.120.254, length 28
>      >>  &nbs= p;      19:43:53.233166 ARP, Ethernet (len 6), IPv4 (le= n 4), Request
>      who-has 192.168.120.1 tell 192.16= 8.120.254, length 28
>      >>    &nbs= p;    19:43:54.684214 ARP, Ethernet (len 6), IPv4 (len 4), R= equest
>      who-has 192.168.120.1 tell 192.168.120.2= 54, length 28
>      >>      &nbs= p;  19:43:55.684218 ARP, Ethernet (len 6), IPv4 (len 4), Request<= br>>      who-has 192.168.120.1 tell 192.168.120.254, len= gth 28
>      >>        = ; 19:43:56.684232 ARP, Ethernet (len 6), IPv4 (len 4), Request
>=       who-has 192.168.120.1 tell 192.168.120.254, length 28<= br>>      >>
>      >>
>      >>
>      = >>         I hope this information is e= nough. If I can provide anything
>      >> =        else to help debug or test, please just as= k! ;)
>      >>
>      >= >         Thanks in advance,
> =     >>         Lu=EDs
>= ;      >>
>      >>>&nbs= p;        >
>      >>= ;>         > Thanks,
>  &nbs= p;   >>>         > Lu=EDs>      >>>        &nbs= p;>
>      >>>         > On Tue, 2010-06-01 at 18:20 -0700, Jeremy Fitzhardi= nge
>      wrote:
>      >>= >         >> On 06/01/2010 05:38 PM,= Lu=EDs Silva wrote:
>      >>>    =      >> > Hello,
>      &= gt;>>         >> >
>&nbs= p;     >>>         >>= ; > Finally I managed to get a xen 4.0 working on ubuntu
>  &= nbsp;   10.04 with pvops
>      >>> = ;        >> > kernel and libvirt. However= I am having some problems
>      with
>  &= nbsp;   >>>         >> &g= t; networking... after initial installation with
>      netinstall image in hvm
>      >>>&nb= sp;        >> > mode, when I transform th= e vm in xen pv (via pygrub
>      with the current
= >      >>>         = ;>> > ubuntu kernel), networking startEd to act weird...
>&n= bsp;     >>>         >&= gt; >
>      >>>       = ;  >> > Basically I'm not using a network script from xe= n. I
>      define a bridge
>     = ; >>>         >> > (manuall= y 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
>  &nbs= p;   >>>         >> > = communicate from domU to dom0, but not the other way
>    &= nbsp; >>>          around,
>  =     >>>          unless I
&g= t;      >>>         &= gt;> > 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 bridge= ,
>      >>>        =  >> > 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
>    &nb= sp; sniff's...
>      >>>     =    >>
>      >>>  =        >> What version of kernel are you usi= ng in dom0 and domU?
>      There was a
>  =     >>>         >> n= etback bug which caused problems with dom0<->domU
>   = ;   communication, but it
>      >>>&nbs= p;        >> has been fixed for a while in 2= .6.32 (but only recently
>      in .31).  The
= >      >>>         = ;>> workaround is to disable tx checksum offload on your
>      bridge (ethtool -K
>    &= nbsp; >>>         >> <bridg= e> tx off).
>      >>>     =    >>
>      >>>  =        >>     J
>&= nbsp;     >>>         >= >
>      >>>       &nb= sp; >> >
>      >>>   = ;      >> > Here is the bridge:
>  =     >>>         >> &= gt; ifconfig virbr0
>      >>>    &= nbsp;    >> > virbr0    Link encap:Ethern= et  HWaddr
>      fe:ff:ff:ff:ff:ff
>      >>>    &n= bsp;    >> >
>      >>&g= t;
>      >>>        &nbs= p; inet addr:192.168.120.254  Bcast:192.168.120.255
>  &nbs= p;   Mask:255.255.255.0
>      >>> =        >> >        &= nbsp;  inet6 addr: fe80::7cee:4bff:fe82:e63f/64
>  &nb= sp;   Scope:Link
>      >>>   =      >> >         &n= bsp; UP BROADCAST RUNNING MULTICAST  MTU:1500
>   = ;   Metric:1
>      >>>    &nb= sp;    >> >          =  RX packets:16 errors:0 dropped:0 overruns:0
>      frame:0
>      >>>   = ;      >> >         &= nbsp; TX packets:226 errors:0 dropped:0 overruns:0
>   = ;   carrier:0
>      >>>    &n= bsp;    >> >          = ; collisions:0 txqueuelen:0
>      >>>&n= bsp;        >> >      &nbs= p;    RX bytes:952 (952.0 B)  TX bytes:13953 (13.9
&= gt;      KB)
>      >>>  =        >> >
>      &= gt;>>         >> >
>&nbs= p;     >>>         >>= ; > brctl show
>      >>>         >> > bridge name    bri= dge id        STP enabled
>      i= nterfaces
>      >>>      &nbs= p;  >> > virbr0        8000.feffffff= ffff    no        vif5.0
>   =   >>>         >> >>      >>>        &nbs= p;>> >
>      >>>     = ;    >> > tcpdump -i virbr0 -vv -n
>  &n= bsp;   >>>         >> >= ; 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],
>      >>>    &n= bsp;     proto ICMP (1),
>      >>>=           length 84)
>      &= gt;>>         >> >   = ;  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,
>      fla= gs [DF], proto ICMP (1), length 84)
>      >>>= ;         >> >    &nb= sp;192.168.120.254 > 192.168.120.1: ICMP echo request,
>  &nb= sp;   id 10317, seq 2, length 64
>      >>>         >> > 01:31:27.= 945420 IP (tos 0x0, ttl 64, id 0, offset 0,
>      fla= gs [DF], proto ICMP (1), length 84)
>      >>>= ;         >> >    &nb= sp;192.168.120.254 > 192.168.120.1: ICMP echo request,
>  &nb= sp;   id 10317, seq 3, length 64
>      >>&= gt;         >> > 01:31:28.945362 IP = (tos 0x0, ttl 64, id 0, offset 0,
>      flags [DF], p= roto ICMP (1), length 84)
>      >>>  &n= bsp;      >> >     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)
>      >>>  &= nbsp;      >> >     192.16= 8.120.254 > 192.168.120.1: ICMP echo request,
>     = ; id 10317,
>      >>>      &n= bsp;   seq 5, length
>      >>>  &n= bsp;       64
>      >>> =        >> > 01:31:30.944300 ARP, Etherne= t (len 6), IPv4 (len 4),
>      Request who-has 192.16= 8.120.1 tell 192.168.120.254, length 28
>      >>= ;>         >> > 01:31:30.945359 I= P (tos 0x0, ttl 64, id 0, offset 0,
>      flags [DF],= proto ICMP (1), length 84)
>      >>>         >> >  &nb= sp;  192.168.120.254 > 192.168.120.1: ICMP echo request,
&g= t;      id 10317, seq 6, length 64
>    &nbs= p; >>>         >> > 01:31:3= 1.944297 ARP, Ethernet (len 6), IPv4 (len 4),
>      R= equest who-has 192.168.120.1 tell 192.168.120.254, length 28
>  =     >>>         >> &= gt; 01:31:31.945444 IP (tos 0x0, ttl 64, id 0, offset 0,
>  &nbs= p;   flags [DF], proto ICMP (1), length 84)
>     = ; >>>         >> >  &n= bsp;  192.168.120.254 > 192.168.120.1: ICMP echo request,
&= gt;      id 10317, seq 7, length 64
>    &nb= sp; >>>         >> > 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
>= ;      >>>         &g= t;> > 01:31:32.945401 IP (tos 0x0, ttl 64, id 0, offset 0,
>&nb= sp;     flags [DF], proto ICMP (1), length 84)
>  &nbs= p;   >>>         >> ><= br>>      >>>
>      >&g= t;>          192.168.120.254 > 192.168.120.1= : ICMP echo request, id
>      10317, seq 8, length 64=
>      >>>        &= nbsp;>> > 01:31:33.947293 ARP, Ethernet (len 6), IPv4 (len 4),
= >      Request who-has 192.168.120.1 tell 192.168.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
>      >>>&n= bsp;        >> > 01:31:35.947353 ARP, Eth= ernet (len 6), IPv4 (len 4),
>      Request who-has 19= 2.168.120.1 tell 192.168.120.254, length 28
>      >= ;>>         >> > 01:31:37.9483= 52 ARP, Ethernet (len 6), IPv4 (len 4),
>      Request= who-has 192.168.120.1 tell 192.168.120.254, length 28
>   =   >>>         >> > 01= :31:38.948399 ARP, Ethernet (len 6), IPv4 (len 4),
>    &nb= sp; Request who-has 192.168.120.1 tell 192.168.120.254, length 28
>&n= bsp;     >>>         >> > 01:31:39.948376 ARP, Ethernet (len 6), IPv= 4 (len 4),
>      Request who-has 192.168.120.1 tell 1= 92.168.120.254, length 28
>      >>>  &n= bsp;      >> > 01:31:40.949356 ARP, Ethernet (= len 6), IPv4 (len 4),
>      Request
>  &nb= sp;   >>>          who-has
>&n= bsp;     >>>          192.168.1= 20.1 tell 192.168.120.254, length 28
>      >>&g= t;         >> >
>   =   >>>         >> >>      >>>        &nbs= p;>> > tcpdump -i vif5.0 -vv -n
>      >&g= t;>         >> > tcpdump: WARNING: vif5.0: no IPv4 address assigned
>      >= >>         >> > tcpdump: liste= ning on vif5.0, link-type EN10MB
>      (Ethernet), ca= pture size 96 bytes
>      >>>    &= nbsp;    >> > 01:32:19.956358 ARP, Ethernet (len 6)= , IPv4 (len 4),
>      Request who-has 192.168.120.1 t= ell 192.168.120.254, length 28
>      >>>&nbs= p;        >> > 01:32:20.956358 ARP, Ether= net (len 6), IPv4 (len 4),
>      Request who-has 192.= 168.120.1 tell 192.168.120.254, length 28
>      >&= gt;>         >> > 01:32:21.956359= ARP, Ethernet (len 6), IPv4 (len 4),
>      Request w= ho-has 192.168.120.1 tell 192.168.120.254, length 28
>      >>>         >> = > 01:32:23.957311 ARP, Ethernet (len 6), IPv4 (len 4),
>  &nb= sp;   Request who-has 192.168.120.1 tell 192.168.120.254, length 28>      >>>        &nbs= p;>> > 01:32:24.957312 ARP, Ethernet (len 6), IPv4 (len 4),
>= ;      Request who-has 192.168.120.1 tell 192.168.120.254, l= ength
>      >>>        &= nbsp; 28
>      >>>       = ;  >> >
>      >>>  &= nbsp;       01:32:25.957359 ARP, Ethernet (len 6), IPv4 (len= 4),
>      Request who-has 192.168.120.1 tell 192.168= .120.254, length 28
>      >>>    &= nbsp;    >> > 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 AR= P, Ethernet (len 6), IPv4 (len 4),
>      Request who-= has 192.168.120.1 tell 192.168.120.254, length 28
>    &nbs= p; >>>         >> > 01:32:2= 9.958362 ARP, Ethernet (len 6), IPv4 (len 4),
>      R= equest who-has 192.168.120.1 tell 192.168.120.254, length 28
>  =     >>>         >> &= gt;
>      >>>       &nbs= p; >> >
>      >>>   =      >> >
>      >>= ;>         >> > Forwarding and iptables don't seem to be the problem,
>      bec= ause if I
>      >>>      &nbs= p;  >> > initiate a ping from domU (at the same time as = the
>      failing one from
>     = ; >>>         >> > dom0), t= he ping in dom0 starts to work. As soon as I
>      st= op the ping in
>      >>>     =    >> > domU, the one in dom0 starts failing again= ...
>      >>>       &nbs= p; >> >
>      >>>   =      >> > Is anyone having the same
>&n= bsp;     >>>          problem? = Is this a bug
>      >>>          in the kernel? In
>      >>= ;>         >> > dom0 or domU?
= >      >>>         = ;>> >
>      >>>     =    >> > Thanks in advance,
>    &n= bsp; >>>         >> > Lu=ED= s
>      >>>        =  >> >
>      >>>    &= nbsp;    >> >
>      >>&= gt;         >> > ___________________= ____________________________
>      >>> =        >> > Xen-devel mailing list
&g= t;      >>>         >> > [12]Xen-d= evel@lists.xensource.com
>      <mailto:[13]Xen-devel@lists.xensource.com>
>=       <mailto:[14]Xen-de= vel@lists.xensource.com>
>      >>>&nb= sp;        >> > [15]http://lists.xensource.com/xe= n-devel
>      >>>      &n= bsp;  >> >
>      >>> = ;        >>
>      >= >>         >>
>      >&= gt;>         >> ____________________= ___________________________
>      >>>  =        >> Xen-devel mailing list
>&nbs= p;     >>>         >>= ; [16]Xen-devel@lists.xensource.com>      <mailto:[17]X= en-devel@lists.xensource.com>
>      <mailto= :[18]Xen-devel@lists.xensource.com>=
>      >>>         >> [19]http://lists.xensource.com/xen-devel
>&nb= sp;     >>>         >&g= t;
>      >>>        = ; >>
>      >>>     = ;    >
>      >>>
>&n= bsp;     >>>
>      >>>>      >>
>      >>
= >      >>
>      >> = ;        -----Inline Attachment Follows-----
&g= t;      >>
>      >>  =        ___________________________________________= ____
>      >>         Xen-users mailing list
>      >&= gt;         [20]Xen-users@lists.xensource.com
>      >>&= nbsp;        [21]http://lists.xensource.com/xen-users<= br>>      >>
>      >>>      >
>      >
>&nb= sp;     >     -----Inline Attachment Follo= ws-----
>      >
>      >&n= bsp;    _______________________________________________
&= gt;      >     Xen-users mailing list=
>      >     [22]Xen-users@lists.xensource.com
>&nb= sp;     >     </mc/compose?to=3D[23]Xen-users@lists.xensource.com>
>=       >     [24]http://lists.xensource.com/xe= n-users
>      >
>      &g= t;
>
> References
>
>    Visible links<= br>>    1. file:///mc/compose?to=3Dluis= .silva@axiomasoft.pt
>    2. file:///mc/compose?to=3Dluis.silva@axiomasoft.p= t
>    3. file:///mc/compose?to=3Dbder= zhavets@yahoo.com
>    4. file:///mc/compose?to=3D= jeremy@goop.org
>    5. file:///mc/compose?to=3Dxen-devel@lists.xensource.com
>  &= nbsp; 6. file:///mc/compose?to=3Dxen-users= @lists.xensource.com
>    7. file:///mc/compose?to=3Dluis.silva@axiomasoft.pt
>    8. f= ile:///mc/compose?to=3Dluis.silva@axiomasoft.pt
>    9. f= ile:///mc/compose?to=3Djeremy@goop.org
>   10= . file:///mc/compose?to=3Dxen-devel@lists.= xensource.com
>   11. file:///mc/compose?to=3Dxen-users@lists.xensource.com
> = ;  12. file:///mc/compose?to=3DX= en-devel@lists.xensource.com
>   13. file:///mc/co= mpose?to=3DXen-devel@lists.xe= nsource.com
>   14. file:///mc/compose?to=3DXen-devel@lists.xensource.com
> &= nbsp; 15. http://lists.xensource.com/xen-devel
>   16= . file:///mc/compose?to=3DXen-devel@lists.= xensource.com
>   17. file:///mc/compose?to=3DXen-devel@lists.xensource.com
> = ;  18. file:///mc/compose?to=3DXen-devel@lists.xe= nsource.com
>   19. http://lists.xensource.com/xen-devel
>   20. file:///mc/compose?to=3D
Xen-users@lists.xensource.com
>   21= . http:/= /lists.xensource.com/xen-users
>   22. file:///mc/= compose?to=3DXen-users@lists.xensource.com=
>   23. file:///mc/compose?to=3DXen-users@lists.xensource.com
>   = 24. http://lis= ts.xensource.com/xen-users


> ____________________________= ___________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.c= om/xen-devel


_______________________________________________=
Xen-devel mailing list
Xen-devel@li= sts.xensource.com
http://lists.xensource.com/xen-devel

=0A=0A --0-1862487003-1276087662=:70654-- --===============1171378908== 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 --===============1171378908==--