* Format of time/date in cmos clock??
@ 2000-10-24 4:00 Neoklis
2000-10-24 4:00 ` JJ
0 siblings, 1 reply; 2+ messages in thread
From: Neoklis @ 2000-10-24 4:00 UTC (permalink / raw)
Hi!
I would like to learn in what format the cmos clock holds the time:
Is it in seconds since the epoch or in month/day/year hour/mins etc?
The problem I have is trying to dual-boot my UP1000 with FreeBSD and
Alpha Linux installed on separate disks, with FreeBSD booted directly
by SRM and Linux by loading AlphaBIOS from a floppy, since I still
have SuSE 6.3 which was installed under the original AlphaBIOS firm-
ware.
When I boot into FreeBSD, it seems to set the date to July 17, which
is the release date of FreeBSD 4.1, after a warning at boot time about
preposterous clock chip date. When I boot into Linux, I find the year
shifted to 2080, while the date seems to stay the same. I presume that
FreeBSD alters the cmos clock at boot time but I don't know how.
Another point is, can I read/set the cmos clock from the SRM console
and how? This might help resolve this problem, I hope!
Thanks in advance!
--
Regards
Neoklis Kyriazis
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Format of time/date in cmos clock??
2000-10-24 4:00 Format of time/date in cmos clock?? Neoklis
@ 2000-10-24 4:00 ` JJ
0 siblings, 0 replies; 2+ messages in thread
From: JJ @ 2000-10-24 4:00 UTC (permalink / raw)
You have this problem because SRM and Alphabios store the year in different
formats in cmos. It wasn't bad till they also removed the "date" command
from SRM console so you could not reset the time when it gets corrupted..
like when you run the ECU or RCU from SRM which invokes alphabios.
Jumpstart 1.1 checks/fixes the date as part of it setup.
to see if the date command is in your firmware, just type "date" at the
"srm" prompt >>>
JJ
Neoklis <neoklis@my-deja.com> wrote in message
news:Pine.LNX.4.21.0010240903440.406-100000@UP1000.home...
> Hi!
>
> I would like to learn in what format the cmos clock holds the time:
> Is it in seconds since the epoch or in month/day/year hour/mins etc?
> The problem I have is trying to dual-boot my UP1000 with FreeBSD and
> Alpha Linux installed on separate disks, with FreeBSD booted directly
> by SRM and Linux by loading AlphaBIOS from a floppy, since I still
> have SuSE 6.3 which was installed under the original AlphaBIOS firm-
> ware.
>
> When I boot into FreeBSD, it seems to set the date to July 17, which
> is the release date of FreeBSD 4.1, after a warning at boot time about
> preposterous clock chip date. When I boot into Linux, I find the year
> shifted to 2080, while the date seems to stay the same. I presume that
> FreeBSD alters the cmos clock at boot time but I don't know how.
>
> Another point is, can I read/set the cmos clock from the SRM console
> and how? This might help resolve this problem, I hope!
>
> Thanks in advance!
>
> --
> Regards
>
> Neoklis Kyriazis
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-10-24 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-24 4:00 Format of time/date in cmos clock?? Neoklis
2000-10-24 4:00 ` JJ
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox