* Please help: CMOS clock causing problems
@ 2000-07-06 4:00 Neoklis
2000-07-06 4:00 ` Hugo Haas
2000-07-08 4:00 ` Neoklis
0 siblings, 2 replies; 3+ messages in thread
From: Neoklis @ 2000-07-06 4:00 UTC (permalink / raw)
Hello,
The CMOS clock is giving the wrong time intermittently and is causing
occasional hung-ups of the boot process.
I have tried a lot of tests and I have spotted the following symptoms:
1) After power-on or reboot and log-in, the system time occasionally
shows Nov 20 19:19:15 2256. This is I think the maximum limit of the
CMOS clock. The clock indication in the BIOS CMOS set-up though is
correct.
2) The clock --show --debug command sometimes reads the CMOS clock
correctly and sometimes reads Nov 20 19:19:15 2256. Also in one of
the debug messages it says that the CMOS clock output is 255:255:255.
3) The boot process sometimes freezes at the message "Setting up the
CMOS clock" and a hard reset is needed.
These problems are eratic and I fear this is a fault of the hardware.
It seems that the clock is keeping the correct time but an error occurs
when the time is read out.
If I am lucky, it may also be some fault in a system file but this is
unlikely. Any ideas and suggestions most welcome!
Thanking you in advance.
--
Regards
Neoklis
My (ex-Acorn) RiscOS Homepage: http://www.arcsite.de/hp/neoklis
Sent via Deja.com http://www.deja.com/
Before you buy.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Please help: CMOS clock causing problems
2000-07-06 4:00 Please help: CMOS clock causing problems Neoklis
@ 2000-07-06 4:00 ` Hugo Haas
2000-07-08 4:00 ` Neoklis
1 sibling, 0 replies; 3+ messages in thread
From: Hugo Haas @ 2000-07-06 4:00 UTC (permalink / raw)
In comp.os.linux.alpha, Neoklis wrote:
> The CMOS clock is giving the wrong time intermittently and is causing
> occasional hung-ups of the boot process.
[..]
> These problems are eratic and I fear this is a fault of the hardware.
> It seems that the clock is keeping the correct time but an error occurs
> when the time is read out.
>
> If I am lucky, it may also be some fault in a system file but this is
> unlikely. Any ideas and suggestions most welcome!
What kernel version are you using? I used to have similar problems with
a 2.0 but 2.2 solved that.
--
Hugo Haas - http://larve.net/people/hugo/
It might look like I'm doing nothing, but at the cellular level I'm really
quite busy.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Please help: CMOS clock causing problems
2000-07-06 4:00 Please help: CMOS clock causing problems Neoklis
2000-07-06 4:00 ` Hugo Haas
@ 2000-07-08 4:00 ` Neoklis
1 sibling, 0 replies; 3+ messages in thread
From: Neoklis @ 2000-07-08 4:00 UTC (permalink / raw)
In article <8k2pji$f49$1@nnrp1.deja.com>,
Neoklis <neoklis@my-deja.com> wrote:
> Hello,
>
> The CMOS clock is giving the wrong time intermittently and is causing
> occasional hung-ups of the boot process.
>
Hi!
Thanks for the responses to this posting. I have carried out
more tests and I think I have now corrected the fault to some
extend and think it could be useful to metion them here.
Originally the CMOS clock was changing its set time
eratically from reboot to reboot. Also the "clock" command
was occasionally reading incorrectly as I described. I used
hwclock --debug --show and noticed that a very large
correction factor was being used for clock drift. I looked
into SuSE 6.3 AXP /sbin/init.d/boot script and found that it uses
the "clock" command to set system time and adjust the CMOS clock.
Because the adjustment factor was so large, the RTC was changed
wildly on each reboot.
I corrected this problem by removing /etc/adjtime and setting the
RTC from the BIOS. I also added some tests in the boot script to
check that the year in the system time is not 2256 after the "clock"
commands. So far there are no more clock problems during boot-up
although hwclock still occasionally reads incorrectly when run from
the console. I assume that this is some glitch or conflict after
boot-up is complete, as "clock" reads correctly when invoked by
sbin/init.d/boot. I will try the latest hwclock version and will
also replace the "clock" command with "hwclock" in the boot script
as is the case in SuSE 6.4 .
I don't really know how such a huge adjustment factor was arrived at
but I think hwclock could incorporate some "sanity checking" to avoid
entering unrealistic adjustment factors in /etc/adjtime.
Thanks again!
--
Regards
Neoklis
My (ex-Acorn) RiscOS Homepage: http://www.arcsite.de/hp/neoklis
Sent via Deja.com http://www.deja.com/
Before you buy.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-07-08 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-06 4:00 Please help: CMOS clock causing problems Neoklis
2000-07-06 4:00 ` Hugo Haas
2000-07-08 4:00 ` Neoklis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox