7.1-PRERELEASE: asus M3A / Phenom X4 / powerd freeze

Arno J. Klaassen arno at heho.snv.jussieu.fr
Sat Dec 13 06:26:53 PST 2008


Jung-uk Kim <jkim at FreeBSD.org> writes:

> On Friday 12 December 2008 04:26 pm, Jung-uk Kim wrote:
> > On Friday 12 December 2008 03:36 pm, Arno J. Klaassen wrote:
> > > cpghost <cpghost at cordula.ws> writes:
> > > > On Fri, Dec 12, 2008 at 12:01:29AM +0100, Arno J. Klaassen 
> wrote:
> > > > > yet another powerd SOS : on an ASUS M3A78-EM MB with
> > > > > Phenom 9750 and 8 gig memory, starting powerd freezes
> > > > > the box after slowing down a bit cpu frequency.
> > > >
> > > > (... snip ...)
> > > >

> I forgot there is a PR with the latest driver:
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=128575

yes, this works better :

kldload cpufreq :

  hwpstate0: <Cool`n'Quiet 2.0> on cpu0
  hwpstate0: SVI mode
  hwpstate0: you have 2 P-state.
  hwpstate0: freq=2400MHz volts=1300mV
  hwpstate0: freq=1200MHz volts=1050mV
  hwpstate0: Now P0-state.
  hwpstate1: <Cool`n'Quiet 2.0> on cpu1
  hwpstate1: SVI mode
  hwpstate1: you have 2 P-state.
  hwpstate1: freq=2400MHz volts=1300mV
  hwpstate1: freq=1200MHz volts=1050mV
  hwpstate1: Now P0-state.
  hwpstate2: <Cool`n'Quiet 2.0> on cpu2
  hwpstate2: SVI mode
  hwpstate2: you have 2 P-state.
  hwpstate2: freq=2400MHz volts=1300mV
  hwpstate2: freq=1200MHz volts=1050mV
  hwpstate2: Now P0-state.
  hwpstate3: <Cool`n'Quiet 2.0> on cpu3
  hwpstate3: SVI mode
  hwpstate3: you have 2 P-state.
  hwpstate3: freq=2400MHz volts=1300mV
  hwpstate3: freq=1200MHz volts=1050mV
  hwpstate3: Now P0-state.

however, I need to disable acpi_throttle;
standard, I get :

  [root at m34 ~]# sysctl dev.cpu.0.freq_levels
  dev.cpu.0.freq_levels: 2398/-1 2098/-1 1798/-1 1498/-1 1199/-1 899/-1 599/-1 299/-1
  [root at m34 ~]# kldload cpufreq
  [root at m34 ~]# sysctl dev.cpu.0.freq_levels
  dev.cpu.0.freq_levels: 2400/-1 2100/-1 1800/-1 1500/-1 1200/-1 1050/-1 900/-1 750/-1 600/-1 450/-1 300/-1 150/-1
  [root at m34 ~]# powerd -v
  powerd: unable to determine AC line status
  idle time > 90%, decreasing clock speed from 2398 MHz to -1 MHz
  powerd: error setting CPU frequency -1: Invalid argument
  idle time > 90%, decreasing clock speed from 2398 MHz to -1 MHz
  powerd: error setting CPU frequency -1: Invalid argument

rebooting with hint.acpi_throttle.0.disabled="1" gives :


  [root at m34 ~]# sysctl dev.cpu.0.freq_levels
  sysctl: unknown oid 'dev.cpu.0.freq_levels'
  [root at m34 ~]# kldload cpufreq
  [root at m34 ~]# sysctl dev.cpu.0.freq_levels
  dev.cpu.0.freq_levels: 2400/-1 1200/-1
  [root at m34 ~]# powerd -v
  powerd: unable to determine AC line status
  idle time > 90%, decreasing clock speed from 2400 MHz to 1200 MHz

Thanx, Arno




More information about the freebsd-stable mailing list