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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Oct 13 09:16:16 UTC 2016


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: freebsd-bugs at FreeBSD.org
          Reporter: Trond.Endrestol at ximalas.info
                CC: freebsd-amd64 at FreeBSD.org
                CC: freebsd-amd64 at 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.


More information about the freebsd-bugs mailing list