On Sun, 18 Apr 1999, John Hay wrote:

> > John Hay wrote:
> > > > As of a few minutes ago, a minimal set of changes to bring the so-called
> > > > 'new-bus' functionality to the i386 kernel in -current.
> > > > 
> > > 
> > > It looks like the stat clock isn't started after this. I have tried a SMP
> > > and UNI kernel and both behave the same. Looking with vmstat -i and
> > > systat -vmstat, there is no sign of the stat clock. Sysctl kern.clockrate
> > > also have profhz and stathz as 100. A kernel of about a week ago doesn't
> > > have this problem.
> > 
> > Hmm...
> > 
> > [7:38pm]~-103# sysctl kern.clockrate
> > kern.clockrate: { hz = 100, tick = 10000, tickadj = 5, profhz = 1024, 
> >   stathz = 128 }
> > 
> 
> Ok, I have found it. My kernel still had the apm line from its GENERIC
> days, which didn't hurt me before:
> 
> device          apm0    at nexus? disable flags 0x31 # Advanced Power 
> Management
> 
> It seems that the disable keyword is ignored, because the apm0 device
> suddenly appeared in the probe messages and that set statclock_disable to 1.
> I have removed apm from my kernel config file and all is well again.

This should be fixed. I changed the apm driver to honour the disabled
keyword.

--
Doug Rabson                             Mail:  d...@nlsystems.com
Nonlinear Systems Ltd.                  Phone: +44 181 442 9037




To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to