2019-07-26 20:30:07

by Bernhard Held

[permalink] [raw]
Subject: [REGRESSION] 5.3-rc1: r8169: remove 1000/Half from supported modes

Hi Heiner,

with commit a6851c613fd7 "r8169: remove 1000/Half from supported modes" my RTL8111B GB-link stops working. It thinks that it established a link, however nothing is actually transmitted. Setting the mode with `mii-tool -F 100baseTx-HD` establishes a successful connection.

Reverting a6851c613fd7 (while considering the file name change) fixes autonegotiation for me.

Kind regards
Bernhard


2019-07-26 20:30:42

by Heiner Kallweit

[permalink] [raw]
Subject: Re: [REGRESSION] 5.3-rc1: r8169: remove 1000/Half from supported modes

On 26.07.2019 22:16, Bernhard Held wrote:
> Hi Heiner,
>
> with commit a6851c613fd7 "r8169: remove 1000/Half from supported modes" my RTL8111B GB-link stops working. It thinks that it established a link, however nothing is actually transmitted. Setting the mode with `mii-tool -F 100baseTx-HD` establishes a successful connection.
>
Can you provide standard ethtool output w/ and w/o this patch? Also a full dmesg output
with the patch would be helpful.
Is "100baseTx-HD" a typo and you mean GBit? And any special reason why you set half duplex?

> Reverting a6851c613fd7 (while considering the file name change) fixes autonegotiation for me.
>
> Kind regards
> Bernhard
>
Heiner

2019-07-26 20:46:45

by Bernhard Held

[permalink] [raw]
Subject: Re: [REGRESSION] 5.3-rc1: r8169: remove 1000/Half from supported modes

On 26.07.19 at 22:24, Heiner Kallweit wrote:
> On 26.07.2019 22:16, Bernhard Held wrote:
>> Hi Heiner,
>>
>> with commit a6851c613fd7 "r8169: remove 1000/Half from supported modes" my RTL8111B GB-link stops working. It thinks that it established a link, however nothing is actually transmitted. Setting the mode with `mii-tool -F 100baseTx-HD` establishes a successful connection.
>>
> Can you provide standard ethtool output w/ and w/o this patch? Also a full dmesg output
> with the patch would be helpful.
> Is "100baseTx-HD" a typo and you mean GBit? And any special reason why you set half duplex?
>

The requested files are attached.

mii-tool doesn't offer GBit settings. I used HD only while playing around, both FD and HD are working.

Hope it helps!
Bernhard


Attachments:
dmesg.bad (63.06 kB)
ethtool.bad (1.11 kB)
ethtool.good (838.00 B)
mii-tool.bad (382.00 B)
mii-tool.good (317.00 B)
Download all attachments

2019-07-27 10:33:40

by Heiner Kallweit

[permalink] [raw]
Subject: Re: [REGRESSION] 5.3-rc1: r8169: remove 1000/Half from supported modes

On 26.07.2019 22:45, Bernhard Held wrote:
> On 26.07.19 at 22:24, Heiner Kallweit wrote:
>> On 26.07.2019 22:16, Bernhard Held wrote:
>>> Hi Heiner,
>>>
>>> with commit a6851c613fd7 "r8169: remove 1000/Half from supported modes" my RTL8111B GB-link stops working. It thinks that it established a link, however nothing is actually transmitted. Setting the mode with `mii-tool -F 100baseTx-HD` establishes a successful connection.
>>>
>> Can you provide standard ethtool output w/ and w/o this patch? Also a full dmesg output
>> with the patch would be helpful.
>> Is "100baseTx-HD" a typo and you mean GBit? And any special reason why you set half duplex?
>>
>
> The requested files are attached.
>
Looks all normal. So it seems to be a HW issue with the integrated PHY (RTL8211B).
This PHY version is used also e.g. in RTL8168d. So better revert the original change.

> mii-tool doesn't offer GBit settings. I used HD only while playing around, both FD and HD are working.
>
> Hope it helps!
> Bernhard
Heiner