LAN/NIC problem
(11-06-2016, 08:24 PM)stepw Wrote:
(11-06-2016, 06:35 AM)MarkHaysHarris777 Wrote:
(11-03-2016, 10:43 AM)waldo Wrote: What is the difference between the HW method and the SW patch ?

What we are trying to do is to enable only the Tx-delay and to disable ONLY the Rx-delay.  Both approaches are a hardware solution ;  one sets the GMAC register with a program call ( this uses the longsleep kernel patch to achieve the hardware result ) , and the other uses a physical resistor on the board to 'pull-down' the line to ground which will also afffect the same hardward change -- namely , the Rx-delay will be disabled  and only the Tx-delay will be enabled. 

This either works or it doesn't.  It is sad to hear that register setting is not working for people;  I am preparing to implement the resistor fix on my ubuntu board ( my non working board );  I'll be reporting back here with the results soon.  In the mean time it would be interesting to note which ones ( if any ) the register setting to disable the Rx-delay is actually working in the field. 

Twleve out of twelve boards were 'fixed' in the lab by setting the register;  so something is 'off' in the field. Just a note,  setting Rx-delay = 0  does not work since that setting still results in a 2ns delay regardless;  the Rx-delay actually has to be disabled.


It's actually PHY register, not GMAC register. It's controlled by GMAC via MII though.

BTW, it looks like "magic" CONFREG value 0xd591 disables BOTH TX and RX delay; per RTL8211E datasheet bit 1 controls TX delay state and bit 2 controls RX delay state and 0xd591 disables both by writing zero to those bits. Interestingly, datasheet defines only 9 bits (corresponding to 9 CONFIG pins on the PHY IC), but upper byte is also modified beyond its lowest bit when CONFREG is changed in longsleep's patch (which is ultimately supplied by Pine64 engineering). 

If only bits 1 and 2 are modified in the CONFREG, it doesn't make any difference in terms of Gigabit performance on my Pine64. So there seems to be some significance behind changes in (undocumented) upper byte of CONFREG or bits other than 1 and 2 of the lower byte.

It would be great if Pine64 could disclose specific details of what this CONFREG change achieves, beyond sharing the sequence of MII register writes which is expected to fix the issue. 


(11-06-2016, 11:44 AM)seaniefs Wrote: OK - I think in my case this is the same issue which is being exhibited in a different way.

If I connect directly from my laptop to my main router wirelessly and ping the pine64 (which is connected to the router via ethernet and configured to run at 10/100mbs) I get packet loss of about 5%.

However, if I introduce an extra 'hop' by ensuring the laptop connects to a wireless extender and repeat the test, then I do not seem to get any packet loss so far.

I think that the extra delay introduced by the wireless extender is masking the problem...?


It's probably best to test from a directly connected wired device rather than a host multiple wired/wireless segments away...

The value provided by Realtek folks when we work with them. We don't have the additional information beyond the datasheet. However, we will explore further with the Realtek engineer.
  Reply


Messages In This Thread
LAN/NIC problem - by xrez - 04-28-2016, 04:17 PM
RE: LAN/NIC problem - by wanthalf - 08-05-2016, 04:07 PM
RE: LAN/NIC problem - by waldo - 08-05-2016, 06:51 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 08-05-2016, 10:09 PM
RE: LAN/NIC problem - by wanthalf - 08-06-2016, 04:21 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 08-06-2016, 05:11 PM
RE: LAN/NIC problem - by wanthalf - 08-08-2016, 02:52 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 08-09-2016, 12:30 PM
RE: LAN/NIC problem - by wanthalf - 08-09-2016, 04:46 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 08-09-2016, 05:04 PM
RE: LAN/NIC problem - by pfeerick - 08-29-2016, 10:54 PM
RE: LAN/NIC problem - by jandvs - 08-29-2016, 10:26 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 08-29-2016, 10:49 PM
RE: LAN/NIC problem - by jandvs - 08-31-2016, 06:03 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 08-31-2016, 08:14 PM
RE: LAN/NIC problem - by jandvs - 08-31-2016, 08:49 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 08-31-2016, 09:15 PM
RE: LAN/NIC problem - by tkaiser - 09-01-2016, 12:24 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-01-2016, 05:16 AM
RE: LAN/NIC problem - by pfeerick - 09-01-2016, 06:05 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-01-2016, 07:28 AM
RE: LAN/NIC problem - by amc2012 - 09-01-2016, 08:45 AM
RE: LAN/NIC problem - by jandvs - 09-01-2016, 09:21 AM
RE: LAN/NIC problem - by tkaiser - 09-01-2016, 05:29 AM
RE: LAN/NIC problem - by jandvs - 09-01-2016, 07:28 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-01-2016, 07:32 AM
RE: LAN/NIC problem - by cdslashetc - 09-01-2016, 05:54 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-01-2016, 06:01 PM
RE: LAN/NIC problem - by amc2012 - 09-02-2016, 12:25 AM
RE: LAN/NIC problem - by cdslashetc - 09-04-2016, 04:33 AM
RE: LAN/NIC problem - by jandvs - 09-02-2016, 07:37 AM
RE: LAN/NIC problem - by amc2012 - 09-02-2016, 08:23 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-02-2016, 08:35 AM
RE: LAN/NIC problem - by longsleep - 09-02-2016, 09:03 AM
RE: LAN/NIC problem - by amc2012 - 09-02-2016, 10:21 AM
RE: LAN/NIC problem - by jandvs - 09-02-2016, 11:29 AM
RE: LAN/NIC problem - by longsleep - 09-02-2016, 12:41 PM
RE: LAN/NIC problem - by cdslashetc - 09-02-2016, 01:32 PM
RE: LAN/NIC problem - by jandvs - 09-03-2016, 10:23 AM
RE: LAN/NIC problem - by jandvs - 09-06-2016, 06:57 AM
RE: LAN/NIC problem - by jandvs - 09-06-2016, 03:18 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-06-2016, 03:36 PM
RE: LAN/NIC problem - by jandvs - 09-07-2016, 12:53 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-07-2016, 01:36 PM
RE: LAN/NIC problem - by androsch - 09-07-2016, 02:36 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-07-2016, 03:54 PM
RE: LAN/NIC problem - by jandvs - 09-08-2016, 08:38 AM
RE: LAN/NIC problem - by androsch - 09-08-2016, 11:11 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-08-2016, 11:41 AM
RE: LAN/NIC problem - by pfeerick - 09-08-2016, 09:33 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-09-2016, 05:42 AM
RE: LAN/NIC problem - by waldo - 09-09-2016, 05:56 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-09-2016, 06:06 AM
RE: LAN/NIC problem - by jandvs - 09-08-2016, 01:40 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-08-2016, 02:24 PM
RE: LAN/NIC problem - by tllim - 09-08-2016, 08:24 PM
RE: LAN/NIC problem - by clarkss12 - 09-09-2016, 05:41 PM
RE: LAN/NIC problem - by clarkss12 - 09-09-2016, 09:19 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-10-2016, 09:07 AM
RE: LAN/NIC problem - by waldo - 09-10-2016, 11:39 AM
RE: LAN/NIC problem - by clarkss12 - 09-10-2016, 01:07 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-10-2016, 01:15 PM
RE: LAN/NIC problem - by clarkss12 - 09-10-2016, 05:00 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-10-2016, 05:04 PM
RE: LAN/NIC problem - by clarkss12 - 09-11-2016, 07:28 AM
RE: LAN/NIC problem - by cdslashetc - 09-11-2016, 08:05 AM
RE: LAN/NIC problem - by clarkss12 - 09-11-2016, 09:25 AM
RE: LAN/NIC problem - by clarkss12 - 09-11-2016, 10:47 AM
RE: LAN/NIC problem - by jandvs - 09-12-2016, 10:47 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-12-2016, 10:57 AM
RE: LAN/NIC problem - by tkaiser - 09-12-2016, 11:30 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-12-2016, 09:16 PM
RE: LAN/NIC problem - by jandvs - 09-14-2016, 08:42 AM
RE: LAN/NIC problem - by clarkss12 - 09-12-2016, 01:30 PM
RE: LAN/NIC problem - by tkaiser - 09-12-2016, 02:04 PM
RE: LAN/NIC problem - by clarkss12 - 09-12-2016, 02:24 PM
RE: LAN/NIC problem - by tkaiser - 09-12-2016, 02:36 PM
RE: LAN/NIC problem - by clarkss12 - 09-12-2016, 02:46 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-12-2016, 05:25 PM
RE: LAN/NIC problem - by clarkss12 - 09-12-2016, 07:00 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-12-2016, 07:04 PM
RE: LAN/NIC problem - by amc2012 - 09-12-2016, 07:12 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-12-2016, 07:29 PM
RE: LAN/NIC problem - by tkaiser - 09-13-2016, 12:17 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-13-2016, 12:24 AM
RE: LAN/NIC problem - by amc2012 - 09-13-2016, 12:37 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-13-2016, 12:43 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-13-2016, 01:44 AM
RE: LAN/NIC problem - by tllim - 09-13-2016, 09:42 AM
RE: LAN/NIC problem - by amc2012 - 09-13-2016, 09:44 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-13-2016, 10:00 AM
RE: LAN/NIC problem - by pfeerick - 09-13-2016, 07:00 PM
RE: LAN/NIC problem - by tkaiser - 09-13-2016, 10:22 AM
RE: LAN/NIC problem - by waldo - 09-13-2016, 10:44 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-13-2016, 10:48 AM
RE: LAN/NIC problem - by tkaiser - 09-13-2016, 10:56 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-13-2016, 11:08 AM
RE: LAN/NIC problem - by tllim - 09-13-2016, 06:11 PM
RE: LAN/NIC problem - by amc2012 - 09-13-2016, 11:16 AM
RE: LAN/NIC problem - by tkaiser - 09-14-2016, 09:36 AM
RE: LAN/NIC problem - by amc2012 - 09-14-2016, 10:06 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-14-2016, 10:18 AM
RE: LAN/NIC problem - by tkaiser - 09-14-2016, 10:37 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-14-2016, 08:15 PM
RE: LAN/NIC problem - by tkaiser - 09-15-2016, 01:39 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-15-2016, 01:48 AM
RE: LAN/NIC problem - by jandvs - 09-15-2016, 07:16 AM
RE: LAN/NIC problem - by tkaiser - 09-15-2016, 08:26 AM
RE: LAN/NIC problem - by tllim - 09-14-2016, 05:31 PM
RE: LAN/NIC problem - by DonFL - 09-13-2016, 10:08 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-13-2016, 10:15 AM
RE: LAN/NIC problem - by tkaiser - 09-13-2016, 10:43 AM
RE: LAN/NIC problem - by tllim - 09-13-2016, 05:52 PM
RE: LAN/NIC problem - by tkaiser - 09-14-2016, 07:17 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-13-2016, 10:33 AM
RE: LAN/NIC problem - by martinayotte - 09-13-2016, 10:52 AM
RE: LAN/NIC problem - by tllim - 09-13-2016, 06:04 PM
RE: LAN/NIC problem - by clarkss12 - 09-13-2016, 01:47 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-13-2016, 03:40 PM
RE: LAN/NIC problem - by tllim - 09-13-2016, 06:06 PM
RE: LAN/NIC problem - by stepw - 09-14-2016, 06:45 PM
RE: LAN/NIC problem - by tkaiser - 09-13-2016, 05:31 PM
RE: LAN/NIC problem - by waldo - 09-13-2016, 05:38 PM
RE: LAN/NIC problem - by cdslashetc - 09-14-2016, 08:14 AM
RE: LAN/NIC problem - by androsch - 09-14-2016, 10:22 AM
RE: LAN/NIC problem - by cdslashetc - 09-14-2016, 10:44 AM
RE: LAN/NIC problem - by tkaiser - 09-14-2016, 12:11 PM
RE: LAN/NIC problem - by amc2012 - 09-14-2016, 12:48 PM
RE: LAN/NIC problem - by tkaiser - 09-14-2016, 03:36 PM
RE: LAN/NIC problem - by waldo - 09-14-2016, 04:34 PM
RE: LAN/NIC problem - by tkaiser - 09-14-2016, 04:49 PM
RE: LAN/NIC problem - by tkaiser - 09-15-2016, 12:01 AM
RE: LAN/NIC problem - by pfeerick - 09-15-2016, 12:58 AM
RE: LAN/NIC problem - by tkaiser - 09-15-2016, 01:49 AM
RE: LAN/NIC problem - by pfeerick - 09-15-2016, 02:23 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-15-2016, 01:31 AM
RE: LAN/NIC problem - by tkaiser - 09-15-2016, 06:38 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-15-2016, 02:48 PM
RE: LAN/NIC problem - by amc2012 - 09-15-2016, 03:46 PM
RE: LAN/NIC problem - by tkaiser - 09-15-2016, 04:36 PM
RE: LAN/NIC problem - by pfeerick - 09-15-2016, 07:18 PM
RE: LAN/NIC problem - by tkaiser - 09-15-2016, 11:49 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-16-2016, 12:34 AM
RE: LAN/NIC problem - by tkaiser - 09-16-2016, 01:21 AM
RE: LAN/NIC problem - by amc2012 - 09-16-2016, 08:29 AM
RE: LAN/NIC problem - by tkaiser - 09-16-2016, 09:48 AM
RE: LAN/NIC problem - by amc2012 - 09-16-2016, 10:00 AM
RE: LAN/NIC problem - by tkaiser - 09-16-2016, 10:44 AM
RE: LAN/NIC problem - by pfeerick - 09-17-2016, 03:36 AM
RE: LAN/NIC problem - by tkaiser - 09-17-2016, 05:27 AM
RE: LAN/NIC problem - by stepw - 09-18-2016, 09:16 PM
RE: LAN/NIC problem - by tkaiser - 09-18-2016, 11:11 PM
RE: LAN/NIC problem - by tkaiser - 09-19-2016, 08:53 AM
RE: LAN/NIC problem - by clarkss12 - 09-20-2016, 04:50 AM
RE: LAN/NIC problem - by Terra854 - 09-20-2016, 04:55 AM
RE: LAN/NIC problem - by clarkss12 - 09-20-2016, 05:13 AM
RE: LAN/NIC problem - by tkaiser - 09-20-2016, 05:17 AM
RE: LAN/NIC problem - by clarkss12 - 09-20-2016, 06:05 AM
RE: LAN/NIC problem - by tkaiser - 09-20-2016, 07:11 AM
RE: LAN/NIC problem - by clarkss12 - 09-20-2016, 07:23 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-20-2016, 07:37 AM
RE: LAN/NIC problem - by tkaiser - 09-20-2016, 08:10 AM
RE: LAN/NIC problem - by clarkss12 - 09-20-2016, 07:43 AM
RE: LAN/NIC problem - by clarkss12 - 09-20-2016, 08:25 AM
RE: LAN/NIC problem - by amc2012 - 09-20-2016, 03:22 PM
RE: LAN/NIC problem - by tkaiser - 09-20-2016, 03:49 PM
RE: LAN/NIC problem - by tkaiser - 09-20-2016, 08:35 AM
RE: LAN/NIC problem - by clarkss12 - 09-20-2016, 08:51 AM
RE: LAN/NIC problem - by clarkss12 - 09-20-2016, 04:57 PM
RE: LAN/NIC problem - by tkaiser - 09-21-2016, 12:55 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 09-21-2016, 01:29 AM
RE: LAN/NIC problem - by kflorek46 - 09-21-2016, 05:02 PM
RE: LAN/NIC problem - by tkaiser - 09-22-2016, 12:52 AM
RE: LAN/NIC problem - by waldo - 09-26-2016, 02:58 PM
RE: LAN/NIC problem - by tllim - 09-27-2016, 07:56 PM
RE: LAN/NIC problem - by waldo - 09-28-2016, 01:59 PM
RE: LAN/NIC problem - by amc2012 - 09-29-2016, 03:17 PM
RE: LAN/NIC problem - by waldo - 09-29-2016, 03:33 PM
RE: LAN/NIC problem - by stepw - 09-29-2016, 07:39 PM
RE: LAN/NIC problem - by amc2012 - 09-29-2016, 08:31 PM
RE: LAN/NIC problem - by waldo - 09-30-2016, 09:41 AM
RE: LAN/NIC problem - by jandvs - 10-05-2016, 04:48 PM
RE: LAN/NIC problem - by amc2012 - 10-05-2016, 05:13 PM
RE: LAN/NIC problem - by jandvs - 10-05-2016, 08:27 PM
RE: LAN/NIC problem - by pfeerick - 10-05-2016, 11:17 PM
RE: LAN/NIC problem - by androsch - 10-06-2016, 05:41 AM
RE: LAN/NIC problem - by waldo - 10-27-2016, 11:32 AM
RE: LAN/NIC problem - by tllim - 10-31-2016, 04:28 PM
LAN/NIC problem - by androsch - 11-01-2016, 05:45 AM
RE: LAN/NIC problem - by stepw - 11-01-2016, 09:16 PM
RE: LAN/NIC problem - by tllim - 11-02-2016, 04:43 PM
RE: LAN/NIC problem - by waldo - 11-02-2016, 10:45 AM
RE: LAN/NIC problem - by tllim - 11-02-2016, 05:10 PM
RE: LAN/NIC problem - by tllim - 11-02-2016, 05:12 PM
RE: LAN/NIC problem - by umiddelb - 11-03-2016, 01:43 AM
RE: LAN/NIC problem - by waldo - 11-03-2016, 10:43 AM
RE: LAN/NIC problem - by MarkHaysHarris777 - 11-06-2016, 06:35 AM
RE: LAN/NIC problem - by dkryder - 11-07-2016, 12:23 AM
RE: LAN/NIC problem - by pfeerick - 11-10-2016, 07:46 PM
RE: LAN/NIC problem - by MarkHaysHarris777 - 11-10-2016, 08:57 PM
RE: LAN/NIC problem - by seaniefs - 11-06-2016, 04:49 AM
RE: LAN/NIC problem - by seaniefs - 11-06-2016, 11:44 AM
RE: LAN/NIC problem - by stepw - 11-06-2016, 08:24 PM
RE: LAN/NIC problem - by tllim - 11-06-2016, 09:30 PM
RE: LAN/NIC problem - by Learnincurve - 12-16-2016, 06:32 AM
RE: LAN/NIC problem - by tllim - 12-16-2016, 09:05 PM
RE: LAN/NIC problem - by androsch - 12-17-2016, 01:39 PM
RE: LAN/NIC problem - by DrunkTank - 01-17-2017, 01:55 PM
RE: LAN/NIC problem - by DrunkTank - 01-18-2017, 07:57 PM
RE: LAN/NIC problem - by tllim - 01-20-2017, 02:45 PM
RE: LAN/NIC problem - by DrunkTank - 01-20-2017, 03:31 PM
RE: LAN/NIC problem - by Er0l - 12-20-2016, 01:47 PM
RE: LAN/NIC problem - by HenryD - 12-28-2016, 11:34 AM
RE: LAN/NIC problem - by aegrotatio - 01-03-2017, 10:26 PM
RE: LAN/NIC problem - by ealltech - 02-28-2017, 12:36 AM
RE: LAN/NIC problem - by ubuntuGuy - 06-15-2017, 06:04 PM
RE: LAN/NIC problem - by pfeerick - 06-16-2017, 02:04 AM
RE: LAN/NIC problem - by ubuntuGuy - 06-18-2017, 03:36 PM

Forum Jump:


Users browsing this thread: 98 Guest(s)