Skip to contentSkip to conversation

acpi on r40e

DISCUSSION Praveen C 1 participant 1 message Mar 21, 2004 ACPI

lore
Share & tools
lore

Praveen C

author
#0 lore raw

After seeing some posts about ASUS laptop I looked at the DSDT table of R40e. In processor I see

Processor (CPU, 0x01, 0x00008010, 0x06){

I changed this to

Processor (CPU, 0x01, 0x00001010, 0x06){

When I use this DSDT the processor module does not hang EVEN IF DONT DISABLE POWER MANAGEMENT (See attached mail below where I use default DSDT but disable power management in order to prevent processor module from hanging). ACPI is now able to use C2 and C3 states also. But the temperature rises up to ~72C very quickly stays at that value. (This is the temperature I usually see when the cpu is at 100% load with power managment disabled as below.). Also in this case throttling is set to T1 but the debug message says "Throttling state is 125%". Is there something wrong with throttling ?

Thanks
praveen

--- Praveen C <cpravn-/[email protected]> wrote: > Date: Thu, 18 Mar 2004
15:27:43 +0000 (GMT)

Quoted 65 lines

From: Praveen C <cpravn-/[email protected]>
Subject: acpi on r40e
To: [email protected]

Hello,
I posted to this list about acpi problems on r40e. The processor module
was causing the system to hang and I found that cpu power management was the cause of the trouble. So in drivers/acpi/processor.c, in function acpi_processor_add(), I disabled power managment by setting the power flag to zero as follows:

/*
Install the idle handler if processor power management is
supported.
Note that the default idle handler (default_idle) will be used
on

      platforms that only support C1.
     */
    pr->flags.power = 0; //Disable cpu power management for r40e
    if ((pr->id == 0) && (pr->flags.power)) {
        pm_idle_save = pm_idle;
        pm_idle = acpi_processor_idle;
    }

With this change the processor module does not hang. But the system is
always in C1 and it becomes hot (~50C) even when there is no load. Here
is

cat /proc/acpi/processor/cpu/*

processor id:            0
acpi id:                 1
bus mastering control:   yes
power management:        no
throttling control:      yes
limit interface:         yes
active limit:            P0:T0
user limit:              P0:T0
thermal limit:           P0:T0
active state:            C1
default state:           C1
bus master activity:     00000000

states:
*C1: promotion[C2] demotion[--] latency[000]
usage[00000000]
C2: promotion[C3] demotion[C1] latency[003]
usage[00000000]
C3: promotion[--] demotion[C2] latency[250]
usage[00000000]

state count:             8
active state:            T0
states:
   *T0:                  00%
    T1:                  12%
    T2:                  25%
    T3:                  37%
    T4:                  50%
    T5:                  62%
    T6:                  75%
    T7:                  87%
Quoted 3 lines

I hope someone can find a solution for this.
Thanks
praveen

=====
http://www.cpraveen.tk/

________________________________________________________________________
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more. Go to: http://in.insurance.yahoo.com/licspecial/index.html

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click