cvs commit: src/sys/i386/isa clock.c

John Baldwin jhb at FreeBSD.org
Fri Feb 4 14:12:24 PST 2005


On Friday 04 February 2005 05:10 am, David Malone wrote:
> On Thu, Feb 03, 2005 at 07:06:03PM +0000, John Baldwin wrote:
> >   Log:
> >   Anytime we write to the RTC's status B register to possibly enable
> >   interrupts, read from the interrupt status register to clear any
> > pending interrupts.  Otherwise in some rare cases the RTC would never
> > fire any interrupts as it constantly thinks it has an interrupt pending.
>
> Do you think there's any link between this and the occasional
> problems people have reported over the years where the RTC stops
> firing and they stop getting CPU usage stats?

I'm not sure.  The part of this patch that was in PR 17800 didn't fix another 
PR I didn't list on boxes where the clock does go away.  According to that PR 
running 'date' to set the date and time turns the interrupt back on though.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the cvs-src mailing list