From owner-freebsd-net@freebsd.org Wed Sep 28 16:29:31 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 B136DC018D9 for ; Wed, 28 Sep 2016 16:29:31 +0000 (UTC) (envelope-from gradiometric@gmail.com) Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::230]) (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 3FEA1157 for ; Wed, 28 Sep 2016 16:29:31 +0000 (UTC) (envelope-from gradiometric@gmail.com) Received: by mail-wm0-x230.google.com with SMTP id b130so80559779wmc.0 for ; Wed, 28 Sep 2016 09:29:31 -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=dXw9DZjs9Ks4StqCq9bNZ5i0SW3Z3RyY0xF50GR8lZk=; b=C8ECPVW9z0wWAqRZx4KgeSaovvxn28o5EQV4yBkDQkOx5XXMYJHRKO/1G7WRNy3s2x jfdrToCNoEXKs79e/SUfAuMoFgwFBxy9AW93imolFqRvmsbn6gd0yMrELcy6bFEN4tEw UGCsWdUUgbp/SRHeJUzzJL2VJp2mrfXM6udlv8icEgtdnrfTD8EB1GbE+RXhmPS3/rGD 6mYkSOyhZ6jvm0yZa9jM9VgTT0FwOOfajIo+2MtAsH1IXa9NNzbw5pZBAPeAZV6RXgYo SdIR41/qBcCXfmAE3HQmDcZfINh2MBOFPuZmF/8019krCwyT5YJGH32lgvwPx3A2iARC t5UQ== 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=dXw9DZjs9Ks4StqCq9bNZ5i0SW3Z3RyY0xF50GR8lZk=; b=R2hRaMsArShUGYROBY/JIt/szxbIUYMEYYBaVDe7bQ+l/b/H5E7sqehOeEtpMeJAZX eEIM/7LfNov3xnWnMe1VKDjdwDHxtehJgxcOqv0YU0s8DyvzJ5Kpt50W2zAs/q1ZteND zs7MdW7GiVo21+FYJmh6ziqLFoCyUJhycbXt/8BWkD70HqJ2vLUr9umG/66iG9EAUUlN uvQmRGSdKxSrpuST1rp2SEhhSoAxdmrrrNNtdFr8m2LgJCaUQHF/tM7gVQ8mVqPuZSjA Mp3L1THIChJ9fQHuotLGmFbf3lcuNHF2liZnFpYRGLhBhWHrk8TNz5OJv5h3OEH5AIS7 DV0g== X-Gm-Message-State: AA6/9RmGAtVZ8ljL3fDi6WZEPdkQENLm0AV9u+A3Fpc+arr2kqSefFq1phE17XHsbQ3rVYpRNwxjwJ0HQwkbQQ== X-Received: by 10.28.92.71 with SMTP id q68mr8535402wmb.85.1475080169787; Wed, 28 Sep 2016 09:29:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.203.2 with HTTP; Wed, 28 Sep 2016 09:29:29 -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 19:29:29 +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 16:29:31 -0000 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 switch without any similar issues. The problem shows only with the mentioned DLink 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 > 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 coup= le >> > 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 sure >> > 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 eithe= r >> 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" > > >