Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jul 2016 09:12:02 +0200
From:      Damelin <info@dcc.edu.za>
To:        freebsd-arm@freebsd.org
Subject:   Join the School of Business Professionals
Message-ID:  <201607129091236.29478.1152@dcc.edu.za>

next in thread | raw e-mail | index | archive | help
School of Business
Professionals ( https://www.dcc.edu.za/mailer-campaign/business-professionals )

School of Business
Professionals ( https://www.dcc.edu.za/mailer-campaign/business-professionals )

School of Business
Professionals ( https://www.dcc.edu.za/mailer-campaign/business-professionals )

School of Business
Professionals ( https://www.dcc.edu.za/mailer-campaign/business-professionals )

School of Business
Professionals ( https://www.dcc.edu.za/mailer-campaign/business-professionals )

School of Business
Professionals ( https://www.dcc.edu.za/mailer-campaign/business-professionals )

School of Business
Professionals ( https://www.dcc.edu.za/mailer-campaign/business-professionals )
From owner-freebsd-arm@freebsd.org  Tue Jul 12 08:10:32 2016
Return-Path: <owner-freebsd-arm@freebsd.org>
Delivered-To: freebsd-arm@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C4B4B93E97
 for <freebsd-arm@mailman.ysv.freebsd.org>;
 Tue, 12 Jul 2016 08:10:32 +0000 (UTC)
 (envelope-from russ.haley@gmail.com)
Received: from mail-vk0-x229.google.com (mail-vk0-x229.google.com
 [IPv6:2607:f8b0:400c:c05::229])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 4397B1EB1
 for <freebsd-arm@freebsd.org>; Tue, 12 Jul 2016 08:10:32 +0000 (UTC)
 (envelope-from russ.haley@gmail.com)
Received: by mail-vk0-x229.google.com with SMTP id o63so11306511vkg.1
 for <freebsd-arm@freebsd.org>; Tue, 12 Jul 2016 01:10:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc; bh=pcV1EKHHRgV3c/x1A9pA5rkgWvWuIbSCid0zOCPDEPY=;
 b=SPwKZa00yOham/C+yTFb6JW2JRpYWcB+ne6CokwOvLOOpZsV+5DP0Do0tKLm9Onk/K
 mwAmOWwlSP98bSZvB5rWkWkzfmS82S8/be8vuszRNHZD84rVd6bY78Xw09qeoO5duN01
 XxF70uNoZf7eALnsfKT7qUubs7ZMP0tm4l4XaVIeHlpnFJDux0sNCd3+Sa+80eBIAP7C
 QTh0h6nY9+p2zG0zgJJXDp09nKyciqTpDlsbS1qH3csmKQ84H1Z3tJ0dnw0z/qQFWXPz
 5vJNJMTJ6EJaEFq3TomjWWXvVu6p7Hwm6JImhXbpN9EfUmXSclsU91PllrrKFf3xYOXR
 5x3w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to:cc;
 bh=pcV1EKHHRgV3c/x1A9pA5rkgWvWuIbSCid0zOCPDEPY=;
 b=BBAslmgN2ZXRjOzw/P7H+hkm4rjJfUdWc1E1xRU3BJj0/0D+N6J1ih7AGG4j/8XUod
 bPhi4jVWadJN2gQOYJkmnmyPnKwyMZM4oGprWouvYJ4lVrhCByxS0DxTZ0SWGB3YQWxj
 PuPmlLerqMN5XtguFux7yrO0ojNgb7o3b17rj2SX8Cf+VaLFedrwxJTV+0RNqY/dpSc0
 o0Dhi/9pWNUvtRQWyKEOrnb95jnPDax5Y6pF3SfRP8NLTkMQs3IkLC8yN5BdOzJjYQPq
 ByDOZvgjY9F2GbJYizh/rM9JDUbNMv4ZUC8W4ZCqGa7eN7ZilkF1phWEmpgE+9CINU4P
 LOxg==
X-Gm-Message-State: ALyK8tLFvpJQFnuQyrW7fFr1N3OZ+tJ9ZzXjc8kcnanhBsRviadObw0usI/qbqcJLAEeOKs7yeIBa+qOHt/UwQ==
X-Received: by 10.159.39.39 with SMTP id a36mr233911uaa.86.1468304003498; Mon,
 11 Jul 2016 23:13:23 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.31.54.196 with HTTP; Mon, 11 Jul 2016 23:13:23 -0700 (PDT)
In-Reply-To: <32ad8bb3-f0a6-c86b-1b23-aae9af4442ea@denninger.net>
References: <32ad8bb3-f0a6-c86b-1b23-aae9af4442ea@denninger.net>
From: Russell Haley <russ.haley@gmail.com>
Date: Mon, 11 Jul 2016 23:13:23 -0700
Message-ID: <CABx9NuTsMLNBHyEeEVRxbMaN0pC9CvK0rbBhyhO0RJsJLHNa9Q@mail.gmail.com>
Subject: Re: Old problem still present on 11-ALPHA1 - Pi2
To: Karl Denninger <karl@denninger.net>
Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Content-Type: text/plain; charset=UTF-8
X-BeenThere: freebsd-arm@freebsd.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Porting FreeBSD to ARM processors." <freebsd-arm.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-arm>,
 <mailto:freebsd-arm-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-arm/>;
List-Post: <mailto:freebsd-arm@freebsd.org>
List-Help: <mailto:freebsd-arm-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
 <mailto:freebsd-arm-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Jul 2016 08:10:32 -0000

On Mon, Jul 11, 2016 at 9:15 AM, Karl Denninger <karl@denninger.net> wrote:
> I have two PI2s on the same switch here doing quite-different things.
>
> One never shows network problems.  The other one does this:
>
> ....
>
> ukphy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> ue0: <USB Ethernet> on smsc0
> ue0: Ethernet address: b8:27:eb:08:12:1c
> ugen0.4: <Inateck> at usbus0
> umass0: <Inateck product 0x5136, class 0/0, rev 2.10/0.01, addr 4> on usbus0
> umass0:  SCSI over Bulk-Only; quirks = 0x0100
> umass0:0:0: Attached to scbus0
> da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
> da0: <Inateck  0> Fixed Direct Access SPC-4 SCSI device
> da0: Serial Number 00000000000000000000
> da0: 40.000MB/s transfers
> da0: 476940MB (976773168 512 byte sectors)
> da0: quirks=0x2<NO_6_BYTE>
> random: unblocking device.
> smsc0: chip 0xec00, rev. 0002
> ue0: link state changed to DOWN
> ue0: link state changed to UP
> ue0.2: link state changed to UP
> ue0.3: link state changed to UP
> ue0: link state changed to DOWN
> ue0.2: link state changed to DOWN
> ue0.3: link state changed to DOWN
> ue0: link state changed to UP
> ue0.2: link state changed to UP
> ue0.3: link state changed to UP
> ue0: link state changed to DOWN
> ue0.2: link state changed to DOWN
> ue0.3: link state changed to DOWN
> ue0: link state changed to UP
> ue0.2: link state changed to UP
> ue0.3: link state changed to UP
> ue0: link state changed to DOWN
> ue0.2: link state changed to DOWN
> ue0.3: link state changed to DOWN
> ue0: link state changed to UP
> ue0.2: link state changed to UP
> ue0.3: link state changed to UP

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)?

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...)

http://www.brendangregg.com/USEmethod/use-freebsd.html
http://www.brendangregg.com/dtrace.html
https://forums.freebsd.org/threads/48802/

Russ

> Every now and then (every hour or so) the interface flaps.  If I plug a
> USB interface in and use two network cords I *still* get the flapping.
> This unit has very low (but non-zero) traffic on the network, while the
> other actually has *more* traffic on the network yet is completely
> stable.  Since both are plugged into the same physical switch I doubt
> the switch itself or its firmware is involved in this.
>
> The only difference I can see is that the one that flaps is using
> vlans.  Specifically, that machine is the network's dhcp server, and it
> is on three different vlans (untagged and two tagged) so it can provide
> addresses (and DNS services via unbound) to those VLAN interfaces.
>
> This appears to be somehow linked to the ue interface driver, because
> another machine (Intel based) that is also on multiple vLANs via the em
> driver does *not* flap.
>
> I don't know if this is actually arm related or not; it might not be if
> Intel machines also use the "ue" driver, but it's very consistent on the
> PI2 if I want to use vlan tags whether I have one or two interfaces (the
> second via a USB adapter of course) in use or not.
>
> Other than the flapping the box appears to run fine; the flaps do,
> however, sometimes stop reporting from the snmpd daemon so I have had to
> stick a cron job out there to restart that on a schedule to prevent it
> from interrupting reporting to my traffic management tools.  Whether the
> two are related is not known with certainty (but I suspect it is.)
>
> --
> Karl Denninger
> karl@denninger.net <mailto:karl@denninger.net>
> /The Market Ticker/
> /[S/MIME encrypted email preferred]/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607129091236.29478.1152>