From owner-freebsd-xen@freebsd.org Sat May 7 21:28:12 2016 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9BF35B3280F for ; Sat, 7 May 2016 21:28:12 +0000 (UTC) (envelope-from syd.meyer@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2FB2B1104 for ; Sat, 7 May 2016 21:28:12 +0000 (UTC) (envelope-from syd.meyer@gmail.com) Received: by mail-wm0-x231.google.com with SMTP id g17so127744647wme.1 for ; Sat, 07 May 2016 14:28:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=XksRoXyGeva7arXRCSvOlElUWqC0OrVAzDrW94NmUiQ=; b=dB3g7IYuwyTeugcWd/gsE2yxhP/mFFc2X2uZoMpgScT8vzYpGQ3yedGGe0b4sbAnKD 81gk0URRdUkeYvE8HDkB8uCTOjBhO/dBfYlL+kEjaUEZmfa9ZodeayXr2aotEfnXX5p8 np6UuKDPB51/RVHnuaZuFKef68S75H8hjTuJFJsdeyO8nUlKrq0RRgfVEgukhbvei/5F 8j3hMN0hWei7Gt8hTKiUkNZhMtCOYWfOCQP2E1wj49KvWJY1kGRcYiU84W/5N+RDk3Wy EhOxgEyc9KZYm8xI8HZ3k0agbRfo0sNHCCqd2iPBhz4wtw+kfhH3N9bPoRzupark7seZ UXRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=XksRoXyGeva7arXRCSvOlElUWqC0OrVAzDrW94NmUiQ=; b=Os/aoNO1t09n8LnbUNvTGZSCzBtDnVdQExHo4Ks0ymEr2hDkApVPgsqbLYMujWnaZ3 nxoEX6BnHnFaU86TJAaT444l7eWKIYdPFoVGW+IyI49xAOzzPhjzMRqm3lzfY7mb0LWF VTTPLy1MMM4iQbp5QK5GQnkBKoKyMHEt0QVFpieKj1mSSIqzjeh9wxUP2sfvTL0XJN3y 9ex4fnjenxCx83ADzOQ64H+GJNNn04VbzZNPyUkvOzQ3Xp30O35rVXLaKOtv31sG26pa /WQyqc4SC1/g/7w1UmCIoA0EqAu/1lp3xXc2sXCIsYtDR0WYOHfqcKwUYWXSqgZzHlFc +k6w== X-Gm-Message-State: AOPr4FVrkOiYqQZXaU7KEIb7OYtXvepTv3al8dcdf0E/jhRpH/Y5G26hpgrDYjQPLsOSTQ== X-Received: by 10.28.140.17 with SMTP id o17mr3538852wmd.18.1462656490266; Sat, 07 May 2016 14:28:10 -0700 (PDT) Received: from ?IPv6:2a02:a03f:ad1:d600:a425:bc6d:5cc9:9d77? ([2a02:a03f:ad1:d600:a425:bc6d:5cc9:9d77]) by smtp.gmail.com with ESMTPSA id t206sm15514517wmt.21.2016.05.07.14.28.08 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 07 May 2016 14:28:09 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: xn ethernet issues as DOMU under NetBSD DOM0 From: Sydney Meyer In-Reply-To: Date: Sat, 7 May 2016 23:28:08 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <9C3BC090-7320-4BCC-9F54-F9DFE29E3A26@gmail.com> References: <20160503072441.qgqgaw52sijybg4a@mac> <20160503093211.hkmbbqr6t2fbxqqa@mac> To: freebsd-xen@freebsd.org X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2016 21:28:12 -0000 Hello, i don't know if this helps or is related to the problem, but i = also had/have trouble with networking on FreeBSD DomUs, particularly = with packet forwarding. For this purpose i'm running NetBSD 7.0 as a = virtual router, because OpenBSD 5.9 seems to have the same problem. = Perhaps this might help you narrow down the issue. See also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D188261 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D154428 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D197344 > On May 7, 2016, at 18:11, Stephen Jones = wrote: >=20 > From: kmacybsd@gmail.com [mailto:kmacybsd@gmail.com] On Behalf Of K. = Macy >> That would explain it. If the Linux backend supports TSO, then = netfront will of course advertise TSO. And >presumably there's no way to = query the netback, since Xen is linux-centric. Assuming you haven't = already I would >disable TSO. >=20 >> Or have you already tried that? >=20 > This morning I've tried building a kernel without the TCP_OFFLOAD = option. When booting the new system, I see this in dmesg: >=20 > xn0: at device/vif/0 on xenbusb_front0 > xn0: Ethernet address: 00:16:3e:00:00:30 > xn0: backend features: feature-sg feature-gso-tcp4 > xn_txeof: WARNING: response is -1! >=20 > Ifconfig -v xn0 looks like: >=20 > xn0: flags=3D8843 metric 0 = mtu 1500 > options=3D403 >=20 > Pings work, ftp works (I was able to get the src.txz file off of = ftp.freebsd.org to build the kernel) > ssh does not work (handshaking fails) but I can login via telnet. = However, just about anything > that requires lots of output gets a bit clobbered. >=20 > Are there any other kernel/sysctl parameters I should be disabling? >=20 > It is almost working, but I need help to know if this is a netfront or = a netback issue. If it is a NetBSD issue > I'll move the discussion over to port-xen@netbsd.org > _______________________________________________ > freebsd-xen@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-xen > To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org"