Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Christoph Franzen <Christoph_Franzen@outpost.fido.de>
Subject: Re: Wrong date with RHL4.1 on PC164
Date: Tue, 06 May 1997 12:22:25 +0200	[thread overview]
Message-ID: <958c8ecf273764ebd56e5effd1fd89f9.axp-list@archive.invalid> (raw)
In-Reply-To: <33670A44.41C67EA6@iis.fhg.de>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2740 bytes --]

A> jestabro@amt.tay1.dec.com wrote:
>>
>>>>> Stephan Schroepfer said:
>>>> After installation of RHL4.1 on a PC164-based machine 'date'
>>>> reports 'year 2017' (...)
>>
>> (...) Change /etc/sysconfig/clock to: CLOCKMODE="ARC".
>>
>>>> ... Calling clock (...) from the shell (...) I get a message
>>>> like 'missing I/O port address'.
>>
>> If it says: "clock: unable to get I/O port access", its probably
>> because you're not running as "root". If it says something else,
>> check that the output of "cat /proc/cpuinfo" has EB164 for the
>> value of "system type".
>> ...
>> Also, you could try the work-aound by doing:
>>         ln -s EB164 /etc/alpha_systype
>> which should allow "clock" to do the right thing.
>> ...
>> --Jay++

A> Hello Jay and the others out there:

A> Oh yes, I think there is a problem with 'clock' which cannot
A> be solved with Jay's 'ln -s' workaround alone.

A> Summary:
A>  - Patching /etc/sysconfig/clock according to
A>    Jay A Eastbrook's tip seemed to solve the problem
A>    of having a wrong date only temporary (until
A>    next reboot (from milo))
A>  - 'ln -s EB164 /etc/alpha_systype' - workaround
A>    (according to Jay A Eastbrook) seemed to get date
A>    right until next to next reboot (had to use reset
A>    button and after that things got even more weird)

A> Following text is a rewrite of some sort of commented manuscript
A> I made during my (somewhat frustrating) experiences with the
A> 'Wrong date with RHL4.1 on PC164' - problem

A> # logging in as root (I thought first settting the right date
A> # and then allow users to log in could be no error)
A> date                    : Sat Apr 29 19:46:51 2017
A> # (maybe Sat Apr 29 2017 will be really a saturday)
A> # '...2017' may serve as an alias in the following text as
A> # '...1997' will serve for the right date, I think '...2035'
A> # needs no further explanation
A> clock                   : ...2017
A> clock -r -A             : ...1997
A> grep type /proc/cpuinfo : system type : EB164

I've got a similar problem: setting the system clock of my Jensen with "clock
-r -A" does only work as long as I don't reboot. The ARC clock obviously is not
affected by the clock command.

I have to reset system time from the ARC console which is a bit annoying, I
have to shutdown, change OS type to NT, switch the machine off and back on, set
the clock, change the OS type back to OSF, switch off and on, and do this one
time more if I failed to calculate the right offset between ARC time and CET or
CEST which I occasionally do.

Is there any solution for my problem?

Viele Grüße, Christoph

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

  reply	other threads:[~1997-05-06 10:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-04-30  9:00 Wrong date with RHL4.1 on PC164 Stephan Schroepfer
1997-05-06 10:22 ` Christoph Franzen [this message]
     [not found] <MSGID_242=3A1000=2F22.156_466ce40c@Fido.DE>
1997-05-07  5:36 ` Christopher McCrory
1997-05-07  4:58   ` Michal Jaegermann
1997-05-07 15:27 ` Nikita Schmidt
  -- strict thread matches above, loose matches on Subject: below --
1997-04-29 13:42 Stephan Schroepfer
1997-04-29 14:57 ` jestabro
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