Re: xn0 systat no egress data?

2016-10-31 Thread Pete Wright



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=308126=308125=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
p...@nomadlogic.org
nomadlogicLA
___
freebsd-xen@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: xn0 systat no egress data?

2016-10-31 Thread Colin Percival
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=308126=308125=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
___
freebsd-xen@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"