Thread (11 messages) 11 messages, 4 authors, 2012-09-15

Re: HDD problem, software bug, bios bug, or hardware ?

From: Dan Merillat <hidden>
Date: 2012-09-03 00:38:15

On Sun, Sep 2, 2012 at 3:24 AM, Borislav Petkov [off-list ref] wrote:
On Sat, Sep 01, 2012 at 08:45:56AM -0400, Dan Merillat wrote:
quoted
I haven't been in my BIOS in years, but powernow-k8 quit working
sometime after 3.2 when the ACPI bits were reworked.  So whatever
broke it, it's 100% software.  Not something I use a lot so I haven't
done an exact regression on it, but:
Feb 19 18:23:32 fileserver kernel: [    0.000000] Linux version 3.2.0
(harik@fileserver) (gcc version 4.5.3 (Debian 4.5.3-3) ) #1 SMP Mon
Jan 23 21:57:27 EST 2012
Feb 19 18:23:32 fileserver kernel: [    1.268123] powernow-k8: Found 1
AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ (2 cpu cores) (version
2.20.00)
Which one is yours:

http://products.amd.com/en-us/QuickSearch.aspx?q=4600+
This one: ADO4600CUBOX
http://products.amd.com/pages/DesktopCPUDetail.aspx?id=51
Also, can you send /proc/cpuinfo pls.
(I blame gmail in advance for mangling formatting)

processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 75
model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
stepping        : 2
microcode       : 0x62
cpu MHz         : 2104.433
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext
fxsr_opt rdtscp lm 3dnowext 3dnow rep_good nopl extd_apicid pni cx16
lahf_lm cmp_legacy svm extapic cr8_legacy
bogomips        : 4208.86
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 75
model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
stepping        : 2
microcode       : 0x62
cpu MHz         : 2104.433
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext
fxsr_opt rdtscp lm 3dnowext 3dnow rep_good nopl extd_apicid pni cx16
lahf_lm cmp_legacy svm extapic cr8_legacy
bogomips        : 4208.84
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc
Hmm, can you enable all the debug statements in the driver?

Simply edit drivers/cpufreq/powernow-k8.c by adding

#define DEBUG
It didn't add anything new, got:
[   44.491795] powernow-k8: Found 1 AMD Athlon(tm) 64 X2 Dual Core
Processor 4600+ (2 cpu cores) (version 2.20.00)
[   44.491852] trying to register driver powernow-k8
[   44.491893] adding CPU 0
[   44.491955] processor_perflib-0423 [4294967293] processor_get_performa: ACPI
-based processor performance control unavailable
[   44.492103] register performance failed: bad ACPI data: -5
(I added the return value to the debug)

So I enabled ACPI debugging and booted with
log_buf_len=20m ignore_loglevel acpi.debug_layer=0x22800101
acpi.debug_level=0x64000885
turning on the complete debug mask didn't boot due to log-spam, if you
want anything else traced let me know.

full dmesg attached, interesting bits:
[    0.771389] processor_driver-0274 [4294967293] processor_get_info
 : Bus mastering arbitration control present
[    0.771520] processor_driver-0341 [4294967293] processor_get_info
 : Processor [0:0]
[    0.771631] processor_throttling-1196 [4294967293]
processor_get_throttli: pblk_address[0x00004010] duty_offset[1]
duty_width[0]
[    0.771743] processor_throttling-0935 [4294967293]
processor_get_fadt_inf: No throttling states
[    0.771852] processor_idle-0371 [4294967293]
processor_get_power_in: No _CST, giving up
[    0.771958] processor_idle-0316 [4294967293]
processor_get_power_in: C2 latency too large [101]
[    0.772079] processor_idle-0327 [4294967293]
processor_get_power_in: C3 latency too large [1001]
[    0.772184] processor_idle-0335 [4294967293]
processor_get_power_in: lvl2[0x00000000] lvl3[0x00000000]

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help