* Realtek RTL8102E registers
@ 2013-10-29 15:05 Ivan Frederiks
2013-10-29 21:40 ` Francois Romieu
0 siblings, 1 reply; 3+ messages in thread
From: Ivan Frederiks @ 2013-10-29 15:05 UTC (permalink / raw)
To: Linux r8169 crew
Hello!
I met troubles with RTL8102E operation (you can find detailed
description below). I suppose that those troubles are related to chip
misconfiguration. Maybe you have access to RTL8102E register
description? If yes, would you be so kind to share it with me?
Thank you in advance,
Ivan Frederiks
Embedded developer
Speech Technology Center
Phone: +7-812-331-0665, ext. 6123, 6942
Fax: +7-812-327-9297
P.S.
Issue description:
I'm currently working with a custom motherboard equipped with 2 RTL8102E
ICs and an Intel x86 SOM. SOM runs 32-bit Linux (Arch or Ubuntu).
By default I use r8169 driver. I know that Ethernet link is up (I
checked it with an oscilloscope and I see that RTL8102E link LEDs are
on). In most cases everything works fine. But sometimes driver reports
that link is down. After a power cycle driver reports, that link is up.
When I replace driver with r8101, it always reports that link is up, but
I observe other issues.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Realtek RTL8102E registers
2013-10-29 15:05 Realtek RTL8102E registers Ivan Frederiks
@ 2013-10-29 21:40 ` Francois Romieu
2013-11-06 10:13 ` Ivan Frederiks
0 siblings, 1 reply; 3+ messages in thread
From: Francois Romieu @ 2013-10-29 21:40 UTC (permalink / raw)
To: Ivan Frederiks; +Cc: Linux r8169 crew
Ivan Frederiks <frederiks@speechpro.com> :
[...]
> Maybe you have access to RTL8102E register description ?
No.
Realtek's hardware documentation policy isn't exactly opened. Your hardware
vendor may help.
[...]
> Issue description:
[snip]
kernel version and r81xx XID value as it should appear in dmesg would
be welcome.
--
Ueimor
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Realtek RTL8102E registers
2013-10-29 21:40 ` Francois Romieu
@ 2013-11-06 10:13 ` Ivan Frederiks
0 siblings, 0 replies; 3+ messages in thread
From: Ivan Frederiks @ 2013-11-06 10:13 UTC (permalink / raw)
To: Francois Romieu; +Cc: Linux r8169 crew
Hello Francois,
I found solution for the issue that I described earlier: one has to set
correct MAC-address before bringing up the interface.
On my board RTL8102E works without EEPROM, so initial MAC-address value
is unpredictable. In many cases this value has multicast bit set to 1.
This fact breaks driver and (or) TCP stack operation:
* r8169 reports that link is down
* r8101 reports that link is OK, but Linux TCP stack ignores packets
with multicast destination MAC
Hope this info would be useful. BTW, I suppose that driver could have
some kind of protection against such situations.
On 30.10.2013 01:40, Francois Romieu wrote:
> Ivan Frederiks <frederiks@speechpro.com> :
> [...]
>> Maybe you have access to RTL8102E register description ?
>
> No.
>
> Realtek's hardware documentation policy isn't exactly opened. Your hardware
> vendor may help.
>
> [...]
>> Issue description:
> [snip]
>
> kernel version and r81xx XID value as it should appear in dmesg would
> be welcome.
>
--
Best regards,
Ivan Frederiks
Embedded developer
Speech Technology Center
Phone: +7-812-331-0665, ext. 6123, 6942
Fax: +7-812-327-9297
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-11-06 10:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-29 15:05 Realtek RTL8102E registers Ivan Frederiks
2013-10-29 21:40 ` Francois Romieu
2013-11-06 10:13 ` Ivan Frederiks
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).