* setting the hardware clock
@ Charles Hallenbeck
` Adam Myrow
` Kerry Hoath
0 siblings, 2 replies; 12+ messages in thread
From: Charles Hallenbeck @ UTC (permalink / raw)
To: Speakup Distribution List
This is crazy, but it seems my HW clock refuses to be set. I
normally do not ever set it, since my shutdown procedure does
that for me, saving the system time to the hardware clock, and
for a few days that step has been hanging so my shutdown
procedure never runs to completion!!!
What can be happening? What are the commands I can run as root to
set the HW clock from a running system?
Thanks -- Chuck
--
The Moon is Waxing Gibbous (75% of Full)
So visit me at http://www.valstar.net/~hallenbeck
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: setting the hardware clock
setting the hardware clock Charles Hallenbeck
@ ` Adam Myrow
` Alex Snow
` Charles Hallenbeck
` Kerry Hoath
1 sibling, 2 replies; 12+ messages in thread
From: Adam Myrow @ UTC (permalink / raw)
To: speakup
If your clock quit setting and you've changed nothing, it's possible the
battery may be failing. Assuming you have RTC support in the kernel (most
stock kernels do and it's generally a good idea,) type "cat
/proc/drivers/rtc." It will give the time that is in the RTC and will
show the battery status plus a lot of other info.
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: setting the hardware clock
` Adam Myrow
@ ` Alex Snow
` Charles Hallenbeck
1 sibling, 0 replies; 12+ messages in thread
From: Alex Snow @ UTC (permalink / raw)
To: speakup
Or if you don't mind screwing with your bios settings just yank the battery.
Explorer has caused a general protection fault in module kernel32.dll. I'm
sick of Winblows!
----- Original Message -----
From: "Adam Myrow" <amyrow@midsouth.rr.com>
To: <speakup@braille.uwo.ca>
Sent: Tuesday, October 15, 2002 6:16 PM
Subject: Re: setting the hardware clock
> If your clock quit setting and you've changed nothing, it's possible the
> battery may be failing. Assuming you have RTC support in the kernel (most
> stock kernels do and it's generally a good idea,) type "cat
> /proc/drivers/rtc." It will give the time that is in the RTC and will
> show the battery status plus a lot of other info.
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: setting the hardware clock
` Adam Myrow
` Alex Snow
@ ` Charles Hallenbeck
` jwantz
1 sibling, 1 reply; 12+ messages in thread
From: Charles Hallenbeck @ UTC (permalink / raw)
To: speakup
Thanks, Adam.
That says the battery is okay. I have been installing new stuff
like made here, but no kernel changes or anything I can think of
that might affect writing to the clock.
The shutdown failure leaves the keyboard inoperative except for
the speakup review keys. Init has been asked to switch to
runlevel 0, processes are sent the term signal and then the kill
signal, the message about writing time to the hardware clock
appears, then nothing. And ctrl-alt-del is ineffective too at
that point. My sound card remains alive, my internet connection
remain active, and in fact incoming mail continues to arrive (I
have some sound files announcing that fact).
Very strange.
Chuck
On Tue, 15 Oct 2002, Adam Myrow wrote:
> If your clock quit setting and you've changed nothing, it's possible the
> battery may be failing. Assuming you have RTC support in the kernel (most
> stock kernels do and it's generally a good idea,) type "cat
> /proc/drivers/rtc." It will give the time that is in the RTC and will
> show the battery status plus a lot of other info.
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
--
The Moon is Waxing Gibbous (76% of Full)
So visit me at http://www.valstar.net/~hallenbeck
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: setting the hardware clock
` Charles Hallenbeck
@ ` jwantz
` Charles Hallenbeck
0 siblings, 1 reply; 12+ messages in thread
From: jwantz @ UTC (permalink / raw)
To: speakup
Hey Chuck,
Just try hwclock -w
Jim Wantz WB0TFK
On Tue, 15 Oct 2002, Charles Hallenbeck wrote:
> Thanks, Adam.
>
> That says the battery is okay. I have been installing new stuff
> like made here, but no kernel changes or anything I can think of
> that might affect writing to the clock.
> The shutdown failure leaves the keyboard inoperative except for
> the speakup review keys. Init has been asked to switch to
> runlevel 0, processes are sent the term signal and then the kill
> signal, the message about writing time to the hardware clock
> appears, then nothing. And ctrl-alt-del is ineffective too at
> that point. My sound card remains alive, my internet connection
> remain active, and in fact incoming mail continues to arrive (I
> have some sound files announcing that fact).
>
> Very strange.
>
> Chuck
>
>
> On Tue, 15 Oct 2002, Adam Myrow wrote:
>
> > If your clock quit setting and you've changed nothing, it's possible the
> > battery may be failing. Assuming you have RTC support in the kernel (most
> > stock kernels do and it's generally a good idea,) type "cat
> > /proc/drivers/rtc." It will give the time that is in the RTC and will
> > show the battery status plus a lot of other info.
> >
> >
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: setting the hardware clock
` jwantz
@ ` Charles Hallenbeck
` Ari Moisio
0 siblings, 1 reply; 12+ messages in thread
From: Charles Hallenbeck @ UTC (permalink / raw)
To: speakup
Same thing, Jim, "hwclock -w" hangs too.
On Wed, 16 Oct 2002 jwantz@babel.hpcc.noaa.gov wrote:
> Hey Chuck,
> Just try hwclock -w
>
> Jim Wantz WB0TFK
> On Tue, 15 Oct 2002, Charles Hallenbeck wrote:
>
> > Thanks, Adam.
> >
> > That says the battery is okay. I have been installing new stuff
> > like made here, but no kernel changes or anything I can think of
> > that might affect writing to the clock.
> > The shutdown failure leaves the keyboard inoperative except for
> > the speakup review keys. Init has been asked to switch to
> > runlevel 0, processes are sent the term signal and then the kill
> > signal, the message about writing time to the hardware clock
> > appears, then nothing. And ctrl-alt-del is ineffective too at
> > that point. My sound card remains alive, my internet connection
> > remain active, and in fact incoming mail continues to arrive (I
> > have some sound files announcing that fact).
> >
> > Very strange.
> >
> > Chuck
> >
> >
> > On Tue, 15 Oct 2002, Adam Myrow wrote:
> >
> > > If your clock quit setting and you've changed nothing, it's possible the
> > > battery may be failing. Assuming you have RTC support in the kernel (most
> > > stock kernels do and it's generally a good idea,) type "cat
> > > /proc/drivers/rtc." It will give the time that is in the RTC and will
> > > show the battery status plus a lot of other info.
> > >
> > >
> > >
> > > _______________________________________________
> > > Speakup mailing list
> > > Speakup@braille.uwo.ca
> > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > >
> >
> >
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
--
The Moon is Waxing Gibbous (81% of Full)
So visit me at http://www.valstar.net/~hallenbeck
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: setting the hardware clock
` Charles Hallenbeck
@ ` Ari Moisio
` Charles Hallenbeck
0 siblings, 1 reply; 12+ messages in thread
From: Ari Moisio @ UTC (permalink / raw)
To: speakup
Hi!
Charles Hallenbeck 16.10.02:
>Same thing, Jim, "hwclock -w" hangs too.
You can try
hwclock --systoch --debug
to see what's going on before it hangs. Parameter --test will make a
dry-run without changin anything.
Another pssibility is to run
strace hwclock -w
and see whitch system call will hang.
HTH
--
Mr. Ari Moisio, Niittykatu 5, 41160 Tikkakoski
gsm: +358-40-5055239, icq: 164241561
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: setting the hardware clock
` Ari Moisio
@ ` Charles Hallenbeck
0 siblings, 0 replies; 12+ messages in thread
From: Charles Hallenbeck @ UTC (permalink / raw)
To: speakup
Hi Ari,
When I run "hwclock --systohc" or "hwclock --systohc --test" it
still hangs, but when I run "hwclock --systohc --debug" it runs
to completion normally with lots of informative messages, but no
hint of any error or problem.
Chuck
On Wed, 16 Oct 2002, Ari Moisio wrote:
> Hi!
>
> Charles Hallenbeck 16.10.02:
>
> >Same thing, Jim, "hwclock -w" hangs too.
>
> You can try
> hwclock --systoch --debug
> to see what's going on before it hangs. Parameter --test will make a
> dry-run without changin anything.
>
> Another pssibility is to run
> strace hwclock -w
> and see whitch system call will hang.
>
> HTH
>
>
--
The Moon is Waxing Gibbous (81% of Full)
So visit me at http://www.valstar.net/~hallenbeck
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: setting the hardware clock
setting the hardware clock Charles Hallenbeck
` Adam Myrow
@ ` Kerry Hoath
` Charles Hallenbeck
1 sibling, 1 reply; 12+ messages in thread
From: Kerry Hoath @ UTC (permalink / raw)
To: speakup
normally you run
hwclock -u -w
(if your hardware clock keeps utc)
or hwclock -w
if the hardware clock stores local time (dual boot to wi ndows etc)
On Tue, Oct 15, 2002 at 04:57:23PM -0400, Charles Hallenbeck wrote:
> This is crazy, but it seems my HW clock refuses to be set. I
> normally do not ever set it, since my shutdown procedure does
> that for me, saving the system time to the hardware clock, and
> for a few days that step has been hanging so my shutdown
> procedure never runs to completion!!!
>
> What can be happening? What are the commands I can run as root to
> set the HW clock from a running system?
>
> Thanks -- Chuck
>
>
> --
> The Moon is Waxing Gibbous (75% of Full)
> So visit me at http://www.valstar.net/~hallenbeck
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
--
Kerry Hoath: kerry@gotss.net kerry@gotss.eu.org or kerry@gotss.spice.net.au
ICQ: 8226547 msn: kerry@gotss.net Yahoo: kerryhoath@yahoo.com.au
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: setting the hardware clock
` Kerry Hoath
@ ` Charles Hallenbeck
` Adam Myrow
0 siblings, 1 reply; 12+ messages in thread
From: Charles Hallenbeck @ UTC (permalink / raw)
To: speakup
When I run "clock -w" the command just hangs. I can recover with
control-C. When I "cat /proc/driver/rtc" it says my battery is
okay. When I just run "clock" it also hangs. What can be
happening here?
I have recently installed gobs and gobs of new stuff, but have
not changed the kernel or added or subtracted any modules. The
only new daemon that is running is "libsafe" and I guess that
would be my first suspect.
I normally shut this system down over night but without a clean
shutdown I am obliged to just hit the big switch without being
assured all the steps are complete.
Chuck
On Wed, 16 Oct 2002, Kerry Hoath wrote:
> normally you run
> hwclock -u -w
> (if your hardware clock keeps utc)
> or hwclock -w
> if the hardware clock stores local time (dual boot to wi ndows etc)
> On Tue, Oct 15, 2002 at 04:57:23PM -0400, Charles Hallenbeck wrote:
> > This is crazy, but it seems my HW clock refuses to be set. I
> > normally do not ever set it, since my shutdown procedure does
> > that for me, saving the system time to the hardware clock, and
> > for a few days that step has been hanging so my shutdown
> > procedure never runs to completion!!!
> >
> > What can be happening? What are the commands I can run as root to
> > set the HW clock from a running system?
> >
> > Thanks -- Chuck
> >
> >
> > --
> > The Moon is Waxing Gibbous (75% of Full)
> > So visit me at http://www.valstar.net/~hallenbeck
> >
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
>
>
--
The Moon is Waxing Gibbous (80% of Full)
So visit me at http://www.valstar.net/~hallenbeck
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
setting the hardware clock Charles Hallenbeck
` Adam Myrow
` Alex Snow
` Charles Hallenbeck
` jwantz
` Charles Hallenbeck
` Ari Moisio
` Charles Hallenbeck
` Kerry Hoath
` Charles Hallenbeck
` Adam Myrow
` Charles Hallenbeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).