public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* acpi on r40e
@ 2004-02-07 16:20 Praveen C
       [not found] ` <Pine.LNX.4.44.0402072145280.2886-100000-8a50ANe9Mx0/NI2e8YfAcJ/QNRX+jHPU@public.gmane.org>
  0 siblings, 1 reply; 26+ messages in thread
From: Praveen C @ 2004-02-07 16:20 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

>Did you deselect thermal and processor modules to be able to boot
>without hang?
>But we need boot log of kernel with thermal and processor modules, and
>don't forget
>to get acpi debug option selected.
>
>--Luming

I select all of them as modules and load only those which work. The
moment I load processor or thermal module the system hangs and I have
to reboot. I have looked at the kernel log there is nothing related to 
processor/thermal modules. It looks like the system totally hangs so 
that kernel is not able to print any messages.

Another problem with acpi which I forgot to mention is that it makes
the special buttons for volume and brightness control ineffective. If I
boot the same kernel with acpi=off those buttons work fine.

I have selected all the options in ACPI. My kernel config file is here
http://www.flatface.net/~praveen/tp/linux-2.6.1-config.txt



-- 
------------------------------------------------------------------------------
Praveen. C
CFD Center, Dept. of Aerospace Engg.
IISc, Bangalore - 560012, India
Phone: +91-80-3600904
http://www.cpraveen.tk
http://aero.iisc.ernet.in/~praveen
------------------------------------------------------------------------------



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

^ permalink raw reply	[flat|nested] 26+ messages in thread
* acpi on r40e
@ 2004-02-08  5:31 Praveen C
  0 siblings, 0 replies; 26+ messages in thread
From: Praveen C @ 2004-02-08  5:31 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

I have tried without the pnpbios and I still get hangup with processor module.
praveen

-----------------------------------------------------------------------------
From: <gava-7azNGskkaze/k5lE4H/icg@public.gmane.org>
To: "Henny Wilbrink" <wsdwhw-ek1Qb6IBo2Pz+pZb47iToQ@public.gmane.org>,
	<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: [ACPI] Re: ACPI, Acer Aspire 1700 series and Kernel 2.6
Date: Sat, 7 Feb 2004 17:33:44 +0100

Thank's very much Henny,
it works!!
i suggesto also to Praveen C (mesasage [ACPI] acpi on r40e) to vrify if he
has
P&P support enable on kernel configuration
Regards
   kolja




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: acpi on r40e
@ 2004-02-10  5:18 Praveen C
       [not found] ` <Pine.LNX.4.44.0402101040090.27892-100000-8a50ANe9Mx0/NI2e8YfAcJ/QNRX+jHPU@public.gmane.org>
  0 siblings, 1 reply; 26+ messages in thread
From: Praveen C @ 2004-02-10  5:18 UTC (permalink / raw)
  To: len.brown-ral2JQCrhuEAvxtiuMwx3w
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

>Interesting.
>If you boot, say with "acpi=off", your volume and brightness buttons
>work, but if you boot with ACPI enabled they have no effect?

Thats right. I know that many others with R40e are facing the same 
problems as me with acpi (hangup with processor/thermal modules and the 
special button problems). When I am booting an acpi kernel I have to 
adjust the brightness before the kernel starts. With acpi=off the 
buttons work without me doing anything extra.

There are other buttons which dont work either with or without acpi.  
For example Fn+F3 switches off the backlight in the display in Windows
but does nothing in Linux. In Linux I can switch off the backlight only
by closing the lid.

Regarding the hangup with processor/thermal modules I am not 
able to locate any messages in kernel log.

Is there any other information I can provide which help to identify the 
problem?

Thanks
praveen



 -- 
------------------------------------------------------------------------------
Praveen. C
CFD Center, Dept. of Aerospace Engg.
IISc, Bangalore - 560012, India
Phone: +91-80-3600904
http://www.cpraveen.tk
http://aero.iisc.ernet.in/~praveen
------------------------------------------------------------------------------



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

