Re: Realtek r8169 always flapping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx
<mailto:ricks@xxxxxxxxxxxxxx>> 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@xxxxxxxxxxxxxx
    <mailto:ricks@xxxxxxxxxxxxxx> -
    - AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
    -                                                                    -
    -     Squawk!  Pieces of Seven!  Pieces of Seven!  Parity Error!     -
    ----------------------------------------------------------------------
    --
    users mailing list
    users@xxxxxxxxxxxxxxxxxxxxxxx <mailto:users@xxxxxxxxxxxxxxxxxxxxxxx>
    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@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
- If you're not part of the solution, you're part of the precipitate -
----------------------------------------------------------------------
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux