From owner-freebsd-cloud@freebsd.org Tue Nov 1 02:27:44 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 91B08C29133 for ; Tue, 1 Nov 2016 02:27:44 +0000 (UTC) (envelope-from 010001581db69b85-14950ad2-77a2-49fa-976e-648c6f0d709e-000000@amazonses.com) Received: from a8-52.smtp-out.amazonses.com (a8-52.smtp-out.amazonses.com [54.240.8.52]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 57E561925 for ; Tue, 1 Nov 2016 02:27:44 +0000 (UTC) (envelope-from 010001581db69b85-14950ad2-77a2-49fa-976e-648c6f0d709e-000000@amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=vnqrkfnvu6csdl6mwgk5t6ix3nnepx57; d=tarsnap.com; t=1477967256; h=Subject:To:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=nw107w+8+IE4O60QwEfwSezUwEaXOd1bcVeJUIFgo7s=; b=HKvVHtQJ+B7OokHMw+S8ocEgVU6bYKS3ZKj5WclHxKaeI14DDQMEbWzgI7E0lP1W 4YRlS1bCNqrVzHN7cMzzXkMdaS7pul1wSyZZL6vr6BN4/qWCXAf1pEcrZkW7Xc6wgiL joGukwT4BbmOetmH+FXhMdJa/IJvqWijcDxnAlm4= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1477967256; h=Subject:To:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding:Feedback-ID; bh=nw107w+8+IE4O60QwEfwSezUwEaXOd1bcVeJUIFgo7s=; b=APofCjH5KlbDdcZF5McKwx96jNAvQ3EMUc40JV8Fmx6kPtCBNXrjRZhV3b8lPIOS GgU6trco4mGGzuWhhsyVNIjeKX/GYoCgldrA2SljD3V0wjKBjZCH0mVnp32s/t2ny38 tWpFLdwasq7Ywdcmsi1zVbB7sPqKw6Sm2aBQ2NY8= Subject: Re: xn0 systat no egress data? To: Pete Wright , 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> From: Colin Percival Message-ID: <010001581db69b85-14950ad2-77a2-49fa-976e-648c6f0d709e-000000@email.amazonses.com> Date: Tue, 1 Nov 2016 02:27:36 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SES-Outgoing: 2016.11.01-54.240.8.52 Feedback-ID: 1.us-east-1.Lv9FVjaNvvR5llaqfLoOVbo2VxOELl7cjN0AOyXnPlk=:AmazonSES 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 02:27:44 -0000 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... -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid