From owner-freebsd-net@freebsd.org Wed Sep 28 16:20:29 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 7C262C0174B for ; Wed, 28 Sep 2016 16:20:29 +0000 (UTC) (envelope-from jfvogel@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 306A41D43 for ; Wed, 28 Sep 2016 16:20:29 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by mail-vk0-x229.google.com with SMTP id v205so48944004vke.1 for ; Wed, 28 Sep 2016 09:20:29 -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=g9f69hoPvtuhi8aKZtgDC4thgQNnXhid1kQn7E1tTX8=; b=TehNLFjaBVcdOX9KjqDExzYbT7Xdq/7kCl66DWJOGYZo2GIUk5yHqnj/D/Dr/RSw2v byrH6swWvG6kr7Gp6NbKwEX0ZIY78863NcXz/01VeJBESz5h66PzU7CvrxlN2ph/P/Tn Akxhp7ZnXsQbThUxDDy9p0xIOU4xzVgF7uEKVMoEXbT187t7xpPh2Du9i1lbJHerv7NM FXJipjQFuuC/+HCkpHG1Gu4lFVeEWuMp1t7ZvVmzovWZrrhW3qhf/+aCBI2KITsfeiaA by/WgkxY76OgCGeTVE4bn+vL8AvqiCLj8afepyp4KXukCijTL6QTgW5qcNtzp0v3U+R/ usaw== 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=g9f69hoPvtuhi8aKZtgDC4thgQNnXhid1kQn7E1tTX8=; b=Wgw1oZ2Sp3KY+bVQOsCh/pTEo2/SFmgX/PS31VmiRZEpXmlKMm+bcQ4gDBmpj+pO9h Sw4kh5ooAswgj4+01b/GpURGlBhxYy03ig5xr2sRG46BWHj9BLntVzlyQS5OPNL8dTRj qgkbpwc3xqBcktW9X7gg38ozyZZiEWAA5XJQKmpOxtFVaBJROhx2ynp/ifOpXXWq+Zra 1hNCZSEy3OYle4hXYIk6b/caZrWhU/bYN3BrwJ9x000nzXD0V2DKui3+G5HEF3a34G9S dpjuYHJWRi0wuzH22HIB4x1UHPaEQOAMTm2e18ql1v4B+ME2mo0DkKY5fcv0o3B1O0s/ XjdQ== X-Gm-Message-State: AA6/9RlxkG5oIUCburh9ZwDrT8jFSheBKlYUXVwO34UB9+J47eU12B2a8oYgHOd+bL7eToO+N/fpvuN/KkDtKQ== X-Received: by 10.31.206.198 with SMTP id e189mr14559337vkg.51.1475079615921; Wed, 28 Sep 2016 09:20:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.168.88 with HTTP; Wed, 28 Sep 2016 09:20:15 -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 09:20:15 -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 16:20:29 -0000 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 coupl= e > > 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 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"