Realtek r8169 always flapping

Rick Stevens ricks at alldigital.com
Mon Oct 26 18:46:37 UTC 2015


On 10/26/2015 11:24 AM, Kseniya Blashchuk wrote:
> I tried disabling autoneg, and it helped, but in this case dot1x auth
> doesn't work for some reason, I didn't have time to troubleshoot why,
> but there is no mac address on a switch port when dot1x is enabled.
> But i didn't try setting speed 1000 duplex full on a switch side. I'll
> try it tomorrow once again.

Not sure what's on the end of your dot1x, but it may be part of the
autonegotiation process to make that all work. You can leave autoneg
on to get by that, but still set the speeds and such once its done. That
may get squonked (new word) by future negotiations. Dunno.

> On Mon, Oct 26, 2015, 9:14 PM Rick Stevens <ricks at alldigital.com
> <mailto:ricks at alldigital.com>> wrote:
>
>     On 10/26/2015 09:57 AM, Kseniya Blashchuk wrote:
>      > Hi everyone!
>      > I noticed in dmesg that my ethernet link is flapping all the time
>      > [Oct25 18:55] r8169 0000:02:00.0 enp2s0: link down
>      > [  +3.131667] r8169 0000:02:00.0 enp2s0: link up
>      > [Oct25 18:56] r8169 0000:02:00.0 enp2s0: link down
>      > [  +2.763688] r8169 0000:02:00.0 enp2s0: link up
>      > [Oct25 18:59] r8169 0000:02:00.0 enp2s0: link down
>      > [  +3.060069] r8169 0000:02:00.0 enp2s0: link up
>      > [Oct25 19:00] r8169 0000:02:00.0 enp2s0: link down
>      > [  +3.559610] r8169 0000:02:00.0 enp2s0: link up
>      > I changed the cabling, tried to plug into another switch no
>     difference.
>      > Any ideas will be very appreciated as this flapping brings a lot of
>      > inconvenience.
>      > My device in lspci:
>      > 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
>      > RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
>
>     Uhm, could be a kernel issue or a driver issue. Generally when I see
>     that sort of thing it's an auto speed or auto duplex negotiation between
>     the driver and switch that isn't working. You could try forcing the
>     speed and duplex via something like:
>
>              sudo ethtool -s enp2s0 autoneg off duplex full speed 1000
>
>     to set a fixed 1Gbps, full duplex connection and see if that helps
>     stabilize things. If that works you could try to restart auto
>     renegotiation via
>
>              sudo ethtool -s enp2s0 autoneg on
>              sudo ethtool -r enp2s0
>
>     The first comment re-enables autonegotiation, the second forces a
>     renegotiation.
>     ----------------------------------------------------------------------
>     - Rick Stevens, Systems Engineer, AllDigital ricks at alldigital.com
>     <mailto:ricks at alldigital.com> -
>     - AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
>     -                                                                    -
>     -     Squawk!  Pieces of Seven!  Pieces of Seven!  Parity Error!     -
>     ----------------------------------------------------------------------
>     --
>     users mailing list
>     users at lists.fedoraproject.org <mailto:users at lists.fedoraproject.org>
>     To unsubscribe or change subscription options:
>     https://admin.fedoraproject.org/mailman/listinfo/users
>     Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
>     Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>     Have a question? Ask away: http://ask.fedoraproject.org
>
>
>


-- 
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks at alldigital.com -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
- If you're not part of the solution, you're part of the precipitate -
----------------------------------------------------------------------


More information about the users mailing list