From nobody Tue Oct 25 20:57:59 2022 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mxkmc4Xwnz4fxry for ; Tue, 25 Oct 2022 20:58:08 +0000 (UTC) (envelope-from vit@otcnet.ru) Received: from mail.otcnet.ru (mail.otcnet.ru [194.190.78.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Mxkmb3RXmz3bN2 for ; Tue, 25 Oct 2022 20:58:07 +0000 (UTC) (envelope-from vit@otcnet.ru) Received: from [192.168.0.149] (unknown [5.16.135.18]) by mail.otcnet.ru (Postfix) with ESMTPSA id 7D5A7D8967 for ; Tue, 25 Oct 2022 23:57:57 +0300 (MSK) Message-ID: <7d62ceba-3878-3ec7-9b9e-844d56641514@otcnet.ru> Date: Tue, 25 Oct 2022 23:57:59 +0300 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: netstat -I ix0 Content-Language: en-US To: freebsd-net@freebsd.org References: <3095c007-2582-32f2-c203-db0a30af14a8@otcnet.ru> <2afa3987d7f35bb655f9eb63aa6f4451@korbank.pl> From: Victor Gamov In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Mxkmb3RXmz3bN2 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of vit@otcnet.ru designates 194.190.78.3 as permitted sender) smtp.mailfrom=vit@otcnet.ru X-Spamd-Result: default: False [-3.20 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+a:mail.otcnet.ru]; RCVD_NO_TLS_LAST(0.10)[]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:50822, ipnet:194.190.78.0/24, country:RU]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[otcnet.ru]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N So, it's not a problem but counter only bug? On 24.10.2022 23:29, Cristian Cardoso wrote: > Hi > > After I upgraded my hardware from 12.2 to 12.3-RELEASE, I also started > getting error alerts on my FreeBSD monitors via snmp. > People asked me to upgrade the version to 13, I did but the problem > persisted, I changed SFP modules and fiber cable, even so the error > persisted. > This was a system change that created more counters from the > implementation of a new revision in FreeBSD. > > I reported my bug at the time: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262093 > > From what you could see in the url that Konrad passed, a fix is already > being tested. > > Em seg., 24 de out. de 2022 às 17:21, Konrad Kręciwilk > > escreveu: > > Hello, > > It seems your issues is related with > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266048 > Regards, > KK > > W dniu 2022-10-24 17:59, Victor Gamov napisał(a): > > Hi All > > > > On my FreeBSD 12.3-STABLE r372089 GENERIC  amd64 I have a huge amount > > of RX errors on ix0: > > > > ===== > > # netstat -n -I ix0 > > Name    Mtu Network       Address              Ipkts Ierrs Idrop > Opkts > > Oerrs  Coll > > ix0    1500       a0:36:9f:1d:80:80 2336589698003 > 774784702245 > >   0 1816532334151     0     0 > > ===== > > > > ===== > > # sysctl dev.ix.0 | grep errs > > dev.ix.0.mac_stats.checksum_errs: 774729511713 > > dev.ix.0.mac_stats.rec_len_errs: 31682 > > dev.ix.0.mac_stats.byte_errs: 14414734 > > dev.ix.0.mac_stats.ill_errs: 3034419 > > dev.ix.0.mac_stats.crc_errs: 54705100 > > dev.ix.0.mac_stats.rx_errs: 774787585085 > > ===== > > > > > > Are these errors phy/hw problems e.x. wrong SFP+ hardware/firmware, > > too high / too low RX levels, broken patch cord?  Or may it be > some OS > > errors? > > > > > > Thanks for any advise! -- CU, Victor Gamov