Re: PSA: Clock drift and pkgin

Johnny Billquist <[email protected]>
Newsgroups gmane.os.netbsd.ports.vax
Message-ID <[email protected]>
On 2023-12-17 16:45, Paul Koning wrote:
> 
> 
>> On Dec 16, 2023, at 9:16 PM, Johnny Billquist <[email protected]> wrote:
>>
>> For what it's worth, I think these lines also suggest something is wrong with the clock (this run under simh, simulating a VAX8650):
>>
>> [  91.2854336] WARNING: lwp 854 (sh): negative runtime: (-1 + 0xfee8c21d5277ae5a/2^64) sec
>> [  91.2854336] WARNING: pid 854 (sh): negative runtime; monotonic clock has gone backwards
> 
> That would be a different issue, though.  If interrupts are lost or clock tick interrupt rates are not accurate, the system time will be wrong.  But that would not cause the "monotonic" clock to go backwards.  A supposed monotonic value going backwards is just a bug, no matter what the clock source is doing.

For sure. But at least in my mind, this is what seems to be a problem 
more in general. The comments about the time moving all over the place, 
ntp having issues syncinc, and eventually just loosing sync altogether. 
That is more than lost interrupts. Time for processes reporting 106% is 
not a lost interrupt thing either. Something is seriously broken with 
time on VAX in general, I suspect. But as the above was observed running 
under simh, at this time I should not exclude bugs in simh as well.

   Johnny

-- 
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: [email protected]             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.