Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Wrong timestamps in vax test results



On 2026-04-11 13:39, Martin Husemann wrote:
On Sat, Apr 11, 2026 at 12:36:56PM +0200, Johnny Billquist wrote:
You need to set the clock, using ntp, or a command, or whatever. VAXen in
general do not have an external clock that tells absolute time.
There is a clock that runs when power is off, but it only keeps track of
time for about a year before it wraps (it's a simple counter). So time gets
set based on when the system was shut down, and what this counter then
tells.

"when the system was shut down" is the superblock timestamp in ffs?
This does not exist, the disk image is (virtually) all zeros.

I can't remember which, but it might be from the superblock. Someone would have to go and dig this up. Maybe Ragge remembers? Or someone else on this list?

How can we fix this when booting from an ISO image?

Not really possible, unfortunately.

We could do some stupid hack like have sysinst check for dates before it
was build and if clock is that far in the past, ask the user for manual
time setup (and anita could then react to those prompts).

How would you know "if clock is that far in the past"?
But yes, asking the user for time, or ntp, or something else that gets some external input is basically the only way.

  Johnny

--
Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email: bqt%softjar.se@localhost             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol



Home | Main Index | Thread Index | Old Index