* Re: CMOS set on SRM
2000-05-05 4:00 ` Ian Wilkinson
@ 2000-05-07 4:00 ` bubble
2000-05-08 4:00 ` jc loredo-osti
2000-05-07 4:00 ` JJ
2000-05-08 4:00 ` JJ
2 siblings, 1 reply; 7+ messages in thread
From: bubble @ 2000-05-07 4:00 UTC (permalink / raw)
Ian Wilkinson wrote:
>
> bubble <j.j.b.weinberg@hccnet.nl> wrote in message
> news:39151691.B3B41BC3@hccnet.nl...
> > Hello there,
> >
> > I need some help to set system time and date on srm console.
> > Because it seems linux get's it's timestamp from booting and reading the
> > cmos.
> > But my cmos seems to think that it's 2020. That isn't not to good to get
> > timestamps in your system that are from the future.
> >
> > I have tried to set the time using "set time 22:00:00" and date "set
> > date 05/05/00". But all that seems to do is add time and date to the
> > list shown when I do show *. But it has no effect on the cmos time and
> > date.
> > Thanks for your trouble
> >
>
> there are two commands the first is hwclock and the second is date,
> look at the man pages (man hwclock and man date) for these and if you can't
> work it out come back and ask again.
>
> Ian.
> --
> Are those my feet?
> - Father Jack
>
> Uptime at 1:35pm up 6 days, 23:54, 6 users,
Hi
Thanks for your reply
I used date --set=00:00:00 '+%T' and date --set=00/00/00 '+%D' to reset
it to the wright values.
See the ressetting to the wright values is my problem.
After I reboot or shutdown files like ioctl.save and the date are
changed back to 2020(year) "something".
So I asked around and looked and I got told that cmos is read for the
system time when linux boots.
So I need to change that and how do I change that in SRM is there an
envar setting which handles that.
Thanks for your trouble.
greetz
Jigal
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: CMOS set on SRM
2000-05-07 4:00 ` bubble
@ 2000-05-08 4:00 ` jc loredo-osti
0 siblings, 0 replies; 7+ messages in thread
From: jc loredo-osti @ 2000-05-08 4:00 UTC (permalink / raw)
does hwclock work in your system?. Maybe the problem is you need an`alpha-name'
valid for libc linked to
/etc/alpha_systype.
-j
------------------------
bubble wrote:
> Ian Wilkinson wrote:
>
> > there are two commands the first is hwclock and the second is date,
> > look at the man pages (man hwclock and man date) for these and if you can't
> > work it out come back and ask again.
> >
>
>
> I used date --set=00:00:00 '+%T' and date --set=00/00/00 '+%D' to reset
> it to the wright values.
> See the ressetting to the wright values is my problem.
> After I reboot or shutdown files like ioctl.save and the date are
> changed back to 2020(year) "something".
> So I asked around and looked and I got told that cmos is read for the
> system time when linux boots.
> So I need to change that and how do I change that in SRM is there an
> envar setting which handles that.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: CMOS set on SRM
2000-05-05 4:00 ` Ian Wilkinson
2000-05-07 4:00 ` bubble
@ 2000-05-07 4:00 ` JJ
2000-05-08 4:00 ` JJ
2 siblings, 0 replies; 7+ messages in thread
From: JJ @ 2000-05-07 4:00 UTC (permalink / raw)
In 1998 in their wisdom.. The firmware Eng.'s in looking for ways to reduce
code in flash, determined that the "set time" command (to set the toy clock
date and time). was not needed in SRM. This was because both VMS and UNIX
prompted for the date to be confirmed before continuing with an Installation
or update. This is something which should be added to the Linux installs.
The workaround for a Linux install, is after you enter fdisk to format the
disk, Type -
Alt F3 (I think- its one of them) and you will set another session, set the
date/time then ALT F6 (I think) gets the install screen back, continue with
the install.
on the other session you will have to look where sbin is and set the
complete path for the command, the structure of the install cd is a little
diff from normal.
JJ
Ian Wilkinson <null@null.co.uk> wrote in message
news:apdR4.488$16.22759@wards...
>
> bubble <j.j.b.weinberg@hccnet.nl> wrote in message
> news:39151691.B3B41BC3@hccnet.nl...
> > Hello there,
> >
> > I need some help to set system time and date on srm console.
> > Because it seems linux get's it's timestamp from booting and reading the
> > cmos.
> > But my cmos seems to think that it's 2020. That isn't not to good to get
> > timestamps in your system that are from the future.
> >
> > I have tried to set the time using "set time 22:00:00" and date "set
> > date 05/05/00". But all that seems to do is add time and date to the
> > list shown when I do show *. But it has no effect on the cmos time and
> > date.
> > Thanks for your trouble
> >
>
> there are two commands the first is hwclock and the second is date,
> look at the man pages (man hwclock and man date) for these and if you
can't
> work it out come back and ask again.
>
> Ian.
> --
> Are those my feet?
> - Father Jack
>
> Uptime at 1:35pm up 6 days, 23:54, 6 users,
>
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: CMOS set on SRM
2000-05-05 4:00 ` Ian Wilkinson
2000-05-07 4:00 ` bubble
2000-05-07 4:00 ` JJ
@ 2000-05-08 4:00 ` JJ
2 siblings, 0 replies; 7+ messages in thread
From: JJ @ 2000-05-08 4:00 UTC (permalink / raw)
Actually, what usually messes up the clock is switching between AphaBios and
SRM, AlphaBios stores the date/time in a different format than SRM, and
guess what.. they both store the date in the same cmos location...
JJ
Ian Wilkinson <null@null.co.uk> wrote in message
news:apdR4.488$16.22759@wards...
>
> bubble <j.j.b.weinberg@hccnet.nl> wrote in message
> news:39151691.B3B41BC3@hccnet.nl...
> > Hello there,
> >
> > I need some help to set system time and date on srm console.
> > Because it seems linux get's it's timestamp from booting and reading the
> > cmos.
> > But my cmos seems to think that it's 2020. That isn't not to good to get
> > timestamps in your system that are from the future.
> >
> > I have tried to set the time using "set time 22:00:00" and date "set
> > date 05/05/00". But all that seems to do is add time and date to the
> > list shown when I do show *. But it has no effect on the cmos time and
> > date.
> > Thanks for your trouble
> >
>
> there are two commands the first is hwclock and the second is date,
> look at the man pages (man hwclock and man date) for these and if you
can't
> work it out come back and ask again.
>
> Ian.
> --
> Are those my feet?
> - Father Jack
>
> Uptime at 1:35pm up 6 days, 23:54, 6 users,
>
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread