* setting correct time on jensen
@ 1998-07-07 15:59 Buda Sandor Attila
1998-07-07 19:09 ` Martin Ostermann
0 siblings, 1 reply; 4+ messages in thread
From: Buda Sandor Attila @ 1998-07-07 15:59 UTC (permalink / raw)
To: axp-list
hi!
Please tell me how can I set the correct time under redhat 5.1
In timeconfig I tried hardware -> GMT and normal
But that made Year 1094
Than i tried "startup through ARC console"
That was better ... 1984 :-)
Maybe the arc console time setting is incorrect ?
In NT mode i could set correctly ,but in osf/1 mode i dont know how to do
that.
Nyasi
nyasi@sun.bzlogi.hu
http://sun.bzlogi.hu/~nyasi
Broadcast message from God : Shutdown in one million year.
And no Backup was made ...
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: setting correct time on jensen
1998-07-07 15:59 setting correct time on jensen Buda Sandor Attila
@ 1998-07-07 19:09 ` Martin Ostermann
1998-07-08 14:56 ` Buda Sandor Attila
0 siblings, 1 reply; 4+ messages in thread
From: Martin Ostermann @ 1998-07-07 19:09 UTC (permalink / raw)
To: Buda Sandor Attila; +Cc: axp-list
> Please tell me how can I set the correct time under redhat 5.1
The clock package supplied with RedHat-5.1 is still brocken in
respect to the Jensen. Either you could grab an replacement
from my web page, or use use the following patch on the
clock-1.1-2.src.rpm.
HTH, Martin
PS.: It's basically the same error present since redhat 4.0,
I reported it many times, but I gave up on hoping that it
will be ever fixed in the release.
diff -ubr clock-1.1/clock-alpha.c clock-1.2/clock-alpha.c
--- clock-1.1/clock-alpha.c Thu Oct 9 17:29:15 1997
+++ clock-1.2/clock-alpha.c Tue Jul 7 20:41:44 1998
@@ -138,14 +138,17 @@
* V1.4.3axp: ost@coments.rwth-aachen.de (Martin Ostermann)
* Wed May 22 1996, modified to support J option for the Jensen
* Reason: on a Jensen the RTC is at 0x170 instead of 0x70
+ *
+ * V1.4.4axp: ost@coments.rwth-aachen.de (Martin Ostermann)
+ * Tue July 7 1998, use DEV_PORT, fixed bugs for the Jensen
*/
-#define VERSION "1.4.3axp"
+#define VERSION "1.4.4axp"
-#undef USE_DEV_PORT
+#define USE_DEV_PORT
#ifdef USE_DEV_PORT
-# include <asm/fcntl.h>
+# include <fcntl.h>
#else
# include <asm/io.h>
#endif
@@ -297,7 +300,7 @@
save_control = cmos_read (11); /* tell the clock it's being set */
cmos_write (11, (save_control | 0x80));
save_freq_select = cmos_read (10); /* stop and reset prescaler */
- cmos_write (10, (save_freq_select | clockport));
+ cmos_write (10, (save_freq_select | 0x70));
cmos_write (0, tm->tm_sec);
cmos_write (2, tm->tm_min);
--
Martin Ostermann | DEC 2000/300, DECpc-150, Jensen tips:
Communication Networks | http://www.comnets.rwth-aachen.de/~ost
Aachen University of Technology | Linux/Alpha Hompage with FAQ:
Germany | http://www.azstarnet.com/~axplinux
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: setting correct time on jensen
1998-07-07 19:09 ` Martin Ostermann
@ 1998-07-08 14:56 ` Buda Sandor Attila
0 siblings, 0 replies; 4+ messages in thread
From: Buda Sandor Attila @ 1998-07-08 14:56 UTC (permalink / raw)
To: axp-list
On Tue, 7 Jul 1998, Martin Ostermann wrote:
> The clock package supplied with RedHat-5.1 is still brocken in
> respect to the Jensen. Either you could grab an replacement
> from my web page, or use use the following patch on the
> clock-1.1-2.src.rpm.
>
> HTH, Martin
>
> PS.: It's basically the same error present since redhat 4.0,
> I reported it many times, but I gave up on hoping that it
> will be ever fixed in the release.
Many thanx!
I downloaded your clock and it worked fine..
Nyasi
nyasi@sun.bzlogi.hu
http://sun.bzlogi.hu/~nyasi
Broadcast message from God : Shutdown in one million year.
And no Backup was made ...
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: setting correct time on jensen
@ 1999-10-08 12:28 Henry van der Vegt
0 siblings, 0 replies; 4+ messages in thread
From: Henry van der Vegt @ 1999-10-08 12:28 UTC (permalink / raw)
To: axp-list
Hello
Replying to a message of 7 jul 1998 but its stil actual !
I have Jensen AXP 150 with Redhat 5.2 .
I downloaded and rebuild the latest source clock-1.1-6.src.rpm for redhat
6.0 and so it might work now !
No I still can not set the system clock equel to CMOS clock, the time is
switching between clock -r Wed Nov 20 19:19:15 2176 and
Thu Sep 8 06:22:54 MET 1904
The only solution I do now is rdate -s ntp.tudelft.nl it works , but I
should be happy if the hardware clock works as it should be .
clock -v gives clock 1.4.3axp
Can I use Martin Ostermann's patch with my clock-1.1-6 , and how could
I implement this ??
Henry
.............................................................................
Delft University of Technology Henry van der Vegt
Dienst Technische Ondersteuning
Systemen voor Onderwijs en Onderzoek UNIX system support
Mekelweg 6 Tel. 015-2788512 ( +31152788512 )
2628 CD Delft Fax. 015-2786359 ( +31152786359 )
The Netherlands Email H.C.vanderVegt@DTO.TUDelft.nl
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-10-08 12:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-07 15:59 setting correct time on jensen Buda Sandor Attila
1998-07-07 19:09 ` Martin Ostermann
1998-07-08 14:56 ` Buda Sandor Attila
-- strict thread matches above, loose matches on Subject: below --
1999-10-08 12:28 Henry van der Vegt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox