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

Arno J. Klaassen arno at heho.snv.jussieu.fr
Fri Dec 12 12:36:48 PST 2008


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 ...)
> 
> > dev.cpu.0.freq_levels: 2398/-1 2098/-1 1798/-1 1498/-1 1199/-1 899/-1 599/-1 299/-1
> > 
> > further :
> > 
> >  - I set debug.cpufreq.lowest superior to 1500 : system remains
> >    up but only when pushing really slightly
> > 
> >  -  I set debug.cpufreq.lowest inferior to 1100 : freeze
> >     garantueed
> 
> Same here. Running with
>   debug.cpufreq.lowest="1240"
> in /boot/loader.conf to prevent freezes.
> 
> This is a FreeBSD 7.1-PRERELEASE #0: Sat Nov  8 14:18:05 CET 2008
>   root at textbox:/usr/obj/usr/src/sys/GENERIC
> running in amd64 and i386 mode with ACPI enabled (default):
> 
> CPU: AMD Phenom(tm) 9350e Quad-Core Processor (2000.08-MHz K8-class CPU)
>   Origin = "AuthenticAMD"  Id = 0x100f23  Stepping = 3
>   Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,
>                       PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
>   Features2=0x802009<SSE3,MON,CX16,<b23>>
>   AMD Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,
>                           3DNow!+,3DNow!>
>   AMD Features2=0x7ff<LAHF,CMP,SVM,ExtAPIC,CR8,<b5>,<b6>,<b7>,
>                       Prefetch,<b9>,<b10>>
>   Cores per package: 4
> 
> using an MSI board with SB600 chipset and newest BIOS.
> 
> No idea why the system freezes below approx 1200 MHz. But apparently,
> this bug is quite common and affects a lot of systems with Phenoms. :(

do Phenoms not support powernow? I am a bit puzzled by the
differnce with two X2 boards I have around here :

  FreeBSD 7.1-PRERELEASE #0: Tue Dec  2 20:09:28 
  ...
  CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ (2992.52-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x40f33  Stepping = 3
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x2001<SSE3,CX16>
  AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
  AMD Features2=0x1f<LAHF,CMP,SVM,ExtAPIC,CR8>
  Cores per package: 2
  ...
  cpu0: <ACPI CPU> on acpi0
  powernow0: <PowerNow! K8> on cpu0
  cpu1: <ACPI CPU> on acpi0
  powernow1: <PowerNow! K8> on cpu1


  FreeBSD 7.1-PRERELEASE #1: Mon Nov 17 14:40:26
  ...
  CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-62 (2109.70-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x60f82  Stepping = 2
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x2001<SSE3,CX16>
  AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
  AMD Features2=0x11f<LAHF,CMP,SVM,ExtAPIC,CR8,Prefetch>
  Cores per package: 2
  ...
  cpu0: <ACPI CPU> on acpi0
  acpi_throttle0: <ACPI CPU Throttling> on cpu0
  powernow0: <PowerNow! K8> on cpu0
  cpu1: <ACPI CPU> on acpi0
  acpi_throttle1: <ACPI CPU Throttling> on cpu1
  acpi_throttle1: failed to attach P_CNT
  device_attach: acpi_throttle1 attach returned 6
  powernow1: <PowerNow! K8> on cpu1


whereas the Phenom says :

  CPU: AMD Phenom(tm) 9750 Quad-Core Processor (2410.66-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x100f23  Stepping = 3
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x802009<SSE3,MON,CX16,<b23>>
  AMD Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow>
  AMD Features2=0x7ff<LAHF,CMP,SVM,ExtAPIC,CR8,<b5>,<b6>,<b7>,Prefetch,<b9>,<b1>>
  ...
  cpu0: <ACPI CPU> on acpi0
  acpi_throttle0: <ACPI CPU Throttling> on cpu0
  cpu1: <ACPI CPU> on acpi0
  cpu2: <ACPI CPU> on acpi0
  cpu3: <ACPI CPU> on acpi0

my conclusion : acpi_throttle attaches a X4 (why not) and 
not at X2 (thought the Turion seems to detect it but fails
to attach), powernow does not seem to attach to X4 ...

Best regards, Arno


 
> >  - I define hint.acpi_throttle.0.disabled="1" in loader.conf
> >    then no dev.cpu.0.freq is showing up ... (as if
> >    only acpi_throttle is attaching and not powernow)
> > 
> > Let me know what I can test further.
> > 
> > Best, Arno
> 
> Regards,
> -cpghost.
> 
> -- 
> Cordula's Web. http://www.cordula.ws/


More information about the freebsd-stable mailing list