public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Re:  acpi on r40e
@ 2004-02-25 17:53 Praveen C
       [not found] ` <W3110617218168451077731629-OQ2JkDkuTc4TqzVU8YkfAqxOck334EZe@public.gmane.org>
  0 siblings, 1 reply; 4+ 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] 4+ messages in thread
* Re:  Re:  acpi on r40e
@ 2004-02-26 13:12 Praveen C
  0 siblings, 0 replies; 4+ messages in thread
From: Praveen C @ 2004-02-26 13:12 UTC (permalink / raw)
  To: Matt Bennett; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hello
I will add some more info that I could read. I dont know how to copy them so am typing them myself. I compiled processor/thermal as modules and did modprobe after full boot. I kept an xterm open with "cat /proc/kmsg" and did "modprobe processor" in another xterm. I was then able to see the debug messages in the first xterm.

Context switch from TID 1 to TID C3C
acpi_processor-2385 [0C3C][18] acpi_processor_init : Entry
acpi_processor-2279 [0C3C][22] acpi_processor_add : Entry
acpi_processor-2155 [0C3C][23] acpi_processor_get_inf : Entry
acpi_processor-0262 [0C3C][24] acpi_processor_errata : Entry
acpi_processor-0275 [0C3C][24] acpi_processor_errata : Exit- 0000000000
acpi_processor-2179 [0C3C][23] acpi_processor_get_inf : Bus mastering arbitration control present
acpi_processor-2205 [0C3C][23] acpi_processor_get_inf : Processor [0:1]
acpi_processor-0602 [0C3C][24] acpi_processor_get_pow : Entry
acpi_processor-0610 [0C3C][24] acpi_processor_get_pow : lvl2[0x00008014] lvl3[0x00008015]
acpi_processor-0520 [0C3C][25] acpi_processor_get_pow : Entry
acpi_processor-0592 [0C3C][25] acpi_processor_get_pow : Exit- 0000000000
acpi_processor-0744 [0C3C][24] acpi_processor_get_pow : Exit- 0000000000
acpi_processor-0813 [0C3C][24] acpi_processor_get_pla : Entry
acpi_processor-0830 [0C3C][24] acpi_processor_get_pla : Exit- 0000000000
acpi_processor-1454 [0C3C][24] acpi_processor_get_thr: Entry
acpi_processor-1460 [0C3C][24] acpi_processor_get_thr: pblk_address[0x00008010] duty_offset[1] duty_width[3]
acpi_processor-1509 [0C3C][24] acpi_processor_get_thr: Found 8 throttling states

Remaining messages are similar to Matt's:

>
>acpi_processor-1328 [0001] [37] acpi_processor_get_thr: ----Entry
>acpi_processor-1364 [0001] [37] acpi_processor_get_thr: Throtting state 
>is T0 (0% throttling applied)
>acpi_processor-1366 [0001] [37] acpi_processor_get_thr: ----Exit-
>0000000000000
>acpi_processor-1534 [0001] [37] acpi_processor_get_thr: ----Exit-
>0000000000000
>acpi_processor-1800 [0001] [36] acpi_processor_get_lim: ----Entry
>acpi_processor-1808 [0001] [36] acpi_processor_get_lim: ----Exit- 0000000000
>acpi_processor-2228 [0001] [35] acpi_processor_get_inf: ----Exit- 0000000000
>acpi_processor-2063 [0001] [35] acpi_processor_add_fs : ----Entry
>acpi_processor-2122 [0001] [35] acpi_processor_add_fs : ----Exit -
>000000000000
>ACPI: Processor [CPU] (supports C1 C2 C3, 8 throttling states)
>acpi_processor-2337 [0001] [34] acpi_processor_add   : ----Exit -
>0000000000000
>acpi_processor-2402 [0001] [30] acpi_processor_init : ----Exit -
>0000000000000
>ACPI: Thermal Zone [THM0] (69 C)
>
>
>..skipped some info..
>
>
>ide0 at...
>hda: FUJITSU MHT2030AT, ATA DISK drive
>ide1 at 0x1f0-0x1f7,0x3f6 on irq 14
>hdc: DW-224E, ATAPI CD/DVD-ROM drive
>ide1 at 0x170-0x177,0x376 on irq 15
>hda: max request size: 128KiB
>_
>
>[PC hangs up here]
>
>
>
>Hope thats of some use.
>
>cheers,
>Matt Bennett
>
>






-------------------------------------------------------
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] 4+ messages in thread
* Re:  Re:  acpi on r40e
@ 2004-03-02 13:13 Praveen C
  0 siblings, 0 replies; 4+ messages in thread
From: Praveen C @ 2004-03-02 13:13 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Processor module hangup on R40e

The problem is with processor power management.
In function acpi_processor_add

/*
 * 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; //My addition to disable power management <=======
 if ( (pr->id==0) && (pr->flags.power) ) {
    pm_idle_save = pm_idle;
    pm_idle = acpi_processor_idle;
 }

With this modification the processor module does not hang. Thermal can also be loaded and gives correct temperature. I would still like to know why the power management is causing problem and what are the implications of disabling it the way I have done.
Thanks
praveen
http://www.cpraveen.tk




-------------------------------------------------------
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] 4+ messages in thread

end of thread, other threads:[~2004-03-02 13:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-25 17:53 acpi on r40e Praveen C
     [not found] ` <W3110617218168451077731629-OQ2JkDkuTc4TqzVU8YkfAqxOck334EZe@public.gmane.org>
2004-02-25 19:09   ` Matt Bennett
  -- strict thread matches above, loose matches on Subject: below --
2004-02-26 13:12 Praveen C
2004-03-02 13:13 Praveen C

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