Re: [chrony-users] PHC / NIC / PPS mismatch |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] PHC / NIC / PPS mismatch
- From: Christopher Hoover <ch@xxxxxxxxxxxxxx>
- Date: Fri, 19 Nov 2021 09:15:18 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=murgatroid-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=BhVfHlG7RGnPLTee2HbjmG6d29i22Hb6B0avlqTOgMs=; b=EVmFUYXoS0jWMgrPaIEN4UTL1wvxgpMuOhKpiB4NlQWNX49UtNWVzxGUJQ+jkPeaby cld/rhY8Z1n2fhFAQWLKGkGeSX23ff4kT0uY3cItLbbP5I5F0OmVR3c140Fytg074rr4 z9efc4+KHvJe7Fccp0QGyygQjHRt334sa6m6K/9y+9FCe5TtEXcl0Qf3gi5FYq1T/nV5 +rux2R+pErhXfokf6HpJ/acQUppM08AnsE5PrAjELkPhK8u6uylvAaWclGNpS41LLrK6 xFykFlgBF5CgmI3mFqwGEAgWuUgOQkbpU3DTGbFKvgP38ZW17h3wO2CjpwPGZcpHCnTo T/VA==
This is strace -e openat,ioctl of chronyd Debian 11 / chrony 4.0 /
linux 5.10.0 :pin=0 => DOES NOT WOR
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libnettle.so.8", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libgnutls.so.30",
O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libcap.so.2", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libseccomp.so.2",
O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0",
O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libp11-kit.so.0",
O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libidn2.so.0", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libunistring.so.2",
O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libtasn1.so.6", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libhogweed.so.6",
O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libgmp.so.10", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libffi.so.7", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) = 3
2021-11-19T16:21:18Z chronyd version 4.0 starting (+CMDMON +NTP
+REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGND +ASYNCDNS +NTS +SECHASH
+IPV6 -DEBUG)
openat(AT_FDCWD, "/etc/chrony/chrony.conf", O_RDONLY) = 3
openat(AT_FDCWD, "/run/chrony/chronyd.pid", O_RDONLY) = -1 ENOENT (No
such file or directory)
openat(AT_FDCWD, "/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libnss_files.so.2",
O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/run/chrony/chronyd.pid", O_WRONLY|O_CREAT|O_EXCL, 0644) = 3
2021-11-19T16:21:18Z Setting filter length for PPS to 1
openat(AT_FDCWD, "/dev/ptp3", O_RDONLY) = 3
ioctl(3, PTP_CLOCK_GETCAPS, {max_adj=62499999, n_alarm=0, n_ext_ts=2,
n_per_out=2, pps=1}) = 0
ioctl(3, PTP_PIN_SETFUNC, 0x7fff6a8610b0) = 0
ioctl(3, PTP_EXTTS_REQUEST, {index=0,
flags=PTP_ENABLE_FEATURE|PTP_RISING_EDGE}) = 0
openat(AT_FDCWD, "/etc/chrony/chrony.keys", O_RDONLY) = 4
ioctl(6, SIOCGIFINDEX, {ifr_name="enp1s0", }) = 0
ioctl(6, SIOCETHTOOL, 0x7fff6a8610e0) = 0
ioctl(6, SIOCSHWTSTAMP, 0x7fff6a8610e0) = 0
openat(AT_FDCWD, "/dev/ptp0", O_RDONLY) = 6
ioctl(6, PTP_CLOCK_GETCAPS, {max_adj=62499999, n_alarm=0, n_ext_ts=2,
n_per_out=2, pps=1}) = 0
2021-11-19T16:21:18Z Enabled HW timestamping on enp1s0
openat(AT_FDCWD, "/var/lib/chrony/chrony.drift", O_RDONLY) = 7
2021-11-19T16:21:18Z Frequency -6.284 +/- 0.011 ppm read from
/var/lib/chrony/chrony.drift
openat(AT_FDCWD, "/etc/host.conf", O_RDONLY|O_CLOEXEC) = 8
openat(AT_FDCWD, "/etc/resolv.conf", O_RDONLY|O_CLOEXEC) = 8
ioctl(3, PTP_SYS_OFFSET_PRECISE, 0x7fff6a860df0) = -1 EOPNOTSUPP
(Operation not supported)
ioctl(3, PTP_SYS_OFFSET_EXTENDED, 0x7fff6a8608f0) = -1 ENOTTY
(Inappropriate ioctl for device)
ioctl(3, PTP_SYS_OFFSET, {n_samples=10, ts=[{sec=1637338878,
nsec=132012982}, {sec=1637338877, nsec=904280319}, {sec=1637338878,
nsec=132020731}, {sec=1637338877, nsec=904286303}, {sec=1637338878,
nsec=132026566}, {sec=1637338877, nsec=904292159}, {sec=1637338878,
nsec=132032390}, {sec=1637338877, nsec=904297967}, {sec=1637338878,
nsec=132038229}, {sec=1637338877, nsec=904303823}, {sec=1637338878,
nsec=132044065}, {sec=1637338877, nsec=904309615}, {sec=1637338878,
nsec=132049862}, {sec=1637338877, nsec=904315423}, {sec=1637338878,
nsec=132055696}, {sec=1637338877, nsec=904321263}, {sec=1637338878,
nsec=132061502}, {sec=1637338877, nsec=904327071}, {sec=1637338878,
nsec=132067303}, {sec=1637338877, nsec=904332863}, {sec=1637338878,
nsec=132073220}]}) = 0
ioctl(6, PTP_SYS_OFFSET_PRECISE, 0x7fff6a860d10) = -1 EOPNOTSUPP
(Operation not supported)
ioctl(6, PTP_SYS_OFFSET_EXTENDED, 0x7fff6a860810) = -1 ENOTTY
(Inappropriate ioctl for device)
ioctl(6, PTP_SYS_OFFSET, {n_samples=10, ts=[{sec=1637338878,
nsec=337473531}, {sec=1637338877, nsec=361617859}, {sec=1637338878,
nsec=337480930}, {sec=1637338877, nsec=361623955}, {sec=1637338878,
nsec=337486934}, {sec=1637338877, nsec=361629955}, {sec=1637338878,
nsec=337492915}, {sec=1637338877, nsec=361635923}, {sec=1637338878,
nsec=337498868}, {sec=1637338877, nsec=361641859}, {sec=1637338878,
nsec=337504807}, {sec=1637338877, nsec=361647811}, {sec=1637338878,
nsec=337510769}, {sec=1637338877, nsec=361654227}, {sec=1637338878,
nsec=337517239}, {sec=1637338877, nsec=361660243}, {sec=1637338878,
nsec=337523177}, {sec=1637338877, nsec=361666179}, {sec=1637338878,
nsec=337529123}, {sec=1637338877, nsec=361672131}, {sec=1637338878,
nsec=337535164}]}) = 0
ioctl(9, SIOCETHTOOL, 0x7fff6a860e20) = 0
ioctl(3, PTP_SYS_OFFSET, {n_samples=10, ts=[{sec=1637338879,
nsec=133157755}, {sec=1637338878, nsec=905421007}, {sec=1637338879,
nsec=133167799}, {sec=1637338878, nsec=905427263}, {sec=1637338879,
nsec=133173865}, {sec=1637338878, nsec=905433327}, {sec=1637338879,
nsec=133179992}, {sec=1637338878, nsec=905439455}, {sec=1637338879,
nsec=133186036}, {sec=1637338878, nsec=905445503}, {sec=1637338879,
nsec=133192062}, {sec=1637338878, nsec=905451487}, {sec=1637338879,
nsec=133198059}, {sec=1637338878, nsec=905457487}, {sec=1637338879,
nsec=133204085}, {sec=1637338878, nsec=905463519}, {sec=1637338879,
nsec=133210118}, {sec=1637338878, nsec=905469615}, {sec=1637338879,
nsec=133216173}, {sec=1637338878, nsec=905475615}, {sec=1637338879,
nsec=133222560}]}) = 0
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.