From owner-freebsd-net@freebsd.org Wed Sep 28 17:09:21 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 DAF54C01188 for ; Wed, 28 Sep 2016 17:09:21 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-ua0-x232.google.com (mail-ua0-x232.google.com [IPv6:2607:f8b0:400c:c08::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 8E2EB1656 for ; Wed, 28 Sep 2016 17:09:21 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by mail-ua0-x232.google.com with SMTP id l16so25014250uaa.1 for ; Wed, 28 Sep 2016 10:09:21 -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=7gW+Lccz8SBGgAFmPRs4scwcmaIVY5ncbGjb6gOTFj4=; b=D1lbMSkIaDmykFkr5A47s9sdzixbw7eJ0n5F9QuCL1tHKRzIbwQQy7s82YRk4XRCU6 W9fV1QehWN6FZ89bPkGRvcd7XjD/137gCV44e627T1z1rcUU8qnVD05Rk0IESX8f3H3X F9WPgjQUOhOTyaSTHu+TTftK1nu2aDTn5lvhA6isi676Nh+Iz1dVtd5tE2hVHfMbKAdG j8bLxMQ8yr1Fgo2Nc07Didw4zW1k6bhS4GaKdWIoo0RETWZ3Br2Kd7RLakWaHHzwWMRw YazPRLKEx4B7kCRLA+UU/jWtO0hlU4ctdm/hZgpm/t+RY5Oqog1UzOfrDOFja69SSHaB 4hMw== 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=7gW+Lccz8SBGgAFmPRs4scwcmaIVY5ncbGjb6gOTFj4=; b=IFSPjE6N3h8+YcF1poLWd20Fta4r3nlVHRfYGWZUj8IsvvHbuA4zgGDChmLK+h4Q8P Q5kSrnpkf5Bk0wcQkOsqrxzsIqB0RlBGgSQAE4eTEOEgrggUlqsCMzt60ClbH38+5fP3 47QJ+b+2uPkX0K0u2HodQb/l8fPfvNZkC0VE0+fYBRHXwuKE8UKSpq+X2nfV/XFrJbX4 pvLnP4oZb5oCv4TJlnEN9MxVV7YBbLt5rTU7hgcbDlyqkgE0IPE3fLZ9f0aOpCgkhSs9 62y1Nu6zrMD9GrwVHfRIp1ceZgvQvyLK8am2QVErMl1zOlexagfYVOEj2QCb7jLJOEmt FcuQ== X-Gm-Message-State: AA6/9RlPZPmJASxt2KVmae6863oKY0zFLqWKCgyzva37AdcgA7r9/8OIIY0iej6rC72tXi3o/ZVKnru3ow6FUQ== X-Received: by 10.159.36.41 with SMTP id 38mr7537700uaq.70.1475082560683; Wed, 28 Sep 2016 10:09:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.168.88 with HTTP; Wed, 28 Sep 2016 10:09:20 -0700 (PDT) In-Reply-To: References: <653b4473-558b-5ef8-41b7-080ec6c5584d@multiplay.co.uk> <2A35EA60C3C77D438915767F458D65688394B821@ORSMSX111.amr.corp.intel.com> From: Jack Vogel Date: Wed, 28 Sep 2016 10:09:20 -0700 Message-ID: Subject: Re: "igb" interfaces aren't picking up media on boot To: Andrew Savchenko 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:09:21 -0000 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 switch > without any similar issues. The problem shows only with the mentioned DLi= nk > 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 i= t 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 sur= e >>> > 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" >> >> >> >