Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jul 2016 09:53:34 -0500
From:      Karl Denninger <karl@denninger.net>
To:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: Old problem still present on 11-ALPHA1 - Pi2
Message-ID:  <3ad346b7-3c9f-05d6-a8cf-170a060051c9@denninger.net>
In-Reply-To: <eff74d4e-2c24-2eec-758a-55e313ad9710@selasky.org>
References:  <32ad8bb3-f0a6-c86b-1b23-aae9af4442ea@denninger.net> <62d7d041-2de5-639f-5c1e-76f9682e6cc8@selasky.org> <5682bff2-3033-194a-67bf-32ba0cdada37@denninger.net> <20160711205855.GC34367@cicely7.cicely.de> <5f38e923-c1a1-8bb7-83cc-0de6404b6e47@denninger.net> <eff74d4e-2c24-2eec-758a-55e313ad9710@selasky.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 7/12/2016 02:40, Hans Petter Selasky wrote:
> On 07/12/16 03:28, Karl Denninger wrote:
>> It *only* happens if I have the VLANs enabled.  If I am running a single
>> network on an interface it's fine.
>
> Did you check the interface statistics? You can also try to enable
> debugging for the ethernet interface: "hw.usb.xxxx.debug=16" where
> xxxx is smsc or something like that.
>
> Are you sending very big packets? Did you try to set the MTU lower?
>
> --HPS

There is no indication of trouble and the devices it is talking to are
all MTU 1500, as is this unit.....

root@IPGw:/etc/mail # netstat -i -b -n -I ue0
Name    Mtu Network       Address              Ipkts Ierrs Idrop    
Ibytes    Opkts Oerrs     Obytes  Coll
ue0    1500 <Link#2>      b8:27:eb:be:e6:f8   174327     0     0 
186606323    80559     0    6306399     0
ue0       - 192.168.1.0/2 192.168.1.200       134293     -     - 
181992609    77276     -    5049273     -
root@IPGw:/etc/mail # netstat -i -b -n -I ue0.2
Name    Mtu Network       Address              Ipkts Ierrs Idrop    
Ibytes    Opkts Oerrs     Obytes  Coll
ue0.2  1500 <Link#3>      b8:27:eb:be:e6:f8    25926     0     0   
1562248     1245     0      55796     0
ue0.2     - 70.169.168.0/ 70.169.168.97           76     -     -      
5634     1240     -      86378     -
root@IPGw:/etc/mail # netstat -i -b -n -I ue0.3
Name    Mtu Network       Address              Ipkts Ierrs Idrop    
Ibytes    Opkts Oerrs     Obytes  Coll
ue0.3  1500 <Link#4>      b8:27:eb:be:e6:f8      431     0     0     
74658      174     0      33422     0
ue0.3     - 192.168.4.0/2 192.168.4.200           85     -     -     
30260       85     -      27880     -

Note that this CLAIMS no errors and very low traffic levels (as
expected; this is just a DHCP server machine and an "emergency" way into
the KVM on the servers if they blow up for some reason, as those KVMs
are not exposed to the Internet for obvious reasons.)

> It's interesting that it flapped down (and then back up) three times
> and you have three interfaces. Does it do that consistently? Does it
> do it twice if there is only two interface (base plus a vlan)?
That's just a function of when I looked since boot.  All three "flap" at
the same time but the "flap" is fictitious in that the switch never sees
the carrier drop on the port.  Now, a day later, there are dozens of
"flaps" in the dmesg output (in fact that's ALL that's there having
rolled the buffer off!)
>
> Can you share the interface configuration source? Have you checked
> your system resources close to an expected flap to see if there is
> ballooning resources somewhere? Brendan Gregg has some fantastic
> tracing resources. Here are a couple of my favorites (not that I
> profess to know anything about dtrace...)
Nothing complicated...

ifconfig_ue0="inet 192.168.1.200 netmask 255.255.255.0"
#
# VLAN for inside subnet
#
vlans_ue0="2 3"
ifconfig_ue0_2="inet 70.169.168.97/25"
ifconfig_ue0_3="inet 192.168.4.200/24"
defaultrouter="70.169.168.1"

