From owner-freebsd-cloud@freebsd.org Tue Nov 1 05:08:50 2016 Return-Path: Delivered-To: freebsd-cloud@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 014B3C2C09D; Tue, 1 Nov 2016 05:08:50 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from vps-mail.nomadlogic.org (unknown [IPv6:2607:f2f8:a098::2]) (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 D964811BE; Tue, 1 Nov 2016 05:08:49 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from LA-DGT-31327.local (cpe-23-242-83-219.socal.res.rr.com [23.242.83.219]) by vps-mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id b8fa0cec TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Mon, 31 Oct 2016 22:08:48 -0700 (PDT) Subject: Re: xn0 systat no egress data? To: Colin Percival , freebsd-cloud@freebsd.org, freebsd-xen@freebsd.org References: <8be5174c-fcd5-0e5b-921f-5cfc31e99c4f@nomadlogic.org> <010001581c9246a1-331188e9-2263-4600-abb3-09efc7ea3026-000000@email.amazonses.com> <010001581db69ef4-f72357af-3af3-4a9f-89f4-58da717d63aa-000000@email.amazonses.com> From: Pete Wright Message-ID: <733457ca-98b5-3645-073d-68ac71eb9efa@nomadlogic.org> Date: Mon, 31 Oct 2016 22:08:47 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <010001581db69ef4-f72357af-3af3-4a9f-89f4-58da717d63aa-000000@email.amazonses.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-cloud@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "FreeBSD on cloud platforms \(EC2, GCE, Azure, etc.\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Nov 2016 05:08:50 -0000 On 10/31/16 7:27 PM, Colin Percival wrote: > On 10/31/16 14:57, Pete Wright wrote: >> On 10/31/16 2:08 PM, Colin Percival wrote: >>> On 10/31/16 13:44, Pete Wright wrote: >>>> hey all - this is regarding the following bug i've opened: >>>> >>>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213814 >>>> >>>> tl;dr version is that on 11.0-RELEASE on EC2 when i invoke "systat -ifstat" >>>> the egress data flows for the xn0 device do not update. verified it works as >>>> expected on 10.3-RELEASE. tried reading through code but am pretty confused >>>> as to how xn0 is created and what code is used to update the sysctl MIBs. >>> >>> I think this might be fixed by r308126. Can you try applying that patch and >>> report back? >> >> hrm doesn't look like it has changed anything on my end. >> >> i applied this patch against the 11.0.1 svn source: >> https://svnweb.freebsd.org/base/head/sys/dev/xen/netfront/netfront.c?view=patch&r1=308126&r2=308125&pathrev=308126 >> >> then built/installed a kernel after applying this patch with no change. I >> don't think i need to rebuild world for this, right? > > Hmm, that should have worked. (Assuming you rebooted into the new kernel, > of course.) > > I'm out of ideas... maybe someone on the -xen list will know more... thanks Colin - I'll double check my work tomorrow morning and ping -xen if i'm still having issues. cheers, -pete -- Pete Wright pete@nomadlogic.org nomadlogicLA