Skip to contentSkip to conversation

acpi on r40e

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

lore
Share & tools
lore

Praveen C

author
#0 lore raw

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%

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