* MORE fun with the RTC!
@ 1996-08-12 19:29 Miquel van Smoorenburg
0 siblings, 0 replies; 5+ messages in thread
From: Miquel van Smoorenburg @ 1996-08-12 19:29 UTC (permalink / raw)
.. I just wrote on this list that using /dev/rtc with clock(1) gives
strange results.
Well I've found out what happens now:
It stops the internal kernel clock! :)
[yar:root](~)> date
Mon Aug 12 23:25:33 MET DST 1996
[yar:root](~)> date
Mon Aug 12 23:25:33 MET DST 1996
[yar:root](~)> date
Mon Aug 12 23:25:33 MET DST 1996
[yar:root](~)> date
Mon Aug 12 23:25:33 MET DST 1996
[yar:root](~)> date
Mon Aug 12 23:25:33 MET DST 1996
Ehm....
This is real fun!
shutdown -r now
beeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeep [endless] ..
Probably a cli()/sti() problem or similar ?
Mike.
--
Miquel van | Cistron Internet Services -- Alphen aan den Rijn.
Smoorenburg, | mailto:info@cistron.nl http://www.cistron.nl/
miquels@het.net | Tel: +31-172-419445 (Voice) 430979 (Fax) 442580 (Data)
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: MORE fun with the RTC!
@ 1996-08-12 19:57 David Mosberger
1996-08-12 20:14 ` Miquel van Smoorenburg
0 siblings, 1 reply; 5+ messages in thread
From: David Mosberger @ 1996-08-12 19:57 UTC (permalink / raw)
Why don't you simply use the patches that come, for example, with the
Red Hat util-linux? You may have to scan the mailing list archive for
more recent patches, but there surely must be more fun things to do than
fixing clock again.
--david
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: MORE fun with the RTC!
1996-08-12 19:57 David Mosberger
@ 1996-08-12 20:14 ` Miquel van Smoorenburg
0 siblings, 0 replies; 5+ messages in thread
From: Miquel van Smoorenburg @ 1996-08-12 20:14 UTC (permalink / raw)
You (David Mosberger) wrote:
> Why don't you simply use the patches that come, for example, with the
> Red Hat util-linux? You may have to scan the mailing list archive for
> more recent patches, but there surely must be more fun things to do than
> fixing clock again.
Because the RedHat clock patches do not work on the Jensen I have. So
I though it would be a good idea to use /dev/rtc, and a lot cleaner....
Mike.
--
Miquel van | Cistron Internet Services -- Alphen aan den Rijn.
Smoorenburg, | mailto:info@cistron.nl http://www.cistron.nl/
miquels@het.net | Tel: +31-172-419445 (Voice) 430979 (Fax) 442580 (Data)
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: MORE fun with the RTC!
@ 1996-08-12 20:33 David Mosberger
0 siblings, 0 replies; 5+ messages in thread
From: David Mosberger @ 1996-08-12 20:33 UTC (permalink / raw)
Miquel> You (David Mosberger) wrote:
Miquel> > Why don't you simply use the patches that come, for example, with the
Miquel> > Red Hat util-linux? You may have to scan the mailing list archive for
Miquel> > more recent patches, but there surely must be more fun things to do than
Miquel> > fixing clock again.
Miquel> Because the RedHat clock patches do not work on the Jensen I have. So
Miquel> I though it would be a good idea to use /dev/rtc, and a lot cleaner....
I wasn't sure whether Red Hat 3.0.3 worked on the Jensen. If not,
there were some mails (and patches) on this subject. The patches
should all be present in util-linux-2.5axp-3.patch.gz in my glibc
directory (ftp.azstarnet.com:/pub/linux/axp/glibc) but since I don't
have such a box, they haven't been tested on a Jensen. Could you give
it a try and see how that doess?
--dvaid
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: MORE fun with the RTC!
[not found] <199608122033.NAA29641@web.azstarnet.com>
@ 1996-08-13 13:03 ` Miquel van Smoorenburg
0 siblings, 0 replies; 5+ messages in thread
From: Miquel van Smoorenburg @ 1996-08-13 13:03 UTC (permalink / raw)
You (David Mosberger) wrote:
> Miquel> Because the RedHat clock patches do not work on the Jensen I have. So
> Miquel> I though it would be a good idea to use /dev/rtc, and a lot cleaner.
>
> I wasn't sure whether Red Hat 3.0.3 worked on the Jensen.
Oh it works allright (it's fun bootstrapping it though - no MILO, and you
can't boot from floppy from the SRM console).
It's _just_ the clock program that doesn't work.
> If not,
> there were some mails (and patches) on this subject. The patches
> should all be present in util-linux-2.5axp-3.patch.gz in my glibc
> directory (ftp.azstarnet.com:/pub/linux/axp/glibc) but since I don't
> have such a box, they haven't been tested on a Jensen. Could you give
> it a try and see how that doess?
I've tested it but it doesn't work - clock -r (read) gives back a time
like 2356 (now I know how buck Rogers felt) and clock -s (set) doesn't
work at all. But hey, the kernel clock keeps running at least :)
So I still don't know how to get this to work. I'll hack away at it
(though it seems a minor inconvenience, I hate it when the clock isn't
right). linux/arch/alpha/kernel/time.c does work so that should provide me
with enough info to fix it.
Mike.
--
Miquel van | Cistron Internet Services -- Alphen aan den Rijn.
Smoorenburg, | mailto:info@cistron.nl http://www.cistron.nl/
miquels@het.net | Tel: +31-172-419445 (Voice) 430979 (Fax) 442580 (Data)
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1996-08-13 13:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-08-12 19:29 MORE fun with the RTC! Miquel van Smoorenburg
-- strict thread matches above, loose matches on Subject: below --
1996-08-12 19:57 David Mosberger
1996-08-12 20:14 ` Miquel van Smoorenburg
1996-08-12 20:33 David Mosberger
[not found] <199608122033.NAA29641@web.azstarnet.com>
1996-08-13 13:03 ` Miquel van Smoorenburg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox