From owner-freebsd-xen@freebsd.org Tue Nov 1 02:27: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 A770BC29131 for ; Tue, 1 Nov 2016 02:27:43 +0000 (UTC) (envelope-from 010001581db696d1-e8172b98-d878-4f1e-9ac3-cd80b627ffbc-000000@amazonses.com) Received: from a8-60.smtp-out.amazonses.com (a8-60.smtp-out.amazonses.com [54.240.8.60]) (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 6D1FF1922 for ; Tue, 1 Nov 2016 02:27:43 +0000 (UTC) (envelope-from 010001581db696d1-e8172b98-d878-4f1e-9ac3-cd80b627ffbc-000000@amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=vnqrkfnvu6csdl6mwgk5t6ix3nnepx57; d=tarsnap.com; t=1477967255; h=Subject:To:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=nw107w+8+IE4O60QwEfwSezUwEaXOd1bcVeJUIFgo7s=; b=QvhIRZ4AlME0RmsGqXJ280IsQx/O6JaT1XrWx4kcF6ChUH3raJFwoQ3mY4jMWCco IO57HcqpL5+sjvpvRFYA5Er/VbqkODF3S8kGVOEAoLXLTIX9XjafHIMFPD1T1wI44sk cygOciNdoj1EqETblrgMlb9chk955NQhmhW0hD1o= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1477967255; 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=iwBOQuoF0VTZ47GVAc14CZasFG4rfPhL/47Oov/ND1/iUx2cUafVQCFHKLIKJI9F sFgLrq8KE9IgDAFJSxoae5gw2ttl8UcbjWoyWVbJ4Ck4BE9XW8rV8F7EU2EgdCxhYQM aSPXmWhAeO4SxuZHeEXk0R0+XdSQC5Yj6mfoojfQ= 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: <010001581db696d1-e8172b98-d878-4f1e-9ac3-cd80b627ffbc-000000@email.amazonses.com> Date: Tue, 1 Nov 2016 02:27:35 +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.60 Feedback-ID: 1.us-east-1.Lv9FVjaNvvR5llaqfLoOVbo2VxOELl7cjN0AOyXnPlk=:AmazonSES X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.23 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, 01 Nov 2016 02:27:43 -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