Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Setting time doesn't stick
@ 1996-08-13 23:46 Tim Barthel
  0 siblings, 0 replies; 9+ messages in thread
From: Tim Barthel @ 1996-08-13 23:46 UTC (permalink / raw)


I just received a UDB. After I finally tracked down the way to set the 
timezone, I set about setting the time using the control panel. 
Unfortunately, my time setting is lost when I reboot the machine. I 
have RH 3.03. Thanks.

Tim B.
topcat@ns.net

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: Setting time doesn't stick
       [not found] <321113C8.3985@ns.net>
@ 1996-08-14 13:10 ` Erik Troan
  0 siblings, 0 replies; 9+ messages in thread
From: Erik Troan @ 1996-08-14 13:10 UTC (permalink / raw)


On Tue, 13 Aug 1996, Tim Barthel wrote:

> I just received a UDB. After I finally tracked down the way to set the 
> timezone, I set about setting the time using the control panel. 
> Unfortunately, my time setting is lost when I reboot the machine. I 
> have RH 3.03. Thanks.

After setting the time, try runnig "/sbin/clock -Aw"

Erik

-------------------------------------------------------------------------------
   Always hoped that I'd be an apostle. Knew that I would make it if I tried.
     Then when we retire we can write the gospels so they'll all talk about
       us when we've die. - "The Last Supper" from Jesus Christ Superstar
|   Erik Troan   =   http://sunsite.unc.edu/ewt/   =   ewt@sunsite.unc.edu    |

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: Setting time doesn't stick
@ 1996-08-14 22:39 Tim Barthel
  0 siblings, 0 replies; 9+ messages in thread
From: Tim Barthel @ 1996-08-14 22:39 UTC (permalink / raw)


Michal Jaegermann wrote:
> 
> >
> > I just received a UDB. After I finally tracked down the way to set the
> > timezone, I set about setting the time using the control panel.
> 
> This is not UDB but other Alpha machine.  After some experiments I found
> that in a system setup I have to pick up "Use ARC time", or some
> similar.  This is still before anything at all boots. Then everything
> works ok.
> 
>   --mj

Okay, this sounds like the right idea because the ARC console does 
seem to maintain the time but how? Thanks again.

Tim B.
topcat@ns.net

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: Setting time doesn't stick
@ 1996-08-14 22:44 Tim Barthel
  0 siblings, 0 replies; 9+ messages in thread
From: Tim Barthel @ 1996-08-14 22:44 UTC (permalink / raw)


Erik Troan wrote:
> 
> On Tue, 13 Aug 1996, Tim Barthel wrote:
> 
> > I just received a UDB. After I finally tracked down the way to set the
> > timezone, I set about setting the time using the control panel.
> > Unfortunately, my time setting is lost when I reboot the machine. I
> > have RH 3.03. Thanks.
> 
> After setting the time, try runnig "/sbin/clock -Aw"
> 

Well, thanks for the idea but this command didn't seem to help the 
situation. Do you have any other ideas? Thanks.

Tim B.
topcat@ns.net

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: Setting time doesn't stick
       [not found] <321256BA.3913@ns.net>
@ 1996-08-15 12:51 ` Erik Troan
  1996-08-15 15:22 ` jestabro
  1 sibling, 0 replies; 9+ messages in thread
From: Erik Troan @ 1996-08-15 12:51 UTC (permalink / raw)


On Wed, 14 Aug 1996, Tim Barthel wrote:

> > > I just received a UDB. After I finally tracked down the way to set the
> > > timezone, I set about setting the time using the control panel.
> > > Unfortunately, my time setting is lost when I reboot the machine. I
> > > have RH 3.03. Thanks.
> > 
> > After setting the time, try runnig "/sbin/clock -Aw"
> > 
> 
> Well, thanks for the idea but this command didn't seem to help the 
> situation. Do you have any other ideas? Thanks.

What time are you getting? After you set the time in the control-panel,
does 'date' at the command line do something sane?

Erik

-------------------------------------------------------------------------------
   Always hoped that I'd be an apostle. Knew that I would make it if I tried.
     Then when we retire we can write the gospels so they'll all talk about
       us when we've die. - "The Last Supper" from Jesus Christ Superstar
|   Erik Troan   =   http://sunsite.unc.edu/ewt/   =   ewt@sunsite.unc.edu    |

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: Setting time doesn't stick
       [not found] <Pine.LNX.3.93.960815085114.1325B-100000@redhat.com>
@ 1996-08-15 15:12 ` Jeffrey M. Odom
  0 siblings, 0 replies; 9+ messages in thread
From: Jeffrey M. Odom @ 1996-08-15 15:12 UTC (permalink / raw)


On Wed, 14 Aug 1996, Tim Barthel wrote:
 
> > > I just received a UDB. After I finally tracked down the way to set the
> > > timezone, I set about setting the time using the control panel.
> > > Unfortunately, my time setting is lost when I reboot the machine. I
> > > have RH 3.03. Thanks.
> > 
> > After setting the time, try runnig "/sbin/clock -Aw"
> > 
> 
> Well, thanks for the idea but this command didn't seem to help the 
> situation. Do you have any other ideas? Thanks.

I had the same problem.  The problem is that on bootup, init (or rather
rc.sysinit) looks at the file /etc/sysconfig/clock to see how to configure
the clock.  The default I belive is CLOCKMODE="local".  Change that to
CLOCKMODE="ARC" and reboot, and it *should* set the clock to the ARC's
time.

Jeffrey M. Odom

"Evil will always win,		Mailing address: zeus@jhu.edu
  because Good is dumb"

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: Setting time doesn't stick
       [not found] <321256BA.3913@ns.net>
  1996-08-15 12:51 ` Erik Troan
@ 1996-08-15 15:22 ` jestabro
  1 sibling, 0 replies; 9+ messages in thread
From: jestabro @ 1996-08-15 15:22 UTC (permalink / raw)


>>> Tim Barthel said:
> Erik Troan wrote:
> > 
> > On Tue, 13 Aug 1996, Tim Barthel wrote:
> > 
> > > I just received a UDB. After I finally tracked down the way to set the
> > > timezone, I set about setting the time using the control panel.
> > > Unfortunately, my time setting is lost when I reboot the machine. I
> > > have RH 3.03. Thanks.
> > 
> > After setting the time, try runnig "/sbin/clock -Aw"
> > 
> 
> Well, thanks for the idea but this command didn't seem to help the 
> situation. Do you have any other ideas? Thanks.

The file /etc/sysconfig/clock, for a system run from ARC console, needs to
contain the line:

CLOCKMODE="ARC"

This is used by the rc.d/rc.sysinit script for parameterizing the "clock"
call when reading from the hardware and setting the kernel time.

To ensure that a changed time is stored to the hardware in the appropriate
format, "clock -A -w" will write the kernel time to the hardware in ARC
console format. Or, use the ARC console facilities to change the hardware
time.

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                         Alpha Migration Tools - LINUX Project
Digital Equipment Corp.                 (508) 952-4202 or (DTN) 227-4202
151 Taylor Street - TAY1-2              enet: jestabro@amt.tay1.dec.com
Littleton, MA 01460-1407                decnet: tallis::jestabro
-------------------------------------------------------------------------------

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: Setting time doesn't stick
@ 1996-08-16  8:47 Tim Barthel
  0 siblings, 0 replies; 9+ messages in thread
From: Tim Barthel @ 1996-08-16  8:47 UTC (permalink / raw)


Jeffrey M. Odom wrote:
> 
> On Wed, 14 Aug 1996, Tim Barthel wrote:
> 
> > > > I just received a UDB. After I finally tracked down the way to set the
> > > > timezone, I set about setting the time using the control panel.
> > > > Unfortunately, my time setting is lost when I reboot the machine. I
> > > > have RH 3.03. Thanks.
> > >
> > > After setting the time, try runnig "/sbin/clock -Aw"
> > >
> >
> > Well, thanks for the idea but this command didn't seem to help the
> > situation. Do you have any other ideas? Thanks.
> 
> I had the same problem.  The problem is that on bootup, init (or rather
> rc.sysinit) looks at the file /etc/sysconfig/clock to see how to configure
> the clock.  The default I belive is CLOCKMODE="local".  Change that to
> CLOCKMODE="ARC" and reboot, and it *should* set the clock to the ARC's
> time.
> 
> Jeffrey M. Odom
> 

Thanks Jeffrey, that's the ticket. Works like a charm now. And thanks 
to all those who replied.

Tim B.
topcat@ns.net

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: Setting time doesn't stick
       [not found] <321435AA.6D0F@ns.net>
@ 1996-08-16 16:31 ` Scott D. Webster
  0 siblings, 0 replies; 9+ messages in thread
From: Scott D. Webster @ 1996-08-16 16:31 UTC (permalink / raw)


On Fri, 16 Aug 1996, Tim Barthel wrote:

> Jeffrey M. Odom wrote:
> > 
> > I had the same problem.  The problem is that on bootup, init (or rather
> > rc.sysinit) looks at the file /etc/sysconfig/clock to see how to configure
> > the clock.  The default I belive is CLOCKMODE="local".  Change that to
> > CLOCKMODE="ARC" and reboot, and it *should* set the clock to the ARC's
> > time.
> 
> Thanks Jeffrey, that's the ticket. Works like a charm now. And thanks 
> to all those who replied.

	Has anyone come up with a good way to keep the clock set
accurately?  If I use 'clock -Aw'  I have to reset the clock in the ARC
next time I reboot.  I'd like to have some automated (or semi-automated)
method of keeping the system time accurate.  
	I've been running 'getdate' as a cron job.  It has an '-adjust'
option that is supposed to slowly adjust the clock so as not to freak ou
the system.  It never seems to catch up to the time creep.

	BTW - I have set "ARC" in /etc/sysconfig/clock.

Scott D. Webster            I had far rather walk, as I do, in daily terror 
Senior, Computer Science    of eternity, than feel that this was only a 
William Paterson College    children's game in which all of the contestants 
http://www.wilpaterson.edu  would get equally worthless prizes in the end.
/home/students/webster/index.htm                             - T. S. Elliot

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

end of thread, other threads:[~1996-08-16 16:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <321113C8.3985@ns.net>
1996-08-14 13:10 ` Setting time doesn't stick Erik Troan
     [not found] <321435AA.6D0F@ns.net>
1996-08-16 16:31 ` Scott D. Webster
1996-08-16  8:47 Tim Barthel
     [not found] <Pine.LNX.3.93.960815085114.1325B-100000@redhat.com>
1996-08-15 15:12 ` Jeffrey M. Odom
     [not found] <321256BA.3913@ns.net>
1996-08-15 12:51 ` Erik Troan
1996-08-15 15:22 ` jestabro
  -- strict thread matches above, loose matches on Subject: below --
1996-08-14 22:44 Tim Barthel
1996-08-14 22:39 Tim Barthel
1996-08-13 23:46 Tim Barthel

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