Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Sep 2016 18:02:16 +0300
From:      Andrew Savchenko <gradiometric@gmail.com>
To:        "Pieper, Jeffrey E" <jeffrey.e.pieper@intel.com>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: "igb" interfaces aren't picking up media on boot
Message-ID:  <CAPUkqa7ngE9ptd8oYRYjCru5Kh7H_LSOqi6gVpy-eUqiR5jwVQ@mail.gmail.com>
In-Reply-To: <2A35EA60C3C77D438915767F458D65688394B821@ORSMSX111.amr.corp.intel.com>
References:  <CAPUkqa7-oRuparA_dhLmT8J17w6GVeqMfaFvjzHVDir--6qvSA@mail.gmail.com> <653b4473-558b-5ef8-41b7-080ec6c5584d@multiplay.co.uk> <2A35EA60C3C77D438915767F458D65688394B821@ORSMSX111.amr.corp.intel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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:

> cat /etc/rc.d/zzznet
#!/bin/sh
# PROVIDE: zzznet
# REQUIRE: NETWORKING netif cron
# KEYWORD: nojail

. /etc/rc.subr

name="zzznet"
start_cmd="${name}_start"
stop_cmd=":"

zzznet_start()
{
        echo "Waiting 30s before restarting network..."
        sleep 30
        echo "Attempting to restart the network..."
        /etc/rc.d/netif restart && /etc/rc.d/routing restart
        echo "Should be restarted now, going on..."
}

load_rc_config $name
run_rc_command "$1"

On Wed, Sep 28, 2016 at 4:53 PM, Pieper, Jeffrey E <
jeffrey.e.pieper@intel.com> wrote:

>          ether 00:00:00:00:00:00
>
> Doesn't seem like a valid MAC.
>
> Jeff
> -----Original Message-----
> From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd-net@freebsd.org]
> On Behalf Of Steven Hartland
> Sent: Wednesday, September 28, 2016 5:00 AM
> To: freebsd-net@freebsd.org
> Subject: Re: "igb" interfaces aren't picking up media on boot
>
> Try assigning an IP to the interface or manually up it.
>
> On 28/09/2016 12:13, Andrew Savchenko wrote:
> > 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<BROADCAST,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500
> >
> > options=6403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_
> MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
> >            ether 00:00:00:00:00:00
> >            nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> >            media: Ethernet autoselect
> >            status: no carrier
> > igb1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
> 1500
> >
> > options=6403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_
> MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
> >            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<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> >            media: Ethernet autoselect (100baseTX <full-duplex>)
> >            status: active
> > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
> >            options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
> >            inet6 ::1 prefixlen 128
> >            inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
> >            inet 127.0.0.1 netmask 0xff000000
> >            nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
> >            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]
> > _______________________________________________
> > 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"
>
> _______________________________________________
> 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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPUkqa7ngE9ptd8oYRYjCru5Kh7H_LSOqi6gVpy-eUqiR5jwVQ>