From owner-freebsd-net@freebsd.org Wed Sep 28 17:10:25 2016 Return-Path: Delivered-To: freebsd-net@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 EB402C011ED for ; Wed, 28 Sep 2016 17:10:25 +0000 (UTC) (envelope-from gradiometric@gmail.com) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (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 83F671714 for ; Wed, 28 Sep 2016 17:10:25 +0000 (UTC) (envelope-from gradiometric@gmail.com) Received: by mail-wm0-x232.google.com with SMTP id l132so82266701wmf.1 for ; Wed, 28 Sep 2016 10:10:25 -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=4NCTToHjLdG9YSv6vXbFVdUI5DWQI+ky5qIK8/mpfS4=; b=cv/KuC8btJVrV7dKPZ5OY2vef157Fls3R7NB2RtRhOAR8zNqmzJ/ceVpHzO8X3QFwf blafvbgo/Yc147GoijkyrboLXh1CmThO+VFnW2gjEplcKTkceqmnjaQPdece3yk52Z9O J1jQOgt1P5Bs7pFHqGbsg3TfYzbk05XMh5ML7/lrP6ob3+yxo2F9SjeHRYNPxTtY7mWd ZPm2PN+XkkCzB0al9PYfNsFYJ86Lh3p9HMtXtIk4XF0lrH2AlIuXgCZ1PcGLoI2DkhJ1 i0tSvj8oFLIoATASxQGdK2oYSThX2A+t1BHvdQ1P/qEP+rb5Ap7d5WCp4GMbvNl92WPd 3vwA== 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=4NCTToHjLdG9YSv6vXbFVdUI5DWQI+ky5qIK8/mpfS4=; b=QANr92UjkDHGeinxnfrEofd5Rhp4WAYL+PJw4ooltMkNKXkYMzmCfRifv6PJidbpEZ FXx1r33hEGBJ8EePkuUeGOPUQ00OydbsjYyhLgKU2SuCE+VyeS+5acRdYSEbulpBEEE5 fJWI2Y9vqewrnkeSoB7ggsF655pFcyD1nY18pIMV+pxlz6mEBFowJ/8ggCyz8WtlrG96 4kHeoIatCda/yWw2+QHm6R+aGRP2W57R9aauzdF1+l5zzJGx+qeCX0lDe8Yr2IBc7JM6 2bgzu/Nkd3QsynRsjJirueZR9enmWyc0QyX0lce5UA3ziscAtL2INwRWuF5I1BLqdYli Hg+A== X-Gm-Message-State: AA6/9RmCUIoRT1txhr+pZUMeQPG8MX0j/bM+1t8IsQSsLl5nqtvuLKgKFmx9BdOAqA1NKB6BFqAHUfcn3j7xFw== X-Received: by 10.194.84.134 with SMTP id z6mr27835333wjy.204.1475082623490; Wed, 28 Sep 2016 10:10:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.203.2 with HTTP; Wed, 28 Sep 2016 10:10:22 -0700 (PDT) In-Reply-To: References: <653b4473-558b-5ef8-41b7-080ec6c5584d@multiplay.co.uk> <2A35EA60C3C77D438915767F458D65688394B821@ORSMSX111.amr.corp.intel.com> From: Andrew Savchenko Date: Wed, 28 Sep 2016 20:10:22 +0300 Message-ID: Subject: Re: "igb" interfaces aren't picking up media on boot To: Jack Vogel Cc: Freddie Cash , "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2016 17:10:26 -0000 I would love to, but it's the property of Datacenter :D All I can do is to adapt my box to it. On Wed, Sep 28, 2016 at 8:09 PM, Jack Vogel wrote: > So, time to ditch the DLink I'd say :) > > On Wed, Sep 28, 2016 at 9:29 AM, Andrew Savchenko > wrote: > >> I've been using this particular NIC under FreeBSD 10.0-REL connected via >> cross cable to another Intel NIC / two different routers / TP-Link switc= h >> without any similar issues. The problem shows only with the mentioned DL= ink >> switch. >> >> On Wed, Sep 28, 2016 at 7:20 PM, Jack Vogel wrote: >> >>> So, I would check into the link partner, often times it can be the >>> culprit, try the nic >>> in a simple back-to-back setup and see if it makes a diff, etc. etc... >>> >>> Jack >>> >>> >>> On Wed, Sep 28, 2016 at 9:03 AM, Andrew Savchenko < >>> gradiometric@gmail.com> wrote: >>> >>>> Nope, unfortunately they stay dead (aka "no carrier") until `netif >>>> restart`. >>>> >>>> On Wed, Sep 28, 2016 at 6:12 PM, Freddie Cash >>>> wrote: >>>> >>>> > On Wed, Sep 28, 2016 at 8:02 AM, Andrew Savchenko < >>>> gradiometric@gmail.com> >>>> > wrote: >>>> > >>>> >> MAC's and IP's are abviously changed. >>>> >> For the moment being I have "solved" this by a tiny script in >>>> /etc/rc.d/ >>>> >> that restarts networking & routing after the system boot: >>>> >> >>>> > >>>> > =E2=80=8BDo the NICs eventually pick up carrier status if you leave = it after >>>> > boot? Could it just be slow picking up status changes? We had a >>>> couple >>>> > em(4) or igb(4) (forget now) NICs that were like that. Took a good >>>> minute >>>> > after boot before the NIC was finished initialising and detected the >>>> link. >>>> > >>>> > If that's the case, and you don't mind the wait (and want to make su= re >>>> > networking is working once the boot is complete), you can use the >>>> netwait_* >>>> > options in /etc/rc.conf. That will pause the boot process until >>>> either the >>>> > network link status changes to up, and/or you can ping the default >>>> gateway >>>> > or any other IP on the network. >>>> > >>>> > Worked for us. Might work for you.=E2=80=8B >>>> > >>>> > >>>> > -- >>>> > Freddie Cash >>>> > fjwcash@gmail.com >>>> > >>>> _______________________________________________ >>>> freebsd-net@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-net >>>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >>> >>> >>> >> >