Package: linuxptp
Version: 4.2-1

When (re-)booting the system the dependencies of ptp4l@.service (and 
phc2sys@.service) do not seem to be sufficient as the hardware (in this case 
eth0) is not up and running when those services are started, leading to a fail 
in SIOCSHWTSTAMP when using phc2sys -a -rr in phc2sys@.service

ptp4l[540]: [2.126] driver rejected most general HWTSTAMP filter
ptp4l[540]: [2.126] ioctl SIOCSHWTSTAMP failed: Invalid argument
ptp4l[540]: [2.138] port 1 (eth0): INITIALIZING to FAULTY on FAULT_DETECTED 
(FT_UNSPECIFIED)
ptp4l[540]: [2.138] port 0 (/var/run/ptp4l): INITIALIZING to LISTENING on 
INIT_COMPLETE
ptp4l[540]: [2.138] port 0 (/var/run/ptp4lro): INITIALIZING to LISTENING on 
INIT_COMPLETE
ptp4l[538]: [2.142] ioctl SIOCETHTOOL failed: No such device
ptp4l[538]: [2.156] ioctl SIOCETHTOOL failed: No such device
ptp4l[538]: failed to create a clock
ptp4l[538]: [2.156] PTP device not specified and automatic determination is not 
supported. Please specify PTP device.

Debian 12 (bookworm) with linuxptp 4.2-1

Raspberry Pi reference 2023-10-10
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 
962bf483c8f326405794827cce8c0313fd5880a8, stage4

2024/04/20 11:53:30 
Copyright (c) 2012 Broadcom
version d1744d21 (release) (embedded)

Linux aion 6.9.0-rc6-v8-16k-NTP+ #9 SMP Thu May  9 14:05:10 CEST 2024 aarch64 
GNU/Linux

Reply via email to