^ permalink raw reply	[flat|nested] 26+ messages in thread
* RE: acpi on r40e
@ 2004-02-12  3:18 Yu, Luming
  0 siblings, 0 replies; 26+ messages in thread
From: Yu, Luming @ 2004-02-12  3:18 UTC (permalink / raw)
  To: sandro.weiser-Mmb7MZpHnFY,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


> 
> When I experimented with early acpi-support in 2.4 before 
> switching to apm 
> (was in March 2003) Fn+F3 *definitely* worked with acpi.

Really?  Can you recall the exact version?  

--Luming


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click

^ permalink raw reply	[flat|nested] 26+ messages in thread
* RE: acpi on r40e
@ 2004-02-13  4:22 Yu, Luming
  0 siblings, 0 replies; 26+ messages in thread
From: Yu, Luming @ 2004-02-13  4:22 UTC (permalink / raw)
  To: Nate Lawson, Praveen C; +Cc: Brown, Len, ACPI Developers

> 
> On Thu, 12 Feb 2004, [iso-8859-1] Praveen C wrote:
> > I removed all HKEY related stuff and assembled dsdt.dsl using iasl.
> > Then I used the DSDT initrd patch together with the new 
> DSDT table. I
> > STILL cant get the volume and brightness buttons to work.
> > praveen
> 
> Apparently you didn't read my reply to you.  If you want the 
> buttons, use
> APM and disable ACPI.
> 

>From hardware point of view, User interface can trigger SMI# and SCI# ,
So, maybe it's possible that Hot key feature handled by SMM code
can work with ACPI. I'm not sure, it is just my imagination.

--Luming


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click

^ permalink raw reply	[flat|nested] 26+ messages in thread
* RE: acpi on r40e
@ 2004-02-13  5:46 Brown, Len
  0 siblings, 0 replies; 26+ messages in thread
From: Brown, Len @ 2004-02-13  5:46 UTC (permalink / raw)
  To: Yu, Luming, Nate Lawson, Praveen C; +Cc: ACPI Developers

I expect that the SMI for these buttons gets disabled when the platform
gets switched into ACPI mode.  The existence of IBM-specific HKEY stuff
in the AML suggests that IBM expects an ACPI-enabled OS to have an
IBM-specific ACPI extensions to handle these keys.

Praveen,
As IBM has not supplied such Linux sofware, and nobody has written it
for them, these HKEY methods go un-used.  (and that is why removing them
made no difference).  If you're really excited about running in ACPI
mode on this platform and having those buttons work then...

1. see if you can find out if someplace in IBM they actually have this
software and can make it available for Linux.  IBM's the company running
Linux ads on TV, right?;-)

2. consider writing an ACPI driver that gets loaded when it sees this
device, and talks to those methods.

Cheers,
-Len


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click

