Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: setting date with RTC support
Date: Tue, 24 Oct 2000 16:42:45 -0600	[thread overview]
Message-ID: <20001024164245.A2599@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <39F5A663.F894D9@ekkinc.com>; from Ken Siersma on Tue, Oct 24, 2000 at 03:10:27PM +0000

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




  reply	other threads:[~2000-10-24 22:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-24 15:10 setting date with RTC support Ken Siersma
2000-10-24 22:42 ` Michal Jaegermann [this message]
2000-10-25  2:36 ` Stephen Degler
read-only archive

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