Date: Thu, 18 Nov 2004 13:12:05 -0800 From: Charlie Schluting <charlie@schluting.com> To: freebsd-gnats-submit@FreeBSD.org Cc: current@freebsd.org Subject: Re: i386/17800:PATCH problem with statclock initialization (NEW Patch) Message-ID: <419D1025.40309@schluting.com>
next in thread | raw e-mail | index | archive | help
I had the same problem described in this PR with a Dell Latitude CPt. I believe its the same motherboard, or very similar. In both 5.2.1 and 6-CURRENT I couldn't get cpu usage stats. Jose's patch fixes it... though the patch is no longer valid in 6-CURRENT (from cvs 2 days ago). New patch. Same content, different location: --------------------------------------------------------------------- --- sys/i386/isa/clock.c.old Thu Nov 18 11:18:59 2004 +++ sys/i386/isa/clock.c Thu Nov 18 11:12:10 2004 @@ -946,6 +946,7 @@ /* Initialize RTC. */ writertc(RTC_STATUSA, rtc_statusa); writertc(RTC_STATUSB, RTCSB_24HR); + rtcin(RTC_INTR); /* clear any pending interrupt */ /* Don't bother enabling the statistics clock. */ if (!statclock_disable) { --------------------------------------------------------------------- Tested, and it works. Please commit :) -Charlie Schluting
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?419D1025.40309>