From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brade Subject: Re: Patch fixing vlan handling when network-bridge scriptis used Date: Thu, 19 Aug 2010 20:35:47 +0200 Message-ID: <201008192035.53640.brade@kde.org> References: <232221223.568081282131308987.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> <201008191759.39253.brade@kde.org> <19565.28906.408019.414127@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1782002433==" Return-path: In-Reply-To: <19565.28906.408019.414127@mariner.uk.xensource.com> 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 List-Id: xen-devel@lists.xenproject.org --===============1782002433== Content-Type: multipart/signed; boundary="nextPart1421264.HX0CCA5fNt"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1421264.HX0CCA5fNt Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Thursday 19 August 2010 19:59:06 you wrote: > Michael Brade writes ("Re: [Xen-devel] Patch fixing vlan handling when=20 network-bridge scriptis used"): > > But I had to add the "ethtool -K $vif tx off" to vif-bridge to fix the > > checksums error. Maybe this could be added by default with a check for > > ethtool? >=20 > Are we still having this bug ? I tripped over this about 4 years ago > when I was just a user of Xen ... wow... I also thought this must have been fixed already but I didn't find a= =20 message saying so, nor did I see a patch for it so I concluded ethtool was = the=20 way to go. > Can you describe the setup in which you had to do the -K tx off ? yup:=20 dom0: * running xen-testing from staging, kernel 2.6.32.19 with pvops * network interfaces: peth0, peth1, ppp0 * bridges: eth0, eth1 * local net is on bridge eth1 with domUs connected there * internet is on ppp0 domU: * running PV-GRUB, kernel 2.6.32.19 as above, but stripped down to=20 the bare minimum * only one network interface, dhcp to dom0 relevant domU config: kernel =3D "/usr/lib/xen/boot/pv-grub-x86_64.gz" extra =3D "(hd0)/boot/grub/menu.lst" disk =3D [ 'tap2:tapdisk:aio:/..../root.img,xvda1,w',=20 'tap2:tapdisk:aio:/..../var.img,xvda2,w' ] boot=3D'c' sdl=3D0 vnc=3D1 vncunused=3D1 stdvga=3D1 vif =3D [ 'mac=3D...., bridge=3Deth1' ] grub menu.lst: title vmlinuz-2.6.32.19-domU root (hd0) kernel /boot/vmlinuz-2.6.32.19 console=3Dhvc0 root=3D/dev/xvda1 ro If I leave the -K tx off out then I won't even get a dhcp connection in dom= U. And btw, vnc doesn't work either, despite the vnc=3D1. There is no open por= t, no=20 idea why yet. Only xm console is available. If I start a domU with HVM it=20 works. Here's xm list --long: (domain (domid 2) (cpu_weight 256) (cpu_cap 0) (on_crash restart) (uuid .....) (bootloader_args ) (vcpus 1) (name .....) (on_poweroff destroy) (on_reboot restart) (cpus (())) (description ) (bootloader ) (maxmem 512) (memory 512) (shadow_memory 0) (features ) (on_xend_start ignore) (on_xend_stop ignore) (start_time 1282234728.43) (cpu_time 16.594413607) (online_vcpus 1) (image (linux (kernel /usr/lib/xen/boot/pv-grub-x86_64.gz) (args '(hd0)/boot/grub/menu.lst') (superpages 0) (tsc_mode 0) (videoram 4) (pci ()) (nomigrate 0) (notes) ) ) (status 2) (state -b----) (store_mfn 1815884) (console_mfn 1815883) (device (vif (bridge eth1) (mac ....) (script '/etc/xen/scripts/vif-bridge bridge=3Deth1') (uuid ....) (backend 0) ) ) (device (console (protocol vt100) (location 2) (uuid ....) ) ) (device (tap2 (protocol x86_64-abi) (uuid ....) (bootable 1) (dev xvda1:disk) (uname tap:tapdisk:aio:/..../root.img ) (mode w) (backend 0) (VDI ) ) ) (device (tap2 (protocol x86_64-abi) (uuid ....) (bootable 0) (dev xvda2:disk) (uname tap:tapdisk:aio:/..../var.img ) (mode w) (backend 0) (VDI ) ) ) ) Hope this helps! thanks, =2D-=20 Michael Brade; KDE Developer |-mail: echo brade !#|tr -d "c oh"|s\e\d 's/e/\@/2;s/$/.org/;s/bra/k/2' =B0--web: http://www.behindkde.org/people/michaelb/ KDE 4: Beyond Your Expectations --nextPart1421264.HX0CCA5fNt Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAkxteYQACgkQdK2tAWD5bo1fzwCgxTKKFPrYcNQe8bsRoEPliVuj Sy4AmgNzwgk+c4nEY8B9ve7dw+sDj+2V =Q+2y -----END PGP SIGNATURE----- --nextPart1421264.HX0CCA5fNt-- --===============1782002433== 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 --===============1782002433==--