Bug 8734 - several problems with Pentium M 773 on MSI-9625
Summary: several problems with Pentium M 773 on MSI-9625
Status: REJECTED INSUFFICIENT_DATA
Alias: None
Product: ACPI
Classification: Unclassified
Component: BIOS (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: ykzhao
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-11 05:12 UTC by Norman Ziert
Modified: 2008-03-04 00:01 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.18-4-686
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
dmidecode (11.41 KB, application/octet-stream)
2007-07-11 05:15 UTC, Norman Ziert
Details
acpidump (83.04 KB, application/octet-stream)
2007-07-11 05:16 UTC, Norman Ziert
Details
dmesg (13.47 KB, application/octet-stream)
2007-07-11 05:16 UTC, Norman Ziert
Details
dmesg-output (16.04 KB, application/octet-stream)
2008-01-09 09:43 UTC, Norman Ziert
Details
proc_cpuinfo (462 bytes, application/octet-stream)
2008-01-09 09:44 UTC, Norman Ziert
Details
proc_acpi_processor_cpu0_info (166 bytes, application/octet-stream)
2008-01-09 09:46 UTC, Norman Ziert
Details
requested acpidump (256 bytes, application/octet-stream)
2008-01-29 12:59 UTC, Norman Ziert
Details

Description Norman Ziert 2007-07-11 05:12:58 UTC
Distribution: Debian Etch
Hardware Environment: MSI-9625, Pentium M 733, 2x 512MB DDR2
Problem Description: I tried to korrekt the DSDT for the MSI-9625 board following some tutorials I found, but it becomes worse than before.

dmidecode, acpidump and dmesg will be attached.

Symptoms of my problem are:

[1] no correct values in /proc/acpi/processors/CPU0/info (Pentium M 773 ULV)

[2] no changes in /proc/acpi/thermal_zone/THRM/temperature (permanently 40°C, is not true)

[3] could not load kernel module acpi_cpufreq (No such device,  < should it be possible to load?)

[4] part of kern.log:
Jul 11 15:56:14 unimatrix kernel: ACPI Exception (acpi_processor-0681): AE_NOT_FOUND, Processor Device is not present [20060707]
Jul 11 15:56:14 unimatrix kernel: ACPI: Getting cpuindex for acpiid 0x1
Jul 11 15:56:14 unimatrix kernel: ACPI Exception (acpi_processor-0681): AE_NOT_FOUND, Processor Device is not present [20060707]
Jul 11 15:56:14 unimatrix kernel: ACPI: Getting cpuindex for acpiid 0x2
Jul 11 15:56:14 unimatrix kernel: ACPI Exception (acpi_processor-0681): AE_NOT_FOUND, Processor Device is not present [20060707]
Jul 11 15:56:14 unimatrix kernel: ACPI: Getting cpuindex for acpiid 0x3
Comment 1 Norman Ziert 2007-07-11 05:15:05 UTC
Created attachment 11996 [details]
dmidecode
Comment 2 Norman Ziert 2007-07-11 05:16:02 UTC
Created attachment 11997 [details]
acpidump
Comment 3 Norman Ziert 2007-07-11 05:16:21 UTC
Created attachment 11998 [details]
dmesg
Comment 4 Alexey Starikovskiy 2007-07-11 06:10:18 UTC
The main problem seem to be that APIC table lists only one processor (true), while DSDT lists four. Linux then thinks that other processors 0x01,0x02,0x03 could be hot-plugged, but they lack _STA method (don't support hotplug). Thus acpi_processor gets an error, and don't show any information at all.
Could you please check if latest kernel from kernel.org (2.6.22 ATM) has this problem too?
Comment 5 Alexey Starikovskiy 2007-07-11 06:34:00 UTC
You get 40 degrees because of SSHU value refenced in Method RTMP is 0x01.
Comment 6 Norman Ziert 2007-07-12 13:53:32 UTC
(In reply to comment #4)
> Could you please check if latest kernel from kernel.org (2.6.22 ATM) has this
> problem too?

I checked with Kernel 2.6.22.1 an it seems to be the same problem.

Jul 13 00:38:25 unimatrix kernel: ACPI Exception (processor_core-0781): AE_NOT_FOUND, Processor Device is not present [20070126]
Jul 13 00:38:25 unimatrix last message repeated 2 times
Comment 7 Norman Ziert 2007-07-12 13:54:40 UTC
(In reply to comment #5)
> You get 40 degrees because of SSHU value refenced in Method RTMP is 0x01.

I'm not really close to ASL, so how can I fix that?
Comment 8 Alexey Starikovskiy 2007-07-12 22:17:16 UTC
I would start from checking if the BIOS is latest and that all values in it are at default settings... SSHU is exported by BIOS/HW, so the only choice in DSDT is to ignore it (remove check in RTMP).
Comment 9 Norman Ziert 2007-07-21 04:09:58 UTC
(In reply to comment #4)
> The main problem seem to be that APIC table lists only one processor (true),
> while DSDT lists four. Linux then thinks that other processors 0x01,0x02,0x03
> could be hot-plugged, but they lack _STA method (don't support hotplug).

So will it be a fix removing the 0x01, 0x02, 0x03 entry in DSDT?
Comment 10 Alexey Starikovskiy 2007-07-23 08:23:01 UTC
bugme-daemon@bugzilla.kernel.org wrote:
> http://bugzilla.kernel.org/show_bug.cgi?id=8734
>
>
>
>
>
> ------- Comment #9 from norman_ziert@web.de  2007-07-21 04:09 -------
> (In reply to comment #4)
>   
>> The main problem seem to be that APIC table lists only one processor (true),
>> while DSDT lists four. Linux then thinks that other processors
>> 0x01,0x02,0x03
>> could be hot-plugged, but they lack _STA method (don't support hotplug).
>>     
>
> So will it be a fix removing the 0x01, 0x02, 0x03 entry in DSDT?
>
>
>   
May be, worth a try.

Regards,
Alex.
Comment 11 Norman Ziert 2007-07-25 03:22:29 UTC
> > So will it be a fix removing the 0x01, 0x02, 0x03 entry in DSDT?
> >   
> May be, worth a try.
> 
It seems to be a fix, but I need the PBlK System IO adress for Processor (\_PR.CPU0, 0x00, ...) Is it possible to find out the correct adress?
Comment 12 Fu Michael 2007-11-06 22:41:56 UTC
Norman, please check http://bugzilla.kernel.org/show_bug.cgi?id=8570#c21 to see how to get rid of these message when they are not necessary. could you please try that and tell us the new result of those problems?

Again, have you checked to see if there is a newer bios available?

thanks.
Comment 13 Norman Ziert 2007-11-08 12:25:10 UTC
A new bios is not available. Before I reported the bug here, I argued with the MSI support. They only answered with a BIOS for a different board. 

It is be a bit risky to flash this, isn't it???


I tried to compile 2.6.23.1 with the suggested patch, but I get an error. I will try it with debian-kernel 2.6.18 the next time.
Comment 14 Fu Michael 2007-12-09 17:26:31 UTC
Norman, what's the error you get from compiling the suggested patch?
Comment 15 Norman Ziert 2007-12-11 13:01:19 UTC
Sorry, I was too busy the last weeks, so I could not take care about my problem. I forgot the error message, but now I tried to compile it another time from scratch.
It resulsts with no error on kernel 2.6.23.1 and there aren't any ACPI exceptions anymore, so it seams to work fine.

So we can say point [3] is solved.

Thanks a lot!


But [1] and [2] are still to be done. May be they're BIOS-related.
Comment 16 ykzhao 2007-12-20 19:35:46 UTC
Will you please attach the output of dmesg and /proc/cpuinfo ?
It will be great if you can enable the debug function of ACPI and CPU freq in kernel configuration  and boot the system with the option of "acpi.debug_layer=0x01000000 acpi.debug_level=0x1F".
Comment 17 Len Brown 2008-01-08 23:25:59 UTC
> [1] no correct values in /proc/acpi/processors/CPU0/info (Pentium M 773 ULV)

Please paste the contents of /proc/acpi/processors/CPU0/info here

> [2] no changes in /proc/acpi/thermal_zone/THRM/temperature
> (permanently 40°C, is not true)

per Alexey's comments above, this is a BIOS/platform issue
that Linux can not fix.

> [3] could not load kernel module acpi_cpufreq
> (No such device,  < should it be possible to load?)

please respond to comment #16
Comment 18 Norman Ziert 2008-01-09 09:43:30 UTC
Created attachment 14381 [details]
dmesg-output
Comment 19 Norman Ziert 2008-01-09 09:44:31 UTC
Created attachment 14382 [details]
proc_cpuinfo
Comment 20 Norman Ziert 2008-01-09 09:46:04 UTC
Created attachment 14383 [details]
proc_acpi_processor_cpu0_info
Comment 21 Norman Ziert 2008-01-09 09:48:43 UTC
Sorry ykzhao for my late response.

I added the outputs you an Len wanted of the patched kernel 2.6.23.1 (see comment #15).
Comment 22 ykzhao 2008-01-23 21:50:32 UTC
Will you please attach the output using the following command ?
acpidump --addr 0xff810 --length 0x100 -o output
Thanks.
Comment 23 ykzhao 2008-01-24 00:51:41 UTC
Hi, Norman
   Thanks for the info.
   What Alexey said is right. The remained two problems are caused by broken BIOS.
a. /proc/acpi/processors/CPU0/info 
   In the DSDT there is no PBLK address in the definition of processor block.
      >Processor (\_PR.CPU0, 0x00, 0x00000000, 0x00) 
      Correct defintion should be  : Processor(\_PR.CPU0, 0x00, 0x410, 0x06)
   At the same time there is no _PTC defintion for throttling control in DSDT. The flag of throttling control and limit will be zero. 
   In the FADT table the following can be found:
[060h 096  2]          C2 Latency : 0065 .
[062h 098  2]          C3 Latency : 03E9
[068h 104  1]            Duty Cycle Offset : 01
[069h 105  1]             Duty Cycle Width : 01
    In the DSDT table there is no _CST defintion for power management. And C2 latency 0x65 > 100, C3 latency 0x3E9 > 1000 means that system can't support C2 /C3. The power interface can't be supported.

b. Temperature always is 40.
   In the DSDT table the result of _TMP is related to the following two definitions:
   SENF, SSHU
   If the values of SENF and SSHU are both one, the temperature will always be 40. (Linux can't fix it).
   The output in comment #22 can confirm whether the the values are one.
Comment 24 Norman Ziert 2008-01-29 12:59:04 UTC
Created attachment 14640 [details]
requested acpidump

output of acpidump --addr 0xff810 --length 0x100
Comment 25 ykzhao 2008-01-30 02:03:15 UTC
Hi, Norman
   Thanks for the info.
   From the info in comment #24 we can know that SENF is 0x0001 and SSHU bit is 1. So the _TMP method will always return 40 temperature.( _TMP returns 0xC3C and the result is converted to 40). So this problem is caused by broken bios. It is more appropriate to fix this by bios.(Linux can't fix it).
    
   
   
   
Comment 26 ykzhao 2008-01-30 06:33:29 UTC
Hi, Norman
   From the log in comment #18 it seems that the acpi-cpufreq module isn't loaded. But it is not helpful to find the root cause.
   Will you please enable the debug function of acpi and cpufreq in kernel configuration and boot the system with the option of "acpi.debug_layer=0x01000000 acpi.debug_level=0x1f cpufreq.debug=0x7" ?
   Please attach the output of dmesg. It will be great if you can attach the .config file.
   Thanks.
Comment 27 ykzhao 2008-03-04 00:01:47 UTC
There are four problems in this bug.
   The first two problems are caused by broken bios. The detailed explanation can be found in the comment #23 and #25.
   The patch for the following problem can be found in comment #54 of http://bugzilla.kernel.org/show_bug.cgi?id=8570
   >AE_NOT_FOUND, Processor Device is not present [20060707] 

   The remaing problem is that acpi_cpufreq can't be loaded. (No such device)

   Since there is no reponse for more than one month, the bug will be rejected.

   If the problem still exists, please reopen the bug and attach the output required in comment #26.
   Thanks.

Note You need to log in before you can comment on or make changes to this bug.