InnoRoute / RealtimeHAT

Documentation and source for InnoRoutes Raspberry TSN addon HAT
GNU General Public License v3.0
44 stars 5 forks source link

ptp4l crashes on second start #1

Closed eymyd closed 2 years ago

eymyd commented 2 years ago

ptp4l runs fine after boot, but restarting the task with following commands is not possible.

sudo killall ptp4l
sudo killall phc2sys
sudo ptp4l -q  -i RT0 -i RT2 -f /usr/share/InnoRoute/ptp.conf &
sudo phc2sys -a -r --transportSpecific 0x1 &

The following errors occur after restarting the task:

ptp4l[719.208]: port 1: send peer delay request failed
ptp4l[721.405]: timed out while polling for tx timestamp
ptp4l[721.405]: increasing tx_timestamp_timeout may correct this issue, but it is likely caused by a driver bug

Increasing the tx_timestamp_timeout did not help.