From owner-freebsd-xen@freebsd.org Mon May 2 18:09:58 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 07D34B2A548 for ; Mon, 2 May 2016 18:09:58 +0000 (UTC) (envelope-from prvs=923ebf709=roger.pau@citrix.com) Received: from SMTP02.CITRIX.COM (smtp02.citrix.com [66.165.176.63]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "Verizon Public SureServer CA G14-SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BED7B176A for ; Mon, 2 May 2016 18:09:57 +0000 (UTC) (envelope-from prvs=923ebf709=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.24,568,1454976000"; d="scan'208";a="357897224" Date: Mon, 2 May 2016 20:09:48 +0200 From: Roger Pau =?iso-8859-1?Q?Monn=E9?= To: Stefano Stabellini CC: , Subject: Re: [PATCH] xen/x86: don't lose event interrupts Message-ID: <20160502180948.vqegenfsrx6zonp3@mac> References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0-neo (2016-04-07) X-DLP: MIA1 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: Mon, 02 May 2016 18:09:58 -0000 On Thu, Apr 21, 2016 at 02:34:25PM +0100, Stefano Stabellini wrote: > xen/x86: don't lose event interrupts > > On slow platforms with unreliable TSC, such as QEMU emulated machines, > it is possible for the FreeBSD kernel to request the next event in the > past. In that case, in the current implementation of > xentimer_vcpu_start_timer, we simply return -ETIME. To be precise Xen > returns -ETIME and we pass it on. As a consequence we need to loop > around to function to make sure that the timer is properly set. > > Instead it is better to always ask the hypervisor for a timer event, > even if the timeout is past. To do that, remove the VCPU_SSHOTTMR_future > flag. > > Signed-off-by: Stefano Stabellini Thanks, it's now committed: https://svnweb.freebsd.org/base?view=revision&revision=298926 Roger. From owner-freebsd-xen@freebsd.org Mon May 2 19:31:43 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 C0715B2A747 for ; Mon, 2 May 2016 19:31:43 +0000 (UTC) (envelope-from StephenJo@LivingComputerMuseum.org) Received: from mail.vulcan.com (wstmsx1.vulcan.com [216.220.192.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "outlook.vulcan.com", Issuer "Entrust Certification Authority - L1K" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A73841AAB for ; Mon, 2 May 2016 19:31:42 +0000 (UTC) (envelope-from StephenJo@LivingComputerMuseum.org) Received: from WSTMSX1.corp.vnw.com (10.0.41.48) by WSTMSX1.corp.vnw.com (10.0.41.48) with Microsoft SMTP Server (TLS) id 15.1.225.42; Mon, 2 May 2016 12:16:18 -0700 Received: from 505CAS2.corp.vnw.com (10.0.100.210) by WSTMSX1.corp.vnw.com (10.0.41.48) with Microsoft SMTP Server (TLS) id 15.1.225.42 via Frontend Transport; Mon, 2 May 2016 12:16:18 -0700 Received: from 505MBX1.corp.vnw.com ([169.254.2.139]) by 505CAS2.corp.vnw.com ([10.0.100.210]) with mapi id 14.03.0266.001; Mon, 2 May 2016 12:16:18 -0700 From: Stephen Jones To: "'freebsd-xen@freebsd.org'" Subject: xn ethernet issues as DOMU under NetBSD DOM0 Thread-Topic: xn ethernet issues as DOMU under NetBSD DOM0 Thread-Index: AdGkpxjNrnD3+QtiSlmekgwuPXhGCA== Date: Mon, 2 May 2016 19:16:16 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.95.80.23] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: Mon, 02 May 2016 19:31:43 -0000 Hello, I'm seeing a problem with networking running under FreeBSD 10.3 as a= XEN DOMU (HVM) on a NetBSD 7 XEN DOM0 (XEN45). In searching the list archives, I did see mentions of there being an issue = with scatter/gather with symptoms affecting ssh connections in/out going and likely other network issues. Are there sy= sctl parameters or other settings that could get around this issue? The ssh symptom (as reported by others) looks like this: debug1: Local version string SSH-2.0-OpenSSH_6.8 NetBSD_Secure_Shell-201504= 03 debug1: Remote protocol version 2.0, remote software version OpenSSH_7.2 Fr= eeBSD-20160310 debug1: match: OpenSSH_7.2 FreeBSD-20160310 pat OpenSSH* compat 0x04000000 debug1: Remote is NON-HPN aware debug1: mac 0x0, -1 -1 debug1: SSH2_MSG_KEXINIT sent Bad packet length 168430090. debug1: mac 0x0, -1 -1 ssh_dispatch_run_fatal: message authentication code incorrect From owner-freebsd-xen@freebsd.org Tue May 3 07:25:02 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 6F989B2BCC4 for ; Tue, 3 May 2016 07:25:02 +0000 (UTC) (envelope-from prvs=924d4b44a=roger.pau@citrix.com) Received: from SMTP.CITRIX.COM (smtp.citrix.com [66.165.176.89]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "Verizon Public SureServer CA G14-SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 30F041A8F for ; Tue, 3 May 2016 07:25:01 +0000 (UTC) (envelope-from prvs=924d4b44a=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.24,571,1454976000"; d="scan'208";a="351304968" Date: Tue, 3 May 2016 09:24:49 +0200 From: Roger Pau =?iso-8859-1?Q?Monn=E9?= To: Stephen Jones CC: "'freebsd-xen@freebsd.org'" Subject: Re: xn ethernet issues as DOMU under NetBSD DOM0 Message-ID: <20160503072441.qgqgaw52sijybg4a@mac> References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0-neo (2016-04-07) X-DLP: MIA1 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: Tue, 03 May 2016 07:25:02 -0000 On Mon, May 02, 2016 at 07:16:16PM +0000, Stephen Jones wrote: > Hello, I'm seeing a problem with networking running under FreeBSD 10.3 as a XEN DOMU (HVM) on a NetBSD 7 XEN DOM0 (XEN45). > In searching the list archives, I did see mentions of there being an issue with scatter/gather with symptoms affecting > ssh connections in/out going and likely other network issues. Are there sysctl parameters or other settings that could get > around this issue? > > The ssh symptom (as reported by others) looks like this: > > debug1: Local version string SSH-2.0-OpenSSH_6.8 NetBSD_Secure_Shell-20150403 > debug1: Remote protocol version 2.0, remote software version OpenSSH_7.2 FreeBSD-20160310 > debug1: match: OpenSSH_7.2 FreeBSD-20160310 pat OpenSSH* compat 0x04000000 > debug1: Remote is NON-HPN aware > debug1: mac 0x0, -1 -1 > debug1: SSH2_MSG_KEXINIT sent > Bad packet length 168430090. > debug1: mac 0x0, -1 -1 > ssh_dispatch_run_fatal: message authentication code incorrect Can you try with a HEAD snapshot? netfront has been recently reworked [0], so there's a chance it is already fixed there. Roger. [0] https://svnweb.freebsd.org/base?view=revision&revision=294442 From owner-freebsd-xen@freebsd.org Tue May 3 08:47:33 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 87A5CB2A4AB for ; Tue, 3 May 2016 08:47:33 +0000 (UTC) (envelope-from StephenJo@LivingComputerMuseum.org) Received: from mail.vulcan.com (teams.vulcan.com [216.220.192.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "outlook.vulcan.com", Issuer "Entrust Certification Authority - L1K" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6AFE41304 for ; Tue, 3 May 2016 08:47:32 +0000 (UTC) (envelope-from StephenJo@LivingComputerMuseum.org) Received: from WSTMAIL1.corp.vnw.com (10.0.41.230) by WSTMSX1.corp.vnw.com (10.0.41.48) with Microsoft SMTP Server (TLS) id 15.1.225.42; Tue, 3 May 2016 01:47:30 -0700 Received: from WSTMAIL1.corp.vnw.com (10.0.41.230) by WSTMail1.corp.vnw.com (10.0.41.230) with Microsoft SMTP Server (TLS) id 15.0.1130.7; Tue, 3 May 2016 01:47:30 -0700 Received: from 505CAS2.corp.vnw.com (10.0.100.210) by WSTMAIL1.corp.vnw.com (10.0.41.230) with Microsoft SMTP Server (TLS) id 15.0.1130.7 via Frontend Transport; Tue, 3 May 2016 01:47:30 -0700 Received: from 505MBX1.corp.vnw.com ([169.254.2.139]) by 505CAS2.corp.vnw.com ([10.0.100.210]) with mapi id 14.03.0266.001; Tue, 3 May 2016 01:47:30 -0700 From: Stephen Jones To: =?iso-8859-1?Q?=27Roger_Pau_Monn=E9=27?= CC: "'freebsd-xen@freebsd.org'" Subject: RE: xn ethernet issues as DOMU under NetBSD DOM0 Thread-Topic: xn ethernet issues as DOMU under NetBSD DOM0 Thread-Index: AdGkpxjNrnD3+QtiSlmekgwuPXhGCAAoHPCAAAvh9rA= Date: Tue, 3 May 2016 08:47:29 +0000 Message-ID: References: <20160503072441.qgqgaw52sijybg4a@mac> In-Reply-To: <20160503072441.qgqgaw52sijybg4a@mac> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.100.218] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: Tue, 03 May 2016 08:47:33 -0000 >Can you try with a HEAD snapshot? netfront has been recently reworked [0],= so there's a chance it is already fixed there. > >Roger. Okay, I just grabbed an iso out of: /pub/FreeBSD/snapshots/ISO-IMAGES/10.3 = and did a fresh install on a domu, but had the same result. The ISO was time stamped April 30th, did I use the right one? From owner-freebsd-xen@freebsd.org Tue May 3 09:32:31 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 CFEF2B2978E for ; Tue, 3 May 2016 09:32:31 +0000 (UTC) (envelope-from prvs=924d4b44a=roger.pau@citrix.com) Received: from SMTP.CITRIX.COM (smtp.citrix.com [66.165.176.89]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "Verizon Public SureServer CA G14-SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 84A5B1DD8 for ; Tue, 3 May 2016 09:32:31 +0000 (UTC) (envelope-from prvs=924d4b44a=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.24,572,1454976000"; d="scan'208";a="351323984" Date: Tue, 3 May 2016 11:32:11 +0200 From: 'Roger Pau =?iso-8859-1?Q?Monn=E9'?= To: Stephen Jones CC: "'freebsd-xen@freebsd.org'" Subject: Re: xn ethernet issues as DOMU under NetBSD DOM0 Message-ID: <20160503093211.hkmbbqr6t2fbxqqa@mac> References: <20160503072441.qgqgaw52sijybg4a@mac> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0-neo (2016-04-07) X-DLP: MIA2 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: Tue, 03 May 2016 09:32:31 -0000 On Tue, May 03, 2016 at 08:47:29AM +0000, Stephen Jones wrote: > > >Can you try with a HEAD snapshot? netfront has been recently reworked [0], so there's a chance it is already fixed there. > > > >Roger. > > Okay, I just grabbed an iso out of: /pub/FreeBSD/snapshots/ISO-IMAGES/10.3 and did a fresh install on a domu, but had the > same result. The ISO was time stamped April 30th, did I use the right one? Oh, no, the changes weren't backported to 10. You need to use a 11.0 (HEAD) image, just pick the newer amd64 or i386 one from: ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/11.0/ Roger. From owner-freebsd-xen@freebsd.org Tue May 3 20:10:21 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 8B164B2C7BB for ; Tue, 3 May 2016 20:10:21 +0000 (UTC) (envelope-from StephenJo@LivingComputerMuseum.org) Received: from mail.vulcan.com (wstcas1.vulcan.com [216.220.192.62]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.vulcan.com", Issuer "Entrust Certification Authority - L1K" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6FE3014D6 for ; Tue, 3 May 2016 20:10:20 +0000 (UTC) (envelope-from StephenJo@LivingComputerMuseum.org) Received: from 505CAS1.corp.vnw.com (10.0.100.217) by WSTCAS1.corp.vnw.com (10.0.41.62) with Microsoft SMTP Server (TLS) id 14.3.266.1; Tue, 3 May 2016 13:09:07 -0700 Received: from 505MBX1.corp.vnw.com ([169.254.2.139]) by 505CAS1.corp.vnw.com ([10.0.100.217]) with mapi id 14.03.0266.001; Tue, 3 May 2016 13:09:07 -0700 From: Stephen Jones To: =?iso-8859-1?Q?=27Roger_Pau_Monn=E9=27?= CC: "'freebsd-xen@freebsd.org'" Subject: RE: xn ethernet issues as DOMU under NetBSD DOM0 Thread-Topic: xn ethernet issues as DOMU under NetBSD DOM0 Thread-Index: AdGkpxjNrnD3+QtiSlmekgwuPXhGCAAoHPCAAAvh9rD//8SGgP//xJWA Date: Tue, 3 May 2016 20:09:06 +0000 Message-ID: References: <20160503072441.qgqgaw52sijybg4a@mac> <20160503093211.hkmbbqr6t2fbxqqa@mac> In-Reply-To: <20160503093211.hkmbbqr6t2fbxqqa@mac> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.95.80.23] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: Tue, 03 May 2016 20:10:21 -0000 > > >Can you try with a HEAD snapshot? netfront has been recently reworked = [0], so there's a chance it is already fixed there. > > > > > >Roger. > >=20 > > Okay, I just grabbed an iso out of:=20 > > /pub/FreeBSD/snapshots/ISO-IMAGES/10.3 and did a fresh install on a dom= u, but had the same result. The ISO was time stamped April 30th, did I use= the right one? >=20 > Oh, no, the changes weren't backported to 10. You need to use a 11.0 (HEA= D) image, just pick the newer amd64 or i386 one from: >=20 > ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/11.0/ >=20 > Roger. Thank you for that clarification. OK, I've used 11.0 and did a fresh insta= ll, but I'm still having the same issue. I should clarify that the net ins= talls using=20 the same virtual ethernet interface (maybe not the same netfront?) works gr= eat for both 10.3 and 11.0 installs. What is the difference between the installation kernel and the installed system xn driver? =20 From owner-freebsd-xen@freebsd.org Tue May 3 20:16:39 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 89A97B2CA03 for ; Tue, 3 May 2016 20:16:39 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::22f]) (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 4E5501C93 for ; Tue, 3 May 2016 20:16:39 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: by mail-io0-x22f.google.com with SMTP id d62so34317388iof.2 for ; Tue, 03 May 2016 13:16:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=gKrbqvDwQQU+64Y6kKztNiASe54DW0Yjj6NMl58vvxU=; b=NmqDS89BED4FGAjmMEb8gBh5LYvv/1VRMVaF9+UJSc7+KGlBLIlwb9WM/9Iyy5rHyw 5pOuDwnVS4n3fdU+pg7mSey2OzHPuSV4hZXv7fjBDflDzMXPXenAqsn+RGg8fxOnFdwt 0W6DSu0WUB9Lck7GE4S1aSi3W419cAkPSaGlHV0KliNDHmrA8tm8e+Jhj9c4fNqkugBg diaLJwZ7uguF0uvtTdDo/K34GJstzVjm0DwsGJF/w8eKBXg2ZxcvnWe/GtTYuhDKuB7N a5DaSi+TvBPD9GRbsdehpK6hD+q9n5uq5n6SMnVkn2egkTIzokykUnm+OkOfc7MxXmSW riWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=gKrbqvDwQQU+64Y6kKztNiASe54DW0Yjj6NMl58vvxU=; b=Q8ryFNUmZdbAnFBrtWrL5Vz14vAQJVeKQgq577ug+u4eXw6j/NSHIqLvEAgTK0rxyR nCgbKOSOBVN3Cg544+uAYtBWajludM8i2sAL72sW8ElpXOyb8bUqYNFEfrXevXnn0V9d bCZH4jjKIQNplJJRSEzk0blaCd4Ltk2pGC++8pv+yDvUAuSCfz9OsOzThCYO5/AZ8vNC 5S+Fm0lXFDgWIfcePnFV7jt3Jjw7NGD0MfdPMjvp85GH2v78DACazuUStLFElyv0sGGw OWd960JzpdSQFOVlFBV/pj8qNpFrXns9YmqsKadyciEJSVzyGvqOegGbBgkVnNAwVw3Q ySow== X-Gm-Message-State: AOPr4FUOUJH3bhiIpz7SgqebIk1z6z8JBecIa8iXg0XL9d/lcJKRcMkNwrwCyJhq0JFDxXIwsYUQtzhoBkwE/w== MIME-Version: 1.0 X-Received: by 10.107.7.170 with SMTP id g42mr5786092ioi.81.1462306598663; Tue, 03 May 2016 13:16:38 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.107.140.8 with HTTP; Tue, 3 May 2016 13:16:38 -0700 (PDT) In-Reply-To: References: <20160503072441.qgqgaw52sijybg4a@mac> <20160503093211.hkmbbqr6t2fbxqqa@mac> Date: Tue, 3 May 2016 13:16:38 -0700 X-Google-Sender-Auth: qnrGHKDzCcYeSMlNG6sYRsEhnBk Message-ID: Subject: Re: xn ethernet issues as DOMU under NetBSD DOM0 From: "K. Macy" To: Stephen Jones Cc: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= , "freebsd-xen@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 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: Tue, 03 May 2016 20:16:39 -0000 That's starting to sound like a bug in NetBSD's netback driver. Particularly since it doesn't happen with a Linux dom0 (AFAIK). -M On Tuesday, May 3, 2016, Stephen Jones wrote: > > > >Can you try with a HEAD snapshot? netfront has been recently reworked > [0], so there's a chance it is already fixed there. > > > > > > > >Roger. > > > > > > Okay, I just grabbed an iso out of: > > > /pub/FreeBSD/snapshots/ISO-IMAGES/10.3 and did a fresh install on a > domu, but had the same result. The ISO was time stamped April 30th, did I > use the right one? > > > > Oh, no, the changes weren't backported to 10. You need to use a 11.0 > (HEAD) image, just pick the newer amd64 or i386 one from: > > > > ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/11.0/ > > > > Roger. > > Thank you for that clarification. OK, I've used 11.0 and did a fresh > install, but I'm still having the same issue. I should clarify that the > net installs using > the same virtual ethernet interface (maybe not the same netfront?) works > great for both 10.3 and 11.0 installs. What is the difference between > the installation kernel and the installed system xn driver? > _______________________________________________ > 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 > " > From owner-freebsd-xen@freebsd.org Tue May 3 20:51:40 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 A6629B2C3DA for ; Tue, 3 May 2016 20:51:40 +0000 (UTC) (envelope-from StephenJo@LivingComputerMuseum.org) Received: from mail.vulcan.com (wstcas2.vulcan.com [216.220.192.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.vulcan.com", Issuer "Entrust Certification Authority - L1K" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8ACB216BC; Tue, 3 May 2016 20:51:40 +0000 (UTC) (envelope-from StephenJo@LivingComputerMuseum.org) Received: from 505CAS1.corp.vnw.com (10.0.100.217) by WSTCAS2.corp.vnw.com (10.0.41.64) with Microsoft SMTP Server (TLS) id 14.3.266.1; Tue, 3 May 2016 13:50:31 -0700 Received: from 505MBX1.corp.vnw.com ([169.254.2.139]) by 505CAS1.corp.vnw.com ([10.0.100.217]) with mapi id 14.03.0266.001; Tue, 3 May 2016 13:50:31 -0700 From: Stephen Jones To: "'K. Macy'" CC: =?utf-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= , "freebsd-xen@freebsd.org" Subject: RE: xn ethernet issues as DOMU under NetBSD DOM0 Thread-Topic: xn ethernet issues as DOMU under NetBSD DOM0 Thread-Index: AdGkpxjNrnD3+QtiSlmekgwuPXhGCAAoHPCAAAvh9rD//8SGgP//xJWAgADveQCAAGxdcA== Date: Tue, 3 May 2016 20:50:30 +0000 Message-ID: References: <20160503072441.qgqgaw52sijybg4a@mac> <20160503093211.hkmbbqr6t2fbxqqa@mac> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.95.80.23] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 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: Tue, 03 May 2016 20:51:40 -0000 a21hY3kgd3JpdGVzOg0KPiBUaGF0J3Mgc3RhcnRpbmcgdG8gc291bmQgbGlrZSBhIGJ1ZyBpbiBO ZXRCU0QncyBuZXRiYWNrIGRyaXZlci4gUGFydGljdWxhcmx5IHNpbmNlIGl0IGRvZXNuJ3QgaGFw cGVuIHdpdGggYSBMaW51eCBkb20wIChBRkFJSykuDQoNCldoYXQgd291bGQgYWxsb3cgdGhlIG5l dCBpbnN0YWxscyBvZiBib3RoIDEwLjMgYW5kIDExLjAgdG8gYmUgc3VjY2Vzc2Z1bCBidXQgdGhl biB0aGUgaW5zdGFsbGVkIHN5c3RlbSB0byBleGhpYml0IHN5bXB0b21zIHRob3VnaD8NCg== From owner-freebsd-xen@freebsd.org Tue May 3 22:12:18 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 061BCB2C650 for ; Tue, 3 May 2016 22:12:18 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: from mail-lf0-x235.google.com (mail-lf0-x235.google.com [IPv6:2a00:1450:4010:c07::235]) (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 8038B18CB; Tue, 3 May 2016 22:12:17 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: by mail-lf0-x235.google.com with SMTP id j8so38747454lfd.2; Tue, 03 May 2016 15:12:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=HcDKhg0BMWXHtqhPMFLLIOzLN/Fb2e68BIbgHDLCnSs=; b=zdGetlECqxoD87r6dQtgpvZavlf/YcoK/fXenfdT64s6TECabYQnlWccX49kovw3qq yO0GW66L/txZPwVs5WOUXJfGq+lNGkn7DxL5sg3q1/qQstVUydgtibbL/liAFGgli1/S p/fcu5y34AZGRwDZb0d5N4x8sstYGw6v1TE0iWohbZioM1O6NApexLdbx9OTMiBfTyAu GnWH/OcrwUHpscPq3tdaaZEXIRBNRzPZiodGfD8x0HBVXlohRZVv9vrq9sx0qj7Kwti7 PVvUrN2IbdAv6AArTcw1SdLaAJ0kUCl1H47xYVja5ei6ZBlgV6XLP6kn0YbYwMYcV6Ac QCzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=HcDKhg0BMWXHtqhPMFLLIOzLN/Fb2e68BIbgHDLCnSs=; b=VFA1ISHiTWE4UQnxCn4qlPiXRjttqxW7nbFM6ePR1PfTj5z3mCpW2Zg+KB8GGAWHa2 Iu2VlRm4+UiHAMgTjNNTo6bKIKhtndl483fQ1wkXLMm8T3QQkpkXl/oPY6ftgLKZxgSh Uz/RCk2U2f0MAB4YSHCis2a/XS0m3BF4uFBW5Nv2V1PQFuQXcG/G5Xfrt1aT3gx0Mj7G X65C17Xzz7CRZHaF24N9G4rrabFEiiDhz/u9KBRZxSTxaeOo8gbIArFiusbXO/pQ0QaN HWPZOE9TwByMnpxujah/wHGBhJH2xio7rmIxt8rGgZyq6OwTyGgeeMUagOU9+hmlGfil 5gzA== X-Gm-Message-State: AOPr4FUYH+vtbWeVvj37rIeVwe5ZQY97a3kxd8gN/q0vZTe4eNk5/Uf2kDLEGBRNyXnE4G6zUEG/+LN6x/S3xw== X-Received: by 10.112.53.168 with SMTP id c8mr2409092lbp.10.1462313534892; Tue, 03 May 2016 15:12:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.15.213 with HTTP; Tue, 3 May 2016 15:11:35 -0700 (PDT) In-Reply-To: References: <20160503072441.qgqgaw52sijybg4a@mac> <20160503093211.hkmbbqr6t2fbxqqa@mac> From: Miguel C Date: Tue, 3 May 2016 23:11:35 +0100 Message-ID: Subject: Re: xn ethernet issues as DOMU under NetBSD DOM0 To: Stephen Jones Cc: "K. Macy" , "freebsd-xen@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 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: Tue, 03 May 2016 22:12:18 -0000 This was reported by me and others a few times its was actually fixed in some 10.0 (current build at the time) but we could never track it, however it always seemed related to tso, netbsd backhend (as I was told back then) doesn't support at least tso, and In fact I had the same issue with Windwos Guests but the PV drivers dev fixed it (and it was indeed related to this) Anway I am just typing as I remember but I the were PRs about this I can't look them up right now but I could later in the week or maybe someone else can... From owner-freebsd-xen@freebsd.org Tue May 3 22:23:52 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 0A0D0B2C918 for ; Tue, 3 May 2016 22:23:52 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-io0-x229.google.com (mail-io0-x229.google.com [IPv6:2607:f8b0:4001:c06::229]) (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 C6FE010E7 for ; Tue, 3 May 2016 22:23:51 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: by mail-io0-x229.google.com with SMTP id u185so42640474iod.3 for ; Tue, 03 May 2016 15:23:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=95H+ZXQ4+DP77+c45xjmfDbb6lHUyuKqzp7NwVbPnSc=; b=bmtEVZ5QTgNKIYCJODdQazGvHJFNWY9B7WaPij9cZtjgGfZTFXVWSr6y7uI7dF7mm+ RlyebtQGojkl5e8qIHK9iw+QmXW1XZqO/mqhdmGGBLM477ZWXI4qMhhbh+SeiPPRhS9X UBu75qB1bg3K1UfMWH055wIiJQldw7kk8PC/WSOh8ENvcVE92w+k0hxowznmYQu/rsom H1amP7NpZrCa/5X/KKpDqvhK1taG8Ay38Co9CEr+z7FG0sHbr5oc7ljyoW3GrFw0wKmp DfrUmcT64xfsSQh5roNVql02stV6Fy8xrqYCkZRCC7SK9shPwLhcgIxrLwR5PpwFpYLm ShvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=95H+ZXQ4+DP77+c45xjmfDbb6lHUyuKqzp7NwVbPnSc=; b=U1gz86Wr+QxdoWwpvkxddFw87eGXIqSAv5CQ2RxV1PcvUtrt/BW+loLv2vGJnPvwNz 7eBpvG9ZjZTU7ml5N4Y7tL4e0GmdKp3La5j/MOlF5YxTiotXu78luOmT8bro1iyyhycB 1LZz/b88gwz3v0ruXTFyjGK3GhrdIIkipbsM0teGVtQ94cjxzFwaXN82WSi0Gl1i2YvR R9hi6FA9R3EnYWdA+r1xTCjgaLkw/ycNGDz4jldEGT7xKO+puybkLzqSgUFMiUKe+f5Z AvGTyW/R66K12pMss3L2n7SA0p01D0aQn0ebduF3Ftnp8+HxcNDiOgebmqwIOs/owqWM zFaQ== X-Gm-Message-State: AOPr4FV5IzVyZgLflphbiqE9FOdBXfX0GZ8MVPPn4A9My9FpLrhKVvvMFi9yeg4Xr5jl4NVnHdw61Td9i7nV0A== MIME-Version: 1.0 X-Received: by 10.107.7.170 with SMTP id g42mr6412022ioi.81.1462314230798; Tue, 03 May 2016 15:23:50 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.107.140.8 with HTTP; Tue, 3 May 2016 15:23:50 -0700 (PDT) In-Reply-To: References: <20160503072441.qgqgaw52sijybg4a@mac> <20160503093211.hkmbbqr6t2fbxqqa@mac> Date: Tue, 3 May 2016 15:23:50 -0700 X-Google-Sender-Auth: HUCXy5NsgV5rNJR2UXD80O65qyo Message-ID: Subject: Re: xn ethernet issues as DOMU under NetBSD DOM0 From: "K. Macy" To: Miguel C Cc: Stephen Jones , "freebsd-xen@freebsd.org" Content-Type: text/plain; charset=UTF-8 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: Tue, 03 May 2016 22:23:52 -0000 On Tue, May 3, 2016 at 3:11 PM, Miguel C wrote: > This was reported by me and others a few times its was actually fixed in > some 10.0 (current build at the time) but we could never track it, however > it always seemed related to tso, netbsd backhend (as I was told back then) > doesn't support at least tso, and In fact I had the same issue with Windwos > Guests but the PV drivers dev fixed it (and it was indeed related to this) 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. Or have you already tried that? -M > Anway I am just typing as I remember but I the were PRs about this I can't > look them up right now but I could later in the week or maybe someone else > can... From owner-freebsd-xen@freebsd.org Wed May 4 01:00:57 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 9E1E3B2A550 for ; Wed, 4 May 2016 01:00:57 +0000 (UTC) (envelope-from StephenJo@LivingComputerMuseum.org) Received: from mail.vulcan.com (wstcas2.vulcan.com [216.220.192.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.vulcan.com", Issuer "Entrust Certification Authority - L1K" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7C0951184; Wed, 4 May 2016 01:00:56 +0000 (UTC) (envelope-from StephenJo@LivingComputerMuseum.org) Received: from 505CAS2.corp.vnw.com (10.0.100.210) by WSTCAS2.corp.vnw.com (10.0.41.64) with Microsoft SMTP Server (TLS) id 14.3.266.1; Tue, 3 May 2016 18:00:55 -0700 Received: from 505MBX1.corp.vnw.com ([169.254.2.139]) by 505CAS2.corp.vnw.com ([10.0.100.210]) with mapi id 14.03.0266.001; Tue, 3 May 2016 18:00:54 -0700 From: Stephen Jones To: "'K. Macy'" , Miguel C CC: "freebsd-xen@freebsd.org" Subject: RE: xn ethernet issues as DOMU under NetBSD DOM0 Thread-Topic: xn ethernet issues as DOMU under NetBSD DOM0 Thread-Index: AdGkpxjNrnD3+QtiSlmekgwuPXhGCAAoHPCAAAvh9rD//8SGgP//xJWAgADveQCAAGxdcP//s8GAgAADbQCAAEoEwA== Date: Wed, 4 May 2016 01:00:53 +0000 Message-ID: References: <20160503072441.qgqgaw52sijybg4a@mac> <20160503093211.hkmbbqr6t2fbxqqa@mac> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.95.80.23] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 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: Wed, 04 May 2016 01:00:57 -0000 DQoNCk9uIFR1ZSwgTWF5IDMsIDIwMTYgYXQgMzoxMSBQTSwgTWlndWVsIEMgPG1pZ3VlbG1jbGFy YUBnbWFpbC5jb20+IHdyb3RlOg0KPiBUaGlzIHdhcyByZXBvcnRlZCBieSBtZSBhbmQgb3RoZXJz IGEgZmV3IHRpbWVzIGl0cyB3YXMgYWN0dWFsbHkgZml4ZWQgDQo+IGluIHNvbWUgMTAuMCAoY3Vy cmVudCBidWlsZCBhdCB0aGUgdGltZSkgYnV0IHdlIGNvdWxkIG5ldmVyIHRyYWNrIGl0LCANCj4g aG93ZXZlciBpdCBhbHdheXMgc2VlbWVkIHJlbGF0ZWQgdG8gdHNvLCBuZXRic2QgYmFja2hlbmQg KGFzIEkgd2FzIA0KPiB0b2xkIGJhY2sgdGhlbikgZG9lc24ndCBzdXBwb3J0IGF0IGxlYXN0IHRz bywgYW5kIEluIGZhY3QgSSBoYWQgdGhlIA0KPiBzYW1lIGlzc3VlIHdpdGggV2luZHdvcyBHdWVz dHMgYnV0IHRoZSBQViBkcml2ZXJzIGRldiBmaXhlZCBpdCAoYW5kIGl0IA0KPiB3YXMgaW5kZWVk IHJlbGF0ZWQgdG8gdGhpcykNCg0Ka21hY3kgd3JpdGVzOg0KPiBUaGF0IHdvdWxkIGV4cGxhaW4g aXQuIElmIHRoZSBMaW51eCBiYWNrZW5kIHN1cHBvcnRzIFRTTywgdGhlbiBuZXRmcm9udCB3aWxs IG9mIGNvdXJzZSBhZHZlcnRpc2UgVFNPLiBBbmQgcHJlc3VtYWJseSB0aGVyZSdzIG5vIHdheSB0 byBxdWVyeSB0aGUgPiBuZXRiYWNrLCBzaW5jZSBYZW4gaXMgbGludXgtY2VudHJpYy4gQXNzdW1p bmcgeW91IGhhdmVuJ3QgYWxyZWFkeSBJIHdvdWxkIGRpc2FibGUgVFNPLg0KDQo+IE9yIGhhdmUg eW91IGFscmVhZHkgdHJpZWQgdGhhdD8NCj4gZWxzZSBjYW4uLi4NCg0KT24gdGhlIERPTVUsIHJp Z2h0Pw0KDQpJIGJlbGlldmUgSSBkaWQgYW4gaWZjb25maWcgeG4wIC10c28gb24gdGhlIDEwLjMg aW5zdGFsbCBhZnRlciByZWFkaW5nIGFib3V0IGl0IGluIHRoZSBtYW5wYWdlLCBidXQgZGlkIG5v dCBzZWUgYW55IGltcHJvdmVtZW50cy4gDQpJJ2xsIGdpdmUgaXQgYSBzaG90IHdpdGggdGhlIDEx IHNuYXBzaG90IGFuZCBzZWUgaWYgdGhhdCByZXNvbHZlcyB0aGUgaXNzdWUuIA0K From owner-freebsd-xen@freebsd.org Wed May 4 03:57:19 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 712E9B2CF9D for ; Wed, 4 May 2016 03:57:19 +0000 (UTC) (envelope-from StephenJo@LivingComputerMuseum.org) Received: from mail.vulcan.com (wstcas2.vulcan.com [216.220.192.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.vulcan.com", Issuer "Entrust Certification Authority - L1K" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 503A51CF7; Wed, 4 May 2016 03:57:18 +0000 (UTC) (envelope-from StephenJo@LivingComputerMuseum.org) Received: from WSTMAIL2.corp.vnw.com (10.0.41.232) by WSTCAS2.corp.vnw.com (10.0.41.64) with Microsoft SMTP Server (TLS) id 14.3.266.1; Tue, 3 May 2016 20:57:02 -0700 Received: from WSTMAIL2.corp.vnw.com (10.0.41.232) by WSTMAIL2.corp.vnw.com (10.0.41.232) with Microsoft SMTP Server (TLS) id 15.0.1130.7; Tue, 3 May 2016 20:57:01 -0700 Received: from 505Cas3.corp.vnw.com (10.0.100.234) by WSTMAIL2.corp.vnw.com (10.0.41.232) with Microsoft SMTP Server (TLS) id 15.0.1130.7 via Frontend Transport; Tue, 3 May 2016 20:57:01 -0700 Received: from 505MBX1.corp.vnw.com ([169.254.2.139]) by 505Cas3.corp.vnw.com ([10.0.100.234]) with mapi id 14.03.0266.001; Tue, 3 May 2016 20:57:01 -0700 From: Stephen Jones To: "'K. Macy'" , Miguel C CC: "freebsd-xen@freebsd.org" Subject: RE: xn ethernet issues as DOMU under NetBSD DOM0 Thread-Topic: xn ethernet issues as DOMU under NetBSD DOM0 Thread-Index: AdGkpxjNrnD3+QtiSlmekgwuPXhGCAAoHPCAAAvh9rD//8SGgP//xJWAgADveQCAAGxdcP//s8GAgAADbQCAABjCEA== Date: Wed, 4 May 2016 03:57:00 +0000 Message-ID: References: <20160503072441.qgqgaw52sijybg4a@mac> <20160503093211.hkmbbqr6t2fbxqqa@mac> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.100.218] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 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: Wed, 04 May 2016 03:57:19 -0000 DQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBrbWFjeWJzZEBnbWFpbC5jb20g W21haWx0bzprbWFjeWJzZEBnbWFpbC5jb21dIE9uIEJlaGFsZiBPZiBLLiBNYWN5DQo+VGhhdCB3 b3VsZCBleHBsYWluIGl0LiBJZiB0aGUgTGludXggYmFja2VuZCBzdXBwb3J0cyBUU08sIHRoZW4g bmV0ZnJvbnQgd2lsbCBvZiBjb3Vyc2UgYWR2ZXJ0aXNlIFRTTy4gQW5kID5wcmVzdW1hYmx5IHRo ZXJlJ3Mgbm8gd2F5IHRvIHF1ZXJ5IHRoZSBuZXRiYWNrLCBzaW5jZSBYZW4gaXMgbGludXgtY2Vu dHJpYy4gQXNzdW1pbmcgeW91IGhhdmVuJ3QgYWxyZWFkeSBJIHdvdWxkID5kaXNhYmxlIFRTTy4N Cg0KPiBPciBoYXZlIHlvdSBhbHJlYWR5IHRyaWVkIHRoYXQ/DQoNCkkgY2FuIGluZGVlZCBkbyBh biBpZmNvbmZpZyB4bjAgLXRzbyBhbmQgaXQgZGlzYWJsZXMgaXQuICBJJ3ZlIGFkZGVkIHRoYXQg dG8gdGhlIHJjIGFuZCByZWJvb3QgdGhlIGRvbXUsIGJ1dCBpdCBkb2Vzbid0IA0KcmVzb2x2ZSB0 aGUgaXNzdWUuDQo= From owner-freebsd-xen@freebsd.org Wed May 4 07:49:44 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 EAB01B2C7FF for ; Wed, 4 May 2016 07:49:44 +0000 (UTC) (envelope-from prvs=925bc6214=roger.pau@citrix.com) Received: from SMTP.CITRIX.COM (smtp.citrix.com [66.165.176.89]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "Verizon Public SureServer CA G14-SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 932011BCF; Wed, 4 May 2016 07:49:44 +0000 (UTC) (envelope-from prvs=925bc6214=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.24,575,1454976000"; d="scan'208";a="351557802" Date: Wed, 4 May 2016 09:49:36 +0200 From: Roger Pau =?iso-8859-1?Q?Monn=E9?= To: "K. Macy" CC: Miguel C , "freebsd-xen@freebsd.org" , Stephen Jones , Subject: Re: xn ethernet issues as DOMU under NetBSD DOM0 Message-ID: <20160504074936.a5u7pnpzltlyjwaa@mac> References: <20160503072441.qgqgaw52sijybg4a@mac> <20160503093211.hkmbbqr6t2fbxqqa@mac> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0-neo (2016-04-07) X-DLP: MIA2 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: Wed, 04 May 2016 07:49:45 -0000 Hello, I'm adding Wei Liu who did the rework of the netfront driver and added multiqueue to it. On Tue, May 03, 2016 at 03:23:50PM -0700, K. Macy wrote: > On Tue, May 3, 2016 at 3:11 PM, Miguel C wrote: > > This was reported by me and others a few times its was actually fixed in > > some 10.0 (current build at the time) but we could never track it, however > > it always seemed related to tso, netbsd backhend (as I was told back then) > > doesn't support at least tso, and In fact I had the same issue with Windwos > > Guests but the PV drivers dev fixed it (and it was indeed related to this) > > 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. I'm worried it might have something to do with the "feature-sg" node that's exported on the backend path. It seems like FreeBSD correctly acknowledges it, but there might be some bugs there. Stephen, can you paste the output of running `xenstore-ls -fp` on the Dom0 when the FreeBSD DomU has booted? Could you also paste the kernel dmesg of the FreeBSD guest? What seems even more strange is the fact that it works during installs but not after, the kernel is exactly the same for installers, so I'm puzzled. Roger. From owner-freebsd-xen@freebsd.org Wed May 4 18:03:38 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 8C6F9B2D201 for ; Wed, 4 May 2016 18:03:38 +0000 (UTC) (envelope-from StephenJo@LivingComputerMuseum.org) Received: from mail.vulcan.com (wstcas2.vulcan.com [216.220.192.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.vulcan.com", Issuer "Entrust Certification Authority - L1K" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6E998125E for ; Wed, 4 May 2016 18:03:37 +0000 (UTC) (envelope-from StephenJo@LivingComputerMuseum.org) Received: from 505Cas3.corp.vnw.com (10.0.100.234) by WSTCAS2.corp.vnw.com (10.0.41.64) with Microsoft SMTP Server (TLS) id 14.3.266.1; Wed, 4 May 2016 11:03:20 -0700 Received: from 505MBX1.corp.vnw.com ([169.254.2.139]) by 505Cas3.corp.vnw.com ([10.0.100.234]) with mapi id 14.03.0266.001; Wed, 4 May 2016 11:03:21 -0700 From: Stephen Jones To: "freebsd-xen@freebsd.org" Subject: RE: freebsd-xen Digest, Vol 260, Issue 2 Thread-Topic: freebsd-xen Digest, Vol 260, Issue 2 Thread-Index: AQHRpfyCh8gvmpzSiUWwjHntDrHbxJ+pELjA Date: Wed, 4 May 2016 18:03:20 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.95.80.23] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: Wed, 04 May 2016 18:03:38 -0000 Roger writes: > I'm worried it might have something to do with the "feature-sg" node that= 's exported on the backend path. It seems like FreeBSD correctly > acknowle= dges it, but there might be some bugs there. > Stephen, can you paste the output of running `xenstore-ls -fp` on the Dom= 0 when the FreeBSD DomU has booted? Could you also paste the kernel > dmesg= of the FreeBSD guest? > What seems even more strange is the fact that it works during installs bu= t not after, the kernel is exactly the same for installers, so I'm puzzled. On the dom0: /local/domain/0/backend/vbd/12/51728/physical-device =3D "4197891" (n0,r1= 2) /local/domain/0/backend/vbd/78 =3D "" (n0) /local/domain/0/backend/vbd/78/768 =3D "" (n0,r78) /local/domain/0/backend/vbd/78/768/frontend =3D "/local/domain/78/device/vb= d/768" (n0,r78) /local/domain/0/backend/vbd/78/768/params =3D "/vps/domu/freebsd30" (n0,r= 78) /local/domain/0/backend/vbd/78/768/script =3D "/usr/pkg/etc/xen/scripts/blo= ck" (n0,r78) /local/domain/0/backend/vbd/78/768/physical-device =3D "1052387" (n0,r78) /local/domain/0/backend/vbd/78/768/frontend-id =3D "78" (n0,r78) /local/domain/0/backend/vbd/78/768/online =3D "1" (n0,r78) /local/domain/0/backend/vbd/78/768/removable =3D "0" (n0,r78) /local/domain/0/backend/vbd/78/768/bootable =3D "1" (n0,r78) /local/domain/0/backend/vbd/78/768/state =3D "4" (n0,r78) /local/domain/0/backend/vbd/78/768/dev =3D "hda" (n0,r78) /local/domain/0/backend/vbd/78/768/type =3D "phy" (n0,r78) /local/domain/0/backend/vbd/78/768/mode =3D "w" (n0,r78) /local/domain/0/backend/vbd/78/768/device-type =3D "disk" (n0,r78) /local/domain/0/backend/vbd/78/768/discard-enable =3D "1" (n0,r78) /local/domain/0/backend/vbd/78/768/vnd =3D "/dev/vnd30d" (n0,r78) /local/domain/0/backend/vbd/78/768/hotplug-status =3D "connected" (n0,r78= ) /local/domain/0/backend/vbd/78/768/sectors =3D "41943040" (n0,r78) /local/domain/0/backend/vbd/78/768/info =3D "0" (n0,r78) /local/domain/0/backend/vbd/78/768/sector-size =3D "512" (n0,r78) /local/domain/0/backend/vbd/78/768/feature-flush-cache =3D "1" (n0,r78) /local/domain/0/backend/vbd/78/5632 =3D "" (n0,r78) /local/domain/0/backend/vbd/78/5632/frontend =3D "/local/domain/78/device/v= bd/5632" (n0,r78) /local/domain/0/backend/vbd/78/5632/params =3D "/vps/domu_spare_disks/smj_8= 0" (n0,r78) /local/domain/0/backend/vbd/78/5632/script =3D "/usr/pkg/etc/xen/scripts/bl= ock" (n0,r78) /local/domain/0/backend/vbd/78/5632/physical-device =3D "5246467" (n0,r78= ) /local/domain/0/backend/vbd/78/5632/frontend-id =3D "78" (n0,r78) /local/domain/0/backend/vbd/78/5632/online =3D "1" (n0,r78) /local/domain/0/backend/vbd/78/5632/removable =3D "1" (n0,r78) /local/domain/0/backend/vbd/78/5632/bootable =3D "1" (n0,r78) /local/domain/0/backend/vbd/78/5632/state =3D "4" (n0,r78) /local/domain/0/backend/vbd/78/5632/dev =3D "hdc" (n0,r78) /local/domain/0/backend/vbd/78/5632/type =3D "phy" (n0,r78) /local/domain/0/backend/vbd/78/5632/mode =3D "r" (n0,r78) /local/domain/0/backend/vbd/78/5632/device-type =3D "cdrom" (n0,r78) /local/domain/0/backend/vbd/78/5632/discard-enable =3D "0" (n0,r78) /local/domain/0/backend/vbd/78/5632/vnd =3D "/dev/vnd80d" (n0,r78) /local/domain/0/backend/vbd/78/5632/hotplug-status =3D "connected" (n0,r7= 8) /local/domain/0/backend/vbd/78/5632/sectors =3D "572924" (n0,r78) /local/domain/0/backend/vbd/78/5632/info =3D "4" (n0,r78) /local/domain/0/backend/vbd/78/5632/sector-size =3D "512" (n0,r78) /local/domain/0/backend/vbd/78/5632/feature-flush-cache =3D "1" (n0,r78) /local/domain/0/backend/console/78 =3D "" (n0) /local/domain/0/backend/console/78/0 =3D "" (n0,r78) /local/domain/0/backend/console/78/0/frontend =3D "/local/domain/78/console= " (n0,r78) /local/domain/0/backend/console/78/0/frontend-id =3D "78" (n0,r78) /local/domain/0/backend/console/78/0/online =3D "1" (n0,r78) /local/domain/0/backend/console/78/0/state =3D "1" (n0,r78) /local/domain/0/backend/console/78/0/protocol =3D "vt100" (n0,r78) /local/domain/0/backend/vif/78 =3D "" (n0) /local/domain/0/backend/vif/78/0 =3D "" (n0,r78) /local/domain/0/backend/vif/78/0/frontend =3D "/local/domain/78/device/vif/= 0" (n0,r78) /local/domain/0/backend/vif/78/0/frontend-id =3D "78" (n0,r78) /local/domain/0/backend/vif/78/0/online =3D "1" (n0,r78) /local/domain/0/backend/vif/78/0/state =3D "4" (n0,r78) /local/domain/0/backend/vif/78/0/script =3D "/usr/pkg/etc/xen/scripts/vif-b= ridge" (n0,r78) /local/domain/0/backend/vif/78/0/mac =3D "00:16:3e:00:00:30" (n0,r78) /local/domain/0/backend/vif/78/0/bridge =3D "bridge0" (n0,r78) /local/domain/0/backend/vif/78/0/handle =3D "0" (n0,r78) /local/domain/0/backend/vif/78/0/type =3D "vif_ioemu" (n0,r78) /local/domain/0/backend/vif/78/0/vifname =3D "xvif78i0" (n0,r78) /local/domain/0/backend/vif/78/0/feature-rx-copy =3D "1" (n0,r78) /local/domain/0/backend/vif/78/0/feature-rx-flip =3D "1" (n0,r78) /local/domain/0/backend/vif/78/0/hotplug-status =3D "connected" (n0,r78) /local/domain/0/backend/vkbd/78 =3D "" (n0) /local/domain/0/backend/vkbd/78/0 =3D "" (n0,r78) /local/domain/0/backend/vkbd/78/0/frontend =3D "/local/domain/78/device/vkb= d/0" (n0,r78) /local/domain/0/backend/vkbd/78/0/frontend-id =3D "78" (n0,r78) /local/domain/0/backend/vkbd/78/0/online =3D "1" (n0,r78) /local/domain/0/backend/vkbd/78/0/state =3D "2" (n0,r78) /local/domain/0/backend/vkbd/78/0/feature-abs-pointer =3D "1" (n0,r78) /local/domain/0/backend/vkbd/78/0/hotplug-status =3D "connected" (n0,r78) /local/domain/0/device-model/78 =3D "" (n0) /local/domain/0/device-model/78/disable_pf =3D "0" (n0) /local/domain/0/device-model/78/state =3D "running" (n0) /local/domain/26/console/ring-ref =3D "3076678" (n0,r26) /local/domain/78 =3D "" (n0,r78) /local/domain/78/vm =3D "/vm/994fed3b-2112-e611-ae8b-0025902ad41a" (n0,r7= 8) /local/domain/78/name =3D "freebsd30" (n0,r78) /local/domain/78/cpu =3D "" (n0,r78) /local/domain/78/cpu/0 =3D "" (n0,r78) /local/domain/78/cpu/0/availability =3D "online" (n0,r78) /local/domain/78/memory =3D "" (n0,r78) /local/domain/78/memory/static-max =3D "1048576" (n0,r78) /local/domain/78/memory/target =3D "1044480" (n0,r78) /local/domain/78/memory/videoram =3D "4096" (n0,r78) /local/domain/78/device =3D "" (n0,r78) /local/domain/78/device/suspend =3D "" (n0,r78) /local/domain/78/device/suspend/event-channel =3D "" (n78) /local/domain/78/device/vbd =3D "" (n0,r78) /local/domain/78/device/vbd/768 =3D "" (n78,r0) /local/domain/78/device/vbd/768/backend =3D "/local/domain/0/backend/vbd/78= /768" (n78,r0) /local/domain/78/device/vbd/768/backend-id =3D "0" (n78,r0) /local/domain/78/device/vbd/768/state =3D "4" (n78,r0) /local/domain/78/device/vbd/768/virtual-device =3D "768" (n78,r0) /local/domain/78/device/vbd/768/device-type =3D "disk" (n78,r0) /local/domain/78/device/vbd/768/ring-ref =3D "8" (n78,r0) /local/domain/78/device/vbd/768/event-channel =3D "7" (n78,r0) /local/domain/78/device/vbd/768/protocol =3D "x86_64-abi" (n78,r0) /local/domain/78/device/vbd/5632 =3D "" (n78,r0) /local/domain/78/device/vbd/5632/backend =3D "/local/domain/0/backend/vbd/7= 8/5632" (n78,r0) /local/domain/78/device/vbd/5632/backend-id =3D "0" (n78,r0) /local/domain/78/device/vbd/5632/state =3D "1" (n78,r0) /local/domain/78/device/vbd/5632/virtual-device =3D "5632" (n78,r0) /local/domain/78/device/vbd/5632/device-type =3D "cdrom" (n78,r0) /local/domain/78/device/vkbd =3D "" (n0,r78) /local/domain/78/device/vkbd/0 =3D "" (n78,r0) /local/domain/78/device/vkbd/0/backend =3D "/local/domain/0/backend/vkbd/78= /0" (n78,r0) /local/domain/78/device/vkbd/0/backend-id =3D "0" (n78,r0) /local/domain/78/device/vkbd/0/state =3D "1" (n78,r0) /local/domain/78/device/vif =3D "" (n0,r78) /local/domain/78/device/vif/0 =3D "" (n78,r0) /local/domain/78/device/vif/0/backend =3D "/local/domain/0/backend/vif/78/0= " (n78,r0) /local/domain/78/device/vif/0/backend-id =3D "0" (n78,r0) /local/domain/78/device/vif/0/state =3D "4" (n78,r0) /local/domain/78/device/vif/0/handle =3D "0" (n78,r0) /local/domain/78/device/vif/0/mac =3D "00:16:3e:00:00:30" (n78,r0) /local/domain/78/device/vif/0/tx-ring-ref =3D "768" (n78,r0) /local/domain/78/device/vif/0/rx-ring-ref =3D "265" (n78,r0) /local/domain/78/device/vif/0/event-channel =3D "8" (n78,r0) /local/domain/78/device/vif/0/request-rx-copy =3D "1" (n78,r0) /local/domain/78/device/vif/0/feature-rx-notify =3D "1" (n78,r0) /local/domain/78/device/vif/0/feature-sg =3D "1" (n78,r0) /local/domain/78/device/vif/0/feature-gso-tcpv4 =3D "1" (n78,r0) /local/domain/78/control =3D "" (n0,r78) /local/domain/78/control/shutdown =3D "" (n78) /local/domain/78/control/platform-feature-multiprocessor-suspend =3D "1" = (n0,r78) /local/domain/78/control/platform-feature-xs_reset_watches =3D "1" (n0,r7= 8) /local/domain/78/hvmloader =3D "" (n0,r78) /local/domain/78/hvmloader/bios =3D "rombios" (n0,r78) /local/domain/78/hvmloader/allow-memory-relocate =3D "1" (n0,r78) /local/domain/78/data =3D "" (n78) /local/domain/78/domid =3D "78" (n0,r78) /local/domain/78/store =3D "" (n0,r78) /local/domain/78/store/port =3D "1" (n0,r78) /local/domain/78/store/ring-ref =3D "1044476" (n0,r78) /local/domain/78/platform =3D "" (n0,r78) /local/domain/78/platform/acpi =3D "1" (n0,r78) /local/domain/78/platform/acpi_s3 =3D "1" (n0,r78) /local/domain/78/platform/acpi_s4 =3D "1" (n0,r78) /local/domain/78/console =3D "" (n0,r78) /local/domain/78/console/backend =3D "/local/domain/0/backend/console/78/0"= (n0,r78) /local/domain/78/console/backend-id =3D "0" (n78,r0) /local/domain/78/console/limit =3D "1048576" (n0,r78) /local/domain/78/console/type =3D "xenconsoled" (n0,r78) /local/domain/78/console/output =3D "pty" (n0,r78) /local/domain/78/console/tty =3D "/dev/pts/17" (n0,r78) /local/domain/78/console/port =3D "2" (n0,r78) /local/domain/78/console/ring-ref =3D "1044479" (n0,r78) /local/domain/78/console/vnc-port =3D "5900" (n0,r78) /local/domain/78/console/vnc-listen =3D "192.94.73.43" (n0,r78) /local/domain/78/image =3D "" (n0,r78) /local/domain/78/image/device-model-pid =3D "14759" (n0,r78) /vm/994fed3b-2112-e611-ae8b-0025902ad41a =3D "" (n0,r78) /vm/994fed3b-2112-e611-ae8b-0025902ad41a/name =3D "freebsd30" (n0,r78) /vm/994fed3b-2112-e611-ae8b-0025902ad41a/uuid =3D "994fed3b-2112-e611-ae8b-= 0025902ad41a" (n0,r78) /vm/994fed3b-2112-e611-ae8b-0025902ad41a/rtc =3D "" (n0,r78) /vm/994fed3b-2112-e611-ae8b-0025902ad41a/rtc/timeoffset =3D "" (n0,r78) /vm/994fed3b-2112-e611-ae8b-0025902ad41a/image =3D "" (n0,r78) /vm/994fed3b-2112-e611-ae8b-0025902ad41a/image/ostype =3D "hvm" (n0,r78) /vm/994fed3b-2112-e611-ae8b-0025902ad41a/start_time =3D "1462384463.02" (= n0,r78) /libxl/78 =3D "" (n0) /libxl/78/dm-version =3D "qemu_xen_traditional" (n0) From owner-freebsd-xen@freebsd.org Fri May 6 11:17:19 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 135A5B31283 for ; Fri, 6 May 2016 11:17:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 039A6137B for ; Fri, 6 May 2016 11:17:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u46BHIFt067723 for ; Fri, 6 May 2016 11:17:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-xen@FreeBSD.org Subject: [Bug 209327] Under XenServer 6.5 - Live Migration results in a Kernel Panic when the VM 'Lands' on the other Node Date: Fri, 06 May 2016 11:17:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-xen@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Fri, 06 May 2016 11:17:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209327 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-xen@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-xen@freebsd.org Sat May 7 16:12:13 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 13C53B31403 for ; Sat, 7 May 2016 16:12:13 +0000 (UTC) (envelope-from StephenJo@LivingComputerMuseum.org) Received: from mail.vulcan.com (wstcas1.vulcan.com [216.220.192.62]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.vulcan.com", Issuer "Entrust Certification Authority - L1K" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E65371EC0; Sat, 7 May 2016 16:12:12 +0000 (UTC) (envelope-from StephenJo@LivingComputerMuseum.org) Received: from WSTMAIL2.corp.vnw.com (10.0.41.232) by WSTCAS1.corp.vnw.com (10.0.41.62) with Microsoft SMTP Server (TLS) id 14.3.266.1; Sat, 7 May 2016 09:11:54 -0700 Received: from WSTMAIL2.corp.vnw.com (10.0.41.232) by WSTMAIL2.corp.vnw.com (10.0.41.232) with Microsoft SMTP Server (TLS) id 15.0.1130.7; Sat, 7 May 2016 09:11:54 -0700 Received: from 505CAS1.corp.vnw.com (10.0.100.217) by WSTMAIL2.corp.vnw.com (10.0.41.232) with Microsoft SMTP Server (TLS) id 15.0.1130.7 via Frontend Transport; Sat, 7 May 2016 09:11:54 -0700 Received: from 505MBX1.corp.vnw.com ([169.254.2.139]) by 505CAS1.corp.vnw.com ([10.0.100.217]) with mapi id 14.03.0266.001; Sat, 7 May 2016 09:11:53 -0700 From: Stephen Jones To: "'K. Macy'" , 'Miguel C' , "wei.liu2@citrix.com" CC: "'freebsd-xen@freebsd.org'" Subject: RE: xn ethernet issues as DOMU under NetBSD DOM0 Thread-Topic: xn ethernet issues as DOMU under NetBSD DOM0 Thread-Index: AdGkpxjNrnD3+QtiSlmekgwuPXhGCAAoHPCAAAvh9rD//8SGgP//xJWAgADveQCAAGxdcP//s8GAgAADbQCAABjCEP/6sN5w Date: Sat, 7 May 2016 16:11:52 +0000 Message-ID: References: <20160503072441.qgqgaw52sijybg4a@mac> <20160503093211.hkmbbqr6t2fbxqqa@mac> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.100.218] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 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 16:12:13 -0000 RnJvbToga21hY3lic2RAZ21haWwuY29tIFttYWlsdG86a21hY3lic2RAZ21haWwuY29tXSBPbiBC ZWhhbGYgT2YgSy4gTWFjeQ0KPlRoYXQgd291bGQgZXhwbGFpbiBpdC4gSWYgdGhlIExpbnV4IGJh Y2tlbmQgc3VwcG9ydHMgVFNPLCB0aGVuIG5ldGZyb250IHdpbGwgb2YgY291cnNlIGFkdmVydGlz ZSBUU08uIEFuZCA+cHJlc3VtYWJseSB0aGVyZSdzIG5vIHdheSB0byBxdWVyeSB0aGUgbmV0YmFj aywgc2luY2UgWGVuIGlzIGxpbnV4LWNlbnRyaWMuIEFzc3VtaW5nIHlvdSBoYXZlbid0IGFscmVh ZHkgSSB3b3VsZCA+ZGlzYWJsZSBUU08uDQoNCj4gT3IgaGF2ZSB5b3UgYWxyZWFkeSB0cmllZCB0 aGF0Pw0KDQpUaGlzIG1vcm5pbmcgSSd2ZSB0cmllZCBidWlsZGluZyBhIGtlcm5lbCB3aXRob3V0 IHRoZSBUQ1BfT0ZGTE9BRCBvcHRpb24uICBXaGVuIGJvb3RpbmcgdGhlIG5ldyBzeXN0ZW0sIEkg c2VlIHRoaXMgaW4gZG1lc2c6DQoNCnhuMDogIDxWaXJ0dWFsIE5ldHdvcmsgSW50ZXJmYWNlPiBh dCBkZXZpY2UvdmlmLzAgb24geGVuYnVzYl9mcm9udDANCnhuMDogIEV0aGVybmV0IGFkZHJlc3M6 ICAwMDoxNjozZTowMDowMDozMA0KeG4wOiAgYmFja2VuZCBmZWF0dXJlczogIGZlYXR1cmUtc2cg ZmVhdHVyZS1nc28tdGNwNA0KeG5fdHhlb2Y6ICBXQVJOSU5HOiAgcmVzcG9uc2UgaXMgLTEhDQoN CklmY29uZmlnIC12IHhuMCBsb29rcyBsaWtlOg0KDQp4bjA6ICBmbGFncz04ODQzPFVQLEJST0FE Q0FTVCxSVU5OSU5HLFNJTVBMRVgsTVVMVElDQVNUPiBtZXRyaWMgMCBtdHUgMTUwMA0KCW9wdGlv bnM9NDAzPFJYQ1NVTSxUWENTVU0sTFJPPg0KDQpQaW5ncyB3b3JrLCBmdHAgd29ya3MgKEkgd2Fz IGFibGUgdG8gZ2V0IHRoZSBzcmMudHh6IGZpbGUgb2ZmIG9mIGZ0cC5mcmVlYnNkLm9yZyB0byBi dWlsZCB0aGUga2VybmVsKQ0Kc3NoIGRvZXMgbm90IHdvcmsgKGhhbmRzaGFraW5nIGZhaWxzKSBi dXQgSSBjYW4gbG9naW4gdmlhIHRlbG5ldC4gIEhvd2V2ZXIsIGp1c3QgYWJvdXQgYW55dGhpbmcN CnRoYXQgcmVxdWlyZXMgbG90cyBvZiBvdXRwdXQgZ2V0cyBhIGJpdCBjbG9iYmVyZWQuDQoNCkFy ZSB0aGVyZSBhbnkgb3RoZXIga2VybmVsL3N5c2N0bCBwYXJhbWV0ZXJzIEkgc2hvdWxkIGJlIGRp c2FibGluZz8NCg0KSXQgaXMgYWxtb3N0IHdvcmtpbmcsIGJ1dCBJIG5lZWQgaGVscCB0byBrbm93 IGlmIHRoaXMgaXMgYSBuZXRmcm9udCBvciBhIG5ldGJhY2sgaXNzdWUuICBJZiBpdCBpcyBhIE5l dEJTRCBpc3N1ZQ0KSSdsbCBtb3ZlIHRoZSBkaXNjdXNzaW9uIG92ZXIgdG8gcG9ydC14ZW5AbmV0 YnNkLm9yZw0K 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"