Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* ARC/UTC
@ 2006-03-11  9:30 bert.verwoerd
  2006-03-11 12:49 ` ARC/UTC dl8bcu
  2006-03-11 20:28 ` ARC/UTC thursday
  0 siblings, 2 replies; 3+ messages in thread
From: bert.verwoerd @ 2006-03-11  9:30 UTC (permalink / raw)


Hello,

Last week I've installed Debian on an AlphaStation, but with a mistake 
about the time. There must be a place where you can switch ARC or/and 
UTC on/off. But where? The date is now 03-11-2054, and that seem so silly..

Grtz,

Bert



^ permalink raw reply	[flat|nested] 3+ messages in thread

* ARC/UTC
  2006-03-11  9:30 ARC/UTC bert.verwoerd
@ 2006-03-11 12:49 ` dl8bcu
  2006-03-11 20:28 ` ARC/UTC thursday
  1 sibling, 0 replies; 3+ messages in thread
From: dl8bcu @ 2006-03-11 12:49 UTC (permalink / raw)


On Sat, Mar 11, 2006 at 10:30:11AM +0100, Bert Verwoerd wrote:
> Hello,
> 
> Last week I've installed Debian on an AlphaStation, but with a mistake 
> about the time. There must be a place where you can switch ARC or/and 
> UTC on/off. But where? The date is now 03-11-2054, and that seem so silly..

Problem is, many clock-chips only count years as two digits, not four. Thus
you have to define a starting year (the 'epoch', popular values are 1952, 
1970, 2000). But when you program your clock using one epoch and read it using 
another, you are time-warped to the wrong year. 

Guessing from your date, your clock was programmed assuming 1952 and read
using 2000. (1952 + 54 == 2006, 2000 + 54 == 2054)

Assuming you are not dual-booting into some other operating system, you 
should just reprogram your clock with your current kernels opinion of epoch.
Otherwise you would have to tell your kernel that other OS's opinion :-)

man hwclock (esp: --get/setepoch , --epoch, --systohc)

UTC correction is another matter, it's the difference _in hours_ from local
time to UTC (universal time coordinated, 'world-time'). I would recommend
setting the hardware clock to UTC. This saves you from adjusting the clock 
twice a year for daylight saving time. The Kernel's internal clock runs in
UTC anyways.


Hope this helps,
Thorsten

 
> Grtz,
> 
> Bert
> 
> _______________________________________________
> axp-list mailing list
> axp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/axp-list
> 

-- 
| Thorsten Kranzkowski        Internet: dl8bcu at dl8bcu.de                      |
| Mobile: ++49 170 1876134       Snail: Kiebitzstr. 14, 49324 Melle, Germany  |
| Ampr: dl8bcu at db0lj.#rpl.deu.eu, dl8bcu at marvin.dl8bcu.ampr.org [44.130.8.19] |



^ permalink raw reply	[flat|nested] 3+ messages in thread

* ARC/UTC
  2006-03-11  9:30 ARC/UTC bert.verwoerd
  2006-03-11 12:49 ` ARC/UTC dl8bcu
@ 2006-03-11 20:28 ` thursday
  1 sibling, 0 replies; 3+ messages in thread
From: thursday @ 2006-03-11 20:28 UTC (permalink / raw)


On Sat, 2006-03-11 at 10:30 +0100, Bert Verwoerd wrote:
> Hello,
> 
> Last week I've installed Debian on an AlphaStation, but with a mistake 
> about the time. There must be a place where you can switch ARC or/and 
> UTC on/off. But where? The date is now 03-11-2054, and that seem so silly..
> 
> Grtz,
> 
> Bert
> 
> _______________________________________________
> axp-list mailing list
> axp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/axp-list

Dear Bert,

Some Alphas you can change the date in the console with the "date"
command.  If you type date and the console returns a date, then you can
use this command.  Use help date to get the command format.

The year 2054 date is an artifact of running Tru64, which whacks the
clock every time it boots.

good luck

jon norstog 



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-03-11 20:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-11  9:30 ARC/UTC bert.verwoerd
2006-03-11 12:49 ` ARC/UTC dl8bcu
2006-03-11 20:28 ` ARC/UTC thursday

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox