Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Bug 213439] ifOutOctets are always zero for Xen xn interfaces

1 view
Skip to first unread message

bugzilla...@freebsd.org

unread,
Oct 13, 2016, 5:16:30 AM10/13/16
to freebs...@freebsd.org
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213439

Bug ID: 213439
Summary: ifOutOctets are always zero for Xen xn interfaces
Product: Base System
Version: 11.0-STABLE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: freebs...@FreeBSD.org
Reporter: Trond.E...@ximalas.info
CC: freebs...@FreeBSD.org
CC: freebs...@FreeBSD.org

Virtualization platform is XenServer 7.0.0.

The XenServer guest is:
root@[WITHHELD]:~ # uname -a
FreeBSD [WITHHELD].fig.ol.no 11.0-PRERELEASE FreeBSD 11.0-PRERELEASE #1
r306639: Mon Oct 3 17:36:35 CEST 2016
root@[WITHHELD]:/usr/obj/usr/src/sys/XENGUEST amd64

The kernel configuration file is available at
http://ximalas.info/~trond/create-zfs/canmount/XENGUEST-amd64-stable-11

Just for comparison, here's lo0:
root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.2.1
IF-MIB::ifDescr.1 = STRING: lo0
root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.10.1
IF-MIB::ifInOctets.1 = Counter32: 190342
root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.16.1
IF-MIB::ifOutOctets.1 = Counter32: 190491

This is for xn0:
root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.2.2
IF-MIB::ifDescr.2 = STRING: xn0
root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.10.2
IF-MIB::ifInOctets.2 = Counter32: 1799356094
root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.16.2
IF-MIB::ifOutOctets.2 = Counter32: 0

This is for xn1:
root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.2.3
IF-MIB::ifDescr.3 = STRING: xn1
root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.10.3
IF-MIB::ifInOctets.3 = Counter32: 2647317261
root@[WITHHELD]:~ # snmpget -v 2c -c public localhost 1.3.6.1.2.1.2.2.1.16.3
IF-MIB::ifOutOctets.3 = Counter32: 0

In the latter two cases ifOutOctets are always zero, but not for the lo0 case.

Is this a bug in the xn driver?

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebs...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs...@freebsd.org"

bugzilla...@freebsd.org

unread,
Oct 13, 2016, 6:41:14 AM10/13/16
to freebs...@freebsd.org
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213439

Andrey V. Elsukov <a...@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |a...@FreeBSD.org

--- Comment #1 from Andrey V. Elsukov <a...@FreeBSD.org> ---
Created attachment 175694
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=175694&action=edit
Proposed patch (untested)

Hi,

can you test this patch?

bugzilla...@freebsd.org

unread,
Oct 13, 2016, 6:41:52 AM10/13/16
to freebs...@freebsd.org
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213439

Mark Linimon <lin...@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC|freebs...@FreeBSD.org |
Assignee|freebs...@FreeBSD.org |freeb...@FreeBSD.org
Keywords| |patch
0 new messages