^ permalink raw reply	[flat|nested] 26+ messages in thread
* RE: acpi on r40e
@ 2004-02-16 10:25 Yu, Luming
       [not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB6C4-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 26+ messages in thread
From: Yu, Luming @ 2004-02-16 10:25 UTC (permalink / raw)
  To: Yu, Luming, Nate Lawson, Praveen C; +Cc: Brown, Len, ACPI Developers

> > On Thu, 12 Feb 2004, [iso-8859-1] Praveen C wrote:
> > > I removed all HKEY related stuff and assembled dsdt.dsl 
> using iasl.
> > > Then I used the DSDT initrd patch together with the new 
> > DSDT table. I
> > > STILL cant get the volume and brightness buttons to work.
> > > praveen
> > 
> > Apparently you didn't read my reply to you.  If you want the 
> > buttons, use
> > APM and disable ACPI.
> > 
> 
> From hardware point of view, User interface can trigger SMI# 
> and SCI# ,
> So, maybe it's possible that Hot key feature handled by SMM code
> can work with ACPI. I'm not sure, it is just my imagination.
> 
> --Luming

  I just want to add my experience on T21 for hot key issue .
The hot key FN+Home (End) is for brightness control on T21. 
It do work with ACPI without any Linux ACPI code, which is expected 
to support hot key feature.
  To identify the problem you may have, could you send out
/proc/interrupts
befroe and after pressing hot-key. I want to see whether this is 
interrupt or event releated problem.
  I suspect something is wrong with triggering SMI# or SCI#  on r40e.

(Full boot log is appreciated!)

--Luming


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click

^ permalink raw reply	[flat|nested] 26+ messages in thread
* RE: acpi on r40e
@ 2004-02-17  5:10 Brown, Len
  0 siblings, 0 replies; 26+ messages in thread
From: Brown, Len @ 2004-02-17  5:10 UTC (permalink / raw)
  To: Yu, Luming, Nate Lawson, Praveen C; +Cc: ACPI Developers

>  I just want to add my experience on T21 for hot key issue .
>The hot key FN+Home (End) is for brightness control on T21. 
>It do work with ACPI without any Linux ACPI code, which is expected 
>to support hot key feature.

Why is Linux expected to support the hot key feature?
If the T21 has no AML to support hot keys, and it chooses not to disable
the SMM hot-key handlers when the platform enters ACPI mode, then it is
the T21 firmware that is intended to support the hot keys, not ACPI, and
not Linux.  Linux doesn't even know the hot key exists, and has no power
to control it.

(OTOH, the r40e apparently _does_ have AML for hot-key support, and
_does_ disable the SMM handlers for hot keys when ACPI mode is enabled.
So in that case we must presume that IBM shipped an platform specific
ACPI HKEY driver with Windows.  The question is why they don't make the
same driver available on Linux.

So if I bought such a machine, I'd go to http://www.ibm.com/linux and
ask the supplier they support Linux on this model, or not.

-Len


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click

^ permalink raw reply	[flat|nested] 26+ messages in thread
* RE: acpi on r40e
@ 2004-02-17  5:47 Yu, Luming
  0 siblings, 0 replies; 26+ messages in thread
From: Yu, Luming @ 2004-02-17  5:47 UTC (permalink / raw)
  To: Brown, Len, Nate Lawson, Praveen C; +Cc: ACPI Developers

> >  I just want to add my experience on T21 for hot key issue .
> >The hot key FN+Home (End) is for brightness control on T21. 
> >It do work with ACPI without any Linux ACPI code, which is expected 
> >to support hot key feature.
> 
> Why is Linux expected to support the hot key feature?
> If the T21 has no AML to support hot keys, and it chooses not 
> to disable
> the SMM hot-key handlers when the platform enters ACPI mode, 
> then it is
> the T21 firmware that is intended to support the hot keys, 
> not ACPI, and
> not Linux.  Linux doesn't even know the hot key exists, and 
> has no power
> to control it.
> 

The AML of T21 has HKEY Device like r40e.

                    Device (HKEY)
                    {
                        Name (_HID, EisaId ("IBM0068"))
		......


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click

^ permalink raw reply	[flat|nested] 26+ messages in thread
* RE: acpi on r40e
@ 2004-02-17  7:03 Brown, Len
       [not found] ` <BF1FE1855350A0479097B3A0D2A80EE0025A6413-N2PTB0HCzHJF3Yvz3xaN/VDQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 26+ messages in thread
From: Brown, Len @ 2004-02-17  7:03 UTC (permalink / raw)
  To: Yu, Luming, Nate Lawson, Praveen C; +Cc: ACPI Developers


>The AML of T21 has HKEY Device like r40e.
>
>                    Device (HKEY)
>                    {
>                        Name (_HID, EisaId ("IBM0068"))

Interesting!
Yet your T21 brightness key is working when Linux is in ACPI mode.
Perhaps The brightness key is not one of the keys handled by this code?
Are there other hot keys on the T21?  Do they work?

Where is an IBM engineer when you need one?

Thanks,
-Len


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click

^ permalink raw reply	[flat|nested] 26+ messages in thread
* RE: acpi on r40e
@ 2004-02-17  8:14 Yu, Luming
       [not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB6CD-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 26+ messages in thread
From: Yu, Luming @ 2004-02-17  8:14 UTC (permalink / raw)
  To: Praveen C; +Cc: ACPI Developers

> Before a keypress
>   9:          1          XT-PIC  acpi

> After a key press
>   9:          1          XT-PIC  acpi

Thanks for your information, Obviously, Hot key doesn't trigger any
SCI# .And most likely, No SMI# too. This is a real bug.
output of acpidmp and /proc/acpi/dsdt are wanted!

--Luming





-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click

^ permalink raw reply	[flat|nested] 26+ messages in thread
* RE: acpi on r40e
@ 2004-02-21 14:27 Praveen C
  0 siblings, 0 replies; 26+ messages in thread
From: Praveen C @ 2004-02-21 14:27 UTC (permalink / raw)
  To: Brown, Len, Yu, Luming; +Cc: ACPI Developers

 --- Praveen C <cpravn-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote: > Hello
> I have discovered some more info regarding the problems with
> processor
> and thermal modules on R40e. It looks like there is some problem with
> processor module and IDE. When I boot kernel 2.6.2 with all acpi
> modules inbuilt into the kernel, then the machine hangs while
> executing
> drivers/ide/ide-disk.c
> 
> in function idedisk_check_hpa (This checks if the machine has a host
> protected area, which is present on r40e)
>
-----------------------------------------------------------------------------------------------
> if(lba48)
>         set_max = idedisk_read_native_max_address_ext(drive);
> else
>         //control reaches here
>         set_max = idedisk_read_native_max_address(drive);
>         // HANGS, DOES NOT COME OUT OF ABOVE FUNCTION
> 
> if(set_max <= capacity)
>    return;
> 
> printk(KERN_INFO "%s: Host protected area ..........
>
-----------------------------------------------------------------------------------------------
> 
> WIth acpi inbuilt, I see in the boot messages that processor modules
> loads and says 8 throttling states found, thermal loads and displays
> current temperature; then the ide is probed and it hangs in the
> position I indicated above.
> 
> If I build the acpi stuff as modules, and try to load them (modprobe)
> after full boot, then the machine hangs if I try to modprobe
> processor
> module. I dont get any messages in the log because the processor
> module
> seems to be doing something to IDE.
> 
> Can you please tell me what the processor module is doing to IDE ? 
> praveen

lspci on R40e gives the IDE Interface

00:0f.0 IDE interface: ALi Corporation M5229 IDE (rev c4) (prog-if fa)
	Subsystem: IBM: Unknown device 053d
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
	Latency: 0 (500ns min, 1000ns max)
	Interrupt: pin A routed to IRQ 0
	Region 4: I/O ports at 8080 [size=16]
	Capabilities: [60] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-


In the linux kernel I select Ali M15x3 chipset support which provides
the IDE controller for M5229.

Snip from dmesg

ALI15X3: IDE controller at PCI slot 0000:00:0f.0
ALI15X3: chipset revision 196
ALI15X3: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x8080-0x8087, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x8088-0x808f, BIOS settings: hdc:DMA, hdd:pio
hda: FUJITSU MHS2020AT E, ATA DISK drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: CD-224E, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB

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


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click

^ permalink raw reply	[flat|nested] 26+ messages in thread
* RE: acpi on r40e
@ 2004-02-25  9:29 Yu, Luming
  0 siblings, 0 replies; 26+ messages in thread
From: Yu, Luming @ 2004-02-25  9:29 UTC (permalink / raw)
  To: Praveen C; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> > Can you please tell me what the processor module is doing to IDE ? 
> > praveen
> 

To get more debug information, would you please add
acpi_dbg_layer=0x01000000
acpi_dbg_level=0xffffffff
in function acpi_processor_init?

And post deubg info, I think that will help us
a lot.

Maybe it is related to SCI.

--Luming


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re:  acpi on r40e
@ 2004-02-25 17:53 Praveen C
  0 siblings, 0 replies; 26+ messages in thread
From: Praveen C @ 2004-02-25 17:53 UTC (permalink / raw)
  To: Yu, Luming; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


>-----Original Message-----
>From: Yu, Luming [mailto:luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org]
>Sent: Wednesday, February 25, 2004 09:29 AM
>To: 'Praveen C'
>Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>Subject: RE: acpi on r40e
>
>> > Can you please tell me what the processor module is doing to IDE ?
>> > praveen
>>
>
>To get more debug information, would you please add
>acpi_dbg_layer=0x01000000
>acpi_dbg_level=0xffffffff
>in function acpi_processor_init?
>
>And post deubg info, I think that will help us
>a lot.
>
>Maybe it is related to SCI.
>
>--Luming

I made the above modification and boot. I see some debug statements during boot but I cannot copy them since the system hangs subsequently during IDE setup as I have written previously. If I compile the processor as a module and do modprobe after full boot, then system hangs but I dont get any debug messages in /var/log.
praveen




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re:  acpi on r40e
@ 2004-03-02  5:57 Praveen C
  0 siblings, 0 replies; 26+ messages in thread
From: Praveen C @ 2004-03-02  5:57 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

This is about the hangup problem with processor modules on Thinkpad R40e. I have narrowed the problem down to the following functions in drivers/acpi/processor.c

acpi_processor_idle
acpi_processor_get_throttling
acpi_processor_set_throttling

I forced a return in the beginning of all these three functions so that the above functions are not executed. The module then does not hangup and I can also load the thermal module. So I can now get the temperature. I suspect the above three functions because all of them disable irq (local_irq_disable() and local_irq_enable() in 2.6 kernel) which could be causing some problem but thats just a guess. I hope somebody will be able to tell me the possible problems with these functions.
Thanks
praveen




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&op=click

^ permalink raw reply	[flat|nested] 26+ messages in thread
* acpi on r40e
@ 2004-03-18 15:27 Praveen C
  0 siblings, 0 replies; 26+ messages in thread
From: Praveen C @ 2004-03-18 15:27 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2004-03-18 15:27 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-07 16:20 acpi on r40e Praveen C
     [not found] ` <Pine.LNX.4.44.0402072145280.2886-100000-8a50ANe9Mx0/NI2e8YfAcJ/QNRX+jHPU@public.gmane.org>
2004-02-10  4:34   ` Len Brown
     [not found]     ` <1076387688.4110.576.camel-D2Zvc0uNKG8@public.gmane.org>
2004-02-10 16:12       ` Nate Lawson
2004-02-12 16:57       ` Praveen C
     [not found]         ` <20040212165744.446.qmail-78ZWb/MBLhGA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
2004-02-12 18:01           ` Nate Lawson
  -- strict thread matches above, loose matches on Subject: below --
2004-02-08  5:31 Praveen C
2004-02-10  5:18 Praveen C
     [not found] ` <Pine.LNX.4.44.0402101040090.27892-100000-8a50ANe9Mx0/NI2e8YfAcJ/QNRX+jHPU@public.gmane.org>
2004-02-11 21:48   ` Sandro Weiser
2004-02-12  3:18 Yu, Luming
2004-02-13  4:22 Yu, Luming
2004-02-13  5:46 Brown, Len
2004-02-16 10:25 Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB6C4-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-02-16 14:03   ` Praveen C
2004-02-17  5:10 Brown, Len
2004-02-17  5:47 Yu, Luming
2004-02-17  7:03 Brown, Len
     [not found] ` <BF1FE1855350A0479097B3A0D2A80EE0025A6413-N2PTB0HCzHJF3Yvz3xaN/VDQ4js95KgL@public.gmane.org>
2004-02-17  7:40   ` Ian Pilcher
2004-02-19 14:04   ` Praveen C
2004-02-21 13:26   ` Praveen C
2004-02-17  8:14 Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB6CD-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-02-17 16:36   ` Praveen C
2004-02-21 14:27 Praveen C
2004-02-25  9:29 Yu, Luming
2004-02-25 17:53 Praveen C
2004-03-02  5:57 Praveen C
2004-03-18 15:27 Praveen C

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox