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
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
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
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