Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: jestabro@amt.tay1.dec.com <jestabro@amt.tay1.dec.com>
Subject: Re: Wrong date with RHL4.1 on PC164
Date: Tue, 29 Apr 1997 10:57:59 -0400	[thread overview]
Message-ID: <199704291457.KAA08124@linux03.amt.tay1.dec.com> (raw)
In-Reply-To: <3365FAD4.167EB0E7@iis.fhg.de>

>>> Stephan Schroepfer said:
> After installation of RHL4.1 on a PC164-based machine 'date'
> reports 'year 2017' (the rest of the date is o.k., during
> installation even the year was right).

Sounds like you didn't tell the installation script that you were booting
from ARC console. Change /etc/sysconfig/clock to: CLOCKMODE="ARC".

> 
> Beeing curious whats happening during startup I found a call
> to 'clock' somewhere in the /etc/rc.d/ files.
> Calling clock the first few times from the shell I was able to
> get the right date with some command line options I can't remeber.
> But now (after the first few calls) I only 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".

If not, that could be a problem; let me know if such is the case. Also,
you could try the work-aound by doing:

	ln -s EB164 /etc/alpha_systype

which should allow "clock" to do the right thing.

BTW, if booting from ARC console, do "clock -r -A" to read the hardware
TOY clock, and "clock -w -A" to write it.

Note also that the standard "clock" command has a problem with the clock
chip implementation on the PC164; look at the axp-list archives for a late
November posting by me about a fix for it, but don't try to use the "clock"
binary that's part of the posting unless you're running RH 4.0, as it won't
work (for some reason) under RH 4.1... :-(

Good luck.

--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: 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-04-29 14:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-04-29 13:42 Wrong date with RHL4.1 on PC164 Stephan Schroepfer
1997-04-29 14:57 ` jestabro [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-04-30  9:00 Stephan Schroepfer
1997-05-06 10:22 ` Christoph Franzen
     [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
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