From owner-freebsd-current@FreeBSD.ORG Sat Jun 7 12:52:42 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 79A84345 for ; Sat, 7 Jun 2014 12:52:42 +0000 (UTC) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 461092B8B for ; Sat, 7 Jun 2014 12:52:41 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.9/8.14.9) with ESMTP id s57CqWqR076494; Sat, 7 Jun 2014 05:52:32 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.9/8.14.9/Submit) id s57CqWFF076493; Sat, 7 Jun 2014 05:52:32 -0700 (PDT) (envelope-from david) Date: Sat, 7 Jun 2014 05:52:32 -0700 From: David Wolfskill To: bycn82 Subject: Re: wlan0/iwn: no upload statistics Message-ID: <20140607125232.GT22448@albert.catwhisker.org> Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org, bycn82 , freebsd-current@freebsd.org References: <5392DACF.4050401@gmx.net> <006e01cf824d$7e2684e0$7a738ea0$@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="1ypm5kX6DjiKlr0N" Content-Disposition: inline In-Reply-To: <006e01cf824d$7e2684e0$7a738ea0$@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jun 2014 12:52:42 -0000 --1ypm5kX6DjiKlr0N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 07, 2014 at 08:39:10PM +0800, bycn82 wrote: > Hi, >=20 > More information is required. Please provide the output of the two comman= ds below >=20 > 1. sysctl -a | grep octets=09 > 2. uname -a > ... I'm not the OP, but I do (sometimes) run head, and have an iwn(4) NIC on my laptop, so I checked: I was able to reproduce the cited symptoms: /0 /1 /2 /3 /4 /5 /6 /7 /8 /9 /10 Load Average ||||||||||||||||||||=20 Interface Traffic Peak Total wlan0 in 0.400 KB/s 23.553 KB/s 1.529 MB out 0.000 KB/s 0.000 KB/s 0.000 KB As a reality check: g1-252(11.0-C)[4] date ; netstat -nibf inet ; sleep 10 ; date ; netstat -ni= bf inet Sat Jun 7 05:47:02 PDT 2014 Name Mtu Network Address Ipkts Ierrs Idrop Ibytes= Opkts Oerrs Obytes Coll lo0 - 127.0.0.0/8 127.0.0.1 0 - - 0= 0 - 0 - wlan0 - 172.17.0.0/16 172.17.1.252 7023 - - 1438387= 4642 - 476288 - Sat Jun 7 05:47:12 PDT 2014 Name Mtu Network Address Ipkts Ierrs Idrop Ibytes= Opkts Oerrs Obytes Coll lo0 - 127.0.0.0/8 127.0.0.1 0 - - 0= 0 - 0 - wlan0 - 172.17.0.0/16 172.17.1.252 7039 - - 1444099= 4658 - 477380 - g1-252(11.0-C)[5]=20 Finally, what you requested: g1-252(11.0-C)[5] sysctl -a | grep octets dev.em.0.mac_stats.good_octets_recvd: 0 dev.em.0.mac_stats.good_octets_txd: 0 g1-252(11.0-C)[6] uname -a FreeBSD g1-252.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #1268 r267= 149M/267149:1100022: Fri Jun 6 06:00:16 PDT 2014 root@g1-252.catwhiske= r.org:/common/S4/obj/usr/src/sys/CANARY i386 g1-252(11.0-C)[7]=20 (The machine is running head because it's in the middle of a source-based update to r267211.) Peace, david --=20 David H. Wolfskill david@catwhisker.org Taliban: Evil cowards with guns afraid of truth from a 14-year old girl. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --1ypm5kX6DjiKlr0N Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQJ8BAEBCgBmBQJTkwsOXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4 QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk7U10P/R1CYraBvBL1NzBFig/avzgV yEJgRI+tvJmxPoc3eqIPuTver/QQMdxUJEEIDTOEtf1JEnWk3FwU9jkHDLqbUx6g cV0rk2Vr/fwUTuYsrnm1t9tMXAagTykA/2rOXeGhB607afYDkbx2xcxyTf7NuiuV 05yZTD7iYnk5GDXaguP0TXxbP1HBA5vB/bquv8i2nKpILRMaPN9VqKqZMfOavdkl DFs833tOHmFJQD7EOZOQoirF/k2zW6CD8J4fxKmD04EU5xDmtka6S45auHcp9AWK hGYCsUQP5OWpCYrf/bTBMUgOPxPz8S9i8H6wtikdcqSxzt7sugn6cN0lILYjUzpT DtRPnRqgSa40F/NoDatEJWWfmegVECCa07rNx1FVLuVR22DCI1nn+0RMbUQCk8s5 3tLgm2GWwAZNVksPo/qaYHqOliPa9EWQ12vnJqv6QQR4/Bb7BehkYFGgXVOVjz4P 3/cNyexBW9ATMq0H830sCkztgQQtHBQk18g0vyXHlr40VDDVrE/jMDDDMUAfwDN/ xmw9t6lTeKUfjHRWock/h8VLHIMSA8PDBlaknHutvy/xdoTtuO+0bucTzI2ZB73h PY4AwYKTalsgvb0cK4CwOosObxfVRNH06azEjn7DI5acLo1K24ddFISEoIFISalC DlzVJvXYYVFrXK9SaN+3 =+r0o -----END PGP SIGNATURE----- --1ypm5kX6DjiKlr0N--