Skip site navigation (1)Skip section navigation (2)
Date:      13 Dec 2008 15:26:42 +0100
From:      "Arno J. Klaassen" <arno@heho.snv.jussieu.fr>
To:        Jung-uk Kim <jkim@FreeBSD.org>
Cc:        annona2@gmail.com, freebsd-stable@FreeBSD.org, cpghost <cpghost@cordula.ws>
Subject:   Re: 7.1-PRERELEASE: asus M3A / Phenom X4 / powerd freeze
Message-ID:  <wp7i64xial.fsf@heho.snv.jussieu.fr>
In-Reply-To: <200812121639.06698.jkim@FreeBSD.org>
References:  <wpoczipb92.fsf@heho.snv.jussieu.fr> <wpljul6sh4.fsf@heho.snv.jussieu.fr> <200812121626.56590.jkim@FreeBSD.org> <200812121639.06698.jkim@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jung-uk Kim <jkim@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@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@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@m34 ~]# kldload cpufreq
  [root@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@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@m34 ~]# sysctl dev.cpu.0.freq_levels
  sysctl: unknown oid 'dev.cpu.0.freq_levels'
  [root@m34 ~]# kldload cpufreq
  [root@m34 ~]# sysctl dev.cpu.0.freq_levels
  dev.cpu.0.freq_levels: 2400/-1 1200/-1
  [root@m34 ~]# powerd -v
  powerd: unable to determine AC line status
  idle time > 90%, decreasing clock speed from 2400 MHz to 1200 MHz

Thanx, Arno





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?wp7i64xial.fsf>