Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* setting date with RTC support
@ 2000-10-24 15:10 Ken Siersma
  2000-10-24 22:42 ` Michal Jaegermann
  2000-10-25  2:36 ` Stephen Degler
  0 siblings, 2 replies; 3+ messages in thread
From: Ken Siersma @ 2000-10-24 15:10 UTC (permalink / raw)
  To: axp-list

Hello,
Have two Alpha processors, and did not have RTC support in the kernel
previously.  Now that I do, the date gets set to today's date 2052 on
boot.  How do I correct this?

--
Ken Siersma, Software Engineer
EKK, Inc.
2065 East W. Maple Road Suite C309
Walled Lake, Michigan, 48390  USA
phone: (248) 624-9957
fax: (248) 624-7158
http://www.ekkinc.com






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

* Re: setting date with RTC support
  2000-10-24 15:10 setting date with RTC support Ken Siersma
@ 2000-10-24 22:42 ` Michal Jaegermann
  2000-10-25  2:36 ` Stephen Degler
  1 sibling, 0 replies; 3+ messages in thread
From: Michal Jaegermann @ 2000-10-24 22:42 UTC (permalink / raw)
  To: axp-list

On Tue, Oct 24, 2000 at 03:10:27PM +0000, Ken Siersma wrote:
> Hello,
> Have two Alpha processors, and did not have RTC support in the kernel
> previously.  Now that I do, the date gets set to today's date 2052 on
> boot.  How do I correct this?

If you do not need RTC support maybe the simplest way would be to
configure your kernel without RTC?  If you do need that for some
other reasons then typing 'hwclock --help' brings, among other things,
this:

Options:
....
  --directisa   access the ISA bus directly instead of /dev/rtc
  --badyear     ignore rtc's year because the bios is broken
  --date        specifies the time to which to set the hardware clock
  --epoch=year  specifies the year which is the beginning of the
                hardware clock's epoch value
  --jensen, --arc, --srm, --funky-toy
                tell hwclock the type of alpha you have (see hwclock(8))

Maybe something from here, like '--badyear', would solve your problem?

  Michal




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

* Re: setting date with RTC support
  2000-10-24 15:10 setting date with RTC support Ken Siersma
  2000-10-24 22:42 ` Michal Jaegermann
@ 2000-10-25  2:36 ` Stephen Degler
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Degler @ 2000-10-25  2:36 UTC (permalink / raw)
  To: axp-list

Hi,

1.  The fix for me was --directisa
2.  Note the the help output is wrong on RH6.2 (util-linux-2.10f-7)
    --srm doesn't seem to work but -S does.

skd

On Tue, Oct 24, 2000 at 03:10:27PM +0000, Ken Siersma wrote:
> Hello,
> Have two Alpha processors, and did not have RTC support in the kernel
> previously.  Now that I do, the date gets set to today's date 2052 on
> boot.  How do I correct this?
> 
> --
> Ken Siersma, Software Engineer
> EKK, Inc.
> 2065 East W. Maple Road Suite C309
> Walled Lake, Michigan, 48390  USA
> phone: (248) 624-9957
> fax: (248) 624-7158
> http://www.ekkinc.com
> 
> 
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list




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

end of thread, other threads:[~2000-10-25  2:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-24 15:10 setting date with RTC support Ken Siersma
2000-10-24 22:42 ` Michal Jaegermann
2000-10-25  2:36 ` Stephen Degler

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