"igb" interfaces aren't picking up media on boot

Andrew Savchenko gradiometric at gmail.com
Wed Sep 28 17:10:26 UTC 2016


I would love to, but it's the property of Datacenter :D All I can do is to
adapt my box to it.

On Wed, Sep 28, 2016 at 8:09 PM, Jack Vogel <jfvogel at gmail.com> wrote:

> So, time to ditch the DLink I'd say :)
>
> On Wed, Sep 28, 2016 at 9:29 AM, Andrew Savchenko <gradiometric at gmail.com>
> 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 DLink
>> switch.
>>
>> On Wed, Sep 28, 2016 at 7:20 PM, Jack Vogel <jfvogel at gmail.com> 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 <
>>> gradiometric at gmail.com> wrote:
>>>
>>>> Nope, unfortunately they stay dead (aka "no carrier") until `netif
>>>> restart`.
>>>>
>>>> On Wed, Sep 28, 2016 at 6:12 PM, Freddie Cash <fjwcash at gmail.com>
>>>> wrote:
>>>>
>>>> > On Wed, Sep 28, 2016 at 8:02 AM, Andrew Savchenko <
>>>> gradiometric at 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:
>>>> >>
>>>> >
>>>> > ​Do 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
>>>> 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 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.​
>>>> >
>>>> >
>>>> > --
>>>> > Freddie Cash
>>>> > fjwcash at gmail.com
>>>> >
>>>> _______________________________________________
>>>> freebsd-net at freebsd.org mailing list
>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-net
>>>> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>>>
>>>
>>>
>>
>


More information about the freebsd-net mailing list