That's it....

There's no system resource issue; the machine has plenty of RAM and
mbufs; and no denied requests being logged anywhere.

What this *looks like* is that something in the network stack thinks the
interface state has gone down but it in fact has not (the switch doesn't
see anything wrong.)  As evidence that FreeBSD thinks it has, however,
is that it *does* (sometimes) disrupt the snmpd client on this host and
unless it is restarted it will stop talking to my network monitor for
statistics, so I have to have a cron job that restarts snmpd every few
hours or eventually I'll flat-line all the stats out of that host on the
monitor console.

The machine itself is extremely stable; it has run for months without a
crash, only being interrupted by my intentional act (such as a software
upgrade.)  Then again it rarely is asked to do much since it's purpose
in life is to provide a means of setting up a tunnel to internal KVMs in
the event that one of the machines behind the Internet gateway (or the
gateway itself!) blows up and requires attention from a remote (e.g.
using ssh as a tunnel once you're signed into this machine.)

-- 
Karl Denninger
karl@denninger.net <mailto:karl@denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/

[-- Attachment #2 --]
0	*H
010
	`He0	*H
_0[0C)0
	*H
010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA0
150421022159Z
200419022159Z0Z10	UUS10UFlorida10U
Cuda Systems LLC10UKarl Denninger (OCSP)0"0
	*H
0
X@vkY
Tq/vE]5#֯MX\8LJ/V?5Da+
sJc*/r{ȼnS+w")ąZ^DtdCOZ ~7Q '@a#ijc۴oZdB&!Ӝ-<	?HN5y
5}F|ef゘"Vلio74zn">a1qWuɖbFeGE&3(KhixG3!#e_XƬϜ/,$+;4y'Bz<qT9_?rRUpn5
Jn&Rx/p Jyel*pN8/#9u/YPEC)TY>~/˘N[vyiDKˉ,^" ?$T8v&K%z8C @?K{9f`+@,|Mbia007++0)0'+0http://cudasystems.net:88880	U00	`HB0U0,	`HB
OpenSSL Generated Certificate0U-h\Ff Y0U#0$q}ݽʒm50U0karl@denninger.net0
	*H
Owbabɺx&Uk[(Oj!%pMQ0I!#QH}.>~2&D}<wm_>V6v]f>=Nn+8;q wfΰ/RLyUG#b}n!Dր_up|_ǰc/%ۥ
nN8:d;-UJd/m1~VނיnN I˾$tF1&}|?q?\đXԑ&\4V<lKۮ3%Am_(q-(cAeGX)f}-˥6cv~Kg8m~v;|9:-iAPқ6ېn-.)<[$KJtt/L4ᖣ^Cmu4vb{+BG$M0c\[MR|0FԸP&78"4p#}DZ9;V9#>Sw"[UP7100010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA)0
	`HeM0	*H
	1	*H
0	*H
	1
160712145334Z0O	*H
	1B@Ev ]]I(\kE0"_3V뀣z2TmC00l	*H
	1_0]0	`He*0	`He0
*H
0*H
0
*H
@0+0
*H
(0	+710010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA)0*H
	1010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA)0
	*H
8e<N-%2<Q:#D
gHCkZB:#qS؄:D?npCo<댙B2weU'4hH8}#̓E0-,6X~Jv\'Dˣ1xΝ<c@贑!7uCg2Q0⣵X[cEn_n"mcƲz^"6c݉'~g)j/-߻:yZ_Fr<5Z1~>Ydz߆=wVV`1(د*|rC|{yeTT$KB(05҇8R1|
qya%+(Kn}dFr
E;gf<LߗV\qPxhyQ}׵F(3EU,?/KeEvݮV+ło{"
>=e
rzh&PJ^ȋSWU\rZ
LJe|
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ad346b7-3c9f-05d6-a8cf-170a060051c9>