From owner-freebsd-net@freebsd.org Wed Sep 28 11:13:20 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 6BC9AC00F24 for ; Wed, 28 Sep 2016 11:13:20 +0000 (UTC) (envelope-from gradiometric@gmail.com) Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (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 E6FB46DC for ; Wed, 28 Sep 2016 11:13:19 +0000 (UTC) (envelope-from gradiometric@gmail.com) Received: by mail-wm0-x234.google.com with SMTP id l132so65122109wmf.1 for ; Wed, 28 Sep 2016 04:13:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=YCzKGzNtx7N8TJvfLg4725a5MKPeruplVKXFrgWKfy8=; b=E1qQiLjxLlAQLUbLbd0LN/cXfPm6qv3UHGAZKtpKGpiG71seClsw3JGCCXv6NYEiHh watfC1ZZQ6IMQ7KlThR+htzx60+vEcbJKuzT+pD1/wBuF55kvlt3fEk3nZ6HU5CvvjL6 RRBvyyLOU+/pYZ95UPL83g0wAOxstPJQ0tCiFozlCs99Hr9QCEujED9ZdGhqWTZe339Y ckG4XMRH5M02IZa54pDvv1WY8NhG/qtCAnoPVZtDsACab1m+umxkO+C634/o4adWU2W7 bfFDK/cbC0cfj0l0jE/mG//LSQPrJuzobpEphcFSEV/p+qUK8f5DD06l5NDgo3l0K9uW hIxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=YCzKGzNtx7N8TJvfLg4725a5MKPeruplVKXFrgWKfy8=; b=Q/a6aRaqVVM1AE7dem1O0MgtZBbFb1E2QXI7YXusDj5vdmwutM/y8yVg2m6lIeqIzB KziX4Jn/PhSi1jNh3vre4BqolSccOVy02F41JLfG14Cc3gczLEpRpBCkPvLyQAEMmNCI CAE+onyzlRIdLRr8VQJxFvo1buQQCMollipqIxrCYDrtkFJ6VpjE5mqDXaYwWexIVzgq 5BBJdSwx8ROt9bK3Nj3O6Q0ejycDCW+DdUyVwYQciPiXi3ox59w3VNAEnGZXKLfFpcaq MO3GNuwU1QnoFffbPf/zeyUO8SAOWHVvM3eX/woOvRsFW27jkNQkIRt0O5YNKRg+EubG /L8Q== X-Gm-Message-State: AA6/9RkilH1sMQoVNgqFZU7rZ5okZ7ce8H00VgpYIBBi4z+zYGK02yrWcYVLNu3Pi8VLmkBPcZx+BQopLHQIww== X-Received: by 10.194.147.99 with SMTP id tj3mr27411106wjb.183.1475061197662; Wed, 28 Sep 2016 04:13:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.203.2 with HTTP; Wed, 28 Sep 2016 04:13:17 -0700 (PDT) From: Andrew Savchenko Date: Wed, 28 Sep 2016 14:13:17 +0300 Message-ID: Subject: "igb" interfaces aren't picking up media on boot To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 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 11:13:20 -0000 Dear All, I've moved my lovely server to the datacenter and now pulling my hair out while trying to understand why both of /dev/igb interfaces aren't picking up Ethernet connection on boot. Tested with both 10.3-REL and 11.0-REL. On the other end it's connected into Dlink DES-1210-52 switch. When system is booted, running `ifconfig | grep status` over iKVM returns: status: no carrier status: no carrier However, after `/etc/rc.d/netif restart && /etc/rc.d/routing restart` it picks up the cable which is connected to one of the ports. Both interfaces are Intel I210AT integrated in the MB. For the moment being, the only solution I see is to create a separate script in /etc/rc.d and restart netif/routing after boot is completed. Could this be a problem specific to onboard interfaces?.. I was using this particular box in other environment without any similar problems on 10.0-REL. Output from `ifconfig` when one of the interfaces is up: igb0: flags=8c02 metric 0 mtu 1500 options=6403bb ether 00:00:00:00:00:00 nd6 options=29 media: Ethernet autoselect status: no carrier igb1: flags=8843 metric 0 mtu 1500 options=6403bb ether 00:00:00:00:00:00 inet 111.111.111.111 netmask 0xffffff00 broadcast 111.111.111.255 inet 111.111.111.112 netmask 0xffffff00 broadcast 111.111.111.255 nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 nd6 options=21 groups: lo # uname -a [FreeBSD 11.0-RELEASE #0 r306211: Thu Sep 22 21:43:30 UTC 2016 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64]