Bug 1622300 - r8169 only 100Mbit/s with RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
Summary: r8169 only 100Mbit/s with RTL8111/8168/8411 PCI Express Gigabit Ethernet Cont...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 28
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-25 15:36 UTC by old_man999
Modified: 2022-11-16 18:38 UTC (History)
20 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-24 18:55:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description old_man999 2018-08-25 15:36:51 UTC
Device link is always 100Mbit/s (1000Mbit/s under MS Windows and possible with r8168). Tried more than one cable.

"ethtool -s enp38s0 speed 1000 duplex full" says:

'invalid argument'

Autonegotiation is always off.

Using r8168 module from https://github.com/fintecheando/r8168 :

Autonegotiation is always on per default but speed still results at 100baseT/Half but possible to be set to 1000baseT/Full using:

"ethtool -s enp38s0 speed 1000 duplex full"

after link is up.

Hardware: 
Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06) 
on HP Probook 4530s

Can't tell since when exactly at the moment.

Maybe related: https://bugzilla.kernel.org/show_bug.cgi?id=97781

Comment 1 Laura Abbott 2018-10-01 21:22:47 UTC
We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 28 kernel bugs.
 
Fedora 28 has now been rebased to 4.18.10-300.fc28.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.
 
If you have moved on to Fedora 29, and are still experiencing this issue, please change the version to Fedora 29.
 
If you experience different issues, please open a new bug report for those.

Comment 2 old_man999 2018-10-15 20:14:01 UTC
The issue is still present and I had no time yet to test drivers and workarounds in depth.

Comment 3 old_man999 2018-10-24 18:55:51 UTC
Resolved with kernel version 4.18.16-200.fc28.x86_64.

Comment 4 Steven Mercurio 2019-07-03 22:13:43 UTC
FC28 with kernel 5 seems to have issue now.  Any drivers for FC28/29?

Comment 5 Julien HENRY 2019-07-06 08:54:14 UTC
I also have the problem. Gigabit is working fine on Windows, but not under Fedora. Should I open a new bug or can someone reopen this one?

# uname -r
5.1.11-300.fc30.x86_64

# dmesg | egrep -i '(enp3s0|r8169)'
[    1.619428] r8169 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
[    1.624415] libphy: r8169: probed
[    1.624896] r8169 0000:03:00.0 eth0: RTL8168g/8111g, 40:16:7e:ab:d9:1e, XID 4c0, IRQ 38
[    1.624898] r8169 0000:03:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[    1.642594] r8169 0000:03:00.0 enp3s0: renamed from eth0
[    7.315315] Generic Realtek PHY r8169-300:00: attached PHY driver [Generic Realtek PHY] (mii_bus:phy_addr=r8169-300:00, irq=IGNORE)
[    7.443307] r8169 0000:03:00.0 enp3s0: Link is Down
[   10.336273] r8169 0000:03:00.0 enp3s0: Link is Up - 1Gbps/Full - flow control rx/tx
[   10.336279] IPv6: ADDRCONF(NETDEV_CHANGE): enp3s0: link becomes ready
[   10.339100] r8169 0000:03:00.0 enp3s0: Link is Down
[   13.596662] r8169 0000:03:00.0 enp3s0: Link is Up - 100Mbps/Half - flow control off

# ethtool enp3s0
Settings for enp3s0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Full 
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Full 
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: No
        Advertised FEC modes: Not reported
        Speed: 100Mb/s
        Duplex: Half
        Port: MII
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: off
        Supports Wake-on: pumbg
        Wake-on: d
        Current message level: 0x00000033 (51)
                               drv probe ifdown ifup
        Link detected: yes

Comment 6 Julien HENRY 2019-07-06 09:04:44 UTC
Sorry for the noise, just found the solution: autonegotiation was disabled in network manager (KDE). Enabling autonegotiation then disconnecting/reconnecting the interface fixed the issue.

I don't remember changing this setting, so there is maybe something to improve (enable autoneg by default).

Comment 7 Steven Mercurio 2019-07-09 00:25:43 UTC
In my case Fedora 28 with kernel 5.0.16 only shows one of the 2 ports in the expresscard in my Dell Precision M6700.  On a win7 laptop that is a different make the card works fine for both ports though.

Comment 8 zozo 2022-11-16 18:38:05 UTC
please make sure of copper rj45 pass-through, yes not cable the copper


Note You need to log in before you can comment on or make changes to this bug.