Stelios Kyriacou | 3 Aug 2004 23:51

Weird behavior of EFI shell date command


A few weeks ago  some of the ia64 itanium 2 nodes came up with a totally screwed up date  (year 1936):
Thu Jul 16 14:27:58 EDT 1936
When i try to fix it using EFI shell i get the following error:
Shell> date
RTC : Invalid time/date field parameter

One way around this problem was to reset the CMOS by disconnecting the battery -- but it is somwhat painful to
do it since the nodes are not in the same building as my office. 

Is there an other way to fix the hardware clock with EFI or with any other method?

Thanks a lot in advance
Stelios
Martin Pool | 4 Aug 2004 00:37
Favicon
Gravatar

Re: Weird behavior of EFI shell date command

On  3 Aug 2004, Stelios Kyriacou <moderator@...> wrote:
> 
> A few weeks ago  some of the ia64 itanium 2 nodes came up with a totally screwed up date  (year 1936):
> Thu Jul 16 14:27:58 EDT 1936
> When i try to fix it using EFI shell i get the following error:
> Shell> date
> RTC : Invalid time/date field parameter

> One way around this problem was to reset the CMOS by disconnecting
> the battery -- but it is somwhat painful to do it since the nodes are
> not in the same building as my office.

> Is there an other way to fix the hardware clock with EFI or with any
> other method?

You can do this from Linux:

  sudo /sbin/hwclock --set --date "08/04/2000 08:33:25"

or you can try setting it through the BMC monitor, if your machine has
an option for that.

--

-- 
Martin
Someone | 7 Jan 2005 09:31

Re: Weird behavior of EFI shell date command


How abt changing the date during boot up?

Gmane