The card in question is a 4-port i210 PCIe - 
https://www.lr-link.com/products/LRES3004PT.html

It seems to behave for general use, but I can’t use it without PTP working. 

A single-port PCIe i210 behaves perfectly on the same mainboard, so I assume 
that something interesting is happening in the i210 driver for this card.

For interest, I have 2 of these cards, and both exhibit the same behaviour (so, 
unlikely to be a failure of a specific card). A single-port i210 card work 
perfectly.  

Not sure where from here. Maybe a full debug trace?

Aris



> On 10 Apr 2023, at 11:09 pm, Richard Cochran <richardcoch...@gmail.com> wrote:
> 
> On Mon, Apr 10, 2023 at 10:31:05PM +1000, Aris Theocharides via 
> Linuxptp-users wrote:

> [snip]

>> Debian 12 Kernel Module (based on Linux 6.1.20 kernel, modified by Debian):
>> 
>>> filename:       
>>> /lib/modules/6.1.20-rt8/kernel/drivers/net/ethernet/intel/igb/igb.ko
> 
> Hm, Debian is shipping a PREEMPT_RT kernel?  That is news to me.


Yes, albeit not the default, a (signed) RT variant is available from the 
official repos.


>> root@controller:~/proj/igb-5.13.16/src# ptp4l -i enp3s0 -m -2 -H
>> ptp4l[11754.773]: selected /dev/ptp0 as PTP clock
>> ptp4l[11754.818]: port 1 (enp3s0): INITIALIZING to LISTENING on INIT_COMPLETE
>> ptp4l[11754.818]: port 0 (/var/run/ptp4l): INITIALIZING to LISTENING on 
>> INIT_COMPLETE
>> ptp4l[11754.819]: port 0 (/var/run/ptp4lro): INITIALIZING to LISTENING on 
>> INIT_COMPLETE
>> ptp4l[11760.857]: port 1 (enp3s0): LISTENING to MASTER on 
>> ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
>> ptp4l[11760.857]: selected local clock 6cb311.fffe.663910 as best master
>> ptp4l[11760.857]: port 1 (enp3s0): assuming the grand master role
>> ptp4l[11761.868]: timed out while polling for tx timestamp
>> ptp4l[11761.868]: increasing tx_timestamp_timeout may correct this issue, 
>> but it is likely caused by a driver bug
> 
> Did you try this?   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Yes, I tried increasing tx_timestamp_timeout - the reported issue persists.


> [snip]


_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to