James Browning via devel writes:
> Probably the --pyshebang option of waf configure, or maybe
> --python. Although I think it's for the extension and pyo/pyc files.
Thanks. I had found --pyshebang in the meantime and I added --python
just to be sure. I doesn't seem to make a difference if I leav
Hal Murray via devel writes:
> I've seen at least one distro that had python 3 but python still went to
> python 2. I assume they had a lot of code that still needed python 2.
openSUSE Factory / tumbleweed just dropped python2 completely and there
is no system poython interpreter anymore (only
Hal Murray via devel writes:
> Near the top, it says:
>
> // _XOPEN_SORUCE needed for strptime()
> #define _XOPEN_SOURCE
Correct. However, as you said you also need siginfo_t, it needs to be
defined with a value of at least 500, so the correct _POSIX_C_SOURCE
level gets defined in addition. Real
Hal Murray via devel writes:
> I expect the comment on the previous line to tell Coverity to not complain
> about this case.
>
> Is there a typo or such that I'm missing?
>
> 149/* coverity[checked_return] */
> CID 462307 (#1 of 1): Unchecked return value (CHECKED_RETURN)
> 15. check_r
Hal Murray via devel writes:
>> Can somebody give me a lesson in why a program should close all it's
>> descriptors? We can clean up a lot of crufty code if we drop that.
>
> Nobody responded to my request, so I'll assume it isn't needed and start
> working on deleting it.
You're getting ahead o
Hal Murray via devel writes:
> Does anybody have access to server class systems?
Not with bare metal Linux at the moment…
> I'm trying to setup a test environment for the thread work. Dell high end
> workstations use Xeon chips. I have a T5610, but it has TSC warp so doesn't
> use the TSC for
Hal Murray via devel writes:
> I think you want to use DESTDIR if you are testing things after installing
> them.
No, never. DESTDIR is purely for packaging so that the "install" you do
has the correct directory structure, but doesn't mess up your actual
system. There is only the to-be-installe
Hal Murray via devel writes:
> I want to keep track of the number of times a macro has been called. That
> seems like something that would happen often enough that there would be a
> standard recipe but I haven't seen it. (Or didn't recognize it.)
You seem to be asking for the non-portable __C
Richard Laager via devel writes:
> With my Debian packager hat on, getting a port in Debian's /etc/services
> is another level of complication that I don't want to have to deal with.
Not to mention that /etc/services has gone away in some distributions
recently (moved to /usr/etc/services) and you
Hal Murray via devel writes:
>> the assumption you are suffering from GPS rollover issues
>
> WNRO seems unlikely. That would be off by 20 years. This case if off by 2.
Did you even read what I wrote? This is ntpd assuming a WRNO and
warping the time forward in a misguided attemt at fixing it.
Udo van den Heuvel via devel writes:
> Garmin gps18x on the serial port with USB power.
> With just $GPGGA and $GPRMC enabled, so where did it find that weird date?
If you had the clockstats file enabled, you would be able to see what
message ntpd received at that point. Since you have RMC enable
Udo van den Heuvel via devel writes:
> May 18 10:06:48 boombox ntpd[2055]: CLOCK: time stepped by 59097600.478559
> May 18 10:06:48 boombox ntpd[2055]: CLOCK: time changed from 2020-07-03 to
> 2022-05-18
That's why you don't trust the GPS time until you know it has a good
lock and also why you sh
Sanjeev Gupta via devel writes:
> The file:
> -rw-r--r-- 1 root root 3558 May 9 09:39
> fullchain28.pem
> can't stat certificate (chain) from
> /etc/letsencrypt/live/ntpmon.dcs1.biz/fullchain.pem: Permission denied
It seems to me you're having NTPd look for the
Udo van den Heuvel via devel writes:
> On 16-04-2020 21:15, Achim Gratz via devel wrote:
>>If so, you must use the clear edge of the PPS (flag2 1).
>
> Why is that?
Because RS232 signaling is negative logic.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Udo van den Heuvel via devel writes:
> When then is the jitter so low?
> If solely using NMEA the jitter and offset would be worse.
Well, run ntpq with the -u switch to see what those really are. If
you've set the serial to low latency and a fairly high speed, you can
expect jitter in the single-
Udo van den Heuvel via devel writes:
> Using tsc clocksource we get:
>
> # cat /sys/devices/system/clocksource/clocksource0/current_clocksource
> tsc
> # ntpq -pn
> remote refid st t when poll reach delay offset
> jitter
> ===
Udo van den Heuvel via devel writes:
> So we went to tsc by disabling hpet but that one also has an issue.
> Now we are on acpi_pm.
That is going to suck rocks. So it's just about any clock in your
system going backwards at times except the ACPI-PM?
> See https://pastebin.com/5BbgWVFt for a dmes
Udo van den Heuvel via devel writes:
> When booting with hpet=disable we see stuff like:
Well, what clock sources get reported on boot when you don't force
anything and which one gets ultimately selected by the kernel? Are you
actually using a kernel new enough to know about Ryzen CPU, and does i
Richard Laager via devel writes:
> I do not. It seems really fragile to me. A change in an underlying
> library can break a working binary, possibly only in some scenarios.
> That's scary.
It's also somewhat the point of using it: any un-audited change rather
breaks the application than the system
Hal Murray via devel writes:
> It seems obvious that we should drop root as early as possible. But it's not
> obvious that we should enable seccomp early.
Root should be dropped before ntpsec starts accepting network input.
Dropping it even earlier doesn't buy you much, since it'd only reduce
th
Hal Murray via devel writes:
> I'm working on a way to semi-automate generating the list. The basic idea is
> to run ntpd under strace on the type of system you are interested in to
> collect a lot of data, then run a script to extract the list of syscalls from
> the strace log file.
If you do
Hal Murray via devel writes:
> I don't think there is any need for crypto randomness when fuzzing the low
> bits of time. If anybody has other opinions, please sing out.
No, you only need unbiased "white" statistics that stays iid in not too
many dimensions. That point was never questioned.
Bt
Hal Murray via devel writes:
> Back in December, I fixed get_systime to use random() rather than
> ntp_random()
> which calls RAND_bytes().
I still consider that change to be wrongdoing. If NTP has a use case
for both fast and cryptographically secure randomness, then you should
have ntp_* func
Richard Laager via devel writes:
> Upon further investigation, there is a concern about the GPS antenna
> placement.
What concern(s)?
> Does anyone have recommendations for GPS antenna RF-to-fiber converters
> or other ways to have the GPS antenna a long way (in a building) from
> the GPS receive
Udo van den Heuvel via devel writes:
> On 13-12-2019 11:31, Udo van den Heuvel via devel wrote:
>> No change in ntpd behaviour...
>
> Certificates ended up in /etc/pki/tls/certs/ca-bundle.trust.crt and
> /etc/pki/tls/certs/ca-bundle.crt
>
> But after an ntpd restart no change...
You didn't forget
Mike Yurlov via devel writes:
> I recently started the public server for ntppool (Yo, Ask) on
> FreeBSD. Yesterday I was migrate from Classic NTPd to NTPSec (oh, it
> was painful!). I'm copy ntp.conf to ntpsec.conf and only convert
> "magic" 127.127.20 x to refclock. When I looking to "top" I see N
Hal Murray via devel writes:
> I was trying to suggest using web browser to contact a few non NTS sites as
> a
> way to check the local collection of root certificates.
Web browsers often don't use the certificate chain of the system they're
running on. I generally use either use the gnutls to
ASSI via devel writes:
> is… intriguing. If you follow the code through the function, ts_min in
> the log should always be ts_prev+sys_fuzz; these two values can't be
> identical or differ by any other value, ts_min must strictly be greater
> than ts_prev by sys_fuzz. I not
Richard Laager via devel writes:
> Also, what does this mean and is it a problem (it's an ERR level)? I'm
> seeing it on both servers.
>
> 2019-11-23T01:49:33.497786-06:00 ntp1 ntpd[28568]: CLOCK: ts_prev 1574495373
> s + 497394102 ns, ts_min 1574495373 s + 497388500 ns
> 2019-11-23T01:49:33.49793
Gary E. Miller via devel writes:
> There is a gpsd program in the contrib/ directory. It tests your
> CPU granularity. On a Raspberry Pi that is about 52 ns. Worse
> on an Intel chip.
The actual granularity on RasPi can't be better than 52ns (the clock
it's based on is 19.2MHz) and you can dete
Richard Laager via devel writes:
> On 11/21/19 1:15 AM, Hal Murray wrote:
>>> ntp1 uses the PPS refclock with a polling interval of 3 from a telecom GPSDO
>>> (OCXO):
>> What brand/model?
>
> Symmetricom TimeSource 3000. It's an older, end-of-life model that we've
> had in place for a while. We ha
Richard Laager via devel writes:
> On 11/21/19 12:55 AM, ASSI via devel wrote:
>>> I could try fiddling around with the polling interval. Next steps might
>>> be to try raising the polling the interval to 4 and/or lowering it to 1.
>
>> It is generally inadvi
Richard Laager via devel writes:
> I now have a second stratum 1 server, with an independent setup. This
> allows me to compare the two. Why does ntp1 have this very specific
> repeating pattern of local clock offset? It's roughly +7 us, -5 us, +2
> us, -4 us and then repeats again, over and over.
folkert via devel writes:
> Can I concatenate the loopstats-files to get statistics over longer
> time? Or is there some catch?
Sure. The standard statistic files are rotated daily and I pull these
from the servers regularly (I should set up a proper time series
database eventually). For analysi
Richard Laager via devel writes:
> I'm working with a small, Canadian Internet exchange that offers an NTP
> service. They originally had one CDMA and one NTP master clock NTP
> server feeding (via NTP) 3x Ubuntu + NTP Classic servers facing the
> world. This is in a data center. They have one GPS
Udo van den Heuvel via devel writes:
> yet:
>
> # grep PPS .config
> CONFIG_PPS=y
> # CONFIG_PPS_DEBUG is not set
> CONFIG_NTP_PPS=y
If you really wanted to enable hardpps, then you _must_ disable NOHZ in
the kernel config and let ntpd know (via flag3) that the kernel PLL is
active. Otherwise, di
Achim Gratz via devel writes:
> I have been experimenting with determining the frequency offset via the
> MONOTONIC_RAW clock. At the moment I've implemented that as a Perl
> script although it should eventually go into some sort of pps-raw device
> driver that timestamps the incoming PPS pulses.
The initialization for the peer association ID uses a random number
non-equal to zero:
--8<---cut here---start->8---
/*
* Initialize our first association ID
*/
do
current_association_ID = ntp_random() & ASSOCI
38 matches
Mail list logo