Bug 10277

Summary: ACPI Error [...] AE_NOT_FOUND -> Cpu frequency scaling not working on C2D T7250
Product: ACPI Reporter: Ryan (ralpax)
Component: BIOSAssignee: ykzhao (yakui.zhao)
Status: CLOSED DUPLICATE    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.24-11-generic Subsystem:
Regression: --- Bisected commit-id:
Attachments: acpidump
dmesg
DSDT
try the custom DSDT

Description Ryan 2008-03-18 12:24:24 UTC
Latest working kernel version:
Earliest failing kernel version: 2.5.22
Distribution: Ubuntu Hardy 8.04 Alpha
Hardware Environment: Hp dv2500t
Software Environment:
Problem Description:Cpu Scaling unable to activate. when trying to insert any module I get this error: 
FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.24-11-generic/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko): No such device

Also, Looking at my acpidump I get this message:
Wrong checksum for generic table!
SSDT @ 0x3fecff2c
  0000: 53 53 44 54 e6 04 00 00 01 37 50 6d 52 65 66 00  SSDT.....7PmRef.
  0010: 43 70 75 50 6d 00 00 00 00 30 00 00 49 4e 54 4c  CpuPm....0..INTL
  0020: 12 09 06 20 10 45 08 5c 00 08 53 53 44 54 12 43  ... .E.\..SSDT.C
  0030: 05 0c 0d 43 50 55 30 49 53 54 20 00 0c 35 07 ed  ...CPU0IST ..5..
  0040: 3f 0c 7a 02 00 00 0d 43 50 55 31 49 53 54 20 00  ?.z....CPU1IST .
  0050: 0c af 09 ed 3f 0c c8 00 00 00 0d 43 50 55 30 43  ....?......CPU0C
  0060: 53 54 20 00 0c 12 04 ed 3f 0c 9e 02 00 00 0d 43  ST .....?......C
  0070: 50 55 31 43 53 54 20 00 0c b0 06 ed 3f 0c 85 00  PU1CST .....?...
  0080: 00 00 08 43 46 47 44 0c f7 69 3f 11 08 5c 50 44  ...CFGD..i?..\PD
  0090: 43 30 0c 00 00 00 80 08 5c 50 44 43 31 0c 00 00  C0......\PDC1...
  00a0: 00 80 08 5c 53 44 54 4c 0a 00 10 4d 21 5c 2e 5f  ...\SDTL...M!\._
  00b0: 50 52 5f 43 50 55 30 08 48 49 30 5f 0a 00 08 48  PR_CPU0.HI0_...H
  00c0: 43 30 5f 0a 00 14 48 06 5f 50 44 43 01 8a 68 0a  C0_...H._PDC..h.
  00d0: 00 52 45 56 53 8a 68 0a 04 53 49 5a 45 70 87 68  .REVS.h..SIZEp.h
  00e0: 60 70 74 60 0a 08 00 61 5b 13 68 0a 40 77 61 0a  `pt`...a[.h.@wa.
  00f0: 08 00 54 45 4d 50 08 53 54 53 30 11 07 0a 04 00  ..TEMP.STS0.....
  0100: 00 00 00 73 53 54 53 30 54 45 4d 50 62 5f 4f 53  ...sSTS0TEMPb_OS
  0110: 43 11 13 0a 10 16 a6 77 40 0c 29 be 47 9e bd d8  C......w@.).G...
  0120: 70 58 71 39 53 52 45 56 53 53 49 5a 45 62 14 49  pXq9SREVSSIZEb.I
  0130: 19 5f 4f 53 43 04 8a 6b 0a 00 53 01 53 30 8a 6b  ._OSC..k..S.S0.k
  0140: 0a 04 43 41 50 30 8a 68 0a 00 49 49 44 30 8a 68  ..CAP0.h..IID0.h
  0150: 0a 04 49 49 44 31 8a 68 0a 08 49 49 44 32 8a 68  ..IID1.h..IID2.h
  0160: 0a 0c 49 49 44 33 08 55 49 44 30 11 13 0a 10 16  ..IID3.UID0.....
  0170: a6 77 40 0c 29 be 47 9e bd d8 70 58 71 39 53 8a  .w@.).G...pXq9S.
  0180: 55 49 44 30 0a 00 45 49 44 30 8a 55 49 44 30 0a  UID0..EID0.UID0.
  0190: 04 45 49 44 31 8a 55 49 44 30 0a 08 45 49 44 32  .EID1.UID0..EID2
  01a0: 8a 55 49 44 30 0a 0c 45 49 44 33 a0 32 92 90 90  .UID0..EID3.2...
  01b0: 93 49 49 44 30 45 49 44 30 93 49 49 44 31 45 49  .IID0EID0.IID1EI
  01c0: 44 31 90 93 49 49 44 32 45 49 44 32 93 49 49 44  D1..IID2EID2.IID
  01d0: 33 45 49 44 33 70 0a 06 53 54 53 30 a4 6b a0 0f  3EID3p..STS0.k..
  01e0: 92 93 69 0a 01 70 0a 0a 53 54 53 30 a4 6b 7d 7b  ..i..p..STS0.k}{
  01f0: 50 44 43 30 0c ff ff ff 7f 00 43 41 50 30 50 44  PDC0......CAP0PD
  0200: 43 30 70 7b 50 44 43 30 0a ff 00 50 43 50 30 a0  C0p{PDC0...PCP0.
  0210: 4c 05 7b 43 46 47 44 0a 01 00 a0 41 05 90 90 7b  L.{CFGD....A...{
  0220: 43 46 47 44 0c 00 00 00 01 00 93 7b 50 44 43 30  CFGD.......{PDC0
  0230: 0a 09 00 0a 09 92 7b 53 44 54 4c 0a 01 00 7d 53  ......{SDTL...}S
  0240: 44 54 4c 0a 01 53 44 54 4c 5b 80 49 53 54 30 00  DTL..SDTL[.IST0.
  0250: 83 88 53 53 44 54 0a 01 00 83 88 53 53 44 54 0a  ..SSDT.....SSDT.
  0260: 02 00 5b 20 49 53 54 30 48 49 30 5f a0 49 05 7b  ..[ IST0HI0_.I.{
  0270: 43 46 47 44 0a f0 00 a0 4e 04 90 90 7b 43 46 47  CFGD....N...{CFG
  0280: 44 0c 00 00 00 01 00 7b 50 44 43 30 0a 18 00 92  D......{PDC0....
  0290: 7b 53 44 54 4c 0a 02 00 7d 53 44 54 4c 0a 02 53  {SDTL...}SDTL..S
  02a0: 44 54 4c 5b 80 43 53 54 30 00 83 88 53 53 44 54  DTL[.CST0...SSDT
  02b0: 0a 07 00 83 88 53 53 44 54 0a 08 00 5b 20 43 53  .....SSDT...[ CS
  02c0: 54 30 48 43 30 5f a4 6b 10 4d 21 5c 2e 5f 50 52  T0HC0_.k.M!\._PR
  02d0: 5f 43 50 55 31 08 48 49 31 5f 0a 00 08 48 43 31  _CPU1.HI1_...HC1
  02e0: 5f 0a 00 14 48 06 5f 50 44 43 01 8a 68 0a 00 52  _...H._PDC..h..R
  02f0: 45 56 53 8a 68 0a 04 53 49 5a 45 70 87 68 60 70  EVS.h..SIZEp.h`p
  0300: 74 60 0a 08 00 61 5b 13 68 0a 40 77 61 0a 08 00  t`...a[.h.@wa...
  0310: 54 45 4d 50 08 53 54 53 31 11 07 0a 04 00 00 00  TEMP.STS1.......
  0320: 00 73 53 54 53 31 54 45 4d 50 62 5f 4f 53 43 11  .sSTS1TEMPb_OSC.
  0330: 13 0a 10 16 a6 77 40 0c 29 be 47 9e bd d8 70 58  .....w@.).G...pX
  0340: 71 39 53 52 45 56 53 53 49 5a 45 62 14 49 19 5f  q9SREVSSIZEb.I._
  0350: 4f 53 43 04 8a 6b 0a 00 53 54 53 31 8a 6b 0a 04  OSC..k..STS1.k..
  0360: 43 41 50 31 8a 68 0a 00 49 49 44 30 8a 68 0a 04  CAP1.h..IID0.h..
  0370: 49 49 44 31 8a 68 0a 08 49 49 44 32 8a 68 0a 0c  IID1.h..IID2.h..
  0380: 49 49 44 33 08 55 49 44 31 11 13 0a 10 16 a6 77  IID3.UID1......w
  0390: 40 0c 29 be 47 9e bd d8 70 58 71 39 53 8a 55 49  @.).G...pXq9S.UI
  03a0: 44 31 0a 00 45 49 44 30 8a 55 49 44 31 0a 04 45  D1..EID0.UID1..E
  03b0: 49 44 31 8a 55 49 44 31 0a 08 45 49 44 32 8a 55  ID1.UID1..EID2.U
  03c0: 49 44 31 0a 0c 45 49 44 33 a0 32 92 90 90 93 49  ID1..EID3.2....I
  03d0: 49 44 30 45 49 44 30 93 49 49 44 31 45 49 44 31  ID0EID0.IID1EID1
  03e0: 90 93 49 49 44 32 45 49 44 32 93 49 49 44 33 45  ..IID2EID2.IID3E
  03f0: 49 44 33 70 0a 06 53 54 53 31 a4 6b a0 0f 92 93  ID3p..STS1.k....
  0400: 69 0a 01 70 0a 0a 53 54 53 31 a4 6b 7d 7b 50 44  i..p..STS1.k}{PD
  0410: 43 31 0c ff ff ff 7f 00 43 41 50 31 50 44 43 31  C1......CAP1PDC1
  0420: 70 7b 50 44 43 31 0a ff 00 50 43 50 31 a0 4c 05  p{PDC1...PCP1.L.
  0430: 7b 43 46 47 44 0a 01 00 a0 41 05 90 90 7b 43 46  {CFGD....A...{CF
  0440: 47 44 0c 00 00 00 01 00 93 7b 50 44 43 31 0a 09  GD.......{PDC1..
  0450: 00 0a 09 92 7b 53 44 54 4c 0a 10 00 7d 53 44 54  ....{SDTL...}SDT
  0460: 4c 0a 10 53 44 54 4c 5b 80 49 53 54 31 00 83 88  L..SDTL[.IST1...
  0470: 53 53 44 54 0a 04 00 83 88 53 53 44 54 0a 05 00  SSDT.....SSDT...
  0480: 5b 20 49 53 54 31 48 49 31 5f a0 49 05 7b 43 46  [ IST1HI1_.I.{CF
  0490: 47 44 0a f0 00 a0 4e 04 90 90 7b 43 46 47 44 0c  GD....N...{CFGD.
  04a0: 00 00 00 01 00 7b 50 44 43 31 0a 18 00 92 7b 53  .....{PDC1....{S
  04b0: 44 54 4c 0a 20 00 7d 53 44 54 4c 0a 20 53 44 54  DTL. .}SDTL. SDT
  04c0: 4c 5b 80 43 53 54 31 00 83 88 53 53 44 54 0a 0a  L[.CST1...SSDT..
  04d0: 00 83 88 53 53 44 54 0a 0b 00 5b 20 43 53 54 31  ...SSDT...[ CST1
  04e0: 48 43 31 5f a4 6b                                HC1_.k

And in dmesg I recieve these acpi errors:
[   18.107103] ACPI Error (exnames-0219): Bad character 01 in name, at f8805067 [20070126]
[   18.107109] ACPI Exception (dsutils-0735): AE_AML_BAD_NAME, While creating Arg 3 [20070126]
[   18.107113] ACPI Error (psparse-0537): Method parse/execution failed [\_PR_.CPU0._OSC] (Node f7c25ba0), AE_AML_BAD_NAME
[   18.107154] ACPI Error (psparse-0537): Method parse/execution failed [\_PR_.CPU0._PDC] (Node f7c25b88), AE_AML_BAD_NAME
[   18.107440] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
[   18.107645] ACPI: SSDT 3FED09AF, 00C8 (r1  PmRef  Cpu1Ist     3000 INTL 20060912)
[   18.107831] ACPI: SSDT 3FED06B0, 0085 (r1  PmRef  Cpu1Cst     3000 INTL 20060912)
[   18.108011] ACPI Error (psargs-0355): [\_PR_.CPU0._PPC] Namespace lookup failure, AE_NOT_FOUND
[   18.108015] ACPI Error (psparse-0537): Method parse/execution failed [\_PR_.CPU1._PPC] (Node f7c25ca8), AE_NOT_FOUND
[   18.108254] ACPI Error (psargs-0355): [\_PR_.CPU0._CST] Namespace lookup failure, AE_NOT_FOUND
[   18.108258] ACPI Error (psparse-0537): Method parse/execution failed [\_PR_.CPU1._CST] (Node f7c25c30), AE_NOT_FOUND

This seems like it should be related to bug http://bugzilla.kernel.org/show_bug.cgi?id=9586#c17 as they are based on the same base notebook model but that fix does not work for me.
Comment 1 ykzhao 2008-03-18 17:50:15 UTC
Will you please attach the output of acpidump and dmesg ?
If your laptop is the same model with that in bug9586, it seems that the bug is caused by the broken bios.
Will you please try to upgrade bios first and check whether the cpufreq can work?
Thanks.
Comment 2 ykzhao 2008-03-18 20:03:41 UTC
There is the following error in the SSDT.dsl.
 >Method (_OSC, 4, NotSerialized)
        {
            CreateDWordField (Arg3, 0x00, S*S0) // incorrect, should be STS0
            CreateDWordField (Arg3, 0x04, CAP0)
            CreateDWordField (Arg0, 0x00, IID0)
            CreateDWordField (Arg0, 0x04, IID1)
            CreateDWordField (Arg0, 0x08, IID2)
            CreateDWordField (Arg0, 0x0C, IID3)
   You can modify if yourself and put all the content into DSDT.dsl. 
   Please use the custom DSDT and see whether the cpufreq can work.
   
   Thanks.
   
Comment 3 Ryan 2008-03-19 01:53:02 UTC
My dsdt.aml is different then the one listed in the bug above. It is not the same bios bug.  When I try to use the custom dsdt my pc will not boot.  Under my Method (_OSC, 4, NotSerialized) it is not the same.  
 Method (_OSC, 4, NotSerialized)
            {
                Store (0x11, P80H)
                CreateDWordField (Arg3, 0x00, CDW1)
                CreateDWordField (Arg3, 0x04, CDW2)
                CreateDWordField (Arg3, 0x08, CDW3)
                CreateDWordField (Arg0, 0x00, IID0)
                CreateDWordField (Arg0, 0x04, IID1)
                CreateDWordField (Arg0, 0x08, IID2)
                CreateDWordField (Arg0, 0x0C, IID3)
                Name (UID0, Buffer (0x10)
Comment 4 Ryan 2008-03-19 01:54:03 UTC
Created attachment 15341 [details]
acpidump

acpidump
Comment 5 Ryan 2008-03-19 01:54:26 UTC
Created attachment 15342 [details]
dmesg
Comment 6 Ryan 2008-03-19 01:56:26 UTC
Created attachment 15343 [details]
DSDT

Here is my current DSDT.dsl.
Comment 7 Ryan 2008-03-19 01:58:46 UTC
I will upgrade check for upgrades with my bios in tomorrow.  
Thanks for all the help.
Comment 8 ykzhao 2008-03-20 22:22:06 UTC
Hi, Ryan
    Can the cpufreq work after the bios is upgrades?
    
    Maybe you ignores the info in comment #3. The bug is caused by the broken bios.And the occurs in the SSDT2.dsl.(Not DSDT.dsl)
        Method (_OSC, 4, NotSerialized)
        {
            CreateDWordField (Arg3, 0x00, S*S0) // should STS0
            CreateDWordField (Arg3, 0x04, CAP0)
            CreateDWordField (Arg0, 0x00, IID0)
            CreateDWordField (Arg0, 0x04, IID1)
            CreateDWordField (Arg0, 0x08, IID2)
            CreateDWordField (Arg0, 0x0C, IID3)

    You can modify the error in the SSDT2.dsl and then put all the content into the DSDT.dsl. 
    Please try the custom DSDT to see whether the cpufreq can work.
    
Comment 9 ykzhao 2008-03-20 22:25:00 UTC
Created attachment 15360 [details]
try the custom DSDT

Will you please try the custom DSDT and see whether the problem still exists?
Thanks.
Comment 10 ykzhao 2008-03-20 22:26:48 UTC
Since the problem is caused by the broken BIOS, it will be appropriate to fix this by upgrading BIOS. This bug will be marked as the duplicated of bug 9586.


*** This bug has been marked as a duplicate of bug 9586 ***
Comment 11 Ryan 2008-03-20 23:25:33 UTC
Hey ykzhao,
You were correct on the problem.  I was able to fix the problem without upgrading the bios.  Thanks for all the help.