All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: kacpid problems
@ 2004-11-09 15:50 Yu, Luming
  2004-11-09 16:15 ` dev_zero
  0 siblings, 1 reply; 37+ messages in thread
From: Yu, Luming @ 2004-11-09 15:50 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

>How am i supppose to get an output from
>/proc/acpi/event ??? I can't access the file, because
>it's in use.

Just kill acpid or the similar.


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click

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

* RE: kacpid problems
  2004-11-09 15:50 kacpid problems Yu, Luming
@ 2004-11-09 16:15 ` dev_zero
  0 siblings, 0 replies; 37+ messages in thread
From: dev_zero @ 2004-11-09 16:15 UTC (permalink / raw)
  To: Yu, Luming; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

I don't know how to get an output from the event file
so, I give you what I've got so far.

Here is the last messages in the /var/log/acpid file:
[Tue Nov  9 15:52:29 2004] received event
"thermal_zone THRM 00000081 00000000"
[Tue Nov  9 15:52:29 2004] executing action
"/etc/acpi/acpi_handler.sh thermal_zone THRM 00000081
00000000"
[Tue Nov  9 15:52:29 2004] BEGIN HANDLER MESSAGES
[Tue Nov  9 15:52:30 2004] END HANDLER MESSAGES
[Tue Nov  9 15:52:30 2004] action exited with status 0
[Tue Nov  9 15:52:30 2004] completed event
"thermal_zone THRM 00000081 00000000"
[Tue Nov  9 16:15:11 2004] exiting
[Tue Nov  9 16:16:27 2004] starting up
[Tue Nov  9 16:16:27 2004] 1 rule loaded

The thing here is that after I installed the patch as
you can see, I don't get the thermal_zone handler
message..

Output from /var/log/messages:
Nov  9 16:16:01 balder kernel: ohci1394: fw-host0:
OHCI-1394 1.0 (PCI): IRQ=[10] 
MMIO=[e0000000-e00007ff]  Max Packet=[2048]
Nov  9 16:16:01 balder kernel: agpgart: Detected SiS
650 chipset
Nov  9 16:16:01 balder kernel: agpgart: Maximum main
memory to use for agp memory: 174M
Nov  9 16:16:01 balder kernel: agpgart: AGP aperture
is 256M @ 0xd0000000
Nov  9 16:16:03 balder ieee1394.agent[2085]: ... no
drivers for IEEE1394 product 0x/0x/0x
Nov  9 16:16:20 balder logger: /etc/rc.d/rc.hotplug
start (exiting script)
Nov  9 16:16:20 balder sshd[2516]: Server listening on
0.0.0.0 port 22.
Nov  9 16:16:27 balder kernel: lp: driver loaded but
no devices found
Nov  9 16:21:05 balder kernel: Intel 810 + AC97 Audio,
version 1.01, 00:36:43 Oct 28 2004
Nov  9 16:21:05 balder kernel: ACPI: PCI interrupt
0000:00:02.7[C] -> GSI 5 (level, low) -> IRQ 5
Nov  9 16:21:05 balder kernel: i810: SiS 7012 found at
IO 0x1800 and 0x1c00, MEM 0x0000 and 0x0000, IRQ 5
Nov  9 16:21:05 balder kernel: i810_audio: Audio
Controller supports 6 channels.
Nov  9 16:21:05 balder kernel: i810_audio: Defaulting
to base 2 channel mode.
Nov  9 16:21:05 balder kernel: i810_audio: Resetting
connection 0
Nov  9 16:21:05 balder kernel: ac97_codec: AC97 Audio
codec, id: ALG16 (ALC200/200P)

In the message file before I applied your patch I
usually got a message saying THRM not defined, but
after I applied your patch as you can see above I
don't get anything:
Oct 24 20:15:24 balder logger: ACPI group thermal_zone
/ action THRM is not defined 
Oct 24 20:26:09 balder -- MARK -- 


> >How am i supppose to get an output from
> >/proc/acpi/event ??? I can't access the file,
> because
> >it's in use.
> 
> Just kill acpid or the similar.
> 
> 
>
-------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for
> FREE
> LinuxWorld Reader's Choice Award Winner for best
> database on Linux.
> http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>
https://lists.sourceforge.net/lists/listinfo/acpi-devel
>  


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

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

* RE: kacpid problems
@ 2004-11-16  3:29 Yu, Luming
  0 siblings, 0 replies; 37+ messages in thread
From: Yu, Luming @ 2004-11-16  3:29 UTC (permalink / raw)
  To: Laszlo 'GCS' Boszormenyi
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

The big slowdown you saw shouldn't be caused by that code change, which
just means issuing poll at  5s frequency. I think it's self-effacing enough. :-)

Thanks
Luming 

>-----Original Message-----
>From: Laszlo 'GCS' Boszormenyi [mailto:gcs-gKC9iF2I70U@public.gmane.org] 
>Sent: 2004年11月16日 8:36
>To: Yu, Luming
>Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>Subject: Re: [ACPI] kacpid problems
>
>* Yu, Luming <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> [2004-11-09 16:23:13 +0800]:
>
>> I suspect we need a sane check against sleep_time.
>> Please testing the following debug patch.
> Tried. The bug still exists, but now kacpid does not stuck in a D
>state and I can power off the machine, it does not fail with
>acpi_power_off called as a last message.
>
>> Also, please sent the output of the activity in /proc/acpi/event .
> I need to stop acpid, but doing a cat after it, I do not see any
>output. How am I supposed to get an output?
>
>> 
>> +       sleep_time = 5000; /* 5 seconds */
>> +
>>         /*
> It just slows down the polling on /proc/acpi/event , right? It helps,
>as see above, but if I run a CPU intense application, mozilla loading a
>big page, or trying to watch a movie, then I see a big slowdown.
>
>Hope this helps,
>Laszlo
>
>


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8

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

* Re: kacpid problems
  2004-11-09  8:23 Yu, Luming
  2004-11-09 15:12 ` dev_zero
@ 2004-11-16  0:36 ` Laszlo 'GCS' Boszormenyi
  1 sibling, 0 replies; 37+ messages in thread
From: Laszlo 'GCS' Boszormenyi @ 2004-11-16  0:36 UTC (permalink / raw)
  To: Yu, Luming; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

* Yu, Luming <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> [2004-11-09 16:23:13 +0800]:

> I suspect we need a sane check against sleep_time.
> Please testing the following debug patch.
 Tried. The bug still exists, but now kacpid does not stuck in a D
state and I can power off the machine, it does not fail with
acpi_power_off called as a last message.

> Also, please sent the output of the activity in /proc/acpi/event .
 I need to stop acpid, but doing a cat after it, I do not see any
output. How am I supposed to get an output?

> 
> +       sleep_time = 5000; /* 5 seconds */
> +
>         /*
 It just slows down the polling on /proc/acpi/event , right? It helps,
as see above, but if I run a CPU intense application, mozilla loading a
big page, or trying to watch a movie, then I see a big slowdown.

Hope this helps,
Laszlo



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8

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

* RE: kacpid problems
  2004-11-11 16:51 Yu, Luming
@ 2004-11-11 16:57 ` dev_zero
  0 siblings, 0 replies; 37+ messages in thread
From: dev_zero @ 2004-11-11 16:57 UTC (permalink / raw)
  To: Yu, Luming, Wang, Zhenyu Z; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Download my DSDT here:
http://home.no.net/pusleole/#dsdt
or
http://acpi.sourceforge.net/dsdt/view.php?id=224

 --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 
> Hmm, interesting, you did narrow the issue 
> down to GPE storm. I will check the
> code, and come up with a elegant patch. 
> Thanks for your hard work.  :-)
> 
> Did you send your DSDT to me?
> I want to be sure nothing dropped for
> solving this issue,
> 
> Thanks
> Luming 
> 
> >-----Original Message-----
> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >Sent: 2004年11月12日 0:37
> >To: Yu, Luming; Wang, Zhenyu Z
> >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >Subject: RE: [ACPI] kacpid problems
> >
> >When I applied the secon patch the kacpid never
> >started, i think, because it never started
> lagging..
> >Is this The fix then?? Or is this just an "ugly"
> hack?
> >
> > --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 
> >> Did you try the patches I sent you to narrow down
> >> the issue?
> >> 
> >> Thanks
> >> Luming 
> >> 
> >> >-----Original Message-----
> >> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >> >Sent: 2004年11月11日 23:26
> >> >To: Wang, Zhenyu Z
> >> >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org; Yu, Luming
> >> >Subject: Re: [ACPI] kacpid problems
> >> >
> >> >When I applied this patch.. I could play even
> >> longer
> >> >than last time, before kacpid started running at
> >> 99%
> >> >cpu usage. First I played longer than usual,
> then
> >> >kacpid started running but not with 99% cpu
> usage,
> >> >then it stopped. It went like this a couple of
> >> times
> >> >then kacpid started with 99% cpu usage again.
> >> >Don't know if the patch worked correctly, but I
> >> >thought the kacpid should go S5, shutdown,
> >> shouldn't
> >> >it?
> >> >
> >> > --- "Wang, Zhenyu" <zhenyu.z.wang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> >> wrote: 
> >> >> copy these from acpi_thermal_remove, does this
> >> >> workaround your issue?
> >> >> 
> >> >> ---
> >> >>
> acpi-2.6/drivers/acpi/thermal.c~remove_queue_work
> >> >> 2004-11-10 23:38:51.000000000 +0800
> >> >> +++ acpi-2.6/drivers/acpi/thermal.c	2004-11-11
> >> >> 09:19:57.365634568 +0800
> >> >> @@ -472,6 +472,13 @@ acpi_thermal_critical (
> >> >>  	printk(KERN_EMERG "Critical temperature
> reached
> >> >> (%ld C), shutting down.\n",
> >> >> KELVIN_TO_CELSIUS(tz->temperature));
> >> >>  	acpi_bus_generate_event(device,
> >> >> ACPI_THERMAL_NOTIFY_CRITICAL,
> >> >> tz->trips.critical.flags.enabled);
> >> >>  
> >> >> +	tz->zombie = 1;
> >> >> +	/* wait for running timer (on other CPUs)
> >> finish
> >> >> */
> >> >> +	del_timer_sync(&(tz->timer));
> >> >> +	/* synchronize deferred task */
> >> >> +	acpi_os_wait_events_complete(NULL);
> >> >> +	/* deferred task may reinsert timer */
> >> >> +	del_timer_sync(&(tz->timer));
> >> >>  
> >> >>
> >>
>
>>acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
> >> >>  
> >> >>  	return_VALUE(0);
> >> >> 
> >> >> 
> >> >> On 2004.11.10 18:09:45 +0000, dev_zero wrote:
> >> >> > This patch actually made some difference. I
> >> could
> >> >> play
> >> >> > much longer now. First it started lagging,
> then
> >> it
> >> >> > stopped, then it started lagging again, then
> it
> >> >> > stopped. It went like this for a while, but
> >> after
> >> >> I
> >> >> > had played som more, it started lagging
> again
> >> but
> >> >> now
> >> >> > it didn't stop.
> >> >> > 
> >> >> >  --- "Wang, Zhenyu"
> <zhenyu.z.wang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> >> >> wrote: 
> >> >> > > oops,
> >> >> > > 
> >> >> > > ---
> >> >> > >
> >> >>
> acpi-2.6/drivers/acpi/thermal.c~remove_queue_work
> >> >> > > 2004-11-10 23:38:51.693022464 +0800
> >> >> > > +++ acpi-2.6/drivers/acpi/thermal.c
> >> 2004-11-10
> >> >> > > 23:52:40.820975856 +0800
> >> >> > > @@ -472,6 +472,8 @@ acpi_thermal_critical
> (
> >> >> > >  	printk(KERN_EMERG "Critical temperature
> >> >> reached
> >> >> > > (%ld C), shutting down.\n",
> >> >> > > KELVIN_TO_CELSIUS(tz->temperature));
> >> >> > >  	acpi_bus_generate_event(device,
> >> >> > > ACPI_THERMAL_NOTIFY_CRITICAL,
> >> >> > > tz->trips.critical.flags.enabled);
> >> >> > >  
> >> >> > > +	tz->zombie = 1;
> >> >> > > +	acpi_os_wait_events_complete(NULL);
> >> >> > >  
> >> >> > >
> >> >> >
> >> >>
> >>
>
>>acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
> >> >> > >  
> >> >> > >  	return_VALUE(0);
> >> >> > > 
> >> >> > > If this has no help, maybe others eat up
> >> >> kacpid..
> >> >> > > 
> >> >> > > On 2004.11.10 23:44:33 +0000, Wang, Zhenyu
> >> >> wrote:
> >> >> > > > Pls try this patch,
> >> >> > > > 
> >> >> > > > ---
> >> >> > >
> >> >>
> acpi-2.6/drivers/acpi/thermal.c~remove_queue_work
> >>  
> >> >> > > 2004-11-10 23:38:51.693022464 +0800
> >> >> > > > +++ acpi-2.6/drivers/acpi/thermal.c    
> >> >> 2004-11-10
> >> >> > > 23:39:50.195128792 +0800
> >> >> > > > @@ -472,6 +472,7 @@
> acpi_thermal_critical (
> >> >> > > >         printk(KERN_EMERG "Critical
> >> >> temperature
> >> >> > > reached (%ld C), shutting down.\n",
> >> >> > > KELVIN_TO_CELSIUS(tz->temperature));
> >> >> > > >         acpi_bus_generate_event(device,
> >> >> > > ACPI_THERMAL_NOTIFY_CRITICAL,
> >> >> > > tz->trips.critical.flags.enabled);
> >> >> > > > 
> >> >> > > > +       tz->zombie = 1;
> >> >> > > >        
> >> >> > >
> >> >> >
> >> >>
> >>
>
>>acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
> >> >> > > > 
> >> >> > > >         return_VALUE(0);
> >> >> > > > 
> >> >> > > > Is this work?
> >> >> > > > 
> >> >> > > > -zhen
> >> >> > > > 
> >> >> > > > On 2004.11.10 14:33:35 +0000, dev_zero
> >> wrote:
> >> >> > > > > kacpid still runns with 99%cpu usage
> when
> >> >> the
> >> >> > > cpu gets
> >> >> > > > > too hot. I tried the game quake 2. You
> >> can
> >> >> play
> >> >> > > around
> >> >> > > > > 10 -15 minutes before the kacpid
> starts
> >> >> running
> >> >> > > on 99%
> >> >> > > > > cpu usage. I also used quake 2 too
> test
> >> the
> 
=== message truncated === 


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

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

* RE: kacpid problems
@ 2004-11-11 16:51 Yu, Luming
  2004-11-11 16:57 ` dev_zero
  0 siblings, 1 reply; 37+ messages in thread
From: Yu, Luming @ 2004-11-11 16:51 UTC (permalink / raw)
  To: dev_zero, Wang, Zhenyu Z; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hmm, interesting, you did narrow the issue 
down to GPE storm. I will check the
code, and come up with a elegant patch. 
Thanks for your hard work.  :-)

Did you send your DSDT to me?
I want to be sure nothing dropped for
solving this issue,

Thanks
Luming 

>-----Original Message-----
>From: dev_zero [mailto:dev_xor@yahoo.no] 
>Sent: 2004年11月12日 0:37
>To: Yu, Luming; Wang, Zhenyu Z
>Cc: acpi-devel@lists.sourceforge.net
>Subject: RE: [ACPI] kacpid problems
>
>When I applied the secon patch the kacpid never
>started, i think, because it never started lagging..
>Is this The fix then?? Or is this just an "ugly" hack?
>
> --- "Yu, Luming" <luming.yu@intel.com> wrote: 
>> Did you try the patches I sent you to narrow down
>> the issue?
>> 
>> Thanks
>> Luming 
>> 
>> >-----Original Message-----
>> >From: dev_zero [mailto:dev_xor@yahoo.no] 
>> >Sent: 2004年11月11日 23:26
>> >To: Wang, Zhenyu Z
>> >Cc: acpi-devel@lists.sourceforge.net; Yu, Luming
>> >Subject: Re: [ACPI] kacpid problems
>> >
>> >When I applied this patch.. I could play even
>> longer
>> >than last time, before kacpid started running at
>> 99%
>> >cpu usage. First I played longer than usual, then
>> >kacpid started running but not with 99% cpu usage,
>> >then it stopped. It went like this a couple of
>> times
>> >then kacpid started with 99% cpu usage again.
>> >Don't know if the patch worked correctly, but I
>> >thought the kacpid should go S5, shutdown,
>> shouldn't
>> >it?
>> >
>> > --- "Wang, Zhenyu" <zhenyu.z.wang@intel.com>
>> wrote: 
>> >> copy these from acpi_thermal_remove, does this
>> >> workaround your issue?
>> >> 
>> >> ---
>> >> acpi-2.6/drivers/acpi/thermal.c~remove_queue_work
>> >> 2004-11-10 23:38:51.000000000 +0800
>> >> +++ acpi-2.6/drivers/acpi/thermal.c	2004-11-11
>> >> 09:19:57.365634568 +0800
>> >> @@ -472,6 +472,13 @@ acpi_thermal_critical (
>> >>  	printk(KERN_EMERG "Critical temperature reached
>> >> (%ld C), shutting down.\n",
>> >> KELVIN_TO_CELSIUS(tz->temperature));
>> >>  	acpi_bus_generate_event(device,
>> >> ACPI_THERMAL_NOTIFY_CRITICAL,
>> >> tz->trips.critical.flags.enabled);
>> >>  
>> >> +	tz->zombie = 1;
>> >> +	/* wait for running timer (on other CPUs)
>> finish
>> >> */
>> >> +	del_timer_sync(&(tz->timer));
>> >> +	/* synchronize deferred task */
>> >> +	acpi_os_wait_events_complete(NULL);
>> >> +	/* deferred task may reinsert timer */
>> >> +	del_timer_sync(&(tz->timer));
>> >>  
>> >>
>>
>>acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
>> >>  
>> >>  	return_VALUE(0);
>> >> 
>> >> 
>> >> On 2004.11.10 18:09:45 +0000, dev_zero wrote:
>> >> > This patch actually made some difference. I
>> could
>> >> play
>> >> > much longer now. First it started lagging, then
>> it
>> >> > stopped, then it started lagging again, then it
>> >> > stopped. It went like this for a while, but
>> after
>> >> I
>> >> > had played som more, it started lagging again
>> but
>> >> now
>> >> > it didn't stop.
>> >> > 
>> >> >  --- "Wang, Zhenyu" <zhenyu.z.wang@intel.com>
>> >> wrote: 
>> >> > > oops,
>> >> > > 
>> >> > > ---
>> >> > >
>> >> acpi-2.6/drivers/acpi/thermal.c~remove_queue_work
>> >> > > 2004-11-10 23:38:51.693022464 +0800
>> >> > > +++ acpi-2.6/drivers/acpi/thermal.c
>> 2004-11-10
>> >> > > 23:52:40.820975856 +0800
>> >> > > @@ -472,6 +472,8 @@ acpi_thermal_critical (
>> >> > >  	printk(KERN_EMERG "Critical temperature
>> >> reached
>> >> > > (%ld C), shutting down.\n",
>> >> > > KELVIN_TO_CELSIUS(tz->temperature));
>> >> > >  	acpi_bus_generate_event(device,
>> >> > > ACPI_THERMAL_NOTIFY_CRITICAL,
>> >> > > tz->trips.critical.flags.enabled);
>> >> > >  
>> >> > > +	tz->zombie = 1;
>> >> > > +	acpi_os_wait_events_complete(NULL);
>> >> > >  
>> >> > >
>> >> >
>> >>
>>
>>acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
>> >> > >  
>> >> > >  	return_VALUE(0);
>> >> > > 
>> >> > > If this has no help, maybe others eat up
>> >> kacpid..
>> >> > > 
>> >> > > On 2004.11.10 23:44:33 +0000, Wang, Zhenyu
>> >> wrote:
>> >> > > > Pls try this patch,
>> >> > > > 
>> >> > > > ---
>> >> > >
>> >> acpi-2.6/drivers/acpi/thermal.c~remove_queue_work
>>  
>> >> > > 2004-11-10 23:38:51.693022464 +0800
>> >> > > > +++ acpi-2.6/drivers/acpi/thermal.c    
>> >> 2004-11-10
>> >> > > 23:39:50.195128792 +0800
>> >> > > > @@ -472,6 +472,7 @@ acpi_thermal_critical (
>> >> > > >         printk(KERN_EMERG "Critical
>> >> temperature
>> >> > > reached (%ld C), shutting down.\n",
>> >> > > KELVIN_TO_CELSIUS(tz->temperature));
>> >> > > >         acpi_bus_generate_event(device,
>> >> > > ACPI_THERMAL_NOTIFY_CRITICAL,
>> >> > > tz->trips.critical.flags.enabled);
>> >> > > > 
>> >> > > > +       tz->zombie = 1;
>> >> > > >        
>> >> > >
>> >> >
>> >>
>>
>>acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
>> >> > > > 
>> >> > > >         return_VALUE(0);
>> >> > > > 
>> >> > > > Is this work?
>> >> > > > 
>> >> > > > -zhen
>> >> > > > 
>> >> > > > On 2004.11.10 14:33:35 +0000, dev_zero
>> wrote:
>> >> > > > > kacpid still runns with 99%cpu usage when
>> >> the
>> >> > > cpu gets
>> >> > > > > too hot. I tried the game quake 2. You
>> can
>> >> play
>> >> > > around
>> >> > > > > 10 -15 minutes before the kacpid starts
>> >> running
>> >> > > on 99%
>> >> > > > > cpu usage. I also used quake 2 too test
>> the
>> >> > > kernel
>> >> > > > > before I applied your patch.
>> >> > > > > 
>> >> > > > >  --- "Yu, Luming" <luming.yu@intel.com>
>> >> wrote: 
>> >> > > > > > It means there was NO event generated
>> at
>> >> that
>> >> > > time.
>> >> > > > > > Do you think the symptom is gone with
>> my
>> >> debug
>> >> > > > > > patch?
>> >> > > > > > If so, I think your box need a more
>> sane
>> >> > > schedule
>> >> > > > > > for acpi_thermal_check 
>> >> > > > > > And, I can come up with a patch.
>> >> > > > > > 
>> >> > > > > > Thanks
>> >> > > > > > Luming 
>> >> > > > > > 
>> >> > > > > > >-----Original Message-----
>> >> > > > > > >From: dev_zero
>> [mailto:dev_xor@yahoo.no] 
>> >> > > > > > >Sent: 2004年11月10日 1:06
>> >> > > > > > >To: Yu, Luming
>> >> > > > > > >Cc: acpi-devel@lists.sourceforge.net
>> >> > > > > > >Subject: RE: [ACPI] kacpid problems
>> >> > > > > > >
>> >> > > > > > >When I try to output the event file I
>> do
>> >> > > this:
>> >> > > > > > >[root@balder: /proc/acpi]# cat event >
>> >> > > > > > /home/event.log
>> >> > > > > > >
>> >> > > > > > >But then It just stands there without
>> >> doing
>> >> > > > > > anything.
>> >> > > > > > >So i tried to check what was wrong (ps
>> >> ax)
>> >> > > command:
>> >> > > > > > >2922 pts/0    S+     0:00 cat event
>> >> > > > > > >
>> 
>=== message truncated === 
>

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

* RE: kacpid problems
  2004-11-11 15:32 Yu, Luming
  2004-11-11 15:56 ` dev_zero
  2004-11-11 16:01 ` dev_zero
@ 2004-11-11 16:37 ` dev_zero
  2 siblings, 0 replies; 37+ messages in thread
From: dev_zero @ 2004-11-11 16:37 UTC (permalink / raw)
  To: Yu, Luming, Wang, Zhenyu Z; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

When I applied the secon patch the kacpid never
started, i think, because it never started lagging..
Is this The fix then?? Or is this just an "ugly" hack?

 --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 
> Did you try the patches I sent you to narrow down
> the issue?
> 
> Thanks
> Luming 
> 
> >-----Original Message-----
> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >Sent: 2004年11月11日 23:26
> >To: Wang, Zhenyu Z
> >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org; Yu, Luming
> >Subject: Re: [ACPI] kacpid problems
> >
> >When I applied this patch.. I could play even
> longer
> >than last time, before kacpid started running at
> 99%
> >cpu usage. First I played longer than usual, then
> >kacpid started running but not with 99% cpu usage,
> >then it stopped. It went like this a couple of
> times
> >then kacpid started with 99% cpu usage again.
> >Don't know if the patch worked correctly, but I
> >thought the kacpid should go S5, shutdown,
> shouldn't
> >it?
> >
> > --- "Wang, Zhenyu" <zhenyu.z.wang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> wrote: 
> >> copy these from acpi_thermal_remove, does this
> >> workaround your issue?
> >> 
> >> ---
> >> acpi-2.6/drivers/acpi/thermal.c~remove_queue_work
> >> 2004-11-10 23:38:51.000000000 +0800
> >> +++ acpi-2.6/drivers/acpi/thermal.c	2004-11-11
> >> 09:19:57.365634568 +0800
> >> @@ -472,6 +472,13 @@ acpi_thermal_critical (
> >>  	printk(KERN_EMERG "Critical temperature reached
> >> (%ld C), shutting down.\n",
> >> KELVIN_TO_CELSIUS(tz->temperature));
> >>  	acpi_bus_generate_event(device,
> >> ACPI_THERMAL_NOTIFY_CRITICAL,
> >> tz->trips.critical.flags.enabled);
> >>  
> >> +	tz->zombie = 1;
> >> +	/* wait for running timer (on other CPUs)
> finish
> >> */
> >> +	del_timer_sync(&(tz->timer));
> >> +	/* synchronize deferred task */
> >> +	acpi_os_wait_events_complete(NULL);
> >> +	/* deferred task may reinsert timer */
> >> +	del_timer_sync(&(tz->timer));
> >>  
> >>
>
>acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
> >>  
> >>  	return_VALUE(0);
> >> 
> >> 
> >> On 2004.11.10 18:09:45 +0000, dev_zero wrote:
> >> > This patch actually made some difference. I
> could
> >> play
> >> > much longer now. First it started lagging, then
> it
> >> > stopped, then it started lagging again, then it
> >> > stopped. It went like this for a while, but
> after
> >> I
> >> > had played som more, it started lagging again
> but
> >> now
> >> > it didn't stop.
> >> > 
> >> >  --- "Wang, Zhenyu" <zhenyu.z.wang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> >> wrote: 
> >> > > oops,
> >> > > 
> >> > > ---
> >> > >
> >> acpi-2.6/drivers/acpi/thermal.c~remove_queue_work
> >> > > 2004-11-10 23:38:51.693022464 +0800
> >> > > +++ acpi-2.6/drivers/acpi/thermal.c
> 2004-11-10
> >> > > 23:52:40.820975856 +0800
> >> > > @@ -472,6 +472,8 @@ acpi_thermal_critical (
> >> > >  	printk(KERN_EMERG "Critical temperature
> >> reached
> >> > > (%ld C), shutting down.\n",
> >> > > KELVIN_TO_CELSIUS(tz->temperature));
> >> > >  	acpi_bus_generate_event(device,
> >> > > ACPI_THERMAL_NOTIFY_CRITICAL,
> >> > > tz->trips.critical.flags.enabled);
> >> > >  
> >> > > +	tz->zombie = 1;
> >> > > +	acpi_os_wait_events_complete(NULL);
> >> > >  
> >> > >
> >> >
> >>
>
>acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
> >> > >  
> >> > >  	return_VALUE(0);
> >> > > 
> >> > > If this has no help, maybe others eat up
> >> kacpid..
> >> > > 
> >> > > On 2004.11.10 23:44:33 +0000, Wang, Zhenyu
> >> wrote:
> >> > > > Pls try this patch,
> >> > > > 
> >> > > > ---
> >> > >
> >> acpi-2.6/drivers/acpi/thermal.c~remove_queue_work
>  
> >> > > 2004-11-10 23:38:51.693022464 +0800
> >> > > > +++ acpi-2.6/drivers/acpi/thermal.c    
> >> 2004-11-10
> >> > > 23:39:50.195128792 +0800
> >> > > > @@ -472,6 +472,7 @@ acpi_thermal_critical (
> >> > > >         printk(KERN_EMERG "Critical
> >> temperature
> >> > > reached (%ld C), shutting down.\n",
> >> > > KELVIN_TO_CELSIUS(tz->temperature));
> >> > > >         acpi_bus_generate_event(device,
> >> > > ACPI_THERMAL_NOTIFY_CRITICAL,
> >> > > tz->trips.critical.flags.enabled);
> >> > > > 
> >> > > > +       tz->zombie = 1;
> >> > > >        
> >> > >
> >> >
> >>
>
>acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
> >> > > > 
> >> > > >         return_VALUE(0);
> >> > > > 
> >> > > > Is this work?
> >> > > > 
> >> > > > -zhen
> >> > > > 
> >> > > > On 2004.11.10 14:33:35 +0000, dev_zero
> wrote:
> >> > > > > kacpid still runns with 99%cpu usage when
> >> the
> >> > > cpu gets
> >> > > > > too hot. I tried the game quake 2. You
> can
> >> play
> >> > > around
> >> > > > > 10 -15 minutes before the kacpid starts
> >> running
> >> > > on 99%
> >> > > > > cpu usage. I also used quake 2 too test
> the
> >> > > kernel
> >> > > > > before I applied your patch.
> >> > > > > 
> >> > > > >  --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> >> wrote: 
> >> > > > > > It means there was NO event generated
> at
> >> that
> >> > > time.
> >> > > > > > Do you think the symptom is gone with
> my
> >> debug
> >> > > > > > patch?
> >> > > > > > If so, I think your box need a more
> sane
> >> > > schedule
> >> > > > > > for acpi_thermal_check 
> >> > > > > > And, I can come up with a patch.
> >> > > > > > 
> >> > > > > > Thanks
> >> > > > > > Luming 
> >> > > > > > 
> >> > > > > > >-----Original Message-----
> >> > > > > > >From: dev_zero
> [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >> > > > > > >Sent: 2004年11月10日 1:06
> >> > > > > > >To: Yu, Luming
> >> > > > > > >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >> > > > > > >Subject: RE: [ACPI] kacpid problems
> >> > > > > > >
> >> > > > > > >When I try to output the event file I
> do
> >> > > this:
> >> > > > > > >[root@balder: /proc/acpi]# cat event >
> >> > > > > > /home/event.log
> >> > > > > > >
> >> > > > > > >But then It just stands there without
> >> doing
> >> > > > > > anything.
> >> > > > > > >So i tried to check what was wrong (ps
> >> ax)
> >> > > command:
> >> > > > > > >2922 pts/0    S+     0:00 cat event
> >> > > > > > >
> 
=== message truncated === 


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

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

* RE: kacpid problems
  2004-11-11 15:32 Yu, Luming
  2004-11-11 15:56 ` dev_zero
@ 2004-11-11 16:01 ` dev_zero
  2004-11-11 16:37 ` dev_zero
  2 siblings, 0 replies; 37+ messages in thread
From: dev_zero @ 2004-11-11 16:01 UTC (permalink / raw)
  To: Yu, Luming, Wang, Zhenyu Z; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

The second patch from you Yu is the last one I have
time to try out, because the firm that made my machine
say that it should be in for service, to check my fan.
I assume this service will take a couple of days, but
I will be in touch with you guys. I'll send you the
results of the second patch in about 10-15min.

 --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 
> Did you try the patches I sent you to narrow down
> the issue?
> 
> Thanks
> Luming 
> 
> >-----Original Message-----
> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >Sent: 2004年11月11日 23:26
> >To: Wang, Zhenyu Z
> >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org; Yu, Luming
> >Subject: Re: [ACPI] kacpid problems
> >
> >When I applied this patch.. I could play even
> longer
> >than last time, before kacpid started running at
> 99%
> >cpu usage. First I played longer than usual, then
> >kacpid started running but not with 99% cpu usage,
> >then it stopped. It went like this a couple of
> times
> >then kacpid started with 99% cpu usage again.
> >Don't know if the patch worked correctly, but I
> >thought the kacpid should go S5, shutdown,
> shouldn't
> >it?
> >
> > --- "Wang, Zhenyu" <zhenyu.z.wang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> wrote: 
> >> copy these from acpi_thermal_remove, does this
> >> workaround your issue?
> >> 
> >> ---
> >> acpi-2.6/drivers/acpi/thermal.c~remove_queue_work
> >> 2004-11-10 23:38:51.000000000 +0800
> >> +++ acpi-2.6/drivers/acpi/thermal.c	2004-11-11
> >> 09:19:57.365634568 +0800
> >> @@ -472,6 +472,13 @@ acpi_thermal_critical (
> >>  	printk(KERN_EMERG "Critical temperature reached
> >> (%ld C), shutting down.\n",
> >> KELVIN_TO_CELSIUS(tz->temperature));
> >>  	acpi_bus_generate_event(device,
> >> ACPI_THERMAL_NOTIFY_CRITICAL,
> >> tz->trips.critical.flags.enabled);
> >>  
> >> +	tz->zombie = 1;
> >> +	/* wait for running timer (on other CPUs)
> finish
> >> */
> >> +	del_timer_sync(&(tz->timer));
> >> +	/* synchronize deferred task */
> >> +	acpi_os_wait_events_complete(NULL);
> >> +	/* deferred task may reinsert timer */
> >> +	del_timer_sync(&(tz->timer));
> >>  
> >>
>
>acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
> >>  
> >>  	return_VALUE(0);
> >> 
> >> 
> >> On 2004.11.10 18:09:45 +0000, dev_zero wrote:
> >> > This patch actually made some difference. I
> could
> >> play
> >> > much longer now. First it started lagging, then
> it
> >> > stopped, then it started lagging again, then it
> >> > stopped. It went like this for a while, but
> after
> >> I
> >> > had played som more, it started lagging again
> but
> >> now
> >> > it didn't stop.
> >> > 
> >> >  --- "Wang, Zhenyu" <zhenyu.z.wang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> >> wrote: 
> >> > > oops,
> >> > > 
> >> > > ---
> >> > >
> >> acpi-2.6/drivers/acpi/thermal.c~remove_queue_work
> >> > > 2004-11-10 23:38:51.693022464 +0800
> >> > > +++ acpi-2.6/drivers/acpi/thermal.c
> 2004-11-10
> >> > > 23:52:40.820975856 +0800
> >> > > @@ -472,6 +472,8 @@ acpi_thermal_critical (
> >> > >  	printk(KERN_EMERG "Critical temperature
> >> reached
> >> > > (%ld C), shutting down.\n",
> >> > > KELVIN_TO_CELSIUS(tz->temperature));
> >> > >  	acpi_bus_generate_event(device,
> >> > > ACPI_THERMAL_NOTIFY_CRITICAL,
> >> > > tz->trips.critical.flags.enabled);
> >> > >  
> >> > > +	tz->zombie = 1;
> >> > > +	acpi_os_wait_events_complete(NULL);
> >> > >  
> >> > >
> >> >
> >>
>
>acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
> >> > >  
> >> > >  	return_VALUE(0);
> >> > > 
> >> > > If this has no help, maybe others eat up
> >> kacpid..
> >> > > 
> >> > > On 2004.11.10 23:44:33 +0000, Wang, Zhenyu
> >> wrote:
> >> > > > Pls try this patch,
> >> > > > 
> >> > > > ---
> >> > >
> >> acpi-2.6/drivers/acpi/thermal.c~remove_queue_work
>  
> >> > > 2004-11-10 23:38:51.693022464 +0800
> >> > > > +++ acpi-2.6/drivers/acpi/thermal.c    
> >> 2004-11-10
> >> > > 23:39:50.195128792 +0800
> >> > > > @@ -472,6 +472,7 @@ acpi_thermal_critical (
> >> > > >         printk(KERN_EMERG "Critical
> >> temperature
> >> > > reached (%ld C), shutting down.\n",
> >> > > KELVIN_TO_CELSIUS(tz->temperature));
> >> > > >         acpi_bus_generate_event(device,
> >> > > ACPI_THERMAL_NOTIFY_CRITICAL,
> >> > > tz->trips.critical.flags.enabled);
> >> > > > 
> >> > > > +       tz->zombie = 1;
> >> > > >        
> >> > >
> >> >
> >>
>
>acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
> >> > > > 
> >> > > >         return_VALUE(0);
> >> > > > 
> >> > > > Is this work?
> >> > > > 
> >> > > > -zhen
> >> > > > 
> >> > > > On 2004.11.10 14:33:35 +0000, dev_zero
> wrote:
> >> > > > > kacpid still runns with 99%cpu usage when
> >> the
> >> > > cpu gets
> >> > > > > too hot. I tried the game quake 2. You
> can
> >> play
> >> > > around
> >> > > > > 10 -15 minutes before the kacpid starts
> >> running
> >> > > on 99%
> >> > > > > cpu usage. I also used quake 2 too test
> the
> >> > > kernel
> >> > > > > before I applied your patch.
> >> > > > > 
> >> > > > >  --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> >> wrote: 
> >> > > > > > It means there was NO event generated
> at
> >> that
> >> > > time.
> >> > > > > > Do you think the symptom is gone with
> my
> >> debug
> >> > > > > > patch?
> >> > > > > > If so, I think your box need a more
> sane
> >> > > schedule
> >> > > > > > for acpi_thermal_check 
> >> > > > > > And, I can come up with a patch.
> >> > > > > > 
> >> > > > > > Thanks
> >> > > > > > Luming 
> >> > > > > > 
> >> > > > > > >-----Original Message-----
> >> > > > > > >From: dev_zero
> [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >> > > > > > >Sent: 2004年11月10日 1:06
> >> > > > > > >To: Yu, Luming
> >> > > > > > >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >> > > > > > >Subject: RE: [ACPI] kacpid problems
> >> > > > > > >
> >> > > > > > >When I try to output the event file I
> do
> >> > > this:
> >> > > > > > >[root@balder: /proc/acpi]# cat event >
> >> > > > > > /home/event.log
> >> > > > > > >
> >> > > > > > >But then It just stands there without
> >> doing
> >> > > > > > anything.
> >> > > > > > >So i tried to check what was wrong (ps
> >> ax)
> >> > > command:
> >> > > > > > >2922 pts/0    S+     0:00 cat event
> >> > > > > > >
> 
=== message truncated === 


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

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

* RE: kacpid problems
  2004-11-11 15:32 Yu, Luming
@ 2004-11-11 15:56 ` dev_zero
  2004-11-11 16:01 ` dev_zero
  2004-11-11 16:37 ` dev_zero
  2 siblings, 0 replies; 37+ messages in thread
From: dev_zero @ 2004-11-11 15:56 UTC (permalink / raw)
  To: Yu, Luming, Wang, Zhenyu Z; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

I have tried the first one, with the same results as
the patch from Wang. I will try the second now.

 --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 
> Did you try the patches I sent you to narrow down
> the issue?
> 
> Thanks
> Luming 
> 
> >-----Original Message-----
> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >Sent: 2004年11月11日 23:26
> >To: Wang, Zhenyu Z
> >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org; Yu, Luming
> >Subject: Re: [ACPI] kacpid problems
> >
> >When I applied this patch.. I could play even
> longer
> >than last time, before kacpid started running at
> 99%
> >cpu usage. First I played longer than usual, then
> >kacpid started running but not with 99% cpu usage,
> >then it stopped. It went like this a couple of
> times
> >then kacpid started with 99% cpu usage again.
> >Don't know if the patch worked correctly, but I
> >thought the kacpid should go S5, shutdown,
> shouldn't
> >it?
> >
> > --- "Wang, Zhenyu" <zhenyu.z.wang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> wrote: 
> >> copy these from acpi_thermal_remove, does this
> >> workaround your issue?
> >> 
> >> ---
> >> acpi-2.6/drivers/acpi/thermal.c~remove_queue_work
> >> 2004-11-10 23:38:51.000000000 +0800
> >> +++ acpi-2.6/drivers/acpi/thermal.c	2004-11-11
> >> 09:19:57.365634568 +0800
> >> @@ -472,6 +472,13 @@ acpi_thermal_critical (
> >>  	printk(KERN_EMERG "Critical temperature reached
> >> (%ld C), shutting down.\n",
> >> KELVIN_TO_CELSIUS(tz->temperature));
> >>  	acpi_bus_generate_event(device,
> >> ACPI_THERMAL_NOTIFY_CRITICAL,
> >> tz->trips.critical.flags.enabled);
> >>  
> >> +	tz->zombie = 1;
> >> +	/* wait for running timer (on other CPUs)
> finish
> >> */
> >> +	del_timer_sync(&(tz->timer));
> >> +	/* synchronize deferred task */
> >> +	acpi_os_wait_events_complete(NULL);
> >> +	/* deferred task may reinsert timer */
> >> +	del_timer_sync(&(tz->timer));
> >>  
> >>
>
>acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
> >>  
> >>  	return_VALUE(0);
> >> 
> >> 
> >> On 2004.11.10 18:09:45 +0000, dev_zero wrote:
> >> > This patch actually made some difference. I
> could
> >> play
> >> > much longer now. First it started lagging, then
> it
> >> > stopped, then it started lagging again, then it
> >> > stopped. It went like this for a while, but
> after
> >> I
> >> > had played som more, it started lagging again
> but
> >> now
> >> > it didn't stop.
> >> > 
> >> >  --- "Wang, Zhenyu" <zhenyu.z.wang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> >> wrote: 
> >> > > oops,
> >> > > 
> >> > > ---
> >> > >
> >> acpi-2.6/drivers/acpi/thermal.c~remove_queue_work
> >> > > 2004-11-10 23:38:51.693022464 +0800
> >> > > +++ acpi-2.6/drivers/acpi/thermal.c
> 2004-11-10
> >> > > 23:52:40.820975856 +0800
> >> > > @@ -472,6 +472,8 @@ acpi_thermal_critical (
> >> > >  	printk(KERN_EMERG "Critical temperature
> >> reached
> >> > > (%ld C), shutting down.\n",
> >> > > KELVIN_TO_CELSIUS(tz->temperature));
> >> > >  	acpi_bus_generate_event(device,
> >> > > ACPI_THERMAL_NOTIFY_CRITICAL,
> >> > > tz->trips.critical.flags.enabled);
> >> > >  
> >> > > +	tz->zombie = 1;
> >> > > +	acpi_os_wait_events_complete(NULL);
> >> > >  
> >> > >
> >> >
> >>
>
>acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
> >> > >  
> >> > >  	return_VALUE(0);
> >> > > 
> >> > > If this has no help, maybe others eat up
> >> kacpid..
> >> > > 
> >> > > On 2004.11.10 23:44:33 +0000, Wang, Zhenyu
> >> wrote:
> >> > > > Pls try this patch,
> >> > > > 
> >> > > > ---
> >> > >
> >> acpi-2.6/drivers/acpi/thermal.c~remove_queue_work
>  
> >> > > 2004-11-10 23:38:51.693022464 +0800
> >> > > > +++ acpi-2.6/drivers/acpi/thermal.c    
> >> 2004-11-10
> >> > > 23:39:50.195128792 +0800
> >> > > > @@ -472,6 +472,7 @@ acpi_thermal_critical (
> >> > > >         printk(KERN_EMERG "Critical
> >> temperature
> >> > > reached (%ld C), shutting down.\n",
> >> > > KELVIN_TO_CELSIUS(tz->temperature));
> >> > > >         acpi_bus_generate_event(device,
> >> > > ACPI_THERMAL_NOTIFY_CRITICAL,
> >> > > tz->trips.critical.flags.enabled);
> >> > > > 
> >> > > > +       tz->zombie = 1;
> >> > > >        
> >> > >
> >> >
> >>
>
>acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
> >> > > > 
> >> > > >         return_VALUE(0);
> >> > > > 
> >> > > > Is this work?
> >> > > > 
> >> > > > -zhen
> >> > > > 
> >> > > > On 2004.11.10 14:33:35 +0000, dev_zero
> wrote:
> >> > > > > kacpid still runns with 99%cpu usage when
> >> the
> >> > > cpu gets
> >> > > > > too hot. I tried the game quake 2. You
> can
> >> play
> >> > > around
> >> > > > > 10 -15 minutes before the kacpid starts
> >> running
> >> > > on 99%
> >> > > > > cpu usage. I also used quake 2 too test
> the
> >> > > kernel
> >> > > > > before I applied your patch.
> >> > > > > 
> >> > > > >  --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> >> wrote: 
> >> > > > > > It means there was NO event generated
> at
> >> that
> >> > > time.
> >> > > > > > Do you think the symptom is gone with
> my
> >> debug
> >> > > > > > patch?
> >> > > > > > If so, I think your box need a more
> sane
> >> > > schedule
> >> > > > > > for acpi_thermal_check 
> >> > > > > > And, I can come up with a patch.
> >> > > > > > 
> >> > > > > > Thanks
> >> > > > > > Luming 
> >> > > > > > 
> >> > > > > > >-----Original Message-----
> >> > > > > > >From: dev_zero
> [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >> > > > > > >Sent: 2004年11月10日 1:06
> >> > > > > > >To: Yu, Luming
> >> > > > > > >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >> > > > > > >Subject: RE: [ACPI] kacpid problems
> >> > > > > > >
> >> > > > > > >When I try to output the event file I
> do
> >> > > this:
> >> > > > > > >[root@balder: /proc/acpi]# cat event >
> >> > > > > > /home/event.log
> >> > > > > > >
> >> > > > > > >But then It just stands there without
> >> doing
> >> > > > > > anything.
> >> > > > > > >So i tried to check what was wrong (ps
> >> ax)
> >> > > command:
> >> > > > > > >2922 pts/0    S+     0:00 cat event
> >> > > > > > >
> 
=== message truncated === 


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

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

* RE: kacpid problems
@ 2004-11-11 15:32 Yu, Luming
  2004-11-11 15:56 ` dev_zero
                   ` (2 more replies)
  0 siblings, 3 replies; 37+ messages in thread
From: Yu, Luming @ 2004-11-11 15:32 UTC (permalink / raw)
  To: dev_zero, Wang, Zhenyu Z; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 7066 bytes --]

Did you try the patches I sent you to narrow down the issue?

Thanks
Luming 

>-----Original Message-----
>From: dev_zero [mailto:dev_xor@yahoo.no] 
>Sent: 2004年11月11日 23:26
>To: Wang, Zhenyu Z
>Cc: acpi-devel@lists.sourceforge.net; Yu, Luming
>Subject: Re: [ACPI] kacpid problems
>
>When I applied this patch.. I could play even longer
>than last time, before kacpid started running at 99%
>cpu usage. First I played longer than usual, then
>kacpid started running but not with 99% cpu usage,
>then it stopped. It went like this a couple of times
>then kacpid started with 99% cpu usage again.
>Don't know if the patch worked correctly, but I
>thought the kacpid should go S5, shutdown, shouldn't
>it?
>
> --- "Wang, Zhenyu" <zhenyu.z.wang@intel.com> wrote: 
>> copy these from acpi_thermal_remove, does this
>> workaround your issue?
>> 
>> ---
>> acpi-2.6/drivers/acpi/thermal.c~remove_queue_work
>> 2004-11-10 23:38:51.000000000 +0800
>> +++ acpi-2.6/drivers/acpi/thermal.c	2004-11-11
>> 09:19:57.365634568 +0800
>> @@ -472,6 +472,13 @@ acpi_thermal_critical (
>>  	printk(KERN_EMERG "Critical temperature reached
>> (%ld C), shutting down.\n",
>> KELVIN_TO_CELSIUS(tz->temperature));
>>  	acpi_bus_generate_event(device,
>> ACPI_THERMAL_NOTIFY_CRITICAL,
>> tz->trips.critical.flags.enabled);
>>  
>> +	tz->zombie = 1;
>> +	/* wait for running timer (on other CPUs) finish
>> */
>> +	del_timer_sync(&(tz->timer));
>> +	/* synchronize deferred task */
>> +	acpi_os_wait_events_complete(NULL);
>> +	/* deferred task may reinsert timer */
>> +	del_timer_sync(&(tz->timer));
>>  
>>
>acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
>>  
>>  	return_VALUE(0);
>> 
>> 
>> On 2004.11.10 18:09:45 +0000, dev_zero wrote:
>> > This patch actually made some difference. I could
>> play
>> > much longer now. First it started lagging, then it
>> > stopped, then it started lagging again, then it
>> > stopped. It went like this for a while, but after
>> I
>> > had played som more, it started lagging again but
>> now
>> > it didn't stop.
>> > 
>> >  --- "Wang, Zhenyu" <zhenyu.z.wang@intel.com>
>> wrote: 
>> > > oops,
>> > > 
>> > > ---
>> > >
>> acpi-2.6/drivers/acpi/thermal.c~remove_queue_work
>> > > 2004-11-10 23:38:51.693022464 +0800
>> > > +++ acpi-2.6/drivers/acpi/thermal.c	2004-11-10
>> > > 23:52:40.820975856 +0800
>> > > @@ -472,6 +472,8 @@ acpi_thermal_critical (
>> > >  	printk(KERN_EMERG "Critical temperature
>> reached
>> > > (%ld C), shutting down.\n",
>> > > KELVIN_TO_CELSIUS(tz->temperature));
>> > >  	acpi_bus_generate_event(device,
>> > > ACPI_THERMAL_NOTIFY_CRITICAL,
>> > > tz->trips.critical.flags.enabled);
>> > >  
>> > > +	tz->zombie = 1;
>> > > +	acpi_os_wait_events_complete(NULL);
>> > >  
>> > >
>> >
>>
>acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
>> > >  
>> > >  	return_VALUE(0);
>> > > 
>> > > If this has no help, maybe others eat up
>> kacpid..
>> > > 
>> > > On 2004.11.10 23:44:33 +0000, Wang, Zhenyu
>> wrote:
>> > > > Pls try this patch,
>> > > > 
>> > > > ---
>> > >
>> acpi-2.6/drivers/acpi/thermal.c~remove_queue_work  
>> > > 2004-11-10 23:38:51.693022464 +0800
>> > > > +++ acpi-2.6/drivers/acpi/thermal.c    
>> 2004-11-10
>> > > 23:39:50.195128792 +0800
>> > > > @@ -472,6 +472,7 @@ acpi_thermal_critical (
>> > > >         printk(KERN_EMERG "Critical
>> temperature
>> > > reached (%ld C), shutting down.\n",
>> > > KELVIN_TO_CELSIUS(tz->temperature));
>> > > >         acpi_bus_generate_event(device,
>> > > ACPI_THERMAL_NOTIFY_CRITICAL,
>> > > tz->trips.critical.flags.enabled);
>> > > > 
>> > > > +       tz->zombie = 1;
>> > > >        
>> > >
>> >
>>
>acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
>> > > > 
>> > > >         return_VALUE(0);
>> > > > 
>> > > > Is this work?
>> > > > 
>> > > > -zhen
>> > > > 
>> > > > On 2004.11.10 14:33:35 +0000, dev_zero wrote:
>> > > > > kacpid still runns with 99%cpu usage when
>> the
>> > > cpu gets
>> > > > > too hot. I tried the game quake 2. You can
>> play
>> > > around
>> > > > > 10 -15 minutes before the kacpid starts
>> running
>> > > on 99%
>> > > > > cpu usage. I also used quake 2 too test the
>> > > kernel
>> > > > > before I applied your patch.
>> > > > > 
>> > > > >  --- "Yu, Luming" <luming.yu@intel.com>
>> wrote: 
>> > > > > > It means there was NO event generated at
>> that
>> > > time.
>> > > > > > Do you think the symptom is gone with my
>> debug
>> > > > > > patch?
>> > > > > > If so, I think your box need a more sane
>> > > schedule
>> > > > > > for acpi_thermal_check 
>> > > > > > And, I can come up with a patch.
>> > > > > > 
>> > > > > > Thanks
>> > > > > > Luming 
>> > > > > > 
>> > > > > > >-----Original Message-----
>> > > > > > >From: dev_zero [mailto:dev_xor@yahoo.no] 
>> > > > > > >Sent: 2004年11月10日 1:06
>> > > > > > >To: Yu, Luming
>> > > > > > >Cc: acpi-devel@lists.sourceforge.net
>> > > > > > >Subject: RE: [ACPI] kacpid problems
>> > > > > > >
>> > > > > > >When I try to output the event file I do
>> > > this:
>> > > > > > >[root@balder: /proc/acpi]# cat event >
>> > > > > > /home/event.log
>> > > > > > >
>> > > > > > >But then It just stands there without
>> doing
>> > > > > > anything.
>> > > > > > >So i tried to check what was wrong (ps
>> ax)
>> > > command:
>> > > > > > >2922 pts/0    S+     0:00 cat event
>> > > > > > >
>> > > > > > >I don't know if it is supposed to be
>> > > suspended?
>> > > > > > >> I want to know what kind of events
>> could be
>> > > > > > >> generated heavily, which could have
>> > > corresponding
>> > > > > > >> pending execution of AML method issued
>> to
>> > > work
>> > > > > > queue
>> > > > > > >> handled by kacpid.  So just cat
>> > > /proc/acpi/event
>> > > > > > >
>> > > > > > >> event.log
>> > > > > > >> to me when you were observing abnormal 
>> cpu
>> > > > > > >> consumption by kacpid.  
>> > > > > > >> 
>> > > > > > >> Thanks
>> > > > > > >> Luming 
>> > > > > > >> 
>> > > > > > >> >-----Original Message-----
>> > > > > > >> >From: dev_zero
>> [mailto:dev_xor@yahoo.no] 
>> > > > > > >> >Sent: 2004Äê11ÔÂ10ÈÕ 0:00
>> > > > > > >> >To: Yu, Luming
>> > > > > > >> >Subject: RE: [ACPI] kacpid problems
>> > > > > > >> >
>> > > > > > >> >Of course.. But which log files do you
>> > > want to
>> > > > > > take
>> > > > > > >> a
>> > > > > > >> >look at?
>> > > > > > >> >> >How am i supppose to get an output
>> from
>> > > > > > >> >> >/proc/acpi/event ??? I can't access
>> the
>> > > file,
>> > > > > > >> >> because
>> > > > > > >> >> >it's in use.
>> > > > > > >> >> 
>> > > > > > >> >> Just kill acpid or the similar.
>> > > > > > >> >> 
>> > > > > > >> >> 
>> > > > > > >> >>
>> > > > > > >>
>> > > > > >
>> 
>=== message truncated === 
>
N\x18¬HS^µéšŠX¬²š'²ŠÞu¼’ɶ¬x\x04„.)îÄLi­ë,\x11Ø­Š‰Ý£	塧g£\aè¬TD\x10¸§»\x15¨®WQy§^®À¡¢'\x1e\x03\x06«uh§êߢ¶Þ²×Zµ¦Ú±ê'.)îÆ^[m§ÿÚvÊ,vw(›ö‰

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

* Re: kacpid problems
       [not found]                   ` <20041111012228.GA18032-/VnEId6AORcBH7GVJk7YB9h3ngVCH38I@public.gmane.org>
@ 2004-11-11 15:26                     ` dev_zero
  0 siblings, 0 replies; 37+ messages in thread
From: dev_zero @ 2004-11-11 15:26 UTC (permalink / raw)
  To: Wang, Zhenyu; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Luming Yu

When I applied this patch.. I could play even longer
than last time, before kacpid started running at 99%
cpu usage. First I played longer than usual, then
kacpid started running but not with 99% cpu usage,
then it stopped. It went like this a couple of times
then kacpid started with 99% cpu usage again.
Don't know if the patch worked correctly, but I
thought the kacpid should go S5, shutdown, shouldn't
it?

 --- "Wang, Zhenyu" <zhenyu.z.wang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 
> copy these from acpi_thermal_remove, does this
> workaround your issue?
> 
> ---
> acpi-2.6/drivers/acpi/thermal.c~remove_queue_work
> 2004-11-10 23:38:51.000000000 +0800
> +++ acpi-2.6/drivers/acpi/thermal.c	2004-11-11
> 09:19:57.365634568 +0800
> @@ -472,6 +472,13 @@ acpi_thermal_critical (
>  	printk(KERN_EMERG "Critical temperature reached
> (%ld C), shutting down.\n",
> KELVIN_TO_CELSIUS(tz->temperature));
>  	acpi_bus_generate_event(device,
> ACPI_THERMAL_NOTIFY_CRITICAL,
> tz->trips.critical.flags.enabled);
>  
> +	tz->zombie = 1;
> +	/* wait for running timer (on other CPUs) finish
> */
> +	del_timer_sync(&(tz->timer));
> +	/* synchronize deferred task */
> +	acpi_os_wait_events_complete(NULL);
> +	/* deferred task may reinsert timer */
> +	del_timer_sync(&(tz->timer));
>  
>
acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
>  
>  	return_VALUE(0);
> 
> 
> On 2004.11.10 18:09:45 +0000, dev_zero wrote:
> > This patch actually made some difference. I could
> play
> > much longer now. First it started lagging, then it
> > stopped, then it started lagging again, then it
> > stopped. It went like this for a while, but after
> I
> > had played som more, it started lagging again but
> now
> > it didn't stop.
> > 
> >  --- "Wang, Zhenyu" <zhenyu.z.wang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> wrote: 
> > > oops,
> > > 
> > > ---
> > >
> acpi-2.6/drivers/acpi/thermal.c~remove_queue_work
> > > 2004-11-10 23:38:51.693022464 +0800
> > > +++ acpi-2.6/drivers/acpi/thermal.c	2004-11-10
> > > 23:52:40.820975856 +0800
> > > @@ -472,6 +472,8 @@ acpi_thermal_critical (
> > >  	printk(KERN_EMERG "Critical temperature
> reached
> > > (%ld C), shutting down.\n",
> > > KELVIN_TO_CELSIUS(tz->temperature));
> > >  	acpi_bus_generate_event(device,
> > > ACPI_THERMAL_NOTIFY_CRITICAL,
> > > tz->trips.critical.flags.enabled);
> > >  
> > > +	tz->zombie = 1;
> > > +	acpi_os_wait_events_complete(NULL);
> > >  
> > >
> >
>
acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
> > >  
> > >  	return_VALUE(0);
> > > 
> > > If this has no help, maybe others eat up
> kacpid..
> > > 
> > > On 2004.11.10 23:44:33 +0000, Wang, Zhenyu
> wrote:
> > > > Pls try this patch,
> > > > 
> > > > ---
> > >
> acpi-2.6/drivers/acpi/thermal.c~remove_queue_work  
> > > 2004-11-10 23:38:51.693022464 +0800
> > > > +++ acpi-2.6/drivers/acpi/thermal.c    
> 2004-11-10
> > > 23:39:50.195128792 +0800
> > > > @@ -472,6 +472,7 @@ acpi_thermal_critical (
> > > >         printk(KERN_EMERG "Critical
> temperature
> > > reached (%ld C), shutting down.\n",
> > > KELVIN_TO_CELSIUS(tz->temperature));
> > > >         acpi_bus_generate_event(device,
> > > ACPI_THERMAL_NOTIFY_CRITICAL,
> > > tz->trips.critical.flags.enabled);
> > > > 
> > > > +       tz->zombie = 1;
> > > >        
> > >
> >
>
acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
> > > > 
> > > >         return_VALUE(0);
> > > > 
> > > > Is this work?
> > > > 
> > > > -zhen
> > > > 
> > > > On 2004.11.10 14:33:35 +0000, dev_zero wrote:
> > > > > kacpid still runns with 99%cpu usage when
> the
> > > cpu gets
> > > > > too hot. I tried the game quake 2. You can
> play
> > > around
> > > > > 10 -15 minutes before the kacpid starts
> running
> > > on 99%
> > > > > cpu usage. I also used quake 2 too test the
> > > kernel
> > > > > before I applied your patch.
> > > > > 
> > > > >  --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> wrote: 
> > > > > > It means there was NO event generated at
> that
> > > time.
> > > > > > Do you think the symptom is gone with my
> debug
> > > > > > patch?
> > > > > > If so, I think your box need a more sane
> > > schedule
> > > > > > for acpi_thermal_check 
> > > > > > And, I can come up with a patch.
> > > > > > 
> > > > > > Thanks
> > > > > > Luming 
> > > > > > 
> > > > > > >-----Original Message-----
> > > > > > >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> > > > > > >Sent: 2004年11月10日 1:06
> > > > > > >To: Yu, Luming
> > > > > > >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > > > > > >Subject: RE: [ACPI] kacpid problems
> > > > > > >
> > > > > > >When I try to output the event file I do
> > > this:
> > > > > > >[root@balder: /proc/acpi]# cat event >
> > > > > > /home/event.log
> > > > > > >
> > > > > > >But then It just stands there without
> doing
> > > > > > anything.
> > > > > > >So i tried to check what was wrong (ps
> ax)
> > > command:
> > > > > > >2922 pts/0    S+     0:00 cat event
> > > > > > >
> > > > > > >I don't know if it is supposed to be
> > > suspended?
> > > > > > >> I want to know what kind of events
> could be
> > > > > > >> generated heavily, which could have
> > > corresponding
> > > > > > >> pending execution of AML method issued
> to
> > > work
> > > > > > queue
> > > > > > >> handled by kacpid.  So just cat
> > > /proc/acpi/event
> > > > > > >
> > > > > > >> event.log
> > > > > > >> to me when you were observing abnormal 
> cpu
> > > > > > >> consumption by kacpid.  
> > > > > > >> 
> > > > > > >> Thanks
> > > > > > >> Luming 
> > > > > > >> 
> > > > > > >> >-----Original Message-----
> > > > > > >> >From: dev_zero
> [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> > > > > > >> >Sent: 2004Äê11ÔÂ10ÈÕ 0:00
> > > > > > >> >To: Yu, Luming
> > > > > > >> >Subject: RE: [ACPI] kacpid problems
> > > > > > >> >
> > > > > > >> >Of course.. But which log files do you
> > > want to
> > > > > > take
> > > > > > >> a
> > > > > > >> >look at?
> > > > > > >> >> >How am i supppose to get an output
> from
> > > > > > >> >> >/proc/acpi/event ??? I can't access
> the
> > > file,
> > > > > > >> >> because
> > > > > > >> >> >it's in use.
> > > > > > >> >> 
> > > > > > >> >> Just kill acpid or the similar.
> > > > > > >> >> 
> > > > > > >> >> 
> > > > > > >> >>
> > > > > > >>
> > > > > >
> 
=== message truncated === 


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

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

* RE: kacpid problems
@ 2004-11-11 14:37 Yu, Luming
  0 siblings, 0 replies; 37+ messages in thread
From: Yu, Luming @ 2004-11-11 14:37 UTC (permalink / raw)
  To: dev_zero, Wang, Zhenyu Z; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Did you try this?

I found a similar bug http://bugme.osdl.org/show_bug.cgi?id=3686.

 please apply the following patches one by one, and see which patch 
could make the symptom disappear.

--- edited/drivers/acpi/ec.0    2004-11-11 00:01:30.000000000 +0800
+++ edited/drivers/acpi/ec.c    2004-11-11 00:03:13.000000000 +0800
@@ -395,9 +395,14 @@

        acpi_disable_gpe(NULL, ec->gpe_bit, ACPI_ISR);

+#if 0
        status = acpi_os_queue_for_execution(OSD_PRIORITY_GPE,
                acpi_ec_gpe_query, ec);

+#endif
+       status = AE_OK;
+
+
        if (status == AE_OK)
                return ACPI_INTERRUPT_HANDLED;
        else


--- edited/drivers/acpi/events/evgpe.c.1        2004-11-11 00:10:44.000000000 +0800
+++ edited/drivers/acpi/events/evgpe.c  2004-11-11 00:09:28.000000000 +0800
@@ -668,6 +668,7 @@
                 * Execute the method associated with the GPE
                 * NOTE: Level-triggered GPEs are cleared after the method completes.
                 */
+#if 0
                if (ACPI_FAILURE (acpi_os_queue_for_execution (OSD_PRIORITY_GPE,
                                 acpi_ev_asynch_execute_gpe_method,
                                 gpe_event_info))) {
@@ -675,6 +676,7 @@
                                "acpi_ev_gpe_dispatch: Unable to queue handler for GPE[%2X], event is disabled\n",
                                gpe_number));
                }
+#endif
                break;

        default:

Thanks
Luming 

>-----Original Message-----
>From: dev_zero [mailto:dev_xor@yahoo.no] 
>Sent: 2004年11月11日 1:10
>To: Wang, Zhenyu Z
>Cc: Yu, Luming; acpi-devel@lists.sourceforge.net
>Subject: Re: [ACPI] kacpid problems
>
>This patch actually made some difference. I could play
>much longer now. First it started lagging, then it
>stopped, then it started lagging again, then it
>stopped. It went like this for a while, but after I
>had played som more, it started lagging again but now
>it didn't stop.
>
> --- "Wang, Zhenyu" <zhenyu.z.wang@intel.com> wrote: 
>> oops,
>> 
>> ---
>> acpi-2.6/drivers/acpi/thermal.c~remove_queue_work
>> 2004-11-10 23:38:51.693022464 +0800
>> +++ acpi-2.6/drivers/acpi/thermal.c	2004-11-10
>> 23:52:40.820975856 +0800
>> @@ -472,6 +472,8 @@ acpi_thermal_critical (
>>  	printk(KERN_EMERG "Critical temperature reached
>> (%ld C), shutting down.\n",
>> KELVIN_TO_CELSIUS(tz->temperature));
>>  	acpi_bus_generate_event(device,
>> ACPI_THERMAL_NOTIFY_CRITICAL,
>> tz->trips.critical.flags.enabled);
>>  
>> +	tz->zombie = 1;
>> +	acpi_os_wait_events_complete(NULL);
>>  
>>
>acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
>>  
>>  	return_VALUE(0);
>> 
>> If this has no help, maybe others eat up kacpid..
>> 
>> On 2004.11.10 23:44:33 +0000, Wang, Zhenyu wrote:
>> > Pls try this patch,
>> > 
>> > ---
>> acpi-2.6/drivers/acpi/thermal.c~remove_queue_work  
>> 2004-11-10 23:38:51.693022464 +0800
>> > +++ acpi-2.6/drivers/acpi/thermal.c     2004-11-10
>> 23:39:50.195128792 +0800
>> > @@ -472,6 +472,7 @@ acpi_thermal_critical (
>> >         printk(KERN_EMERG "Critical temperature
>> reached (%ld C), shutting down.\n",
>> KELVIN_TO_CELSIUS(tz->temperature));
>> >         acpi_bus_generate_event(device,
>> ACPI_THERMAL_NOTIFY_CRITICAL,
>> tz->trips.critical.flags.enabled);
>> > 
>> > +       tz->zombie = 1;
>> >        
>>
>acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
>> > 
>> >         return_VALUE(0);
>> > 
>> > Is this work?
>> > 
>> > -zhen
>> > 
>> > On 2004.11.10 14:33:35 +0000, dev_zero wrote:
>> > > kacpid still runns with 99%cpu usage when the
>> cpu gets
>> > > too hot. I tried the game quake 2. You can play
>> around
>> > > 10 -15 minutes before the kacpid starts running
>> on 99%
>> > > cpu usage. I also used quake 2 too test the
>> kernel
>> > > before I applied your patch.
>> > > 
>> > >  --- "Yu, Luming" <luming.yu@intel.com> wrote: 
>> > > > It means there was NO event generated at that
>> time.
>> > > > Do you think the symptom is gone with my debug
>> > > > patch?
>> > > > If so, I think your box need a more sane
>> schedule
>> > > > for acpi_thermal_check 
>> > > > And, I can come up with a patch.
>> > > > 
>> > > > Thanks
>> > > > Luming 
>> > > > 
>> > > > >-----Original Message-----
>> > > > >From: dev_zero [mailto:dev_xor@yahoo.no] 
>> > > > >Sent: 2004年11月10日 1:06
>> > > > >To: Yu, Luming
>> > > > >Cc: acpi-devel@lists.sourceforge.net
>> > > > >Subject: RE: [ACPI] kacpid problems
>> > > > >
>> > > > >When I try to output the event file I do
>> this:
>> > > > >[root@balder: /proc/acpi]# cat event >
>> > > > /home/event.log
>> > > > >
>> > > > >But then It just stands there without doing
>> > > > anything.
>> > > > >So i tried to check what was wrong (ps ax)
>> command:
>> > > > >2922 pts/0    S+     0:00 cat event
>> > > > >
>> > > > >I don't know if it is supposed to be
>> suspended?
>> > > > >> I want to know what kind of events could be
>> > > > >> generated heavily, which could have
>> corresponding
>> > > > >> pending execution of AML method issued to
>> work
>> > > > queue
>> > > > >> handled by kacpid.  So just cat
>> /proc/acpi/event
>> > > > >
>> > > > >> event.log
>> > > > >> to me when you were observing abnormal  cpu
>> > > > >> consumption by kacpid.  
>> > > > >> 
>> > > > >> Thanks
>> > > > >> Luming 
>> > > > >> 
>> > > > >> >-----Original Message-----
>> > > > >> >From: dev_zero [mailto:dev_xor@yahoo.no] 
>> > > > >> >Sent: 2004Äê11ÔÂ10ÈÕ 0:00
>> > > > >> >To: Yu, Luming
>> > > > >> >Subject: RE: [ACPI] kacpid problems
>> > > > >> >
>> > > > >> >Of course.. But which log files do you
>> want to
>> > > > take
>> > > > >> a
>> > > > >> >look at?
>> > > > >> >> >How am i supppose to get an output from
>> > > > >> >> >/proc/acpi/event ??? I can't access the
>> file,
>> > > > >> >> because
>> > > > >> >> >it's in use.
>> > > > >> >> 
>> > > > >> >> Just kill acpid or the similar.
>> > > > >> >> 
>> > > > >> >> 
>> > > > >> >>
>> > > > >>
>> > > >
>> > >
>>
>>>-------------------------------------------------------
>> > > > >> >> This SF.Net email is sponsored by:
>> > > > >> >> Sybase ASE Linux Express Edition -
>> download
>> > > > now
>> > > > >> for
>> > > > >> >> FREE
>> > > > >> >> LinuxWorld Reader's Choice Award Winner
>> for
>> > > > best
>> > > > >> >> database on Linux.
>> > > > >> >>
>> > > > >>
>> > > >
>> http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click
>> > > > >> >>
>> > > >
>> _______________________________________________
>> > > > >> >> Acpi-devel mailing list
>> > > > >> >> Acpi-devel@lists.sourceforge.net
>> > > > >> >>
>> > > > >>
>> > > >
>> > >
>>
>>>https://lists.sourceforge.net/lists/listinfo/acpi-devel
>> > > > >> >>  
>> > > > >> >
>> > > > >>  
>> > > > >
>> > > > 
>> > > 
>> > > 
>> > >
>>
>-------------------------------------------------------
>> > > This SF.Net email is sponsored by:
>> > > Sybase ASE Linux Express Edition - download now
>> for FREE
>> > > LinuxWorld Reader's Choice Award Winner for best
>> database on Linux.
>> > >
>>
>http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
>> > > _______________________________________________
>> > > Acpi-devel mailing list
>> > > Acpi-devel@lists.sourceforge.net
>> > >
>>
>https://lists.sourceforge.net/lists/listinfo/acpi-devel
>> > 
>> > 
>> >
>>
>-------------------------------------------------------
>> > This SF.Net email is sponsored by:
>> > Sybase ASE Linux Express Edition - download now
>> for FREE
>> > LinuxWorld Reader's Choice Award Winner for best
>> database on Linux.
>> >
>> http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click
>> > _______________________________________________
>> > Acpi-devel mailing list
>> > Acpi-devel@lists.sourceforge.net
>> >
>>
>https://lists.sourceforge.net/lists/listinfo/acpi-devel
>>  
>

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

* Re: kacpid problems
       [not found]               ` <20041110170945.38831.qmail-uk6eOWkoXtXGRxTy+Q50vsz6deESKz/lQQ4Iyu8u01E@public.gmane.org>
@ 2004-11-11  1:22                 ` Wang, Zhenyu
       [not found]                   ` <20041111012228.GA18032-/VnEId6AORcBH7GVJk7YB9h3ngVCH38I@public.gmane.org>
  0 siblings, 1 reply; 37+ messages in thread
From: Wang, Zhenyu @ 2004-11-11  1:22 UTC (permalink / raw)
  To: dev_zero; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

copy these from acpi_thermal_remove, does this workaround your issue?

--- acpi-2.6/drivers/acpi/thermal.c~remove_queue_work	2004-11-10 23:38:51.000000000 +0800
+++ acpi-2.6/drivers/acpi/thermal.c	2004-11-11 09:19:57.365634568 +0800
@@ -472,6 +472,13 @@ acpi_thermal_critical (
 	printk(KERN_EMERG "Critical temperature reached (%ld C), shutting down.\n", KELVIN_TO_CELSIUS(tz->temperature));
 	acpi_bus_generate_event(device, ACPI_THERMAL_NOTIFY_CRITICAL, tz->trips.critical.flags.enabled);
 
+	tz->zombie = 1;
+	/* wait for running timer (on other CPUs) finish */
+	del_timer_sync(&(tz->timer));
+	/* synchronize deferred task */
+	acpi_os_wait_events_complete(NULL);
+	/* deferred task may reinsert timer */
+	del_timer_sync(&(tz->timer));
 	acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
 
 	return_VALUE(0);


On 2004.11.10 18:09:45 +0000, dev_zero wrote:
> This patch actually made some difference. I could play
> much longer now. First it started lagging, then it
> stopped, then it started lagging again, then it
> stopped. It went like this for a while, but after I
> had played som more, it started lagging again but now
> it didn't stop.
> 
>  --- "Wang, Zhenyu" <zhenyu.z.wang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 
> > oops,
> > 
> > ---
> > acpi-2.6/drivers/acpi/thermal.c~remove_queue_work
> > 2004-11-10 23:38:51.693022464 +0800
> > +++ acpi-2.6/drivers/acpi/thermal.c	2004-11-10
> > 23:52:40.820975856 +0800
> > @@ -472,6 +472,8 @@ acpi_thermal_critical (
> >  	printk(KERN_EMERG "Critical temperature reached
> > (%ld C), shutting down.\n",
> > KELVIN_TO_CELSIUS(tz->temperature));
> >  	acpi_bus_generate_event(device,
> > ACPI_THERMAL_NOTIFY_CRITICAL,
> > tz->trips.critical.flags.enabled);
> >  
> > +	tz->zombie = 1;
> > +	acpi_os_wait_events_complete(NULL);
> >  
> >
> acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
> >  
> >  	return_VALUE(0);
> > 
> > If this has no help, maybe others eat up kacpid..
> > 
> > On 2004.11.10 23:44:33 +0000, Wang, Zhenyu wrote:
> > > Pls try this patch,
> > > 
> > > ---
> > acpi-2.6/drivers/acpi/thermal.c~remove_queue_work  
> > 2004-11-10 23:38:51.693022464 +0800
> > > +++ acpi-2.6/drivers/acpi/thermal.c     2004-11-10
> > 23:39:50.195128792 +0800
> > > @@ -472,6 +472,7 @@ acpi_thermal_critical (
> > >         printk(KERN_EMERG "Critical temperature
> > reached (%ld C), shutting down.\n",
> > KELVIN_TO_CELSIUS(tz->temperature));
> > >         acpi_bus_generate_event(device,
> > ACPI_THERMAL_NOTIFY_CRITICAL,
> > tz->trips.critical.flags.enabled);
> > > 
> > > +       tz->zombie = 1;
> > >        
> >
> acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
> > > 
> > >         return_VALUE(0);
> > > 
> > > Is this work?
> > > 
> > > -zhen
> > > 
> > > On 2004.11.10 14:33:35 +0000, dev_zero wrote:
> > > > kacpid still runns with 99%cpu usage when the
> > cpu gets
> > > > too hot. I tried the game quake 2. You can play
> > around
> > > > 10 -15 minutes before the kacpid starts running
> > on 99%
> > > > cpu usage. I also used quake 2 too test the
> > kernel
> > > > before I applied your patch.
> > > > 
> > > >  --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 
> > > > > It means there was NO event generated at that
> > time.
> > > > > Do you think the symptom is gone with my debug
> > > > > patch?
> > > > > If so, I think your box need a more sane
> > schedule
> > > > > for acpi_thermal_check 
> > > > > And, I can come up with a patch.
> > > > > 
> > > > > Thanks
> > > > > Luming 
> > > > > 
> > > > > >-----Original Message-----
> > > > > >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> > > > > >Sent: 2004年11月10日 1:06
> > > > > >To: Yu, Luming
> > > > > >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > > > > >Subject: RE: [ACPI] kacpid problems
> > > > > >
> > > > > >When I try to output the event file I do
> > this:
> > > > > >[root@balder: /proc/acpi]# cat event >
> > > > > /home/event.log
> > > > > >
> > > > > >But then It just stands there without doing
> > > > > anything.
> > > > > >So i tried to check what was wrong (ps ax)
> > command:
> > > > > >2922 pts/0    S+     0:00 cat event
> > > > > >
> > > > > >I don't know if it is supposed to be
> > suspended?
> > > > > >> I want to know what kind of events could be
> > > > > >> generated heavily, which could have
> > corresponding
> > > > > >> pending execution of AML method issued to
> > work
> > > > > queue
> > > > > >> handled by kacpid.  So just cat
> > /proc/acpi/event
> > > > > >
> > > > > >> event.log
> > > > > >> to me when you were observing abnormal  cpu
> > > > > >> consumption by kacpid.  
> > > > > >> 
> > > > > >> Thanks
> > > > > >> Luming 
> > > > > >> 
> > > > > >> >-----Original Message-----
> > > > > >> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> > > > > >> >Sent: 2004Äê11ÔÂ10ÈÕ 0:00
> > > > > >> >To: Yu, Luming
> > > > > >> >Subject: RE: [ACPI] kacpid problems
> > > > > >> >
> > > > > >> >Of course.. But which log files do you
> > want to
> > > > > take
> > > > > >> a
> > > > > >> >look at?
> > > > > >> >> >How am i supppose to get an output from
> > > > > >> >> >/proc/acpi/event ??? I can't access the
> > file,
> > > > > >> >> because
> > > > > >> >> >it's in use.
> > > > > >> >> 
> > > > > >> >> Just kill acpid or the similar.
> > > > > >> >> 
> > > > > >> >> 
> > > > > >> >>
> > > > > >>
> > > > >
> > > >
> >
> >>-------------------------------------------------------
> > > > > >> >> This SF.Net email is sponsored by:
> > > > > >> >> Sybase ASE Linux Express Edition -
> > download
> > > > > now
> > > > > >> for
> > > > > >> >> FREE
> > > > > >> >> LinuxWorld Reader's Choice Award Winner
> > for
> > > > > best
> > > > > >> >> database on Linux.
> > > > > >> >>
> > > > > >>
> > > > >
> > http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click
> > > > > >> >>
> > > > >
> > _______________________________________________
> > > > > >> >> Acpi-devel mailing list
> > > > > >> >> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > > > > >> >>
> > > > > >>
> > > > >
> > > >
> >
> >>https://lists.sourceforge.net/lists/listinfo/acpi-devel
> > > > > >> >>  
> > > > > >> >
> > > > > >>  
> > > > > >
> > > > > 
> > > > 
> > > > 
> > > >
> >
> -------------------------------------------------------
> > > > This SF.Net email is sponsored by:
> > > > Sybase ASE Linux Express Edition - download now
> > for FREE
> > > > LinuxWorld Reader's Choice Award Winner for best
> > database on Linux.
> > > >
> >
> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
> > > > _______________________________________________
> > > > Acpi-devel mailing list
> > > > Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > > >
> >
> https://lists.sourceforge.net/lists/listinfo/acpi-devel
> > > 
> > > 
> > >
> >
> -------------------------------------------------------
> > > This SF.Net email is sponsored by:
> > > Sybase ASE Linux Express Edition - download now
> > for FREE
> > > LinuxWorld Reader's Choice Award Winner for best
> > database on Linux.
> > >
> > http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click
> > > _______________________________________________
> > > Acpi-devel mailing list
> > > Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > >
> >
> https://lists.sourceforge.net/lists/listinfo/acpi-devel
> >  
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click

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

* Re: kacpid problems
       [not found]           ` <20041110155455.GA14675-/VnEId6AORcBH7GVJk7YB9h3ngVCH38I@public.gmane.org>
@ 2004-11-10 17:09             ` dev_zero
       [not found]               ` <20041110170945.38831.qmail-uk6eOWkoXtXGRxTy+Q50vsz6deESKz/lQQ4Iyu8u01E@public.gmane.org>
  0 siblings, 1 reply; 37+ messages in thread
From: dev_zero @ 2004-11-10 17:09 UTC (permalink / raw)
  To: Wang, Zhenyu; +Cc: Yu, Luming, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

This patch actually made some difference. I could play
much longer now. First it started lagging, then it
stopped, then it started lagging again, then it
stopped. It went like this for a while, but after I
had played som more, it started lagging again but now
it didn't stop.

 --- "Wang, Zhenyu" <zhenyu.z.wang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 
> oops,
> 
> ---
> acpi-2.6/drivers/acpi/thermal.c~remove_queue_work
> 2004-11-10 23:38:51.693022464 +0800
> +++ acpi-2.6/drivers/acpi/thermal.c	2004-11-10
> 23:52:40.820975856 +0800
> @@ -472,6 +472,8 @@ acpi_thermal_critical (
>  	printk(KERN_EMERG "Critical temperature reached
> (%ld C), shutting down.\n",
> KELVIN_TO_CELSIUS(tz->temperature));
>  	acpi_bus_generate_event(device,
> ACPI_THERMAL_NOTIFY_CRITICAL,
> tz->trips.critical.flags.enabled);
>  
> +	tz->zombie = 1;
> +	acpi_os_wait_events_complete(NULL);
>  
>
acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
>  
>  	return_VALUE(0);
> 
> If this has no help, maybe others eat up kacpid..
> 
> On 2004.11.10 23:44:33 +0000, Wang, Zhenyu wrote:
> > Pls try this patch,
> > 
> > ---
> acpi-2.6/drivers/acpi/thermal.c~remove_queue_work  
> 2004-11-10 23:38:51.693022464 +0800
> > +++ acpi-2.6/drivers/acpi/thermal.c     2004-11-10
> 23:39:50.195128792 +0800
> > @@ -472,6 +472,7 @@ acpi_thermal_critical (
> >         printk(KERN_EMERG "Critical temperature
> reached (%ld C), shutting down.\n",
> KELVIN_TO_CELSIUS(tz->temperature));
> >         acpi_bus_generate_event(device,
> ACPI_THERMAL_NOTIFY_CRITICAL,
> tz->trips.critical.flags.enabled);
> > 
> > +       tz->zombie = 1;
> >        
>
acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
> > 
> >         return_VALUE(0);
> > 
> > Is this work?
> > 
> > -zhen
> > 
> > On 2004.11.10 14:33:35 +0000, dev_zero wrote:
> > > kacpid still runns with 99%cpu usage when the
> cpu gets
> > > too hot. I tried the game quake 2. You can play
> around
> > > 10 -15 minutes before the kacpid starts running
> on 99%
> > > cpu usage. I also used quake 2 too test the
> kernel
> > > before I applied your patch.
> > > 
> > >  --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 
> > > > It means there was NO event generated at that
> time.
> > > > Do you think the symptom is gone with my debug
> > > > patch?
> > > > If so, I think your box need a more sane
> schedule
> > > > for acpi_thermal_check 
> > > > And, I can come up with a patch.
> > > > 
> > > > Thanks
> > > > Luming 
> > > > 
> > > > >-----Original Message-----
> > > > >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> > > > >Sent: 2004年11月10日 1:06
> > > > >To: Yu, Luming
> > > > >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > > > >Subject: RE: [ACPI] kacpid problems
> > > > >
> > > > >When I try to output the event file I do
> this:
> > > > >[root@balder: /proc/acpi]# cat event >
> > > > /home/event.log
> > > > >
> > > > >But then It just stands there without doing
> > > > anything.
> > > > >So i tried to check what was wrong (ps ax)
> command:
> > > > >2922 pts/0    S+     0:00 cat event
> > > > >
> > > > >I don't know if it is supposed to be
> suspended?
> > > > >> I want to know what kind of events could be
> > > > >> generated heavily, which could have
> corresponding
> > > > >> pending execution of AML method issued to
> work
> > > > queue
> > > > >> handled by kacpid.  So just cat
> /proc/acpi/event
> > > > >
> > > > >> event.log
> > > > >> to me when you were observing abnormal  cpu
> > > > >> consumption by kacpid.  
> > > > >> 
> > > > >> Thanks
> > > > >> Luming 
> > > > >> 
> > > > >> >-----Original Message-----
> > > > >> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> > > > >> >Sent: 2004Äê11ÔÂ10ÈÕ 0:00
> > > > >> >To: Yu, Luming
> > > > >> >Subject: RE: [ACPI] kacpid problems
> > > > >> >
> > > > >> >Of course.. But which log files do you
> want to
> > > > take
> > > > >> a
> > > > >> >look at?
> > > > >> >> >How am i supppose to get an output from
> > > > >> >> >/proc/acpi/event ??? I can't access the
> file,
> > > > >> >> because
> > > > >> >> >it's in use.
> > > > >> >> 
> > > > >> >> Just kill acpid or the similar.
> > > > >> >> 
> > > > >> >> 
> > > > >> >>
> > > > >>
> > > >
> > >
>
>>-------------------------------------------------------
> > > > >> >> This SF.Net email is sponsored by:
> > > > >> >> Sybase ASE Linux Express Edition -
> download
> > > > now
> > > > >> for
> > > > >> >> FREE
> > > > >> >> LinuxWorld Reader's Choice Award Winner
> for
> > > > best
> > > > >> >> database on Linux.
> > > > >> >>
> > > > >>
> > > >
> http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click
> > > > >> >>
> > > >
> _______________________________________________
> > > > >> >> Acpi-devel mailing list
> > > > >> >> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > > > >> >>
> > > > >>
> > > >
> > >
>
>>https://lists.sourceforge.net/lists/listinfo/acpi-devel
> > > > >> >>  
> > > > >> >
> > > > >>  
> > > > >
> > > > 
> > > 
> > > 
> > >
>
-------------------------------------------------------
> > > This SF.Net email is sponsored by:
> > > Sybase ASE Linux Express Edition - download now
> for FREE
> > > LinuxWorld Reader's Choice Award Winner for best
> database on Linux.
> > >
>
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
> > > _______________________________________________
> > > Acpi-devel mailing list
> > > Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > >
>
https://lists.sourceforge.net/lists/listinfo/acpi-devel
> > 
> > 
> >
>
-------------------------------------------------------
> > This SF.Net email is sponsored by:
> > Sybase ASE Linux Express Edition - download now
> for FREE
> > LinuxWorld Reader's Choice Award Winner for best
> database on Linux.
> >
> http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click
> > _______________________________________________
> > Acpi-devel mailing list
> > Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >
>
https://lists.sourceforge.net/lists/listinfo/acpi-devel
>  


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

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

* RE: kacpid problems
       [not found] <3ACA40606221794F80A5670F0AF15F84041AC04B@pdsmsx403>
@ 2004-11-10 16:14 ` dev_zero
  0 siblings, 0 replies; 37+ messages in thread
From: dev_zero @ 2004-11-10 16:14 UTC (permalink / raw)
  To: Yu, Luming; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

<snip>
Scheduling function [ce855c48(cd245400)] for deferred
execution.
Scheduling function [ce855c48(cd245400)] for deferred
execution.
Scheduling function [ce855c48(cd245400)] for deferred
execution.
Scheduling function [ce855c48(cd245400)] for deferred
execution.
Scheduling function [ce855c48(cd245400)] for deferred
execution.
Scheduling function [c01a7377(c11ff3fc)] for deferred
execution.
Scheduling function [c01a5813(cddd0b28)] for deferred
execution.
Scheduling function [ce855c48(cd245400)] for deferred
execution.
Scheduling function [ce855c48(cd245400)] for deferred
execution.
Scheduling function [ce855c48(cd245400)] for deferred
execution.
Scheduling function [ce855c48(cd245400)] for deferred
execution.
Scheduling function [ce855c48(cd245400)] for deferred
execution.
Scheduling function [ce855c48(cd245400)] for deferred
execution.
Scheduling function [ce855c48(cd245400)] for deferred
execution.
Scheduling function [ce855c48(cd245400)] for deferred
execution.

</snip

 --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 
> It can be shown on your screen or from dmesg.
> 
> Thanks
> Luming 
> 
> >-----Original Message-----
> >From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org 
> >[mailto:acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On
> Behalf Of dev_zero
> >Sent: 2004年11月11日 0:06
> >To: Yu, Luming
> >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >Subject: RE: [ACPI] kacpid problems
> >
> >Where should I look for the output? In
> >/var/log/messages?
> > --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 
> >> Hmm, odd!
> >> Please apply following debug patch to see what
> could
> >> happen on your screen.
> >> 
> >> 
> >> --- edited/drivers/acpi/osl.c.0 2004-11-10
> >> 23:36:17.000000000 +0800
> >> +++ edited/drivers/acpi/osl.c   2004-11-10
> >> 23:38:56.000000000 +0800
> >> @@ -676,7 +676,7 @@
> >> 
> >>         ACPI_FUNCTION_TRACE
> >> ("os_queue_for_execution");
> >> 
> >> -       ACPI_DEBUG_PRINT ((ACPI_DB_EXEC,
> "Scheduling
> >> function [%p(%p)] for deferred execution.\n",
> >> function, context));
> >> +       printk( "Scheduling function [%p(%p)] for
> >> deferred execution.\n", function, context);
> >> 
> >>         if (!function)
> >>                 return_ACPI_STATUS
> >> (AE_BAD_PARAMETER);
> >> 
> >> Thanks
> >> Luming 
> >> 
> >> >-----Original Message-----
> >> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >> >Sent: 2004年11月10日 22:50
> >> >To: Yu, Luming
> >> >Subject: RE: [ACPI] kacpid problems
> >> >
> >> >           CPU0       
> >> >  0:    4670319          XT-PIC  timer
> >> >  1:       5178          XT-PIC  i8042
> >> >  2:          0          XT-PIC  cascade
> >> >  5:     115597          XT-PIC  eth0, ehci_hcd,
> >> >ohci_hcd, ohci_hcd, ohci_hcd, SiS 7012
> >> >  8:          1          XT-PIC  rtc
> >> > 10:          2          XT-PIC  ohci1394
> >> > 11:          6          XT-PIC  acpi
> >> > 12:        165          XT-PIC  i8042
> >> > 14:       6113          XT-PIC  ide0
> >> > 15:          0          XT-PIC  ide1
> >> >NMI:          0 
> >> >LOC:          0 
> >> >ERR:          0
> >> >MIS:          0
> >> >
> >> >
> >> > --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> skrev: 
> >> >> 
> >> >> I want this info when kacpid runing with 99%
> CPU
> >> >> time.
> >> >> 
> >> >> Thanks
> >> >> Luming 
> >> >> 
> >> >> >-----Original Message-----
> >> >> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >> >> >Sent:
> 2004年11月10日
> 22:36
> >> >> >To: Yu, Luming;
> acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >> >> >Subject: RE: [ACPI] kacpid problems
> >> >> >
> >> >> >           CPU0       
> >> >> >  0:    4079948          XT-PIC  timer
> >> >> >  1:       3550          XT-PIC  i8042
> >> >> >  2:          0          XT-PIC  cascade
> >> >> >  5:      97944          XT-PIC  eth0,
> ehci_hcd,
> >> >> >ohci_hcd, ohci_hcd, ohci_hcd, SiS SI7012
> >> >> >  8:          1          XT-PIC  rtc
> >> >> > 10:          2          XT-PIC  ohci1394
> >> >> > 11:          5          XT-PIC  acpi
> >> >> > 12:        165          XT-PIC  i8042
> >> >> > 14:       5380          XT-PIC  ide0
> >> >> > 15:          0          XT-PIC  ide1
> >> >> >NMI:          0 
> >> >> >LOC:          0 
> >> >> >ERR:          0
> >> >> >MIS:          0
> >> >> >
> >> >> >
> >> >> >btw did you find anything weird in my DSDT?
> >> >> > --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> wrote: 
> >> >> >> Hmm... would you please cat
> /proc/interrupts
> >> to
> >> >> me.
> >> >> >> 
> >> >> >> Thanks
> >> >> >> Luming 
> >> >> >> 
> >> >> >> >-----Original Message-----
> >> >> >> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >> >> >> >Sent:
> >>
>
2004å¹´11æœËâ€
> 10æ—¥
> >> 21:34
> >> >> >> >To: Yu, Luming
> >> >> >> >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >> >> >> >Subject: RE: [ACPI] kacpid problems
> >> >> >> >
> >> >> >> >kacpid still runns with 99%cpu usage when
> the
> >> >> cpu
> >> >> >> gets
> >> >> >> >too hot. I tried the game quake 2. You can
> >> play
> >> >> >> around
> >> >> >> >10 -15 minutes before the kacpid starts
> >> running
> >> >> on
> >> >> >> 99%
> >> >> >> >cpu usage. I also used quake 2 too test
> the
> >> >> kernel
> >> >> >> >before I applied your patch.
> >> >> >> >
> >> >> >> > --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> >> wrote: 
> >> >> >> >> It means there was NO event generated at
> >> that
> >> >> >> time.
> >> >> >> >> Do you think the symptom is gone with my
> >> debug
> >> >> >> >> patch?
> >> >> >> >> If so, I think your box need a more sane
> >> >> schedule
> >> >> >> >> for acpi_thermal_check 
> >> >> >> >> And, I can come up with a patch.
> >> >> >> >> 
> >> >> >> >> Thanks
> >> >> >> >> Luming 
> >> >> >> >> 
> >> >> >> >> >-----Original Message-----
> >> >> >> >> >From: dev_zero
> [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >> >> >> >> >Sent:
> >> >>
> >>
>
>2004å¹´11æœËâ€
> >>
>
10æ—¥
> >> >> 1:06
> >> >> >> >> >To: Yu, Luming
> >> >> >> >> >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >> >> >> >> >Subject: RE: [ACPI] kacpid problems
> >> >> >> >> >
> >> >> >> >> >When I try to output the event file I
> do
> >> >> this:
> >> >> >> >> >[root@balder: /proc/acpi]# cat event >
> >> >> >> >> /home/event.log
> >> >> >> >> >
> >> >> >> >> >But then It just stands there without
> >> doing
> >> >> >> >> anything.
> >> >> >> >> >So i tried to check what was wrong (ps
> ax)
> >> >> >> command:
> >> >> >> >> >2922 pts/0    S+     0:00 cat event
> >> >> >> >> >
> >> >> >> >> >I don't know if it is supposed to be
> >> >> suspended?
> >> >> >> >> >> I want to know what kind of events
> could
> >> be
> >> >> >> >> >> generated heavily, which could have
> >> >> >> corresponding
> >> >> >> >> >> pending execution of AML method
> issued
> >> to
> >> >> work
> >> >> >> >> queue
> 
=== message truncated === 


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

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

* RE: kacpid problems
       [not found] <3ACA40606221794F80A5670F0AF15F84041AC049@pdsmsx403>
  2004-11-10 16:06 ` dev_zero
@ 2004-11-10 16:11 ` dev_zero
  1 sibling, 0 replies; 37+ messages in thread
From: dev_zero @ 2004-11-10 16:11 UTC (permalink / raw)
  To: Yu, Luming; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

I get lots of this when the machine boots..:
Scheduling function [ce855c48(cd245400)] for deferred
execution.

 --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 
> Hmm, odd!
> Please apply following debug patch to see what could
> happen on your screen.
> 
> 
> --- edited/drivers/acpi/osl.c.0 2004-11-10
> 23:36:17.000000000 +0800
> +++ edited/drivers/acpi/osl.c   2004-11-10
> 23:38:56.000000000 +0800
> @@ -676,7 +676,7 @@
> 
>         ACPI_FUNCTION_TRACE
> ("os_queue_for_execution");
> 
> -       ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "Scheduling
> function [%p(%p)] for deferred execution.\n",
> function, context));
> +       printk( "Scheduling function [%p(%p)] for
> deferred execution.\n", function, context);
> 
>         if (!function)
>                 return_ACPI_STATUS
> (AE_BAD_PARAMETER);
> 
> Thanks
> Luming 
> 
> >-----Original Message-----
> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >Sent: 2004年11月10日 22:50
> >To: Yu, Luming
> >Subject: RE: [ACPI] kacpid problems
> >
> >           CPU0       
> >  0:    4670319          XT-PIC  timer
> >  1:       5178          XT-PIC  i8042
> >  2:          0          XT-PIC  cascade
> >  5:     115597          XT-PIC  eth0, ehci_hcd,
> >ohci_hcd, ohci_hcd, ohci_hcd, SiS 7012
> >  8:          1          XT-PIC  rtc
> > 10:          2          XT-PIC  ohci1394
> > 11:          6          XT-PIC  acpi
> > 12:        165          XT-PIC  i8042
> > 14:       6113          XT-PIC  ide0
> > 15:          0          XT-PIC  ide1
> >NMI:          0 
> >LOC:          0 
> >ERR:          0
> >MIS:          0
> >
> >
> > --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> skrev: 
> >> 
> >> I want this info when kacpid runing with 99% CPU
> >> time.
> >> 
> >> Thanks
> >> Luming 
> >> 
> >> >-----Original Message-----
> >> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >> >Sent: 2004年11月10日 22:36
> >> >To: Yu, Luming; acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >> >Subject: RE: [ACPI] kacpid problems
> >> >
> >> >           CPU0       
> >> >  0:    4079948          XT-PIC  timer
> >> >  1:       3550          XT-PIC  i8042
> >> >  2:          0          XT-PIC  cascade
> >> >  5:      97944          XT-PIC  eth0, ehci_hcd,
> >> >ohci_hcd, ohci_hcd, ohci_hcd, SiS SI7012
> >> >  8:          1          XT-PIC  rtc
> >> > 10:          2          XT-PIC  ohci1394
> >> > 11:          5          XT-PIC  acpi
> >> > 12:        165          XT-PIC  i8042
> >> > 14:       5380          XT-PIC  ide0
> >> > 15:          0          XT-PIC  ide1
> >> >NMI:          0 
> >> >LOC:          0 
> >> >ERR:          0
> >> >MIS:          0
> >> >
> >> >
> >> >btw did you find anything weird in my DSDT?
> >> > --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 
> >> >> Hmm... would you please cat /proc/interrupts
> to
> >> me.
> >> >> 
> >> >> Thanks
> >> >> Luming 
> >> >> 
> >> >> >-----Original Message-----
> >> >> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >> >> >Sent:
> 2004年11月10日
> 21:34
> >> >> >To: Yu, Luming
> >> >> >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >> >> >Subject: RE: [ACPI] kacpid problems
> >> >> >
> >> >> >kacpid still runns with 99%cpu usage when the
> >> cpu
> >> >> gets
> >> >> >too hot. I tried the game quake 2. You can
> play
> >> >> around
> >> >> >10 -15 minutes before the kacpid starts
> running
> >> on
> >> >> 99%
> >> >> >cpu usage. I also used quake 2 too test the
> >> kernel
> >> >> >before I applied your patch.
> >> >> >
> >> >> > --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> wrote: 
> >> >> >> It means there was NO event generated at
> that
> >> >> time.
> >> >> >> Do you think the symptom is gone with my
> debug
> >> >> >> patch?
> >> >> >> If so, I think your box need a more sane
> >> schedule
> >> >> >> for acpi_thermal_check 
> >> >> >> And, I can come up with a patch.
> >> >> >> 
> >> >> >> Thanks
> >> >> >> Luming 
> >> >> >> 
> >> >> >> >-----Original Message-----
> >> >> >> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >> >> >> >Sent:
> >>
>
2004å¹´11æœËâ€
> 10æ—¥
> >> 1:06
> >> >> >> >To: Yu, Luming
> >> >> >> >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >> >> >> >Subject: RE: [ACPI] kacpid problems
> >> >> >> >
> >> >> >> >When I try to output the event file I do
> >> this:
> >> >> >> >[root@balder: /proc/acpi]# cat event >
> >> >> >> /home/event.log
> >> >> >> >
> >> >> >> >But then It just stands there without
> doing
> >> >> >> anything.
> >> >> >> >So i tried to check what was wrong (ps ax)
> >> >> command:
> >> >> >> >2922 pts/0    S+     0:00 cat event
> >> >> >> >
> >> >> >> >I don't know if it is supposed to be
> >> suspended?
> >> >> >> >> I want to know what kind of events could
> be
> >> >> >> >> generated heavily, which could have
> >> >> corresponding
> >> >> >> >> pending execution of AML method issued
> to
> >> work
> >> >> >> queue
> >> >> >> >> handled by kacpid.  So just cat
> >> >> /proc/acpi/event
> >> >> >> >
> >> >> >> >> event.log
> >> >> >> >> to me when you were observing abnormal 
> cpu
> >> >> >> >> consumption by kacpid.  
> >> >> >> >> 
> >> >> >> >> Thanks
> >> >> >> >> Luming 
> >> >> >> >> 
> >> >> >> >> >-----Original Message-----
> >> >> >> >> >From: dev_zero
> [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >> >> >> >> >Sent:
> >>
>
>2004Äê11ÔÂ10ÃËâ€
> >Õ
> >> >> 0:00
> >> >> >> >> >To: Yu, Luming
> >> >> >> >> >Subject: RE: [ACPI] kacpid problems
> >> >> >> >> >
> >> >> >> >> >Of course.. But which log files do you
> >> want
> >> >> to
> >> >> >> take
> >> >> >> >> a
> >> >> >> >> >look at?
> >> >> >> >> >> >How am i supppose to get an output
> from
> >> >> >> >> >> >/proc/acpi/event ??? I can't access
> the
> >> >> file,
> >> >> >> >> >> because
> >> >> >> >> >> >it's in use.
> >> >> >> >> >> 
> >> >> >> >> >> Just kill acpid or the similar.
> 
=== message truncated === 


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

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

* RE: kacpid problems
       [not found] <3ACA40606221794F80A5670F0AF15F84041AC049@pdsmsx403>
@ 2004-11-10 16:06 ` dev_zero
  2004-11-10 16:11 ` dev_zero
  1 sibling, 0 replies; 37+ messages in thread
From: dev_zero @ 2004-11-10 16:06 UTC (permalink / raw)
  To: Yu, Luming; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Where should I look for the output? In
/var/log/messages?
 --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 
> Hmm, odd!
> Please apply following debug patch to see what could
> happen on your screen.
> 
> 
> --- edited/drivers/acpi/osl.c.0 2004-11-10
> 23:36:17.000000000 +0800
> +++ edited/drivers/acpi/osl.c   2004-11-10
> 23:38:56.000000000 +0800
> @@ -676,7 +676,7 @@
> 
>         ACPI_FUNCTION_TRACE
> ("os_queue_for_execution");
> 
> -       ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "Scheduling
> function [%p(%p)] for deferred execution.\n",
> function, context));
> +       printk( "Scheduling function [%p(%p)] for
> deferred execution.\n", function, context);
> 
>         if (!function)
>                 return_ACPI_STATUS
> (AE_BAD_PARAMETER);
> 
> Thanks
> Luming 
> 
> >-----Original Message-----
> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >Sent: 2004年11月10日 22:50
> >To: Yu, Luming
> >Subject: RE: [ACPI] kacpid problems
> >
> >           CPU0       
> >  0:    4670319          XT-PIC  timer
> >  1:       5178          XT-PIC  i8042
> >  2:          0          XT-PIC  cascade
> >  5:     115597          XT-PIC  eth0, ehci_hcd,
> >ohci_hcd, ohci_hcd, ohci_hcd, SiS 7012
> >  8:          1          XT-PIC  rtc
> > 10:          2          XT-PIC  ohci1394
> > 11:          6          XT-PIC  acpi
> > 12:        165          XT-PIC  i8042
> > 14:       6113          XT-PIC  ide0
> > 15:          0          XT-PIC  ide1
> >NMI:          0 
> >LOC:          0 
> >ERR:          0
> >MIS:          0
> >
> >
> > --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> skrev: 
> >> 
> >> I want this info when kacpid runing with 99% CPU
> >> time.
> >> 
> >> Thanks
> >> Luming 
> >> 
> >> >-----Original Message-----
> >> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >> >Sent: 2004年11月10日 22:36
> >> >To: Yu, Luming; acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >> >Subject: RE: [ACPI] kacpid problems
> >> >
> >> >           CPU0       
> >> >  0:    4079948          XT-PIC  timer
> >> >  1:       3550          XT-PIC  i8042
> >> >  2:          0          XT-PIC  cascade
> >> >  5:      97944          XT-PIC  eth0, ehci_hcd,
> >> >ohci_hcd, ohci_hcd, ohci_hcd, SiS SI7012
> >> >  8:          1          XT-PIC  rtc
> >> > 10:          2          XT-PIC  ohci1394
> >> > 11:          5          XT-PIC  acpi
> >> > 12:        165          XT-PIC  i8042
> >> > 14:       5380          XT-PIC  ide0
> >> > 15:          0          XT-PIC  ide1
> >> >NMI:          0 
> >> >LOC:          0 
> >> >ERR:          0
> >> >MIS:          0
> >> >
> >> >
> >> >btw did you find anything weird in my DSDT?
> >> > --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 
> >> >> Hmm... would you please cat /proc/interrupts
> to
> >> me.
> >> >> 
> >> >> Thanks
> >> >> Luming 
> >> >> 
> >> >> >-----Original Message-----
> >> >> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >> >> >Sent:
> 2004年11月10日
> 21:34
> >> >> >To: Yu, Luming
> >> >> >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >> >> >Subject: RE: [ACPI] kacpid problems
> >> >> >
> >> >> >kacpid still runns with 99%cpu usage when the
> >> cpu
> >> >> gets
> >> >> >too hot. I tried the game quake 2. You can
> play
> >> >> around
> >> >> >10 -15 minutes before the kacpid starts
> running
> >> on
> >> >> 99%
> >> >> >cpu usage. I also used quake 2 too test the
> >> kernel
> >> >> >before I applied your patch.
> >> >> >
> >> >> > --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> wrote: 
> >> >> >> It means there was NO event generated at
> that
> >> >> time.
> >> >> >> Do you think the symptom is gone with my
> debug
> >> >> >> patch?
> >> >> >> If so, I think your box need a more sane
> >> schedule
> >> >> >> for acpi_thermal_check 
> >> >> >> And, I can come up with a patch.
> >> >> >> 
> >> >> >> Thanks
> >> >> >> Luming 
> >> >> >> 
> >> >> >> >-----Original Message-----
> >> >> >> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >> >> >> >Sent:
> >>
>
2004å¹´11æœËâ€
> 10æ—¥
> >> 1:06
> >> >> >> >To: Yu, Luming
> >> >> >> >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >> >> >> >Subject: RE: [ACPI] kacpid problems
> >> >> >> >
> >> >> >> >When I try to output the event file I do
> >> this:
> >> >> >> >[root@balder: /proc/acpi]# cat event >
> >> >> >> /home/event.log
> >> >> >> >
> >> >> >> >But then It just stands there without
> doing
> >> >> >> anything.
> >> >> >> >So i tried to check what was wrong (ps ax)
> >> >> command:
> >> >> >> >2922 pts/0    S+     0:00 cat event
> >> >> >> >
> >> >> >> >I don't know if it is supposed to be
> >> suspended?
> >> >> >> >> I want to know what kind of events could
> be
> >> >> >> >> generated heavily, which could have
> >> >> corresponding
> >> >> >> >> pending execution of AML method issued
> to
> >> work
> >> >> >> queue
> >> >> >> >> handled by kacpid.  So just cat
> >> >> /proc/acpi/event
> >> >> >> >
> >> >> >> >> event.log
> >> >> >> >> to me when you were observing abnormal 
> cpu
> >> >> >> >> consumption by kacpid.  
> >> >> >> >> 
> >> >> >> >> Thanks
> >> >> >> >> Luming 
> >> >> >> >> 
> >> >> >> >> >-----Original Message-----
> >> >> >> >> >From: dev_zero
> [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >> >> >> >> >Sent:
> >>
>
>2004Äê11ÔÂ10ÃËâ€
> >Õ
> >> >> 0:00
> >> >> >> >> >To: Yu, Luming
> >> >> >> >> >Subject: RE: [ACPI] kacpid problems
> >> >> >> >> >
> >> >> >> >> >Of course.. But which log files do you
> >> want
> >> >> to
> >> >> >> take
> >> >> >> >> a
> >> >> >> >> >look at?
> >> >> >> >> >> >How am i supppose to get an output
> from
> >> >> >> >> >> >/proc/acpi/event ??? I can't access
> the
> >> >> file,
> >> >> >> >> >> because
> >> >> >> >> >> >it's in use.
> >> >> >> >> >> 
> >> >> >> >> >> Just kill acpid or the similar.
> 
=== message truncated === 


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

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

* Re: kacpid problems
       [not found]       ` <20041110154433.GA14613-/VnEId6AORcBH7GVJk7YB9h3ngVCH38I@public.gmane.org>
@ 2004-11-10 15:54         ` Wang, Zhenyu
       [not found]           ` <20041110155455.GA14675-/VnEId6AORcBH7GVJk7YB9h3ngVCH38I@public.gmane.org>
  0 siblings, 1 reply; 37+ messages in thread
From: Wang, Zhenyu @ 2004-11-10 15:54 UTC (permalink / raw)
  To: dev_zero; +Cc: Yu, Luming, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

oops,

--- acpi-2.6/drivers/acpi/thermal.c~remove_queue_work	2004-11-10 23:38:51.693022464 +0800
+++ acpi-2.6/drivers/acpi/thermal.c	2004-11-10 23:52:40.820975856 +0800
@@ -472,6 +472,8 @@ acpi_thermal_critical (
 	printk(KERN_EMERG "Critical temperature reached (%ld C), shutting down.\n", KELVIN_TO_CELSIUS(tz->temperature));
 	acpi_bus_generate_event(device, ACPI_THERMAL_NOTIFY_CRITICAL, tz->trips.critical.flags.enabled);
 
+	tz->zombie = 1;
+	acpi_os_wait_events_complete(NULL);
 	acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
 
 	return_VALUE(0);

If this has no help, maybe others eat up kacpid..

On 2004.11.10 23:44:33 +0000, Wang, Zhenyu wrote:
> Pls try this patch,
> 
> --- acpi-2.6/drivers/acpi/thermal.c~remove_queue_work   2004-11-10 23:38:51.693022464 +0800
> +++ acpi-2.6/drivers/acpi/thermal.c     2004-11-10 23:39:50.195128792 +0800
> @@ -472,6 +472,7 @@ acpi_thermal_critical (
>         printk(KERN_EMERG "Critical temperature reached (%ld C), shutting down.\n", KELVIN_TO_CELSIUS(tz->temperature));
>         acpi_bus_generate_event(device, ACPI_THERMAL_NOTIFY_CRITICAL, tz->trips.critical.flags.enabled);
> 
> +       tz->zombie = 1;
>         acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);
> 
>         return_VALUE(0);
> 
> Is this work?
> 
> -zhen
> 
> On 2004.11.10 14:33:35 +0000, dev_zero wrote:
> > kacpid still runns with 99%cpu usage when the cpu gets
> > too hot. I tried the game quake 2. You can play around
> > 10 -15 minutes before the kacpid starts running on 99%
> > cpu usage. I also used quake 2 too test the kernel
> > before I applied your patch.
> > 
> >  --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 
> > > It means there was NO event generated at that time.
> > > Do you think the symptom is gone with my debug
> > > patch?
> > > If so, I think your box need a more sane schedule
> > > for acpi_thermal_check 
> > > And, I can come up with a patch.
> > > 
> > > Thanks
> > > Luming 
> > > 
> > > >-----Original Message-----
> > > >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> > > >Sent: 2004年11月10日 1:06
> > > >To: Yu, Luming
> > > >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > > >Subject: RE: [ACPI] kacpid problems
> > > >
> > > >When I try to output the event file I do this:
> > > >[root@balder: /proc/acpi]# cat event >
> > > /home/event.log
> > > >
> > > >But then It just stands there without doing
> > > anything.
> > > >So i tried to check what was wrong (ps ax) command:
> > > >2922 pts/0    S+     0:00 cat event
> > > >
> > > >I don't know if it is supposed to be suspended?
> > > >> I want to know what kind of events could be
> > > >> generated heavily, which could have corresponding
> > > >> pending execution of AML method issued to work
> > > queue
> > > >> handled by kacpid.  So just cat /proc/acpi/event
> > > >
> > > >> event.log
> > > >> to me when you were observing abnormal  cpu
> > > >> consumption by kacpid.  
> > > >> 
> > > >> Thanks
> > > >> Luming 
> > > >> 
> > > >> >-----Original Message-----
> > > >> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> > > >> >Sent: 2004Äê11ÔÂ10ÈÕ 0:00
> > > >> >To: Yu, Luming
> > > >> >Subject: RE: [ACPI] kacpid problems
> > > >> >
> > > >> >Of course.. But which log files do you want to
> > > take
> > > >> a
> > > >> >look at?
> > > >> >> >How am i supppose to get an output from
> > > >> >> >/proc/acpi/event ??? I can't access the file,
> > > >> >> because
> > > >> >> >it's in use.
> > > >> >> 
> > > >> >> Just kill acpid or the similar.
> > > >> >> 
> > > >> >> 
> > > >> >>
> > > >>
> > >
> > >>-------------------------------------------------------
> > > >> >> This SF.Net email is sponsored by:
> > > >> >> Sybase ASE Linux Express Edition - download
> > > now
> > > >> for
> > > >> >> FREE
> > > >> >> LinuxWorld Reader's Choice Award Winner for
> > > best
> > > >> >> database on Linux.
> > > >> >>
> > > >>
> > > http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click
> > > >> >>
> > > _______________________________________________
> > > >> >> Acpi-devel mailing list
> > > >> >> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > > >> >>
> > > >>
> > >
> > >>https://lists.sourceforge.net/lists/listinfo/acpi-devel
> > > >> >>  
> > > >> >
> > > >>  
> > > >
> > > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email is sponsored by:
> > Sybase ASE Linux Express Edition - download now for FREE
> > LinuxWorld Reader's Choice Award Winner for best database on Linux.
> > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
> > _______________________________________________
> > Acpi-devel mailing list
> > Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > https://lists.sourceforge.net/lists/listinfo/acpi-devel
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click

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

* Re: kacpid problems
       [not found]   ` <20041110133335.84968.qmail-dJK20/AG75nGRxTy+Q50vsz6deESKz/lQQ4Iyu8u01E@public.gmane.org>
@ 2004-11-10 15:44     ` Wang, Zhenyu
       [not found]       ` <20041110154433.GA14613-/VnEId6AORcBH7GVJk7YB9h3ngVCH38I@public.gmane.org>
  0 siblings, 1 reply; 37+ messages in thread
From: Wang, Zhenyu @ 2004-11-10 15:44 UTC (permalink / raw)
  To: dev_zero; +Cc: Yu, Luming, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Pls try this patch,

--- acpi-2.6/drivers/acpi/thermal.c~remove_queue_work   2004-11-10 23:38:51.693022464 +0800
+++ acpi-2.6/drivers/acpi/thermal.c     2004-11-10 23:39:50.195128792 +0800
@@ -472,6 +472,7 @@ acpi_thermal_critical (
        printk(KERN_EMERG "Critical temperature reached (%ld C), shutting down.\n", KELVIN_TO_CELSIUS(tz->temperature));
        acpi_bus_generate_event(device, ACPI_THERMAL_NOTIFY_CRITICAL, tz->trips.critical.flags.enabled);

+       tz->zombie = 1;
        acpi_thermal_call_usermode(ACPI_THERMAL_PATH_POWEROFF);

        return_VALUE(0);

Is this work?

-zhen

On 2004.11.10 14:33:35 +0000, dev_zero wrote:
> kacpid still runns with 99%cpu usage when the cpu gets
> too hot. I tried the game quake 2. You can play around
> 10 -15 minutes before the kacpid starts running on 99%
> cpu usage. I also used quake 2 too test the kernel
> before I applied your patch.
> 
>  --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 
> > It means there was NO event generated at that time.
> > Do you think the symptom is gone with my debug
> > patch?
> > If so, I think your box need a more sane schedule
> > for acpi_thermal_check 
> > And, I can come up with a patch.
> > 
> > Thanks
> > Luming 
> > 
> > >-----Original Message-----
> > >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> > >Sent: 2004年11月10日 1:06
> > >To: Yu, Luming
> > >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > >Subject: RE: [ACPI] kacpid problems
> > >
> > >When I try to output the event file I do this:
> > >[root@balder: /proc/acpi]# cat event >
> > /home/event.log
> > >
> > >But then It just stands there without doing
> > anything.
> > >So i tried to check what was wrong (ps ax) command:
> > >2922 pts/0    S+     0:00 cat event
> > >
> > >I don't know if it is supposed to be suspended?
> > >> I want to know what kind of events could be
> > >> generated heavily, which could have corresponding
> > >> pending execution of AML method issued to work
> > queue
> > >> handled by kacpid.  So just cat /proc/acpi/event
> > >
> > >> event.log
> > >> to me when you were observing abnormal  cpu
> > >> consumption by kacpid.  
> > >> 
> > >> Thanks
> > >> Luming 
> > >> 
> > >> >-----Original Message-----
> > >> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> > >> >Sent: 2004Äê11ÔÂ10ÈÕ 0:00
> > >> >To: Yu, Luming
> > >> >Subject: RE: [ACPI] kacpid problems
> > >> >
> > >> >Of course.. But which log files do you want to
> > take
> > >> a
> > >> >look at?
> > >> >> >How am i supppose to get an output from
> > >> >> >/proc/acpi/event ??? I can't access the file,
> > >> >> because
> > >> >> >it's in use.
> > >> >> 
> > >> >> Just kill acpid or the similar.
> > >> >> 
> > >> >> 
> > >> >>
> > >>
> >
> >>-------------------------------------------------------
> > >> >> This SF.Net email is sponsored by:
> > >> >> Sybase ASE Linux Express Edition - download
> > now
> > >> for
> > >> >> FREE
> > >> >> LinuxWorld Reader's Choice Award Winner for
> > best
> > >> >> database on Linux.
> > >> >>
> > >>
> > http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click
> > >> >>
> > _______________________________________________
> > >> >> Acpi-devel mailing list
> > >> >> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > >> >>
> > >>
> >
> >>https://lists.sourceforge.net/lists/listinfo/acpi-devel
> > >> >>  
> > >> >
> > >>  
> > >
> > 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click

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

* RE: kacpid problems
       [not found] <3ACA40606221794F80A5670F0AF15F84041AC048@pdsmsx403>
  2004-11-10 14:40 ` dev_zero
@ 2004-11-10 14:50 ` dev_zero
  1 sibling, 0 replies; 37+ messages in thread
From: dev_zero @ 2004-11-10 14:50 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

 --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> skrev: 
> 
> I want this info when kacpid runing with 99% CPU
> time.
> 
> Thanks
> Luming 
> 
> >-----Original Message-----
> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >Sent: 2004年11月10日 22:36
> >To: Yu, Luming; acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >Subject: RE: [ACPI] kacpid problems
> >
> >           CPU0       
> >  0:    4079948          XT-PIC  timer
> >  1:       3550          XT-PIC  i8042
> >  2:          0          XT-PIC  cascade
> >  5:      97944          XT-PIC  eth0, ehci_hcd,
> >ohci_hcd, ohci_hcd, ohci_hcd, SiS SI7012
> >  8:          1          XT-PIC  rtc
> > 10:          2          XT-PIC  ohci1394
> > 11:          5          XT-PIC  acpi
> > 12:        165          XT-PIC  i8042
> > 14:       5380          XT-PIC  ide0
> > 15:          0          XT-PIC  ide1
> >NMI:          0 
> >LOC:          0 
> >ERR:          0
> >MIS:          0
> >
> >
> >btw did you find anything weird in my DSDT?
> > --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 
> >> Hmm... would you please cat /proc/interrupts to
> me.
> >> 
> >> Thanks
> >> Luming 
> >> 
> >> >-----Original Message-----
> >> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >> >Sent: 2004年11月10日 21:34
> >> >To: Yu, Luming
> >> >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >> >Subject: RE: [ACPI] kacpid problems
> >> >
> >> >kacpid still runns with 99%cpu usage when the
> cpu
> >> gets
> >> >too hot. I tried the game quake 2. You can play
> >> around
> >> >10 -15 minutes before the kacpid starts running
> on
> >> 99%
> >> >cpu usage. I also used quake 2 too test the
> kernel
> >> >before I applied your patch.
> >> >
> >> > --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 
> >> >> It means there was NO event generated at that
> >> time.
> >> >> Do you think the symptom is gone with my debug
> >> >> patch?
> >> >> If so, I think your box need a more sane
> schedule
> >> >> for acpi_thermal_check 
> >> >> And, I can come up with a patch.
> >> >> 
> >> >> Thanks
> >> >> Luming 
> >> >> 
> >> >> >-----Original Message-----
> >> >> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >> >> >Sent:
> 2004年11月10日
> 1:06
> >> >> >To: Yu, Luming
> >> >> >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >> >> >Subject: RE: [ACPI] kacpid problems
> >> >> >
> >> >> >When I try to output the event file I do
> this:
> >> >> >[root@balder: /proc/acpi]# cat event >
> >> >> /home/event.log
> >> >> >
> >> >> >But then It just stands there without doing
> >> >> anything.
> >> >> >So i tried to check what was wrong (ps ax)
> >> command:
> >> >> >2922 pts/0    S+     0:00 cat event
> >> >> >
> >> >> >I don't know if it is supposed to be
> suspended?
> >> >> >> I want to know what kind of events could be
> >> >> >> generated heavily, which could have
> >> corresponding
> >> >> >> pending execution of AML method issued to
> work
> >> >> queue
> >> >> >> handled by kacpid.  So just cat
> >> /proc/acpi/event
> >> >> >
> >> >> >> event.log
> >> >> >> to me when you were observing abnormal  cpu
> >> >> >> consumption by kacpid.  
> >> >> >> 
> >> >> >> Thanks
> >> >> >> Luming 
> >> >> >> 
> >> >> >> >-----Original Message-----
> >> >> >> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >> >> >> >Sent:
>
2004Äê11ÔÂ10ÃËâ€
Õ
> >> 0:00
> >> >> >> >To: Yu, Luming
> >> >> >> >Subject: RE: [ACPI] kacpid problems
> >> >> >> >
> >> >> >> >Of course.. But which log files do you
> want
> >> to
> >> >> take
> >> >> >> a
> >> >> >> >look at?
> >> >> >> >> >How am i supppose to get an output from
> >> >> >> >> >/proc/acpi/event ??? I can't access the
> >> file,
> >> >> >> >> because
> >> >> >> >> >it's in use.
> >> >> >> >> 
> >> >> >> >> Just kill acpid or the similar.
> >> >> >> >> 
> >> >> >> >> 
> >> >> >> >>
> >> >> >>
> >> >>
> >>
>
>>>>-------------------------------------------------------
> >> >> >> >> This SF.Net email is sponsored by:
> >> >> >> >> Sybase ASE Linux Express Edition -
> download
> >> >> now
> >> >> >> for
> >> >> >> >> FREE
> >> >> >> >> LinuxWorld Reader's Choice Award Winner
> for
> >> >> best
> >> >> >> >> database on Linux.
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click
> >> >> >> >>
> >> >>
> _______________________________________________
> >> >> >> >> Acpi-devel mailing list
> >> >> >> >> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >> >> >> >>
> >> >> >>
> >> >>
> >>
>
>>>>https://lists.sourceforge.net/lists/listinfo/acpi-devel
> >> >> >> >>  
> >> >> >> >
> >> >> >>  
> >> >> >
> >> >> 
> >> >
> >>
> N\x18¬HS^µéšŠX¬²š'²Å
Þu¼’ɶ¬x\x04„.)îÄLi­ë,\x11Ø­Š‰Ý£
> >塧g£ 
>
>è¬TD\x10¸§»\x15¨®WQy§^®À¡¢'\x1e
\x03\x06«uh§êߢ¶Þ²×Zµ¦Ú±ê'.)îÆ^[m§ÿÚvÊ,vw(›ö‰ù
> >çÏ\x1a–Z\x1c
‰õÛN¹¢œ–'$\x01ÊbuëÞ–f¢–)Ã
–+-\x01ÊbuëÞ–X¬¶Ë(º·\x1e
~Å Ã zw­†Ûi³ÿåÅ
Ël²‹
> >«qçè® §zßåŠËlþX¬¶)ߣöœ¦'^½é 
> >
>  


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

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

* RE: kacpid problems
       [not found] <3ACA40606221794F80A5670F0AF15F84041AC048@pdsmsx403>
@ 2004-11-10 14:40 ` dev_zero
  2004-11-10 14:50 ` dev_zero
  1 sibling, 0 replies; 37+ messages in thread
From: dev_zero @ 2004-11-10 14:40 UTC (permalink / raw)
  To: Yu, Luming; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

I can try to get it, but usually I can't touch any
files which have something to do with the acpi after
it runs at 99%.
 --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 
> 
> I want this info when kacpid runing with 99% CPU
> time.
> 
> Thanks
> Luming 
> 
> >-----Original Message-----
> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >Sent: 2004年11月10日 22:36
> >To: Yu, Luming; acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >Subject: RE: [ACPI] kacpid problems
> >
> >           CPU0       
> >  0:    4079948          XT-PIC  timer
> >  1:       3550          XT-PIC  i8042
> >  2:          0          XT-PIC  cascade
> >  5:      97944          XT-PIC  eth0, ehci_hcd,
> >ohci_hcd, ohci_hcd, ohci_hcd, SiS SI7012
> >  8:          1          XT-PIC  rtc
> > 10:          2          XT-PIC  ohci1394
> > 11:          5          XT-PIC  acpi
> > 12:        165          XT-PIC  i8042
> > 14:       5380          XT-PIC  ide0
> > 15:          0          XT-PIC  ide1
> >NMI:          0 
> >LOC:          0 
> >ERR:          0
> >MIS:          0
> >
> >
> >btw did you find anything weird in my DSDT?
> > --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 
> >> Hmm... would you please cat /proc/interrupts to
> me.
> >> 
> >> Thanks
> >> Luming 
> >> 
> >> >-----Original Message-----
> >> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >> >Sent: 2004年11月10日 21:34
> >> >To: Yu, Luming
> >> >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >> >Subject: RE: [ACPI] kacpid problems
> >> >
> >> >kacpid still runns with 99%cpu usage when the
> cpu
> >> gets
> >> >too hot. I tried the game quake 2. You can play
> >> around
> >> >10 -15 minutes before the kacpid starts running
> on
> >> 99%
> >> >cpu usage. I also used quake 2 too test the
> kernel
> >> >before I applied your patch.
> >> >
> >> > --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 
> >> >> It means there was NO event generated at that
> >> time.
> >> >> Do you think the symptom is gone with my debug
> >> >> patch?
> >> >> If so, I think your box need a more sane
> schedule
> >> >> for acpi_thermal_check 
> >> >> And, I can come up with a patch.
> >> >> 
> >> >> Thanks
> >> >> Luming 
> >> >> 
> >> >> >-----Original Message-----
> >> >> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >> >> >Sent:
> 2004年11月10日
> 1:06
> >> >> >To: Yu, Luming
> >> >> >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >> >> >Subject: RE: [ACPI] kacpid problems
> >> >> >
> >> >> >When I try to output the event file I do
> this:
> >> >> >[root@balder: /proc/acpi]# cat event >
> >> >> /home/event.log
> >> >> >
> >> >> >But then It just stands there without doing
> >> >> anything.
> >> >> >So i tried to check what was wrong (ps ax)
> >> command:
> >> >> >2922 pts/0    S+     0:00 cat event
> >> >> >
> >> >> >I don't know if it is supposed to be
> suspended?
> >> >> >> I want to know what kind of events could be
> >> >> >> generated heavily, which could have
> >> corresponding
> >> >> >> pending execution of AML method issued to
> work
> >> >> queue
> >> >> >> handled by kacpid.  So just cat
> >> /proc/acpi/event
> >> >> >
> >> >> >> event.log
> >> >> >> to me when you were observing abnormal  cpu
> >> >> >> consumption by kacpid.  
> >> >> >> 
> >> >> >> Thanks
> >> >> >> Luming 
> >> >> >> 
> >> >> >> >-----Original Message-----
> >> >> >> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >> >> >> >Sent:
>
2004Äê11ÔÂ10ÃËâ€
Õ
> >> 0:00
> >> >> >> >To: Yu, Luming
> >> >> >> >Subject: RE: [ACPI] kacpid problems
> >> >> >> >
> >> >> >> >Of course.. But which log files do you
> want
> >> to
> >> >> take
> >> >> >> a
> >> >> >> >look at?
> >> >> >> >> >How am i supppose to get an output from
> >> >> >> >> >/proc/acpi/event ??? I can't access the
> >> file,
> >> >> >> >> because
> >> >> >> >> >it's in use.
> >> >> >> >> 
> >> >> >> >> Just kill acpid or the similar.
> >> >> >> >> 
> >> >> >> >> 
> >> >> >> >>
> >> >> >>
> >> >>
> >>
>
>>>>-------------------------------------------------------
> >> >> >> >> This SF.Net email is sponsored by:
> >> >> >> >> Sybase ASE Linux Express Edition -
> download
> >> >> now
> >> >> >> for
> >> >> >> >> FREE
> >> >> >> >> LinuxWorld Reader's Choice Award Winner
> for
> >> >> best
> >> >> >> >> database on Linux.
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click
> >> >> >> >>
> >> >>
> _______________________________________________
> >> >> >> >> Acpi-devel mailing list
> >> >> >> >> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >> >> >> >>
> >> >> >>
> >> >>
> >>
>
>>>>https://lists.sourceforge.net/lists/listinfo/acpi-devel
> >> >> >> >>  
> >> >> >> >
> >> >> >>  
> >> >> >
> >> >> 
> >> >
> >>
> N\x18¬HS^µéšŠX¬²š'²Å
Þu¼’ɶ¬x\x04„.)îÄLi­ë,\x11Ø­Š‰Ý£
> >塧g£ 
>
>è¬TD\x10¸§»\x15¨®WQy§^®À¡¢'\x1e
\x03\x06«uh§êߢ¶Þ²×Zµ¦Ú±ê'.)îÆ^[m§ÿÚvÊ,vw(›ö‰ù
> >çÏ\x1a–Z\x1c
‰õÛN¹¢œ–'$\x01ÊbuëÞ–f¢–)Ã
–+-\x01ÊbuëÞ–X¬¶Ë(º·\x1e
~Å Ã zw­†Ûi³ÿåÅ
Ël²‹
> >«qçè® §zßåŠËlþX¬¶)ߣöœ¦'^½é 
> >
>  


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

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

* RE: kacpid problems
  2004-11-10 14:26 Yu, Luming
@ 2004-11-10 14:35 ` dev_zero
  0 siblings, 0 replies; 37+ messages in thread
From: dev_zero @ 2004-11-10 14:35 UTC (permalink / raw)
  To: Yu, Luming, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

           CPU0       
  0:    4079948          XT-PIC  timer
  1:       3550          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  5:      97944          XT-PIC  eth0, ehci_hcd,
ohci_hcd, ohci_hcd, ohci_hcd, SiS SI7012
  8:          1          XT-PIC  rtc
 10:          2          XT-PIC  ohci1394
 11:          5          XT-PIC  acpi
 12:        165          XT-PIC  i8042
 14:       5380          XT-PIC  ide0
 15:          0          XT-PIC  ide1
NMI:          0 
LOC:          0 
ERR:          0
MIS:          0


btw did you find anything weird in my DSDT?
 --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 
> Hmm... would you please cat /proc/interrupts to me.
> 
> Thanks
> Luming 
> 
> >-----Original Message-----
> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >Sent: 2004年11月10日 21:34
> >To: Yu, Luming
> >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >Subject: RE: [ACPI] kacpid problems
> >
> >kacpid still runns with 99%cpu usage when the cpu
> gets
> >too hot. I tried the game quake 2. You can play
> around
> >10 -15 minutes before the kacpid starts running on
> 99%
> >cpu usage. I also used quake 2 too test the kernel
> >before I applied your patch.
> >
> > --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 
> >> It means there was NO event generated at that
> time.
> >> Do you think the symptom is gone with my debug
> >> patch?
> >> If so, I think your box need a more sane schedule
> >> for acpi_thermal_check 
> >> And, I can come up with a patch.
> >> 
> >> Thanks
> >> Luming 
> >> 
> >> >-----Original Message-----
> >> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >> >Sent: 2004年11月10日 1:06
> >> >To: Yu, Luming
> >> >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >> >Subject: RE: [ACPI] kacpid problems
> >> >
> >> >When I try to output the event file I do this:
> >> >[root@balder: /proc/acpi]# cat event >
> >> /home/event.log
> >> >
> >> >But then It just stands there without doing
> >> anything.
> >> >So i tried to check what was wrong (ps ax)
> command:
> >> >2922 pts/0    S+     0:00 cat event
> >> >
> >> >I don't know if it is supposed to be suspended?
> >> >> I want to know what kind of events could be
> >> >> generated heavily, which could have
> corresponding
> >> >> pending execution of AML method issued to work
> >> queue
> >> >> handled by kacpid.  So just cat
> /proc/acpi/event
> >> >
> >> >> event.log
> >> >> to me when you were observing abnormal  cpu
> >> >> consumption by kacpid.  
> >> >> 
> >> >> Thanks
> >> >> Luming 
> >> >> 
> >> >> >-----Original Message-----
> >> >> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >> >> >Sent: 2004Äê11ÔÂ10ÈÕ
> 0:00
> >> >> >To: Yu, Luming
> >> >> >Subject: RE: [ACPI] kacpid problems
> >> >> >
> >> >> >Of course.. But which log files do you want
> to
> >> take
> >> >> a
> >> >> >look at?
> >> >> >> >How am i supppose to get an output from
> >> >> >> >/proc/acpi/event ??? I can't access the
> file,
> >> >> >> because
> >> >> >> >it's in use.
> >> >> >> 
> >> >> >> Just kill acpid or the similar.
> >> >> >> 
> >> >> >> 
> >> >> >>
> >> >>
> >>
>
>>>-------------------------------------------------------
> >> >> >> This SF.Net email is sponsored by:
> >> >> >> Sybase ASE Linux Express Edition - download
> >> now
> >> >> for
> >> >> >> FREE
> >> >> >> LinuxWorld Reader's Choice Award Winner for
> >> best
> >> >> >> database on Linux.
> >> >> >>
> >> >>
> >>
> http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click
> >> >> >>
> >> _______________________________________________
> >> >> >> Acpi-devel mailing list
> >> >> >> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >> >> >>
> >> >>
> >>
>
>>>https://lists.sourceforge.net/lists/listinfo/acpi-devel
> >> >> >>  
> >> >> >
> >> >>  
> >> >
> >> 
> >
> N\x18¬HS^µéšŠX¬²š'²ŠÞu¼’ɶ¬x\x04„.)îÄLi­ë,\x11Ø­Š‰Ý£
塧g£\aè¬TD\x10¸§»\x15¨®WQy§^®À¡¢'\x1e
\x03\x06«uh§êߢ¶Þ²×Zµ¦Ú±ê'.)îÆ^[m§ÿÚvÊ,vw(›ö‰ùçÏ\x1a–Z\x1c
‰õÛN¹¢œ–'$\x01ÊbuëÞ–f¢–)à–+-\x01ÊbuëÞ–X¬¶Ë(º·\x1e
~Šàzw­†Ûi³ÿåŠËl²‹«qçè®\a§zßåŠËlþX¬¶)ߣöœ¦'^½é 


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

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

* RE: kacpid problems
@ 2004-11-10 14:26 Yu, Luming
  2004-11-10 14:35 ` dev_zero
  0 siblings, 1 reply; 37+ messages in thread
From: Yu, Luming @ 2004-11-10 14:26 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 3094 bytes --]

Hmm... would you please cat /proc/interrupts to me.

Thanks
Luming 

>-----Original Message-----
>From: dev_zero [mailto:dev_xor@yahoo.no] 
>Sent: 2004年11月10日 21:34
>To: Yu, Luming
>Cc: acpi-devel@lists.sourceforge.net
>Subject: RE: [ACPI] kacpid problems
>
>kacpid still runns with 99%cpu usage when the cpu gets
>too hot. I tried the game quake 2. You can play around
>10 -15 minutes before the kacpid starts running on 99%
>cpu usage. I also used quake 2 too test the kernel
>before I applied your patch.
>
> --- "Yu, Luming" <luming.yu@intel.com> wrote: 
>> It means there was NO event generated at that time.
>> Do you think the symptom is gone with my debug
>> patch?
>> If so, I think your box need a more sane schedule
>> for acpi_thermal_check 
>> And, I can come up with a patch.
>> 
>> Thanks
>> Luming 
>> 
>> >-----Original Message-----
>> >From: dev_zero [mailto:dev_xor@yahoo.no] 
>> >Sent: 2004年11月10日 1:06
>> >To: Yu, Luming
>> >Cc: acpi-devel@lists.sourceforge.net
>> >Subject: RE: [ACPI] kacpid problems
>> >
>> >When I try to output the event file I do this:
>> >[root@balder: /proc/acpi]# cat event >
>> /home/event.log
>> >
>> >But then It just stands there without doing
>> anything.
>> >So i tried to check what was wrong (ps ax) command:
>> >2922 pts/0    S+     0:00 cat event
>> >
>> >I don't know if it is supposed to be suspended?
>> >> I want to know what kind of events could be
>> >> generated heavily, which could have corresponding
>> >> pending execution of AML method issued to work
>> queue
>> >> handled by kacpid.  So just cat /proc/acpi/event
>> >
>> >> event.log
>> >> to me when you were observing abnormal  cpu
>> >> consumption by kacpid.  
>> >> 
>> >> Thanks
>> >> Luming 
>> >> 
>> >> >-----Original Message-----
>> >> >From: dev_zero [mailto:dev_xor@yahoo.no] 
>> >> >Sent: 2004Äê11ÔÂ10ÈÕ 0:00
>> >> >To: Yu, Luming
>> >> >Subject: RE: [ACPI] kacpid problems
>> >> >
>> >> >Of course.. But which log files do you want to
>> take
>> >> a
>> >> >look at?
>> >> >> >How am i supppose to get an output from
>> >> >> >/proc/acpi/event ??? I can't access the file,
>> >> >> because
>> >> >> >it's in use.
>> >> >> 
>> >> >> Just kill acpid or the similar.
>> >> >> 
>> >> >> 
>> >> >>
>> >>
>>
>>>-------------------------------------------------------
>> >> >> This SF.Net email is sponsored by:
>> >> >> Sybase ASE Linux Express Edition - download
>> now
>> >> for
>> >> >> FREE
>> >> >> LinuxWorld Reader's Choice Award Winner for
>> best
>> >> >> database on Linux.
>> >> >>
>> >>
>> http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click
>> >> >>
>> _______________________________________________
>> >> >> Acpi-devel mailing list
>> >> >> Acpi-devel@lists.sourceforge.net
>> >> >>
>> >>
>>
>>>https://lists.sourceforge.net/lists/listinfo/acpi-devel
>> >> >>  
>> >> >
>> >>  
>> >
>> 
>
N\x18¬HS^µéšŠX¬²š'²ŠÞu¼’ɶ¬x\x04„.)îÄLi­ë,\x11Ø­Š‰Ý£	塧g£\aè¬TD\x10¸§»\x15¨®WQy§^®À¡¢'\x1e\x03\x06«uh§êߢ¶Þ²×Zµ¦Ú±ê'.)îÆ^[m§ÿÚvÊ,vw(›ö‰

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

* RE: kacpid problems
  2004-11-10  9:37 Yu, Luming
@ 2004-11-10 13:33 ` dev_zero
       [not found]   ` <20041110133335.84968.qmail-dJK20/AG75nGRxTy+Q50vsz6deESKz/lQQ4Iyu8u01E@public.gmane.org>
  0 siblings, 1 reply; 37+ messages in thread
From: dev_zero @ 2004-11-10 13:33 UTC (permalink / raw)
  To: Yu, Luming; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

kacpid still runns with 99%cpu usage when the cpu gets
too hot. I tried the game quake 2. You can play around
10 -15 minutes before the kacpid starts running on 99%
cpu usage. I also used quake 2 too test the kernel
before I applied your patch.

 --- "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 
> It means there was NO event generated at that time.
> Do you think the symptom is gone with my debug
> patch?
> If so, I think your box need a more sane schedule
> for acpi_thermal_check 
> And, I can come up with a patch.
> 
> Thanks
> Luming 
> 
> >-----Original Message-----
> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >Sent: 2004年11月10日 1:06
> >To: Yu, Luming
> >Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >Subject: RE: [ACPI] kacpid problems
> >
> >When I try to output the event file I do this:
> >[root@balder: /proc/acpi]# cat event >
> /home/event.log
> >
> >But then It just stands there without doing
> anything.
> >So i tried to check what was wrong (ps ax) command:
> >2922 pts/0    S+     0:00 cat event
> >
> >I don't know if it is supposed to be suspended?
> >> I want to know what kind of events could be
> >> generated heavily, which could have corresponding
> >> pending execution of AML method issued to work
> queue
> >> handled by kacpid.  So just cat /proc/acpi/event
> >
> >> event.log
> >> to me when you were observing abnormal  cpu
> >> consumption by kacpid.  
> >> 
> >> Thanks
> >> Luming 
> >> 
> >> >-----Original Message-----
> >> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >> >Sent: 2004Äê11ÔÂ10ÈÕ 0:00
> >> >To: Yu, Luming
> >> >Subject: RE: [ACPI] kacpid problems
> >> >
> >> >Of course.. But which log files do you want to
> take
> >> a
> >> >look at?
> >> >> >How am i supppose to get an output from
> >> >> >/proc/acpi/event ??? I can't access the file,
> >> >> because
> >> >> >it's in use.
> >> >> 
> >> >> Just kill acpid or the similar.
> >> >> 
> >> >> 
> >> >>
> >>
>
>>-------------------------------------------------------
> >> >> This SF.Net email is sponsored by:
> >> >> Sybase ASE Linux Express Edition - download
> now
> >> for
> >> >> FREE
> >> >> LinuxWorld Reader's Choice Award Winner for
> best
> >> >> database on Linux.
> >> >>
> >>
> http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click
> >> >>
> _______________________________________________
> >> >> Acpi-devel mailing list
> >> >> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >> >>
> >>
>
>>https://lists.sourceforge.net/lists/listinfo/acpi-devel
> >> >>  
> >> >
> >>  
> >
> 


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

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

* RE: kacpid problems
@ 2004-11-10  9:37 Yu, Luming
  2004-11-10 13:33 ` dev_zero
  0 siblings, 1 reply; 37+ messages in thread
From: Yu, Luming @ 2004-11-10  9:37 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 2212 bytes --]

It means there was NO event generated at that time.
Do you think the symptom is gone with my debug patch?
If so, I think your box need a more sane schedule for acpi_thermal_check 
And, I can come up with a patch.

Thanks
Luming 

>-----Original Message-----
>From: dev_zero [mailto:dev_xor@yahoo.no] 
>Sent: 2004年11月10日 1:06
>To: Yu, Luming
>Cc: acpi-devel@lists.sourceforge.net
>Subject: RE: [ACPI] kacpid problems
>
>When I try to output the event file I do this:
>[root@balder: /proc/acpi]# cat event > /home/event.log
>
>But then It just stands there without doing anything.
>So i tried to check what was wrong (ps ax) command:
>2922 pts/0    S+     0:00 cat event
>
>I don't know if it is supposed to be suspended?
>> I want to know what kind of events could be
>> generated heavily, which could have corresponding
>> pending execution of AML method issued to work queue
>> handled by kacpid.  So just cat /proc/acpi/event >
>> event.log
>> to me when you were observing abnormal  cpu
>> consumption by kacpid.  
>> 
>> Thanks
>> Luming 
>> 
>> >-----Original Message-----
>> >From: dev_zero [mailto:dev_xor@yahoo.no] 
>> >Sent: 2004Äê11ÔÂ10ÈÕ 0:00
>> >To: Yu, Luming
>> >Subject: RE: [ACPI] kacpid problems
>> >
>> >Of course.. But which log files do you want to take
>> a
>> >look at?
>> >> >How am i supppose to get an output from
>> >> >/proc/acpi/event ??? I can't access the file,
>> >> because
>> >> >it's in use.
>> >> 
>> >> Just kill acpid or the similar.
>> >> 
>> >> 
>> >>
>>
>>-------------------------------------------------------
>> >> This SF.Net email is sponsored by:
>> >> Sybase ASE Linux Express Edition - download now
>> for
>> >> FREE
>> >> LinuxWorld Reader's Choice Award Winner for best
>> >> database on Linux.
>> >>
>> http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click
>> >> _______________________________________________
>> >> Acpi-devel mailing list
>> >> Acpi-devel@lists.sourceforge.net
>> >>
>>
>>https://lists.sourceforge.net/lists/listinfo/acpi-devel
>> >>  
>> >
>>  
>
N\x18¬HS^µéšŠX¬²š'²ŠÞu¼’ɶ¬x\x04„.)îÄLi­ë,\x11Ø­Š‰Ý£	塧g£\aè¬TD\x10¸§»\x15¨®WQy§^®À¡¢'\x1e\x03\x06«uh§êߢ¶Þ²×Zµ¦Ú±ê'.)îÆ^[m§ÿÚvÊ,vw(›ö‰

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

* RE: kacpid problems
       [not found] <3ACA40606221794F80A5670F0AF15F84041AC042@pdsmsx403>
@ 2004-11-09 17:06 ` dev_zero
  0 siblings, 0 replies; 37+ messages in thread
From: dev_zero @ 2004-11-09 17:06 UTC (permalink / raw)
  To: Yu, Luming; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

When I try to output the event file I do this:
[root@balder: /proc/acpi]# cat event > /home/event.log

But then It just stands there without doing anything.
So i tried to check what was wrong (ps ax) command:
2922 pts/0    S+     0:00 cat event

I don't know if it is supposed to be suspended?
> I want to know what kind of events could be
> generated heavily, which could have corresponding
> pending execution of AML method issued to work queue
> handled by kacpid.  So just cat /proc/acpi/event >
> event.log
> to me when you were observing abnormal  cpu
> consumption by kacpid.  
> 
> Thanks
> Luming 
> 
> >-----Original Message-----
> >From: dev_zero [mailto:dev_xor-eZNTXLQAfP4@public.gmane.org] 
> >Sent: 2004Äê11ÔÂ10ÈÕ 0:00
> >To: Yu, Luming
> >Subject: RE: [ACPI] kacpid problems
> >
> >Of course.. But which log files do you want to take
> a
> >look at?
> >> >How am i supppose to get an output from
> >> >/proc/acpi/event ??? I can't access the file,
> >> because
> >> >it's in use.
> >> 
> >> Just kill acpid or the similar.
> >> 
> >> 
> >>
>
>-------------------------------------------------------
> >> This SF.Net email is sponsored by:
> >> Sybase ASE Linux Express Edition - download now
> for
> >> FREE
> >> LinuxWorld Reader's Choice Award Winner for best
> >> database on Linux.
> >>
> http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click
> >> _______________________________________________
> >> Acpi-devel mailing list
> >> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >>
>
>https://lists.sourceforge.net/lists/listinfo/acpi-devel
> >>  
> >
>  


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

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

* Re: kacpid problems
       [not found]   ` <20041109151244.94397.qmail-Njb8tMpsuHHGRxTy+Q50vsz6deESKz/lQQ4Iyu8u01E@public.gmane.org>
@ 2004-11-09 15:45     ` Andrew Barr
  0 siblings, 0 replies; 37+ messages in thread
From: Andrew Barr @ 2004-11-09 15:45 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f; +Cc: dev_zero

On Tuesday 09 November 2004 10:12 am, dev_zero wrote:
> How am i supppose to get an output from
> /proc/acpi/event ??? I can't access the file, because
> it's in use.

you probably need to stop the acpid daemon.

Andrew


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

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

* RE: kacpid problems
  2004-11-09  8:23 Yu, Luming
@ 2004-11-09 15:12 ` dev_zero
       [not found]   ` <20041109151244.94397.qmail-Njb8tMpsuHHGRxTy+Q50vsz6deESKz/lQQ4Iyu8u01E@public.gmane.org>
  2004-11-16  0:36 ` Laszlo 'GCS' Boszormenyi
  1 sibling, 1 reply; 37+ messages in thread
From: dev_zero @ 2004-11-09 15:12 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

How am i supppose to get an output from
/proc/acpi/event ??? I can't access the file, because
it's in use.
> I suspect we need a sane check against sleep_time.
> Please testing the following debug patch.
> 
> Also, please sent the output of the activity in
> /proc/acpi/event .
> 
> Thanks
> Luming 
> 
> --- edited/drivers/acpi/thermal.c.orig  2004-11-09
> 16:45:43.000000000 +0800
> +++ edited/drivers/acpi/thermal.c       2004-11-09
> 16:47:20.000000000 +0800
> @@ -746,6 +746,8 @@
>         ACPI_DEBUG_PRINT((ACPI_DB_INFO, "%s:
> temperature[%lu] sleep[%lu]\n",
>                 tz->name, tz->temperature,
> sleep_time));
> 
> +       sleep_time = 5000; /* 5 seconds */
> +
>         /*
>          * Schedule Next Poll
>          * ------------------
> 
> 
> >-----Original Message-----
> >From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org 
> >[mailto:acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On
> Behalf Of dev_zero
> >Sent: 2004年11月9日 4:42
> >To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >Subject: RE: [ACPI] kacpid problems
> >
> >You can download my DSDT table from my website or
> from
> >this site:
> >http://acpi.sourceforge.net/dsdt/view.php?id=224
> >website: http://home.no.net/pusleole/#dsdt
> >
> >I get some double emails from this mailinglist.
> When
> >you guys send me replys you send to my email and a
> CC
> >to the mailinglist. Because of this I get some
> >messages two times. When I send a reply to someone
> >lets say luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org, should I send both a
> >reply to this email and a CC to the mailinglist, or
> >should I send the reply to just the mailinglist?
> >
> >> I'd like to see your box's DSDT to have a idea of
> >> what's going on in your box.
> >> 
> >> Thanks
> >> Luming 
> >> 
> >> >-----Original Message-----
> >> >From: Laszlo 'GCS' Boszormenyi
> [mailto:gcs-gKC9iF2I70U@public.gmane.org] 
> >> >Sent: 2004Äê11ÔÂ8ÈÕ 11:18
> >> >To: Yu, Luming
> >> >Cc: dev_zero; acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >> >Subject: Re: [ACPI] kacpid problems
> >> >
> >> >* Laszlo 'GCS' Boszormenyi <gcs-gKC9iF2I70U@public.gmane.org>
> [2004-11-08
> >> 03:48:59 +0100]:
> >> >
> >> >> > Could you verify if killing kacpid can make
> the
> >> thing better?
> >> >>  This just happened to me again. I did
> >> /etc/init.d/acpid stop, and it
> >> >> did, but issuing halt left me with the
> >> acpi_power_off called message.
> >> >> I think some memory corruption may happen in
> >> kernel space, 
> >> >or it is just
> >> >> ACPI failing for some reason.
> >> > OK, just happened again, so update: I did
> >> /etc/init.d/acpid stop; but
> >> >as I saw CPU usage went to half kernel space,
> half
> >> user space. But(!)
> >> >now I can confirm that kacpid with pid 5 stuck
> in a
> >> D state, 
> >> >tried to do
> >> >something, but the box was so crawling that I
> chose
> >> to pull 
> >> >out the cord
> >> >instead.
> >> >
> >> >HTH,
> >> >Laszlo
> >> >
> >> >
> >>  
> >
> >
>


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

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

* RE: kacpid problems
@ 2004-11-09  8:23 Yu, Luming
  2004-11-09 15:12 ` dev_zero
  2004-11-16  0:36 ` Laszlo 'GCS' Boszormenyi
  0 siblings, 2 replies; 37+ messages in thread
From: Yu, Luming @ 2004-11-09  8:23 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
  Cc: Laszlo 'GCS' Boszormenyi

I suspect we need a sane check against sleep_time.
Please testing the following debug patch.

Also, please sent the output of the activity in /proc/acpi/event .

Thanks
Luming 

--- edited/drivers/acpi/thermal.c.orig  2004-11-09 16:45:43.000000000 +0800
+++ edited/drivers/acpi/thermal.c       2004-11-09 16:47:20.000000000 +0800
@@ -746,6 +746,8 @@
        ACPI_DEBUG_PRINT((ACPI_DB_INFO, "%s: temperature[%lu] sleep[%lu]\n",
                tz->name, tz->temperature, sleep_time));

+       sleep_time = 5000; /* 5 seconds */
+
        /*
         * Schedule Next Poll
         * ------------------


>-----Original Message-----
>From: acpi-devel-admin@lists.sourceforge.net 
>[mailto:acpi-devel-admin@lists.sourceforge.net] On Behalf Of dev_zero
>Sent: 2004年11月9日 4:42
>To: acpi-devel@lists.sourceforge.net
>Subject: RE: [ACPI] kacpid problems
>
>You can download my DSDT table from my website or from
>this site:
>http://acpi.sourceforge.net/dsdt/view.php?id=224
>website: http://home.no.net/pusleole/#dsdt
>
>I get some double emails from this mailinglist. When
>you guys send me replys you send to my email and a CC
>to the mailinglist. Because of this I get some
>messages two times. When I send a reply to someone
>lets say luming.yu@intel.com, should I send both a
>reply to this email and a CC to the mailinglist, or
>should I send the reply to just the mailinglist?
>
>> I'd like to see your box's DSDT to have a idea of
>> what's going on in your box.
>> 
>> Thanks
>> Luming 
>> 
>> >-----Original Message-----
>> >From: Laszlo 'GCS' Boszormenyi [mailto:gcs@lsc.hu] 
>> >Sent: 2004Äê11ÔÂ8ÈÕ 11:18
>> >To: Yu, Luming
>> >Cc: dev_zero; acpi-devel@lists.sourceforge.net
>> >Subject: Re: [ACPI] kacpid problems
>> >
>> >* Laszlo 'GCS' Boszormenyi <gcs@lsc.hu> [2004-11-08
>> 03:48:59 +0100]:
>> >
>> >> > Could you verify if killing kacpid can make the
>> thing better?
>> >>  This just happened to me again. I did
>> /etc/init.d/acpid stop, and it
>> >> did, but issuing halt left me with the
>> acpi_power_off called message.
>> >> I think some memory corruption may happen in
>> kernel space, 
>> >or it is just
>> >> ACPI failing for some reason.
>> > OK, just happened again, so update: I did
>> /etc/init.d/acpid stop; but
>> >as I saw CPU usage went to half kernel space, half
>> user space. But(!)
>> >now I can confirm that kacpid with pid 5 stuck in a
>> D state, 
>> >tried to do
>> >something, but the box was so crawling that I chose
>> to pull 
>> >out the cord
>> >instead.
>> >
>> >HTH,
>> >Laszlo
>> >
>> >
>>  
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by:
>Sybase ASE Linux Express Edition - download now for FREE
>LinuxWorld Reader's Choice Award Winner for best database on Linux.
>http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
>_______________________________________________
>Acpi-devel mailing list
>Acpi-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/acpi-devel
>

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

* RE: kacpid problems
  2004-11-08  3:23 Yu, Luming
@ 2004-11-08 20:41 ` dev_zero
  0 siblings, 0 replies; 37+ messages in thread
From: dev_zero @ 2004-11-08 20:41 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

You can download my DSDT table from my website or from
this site:
http://acpi.sourceforge.net/dsdt/view.php?id=224
website: http://home.no.net/pusleole/#dsdt

I get some double emails from this mailinglist. When
you guys send me replys you send to my email and a CC
to the mailinglist. Because of this I get some
messages two times. When I send a reply to someone
lets say luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org, should I send both a
reply to this email and a CC to the mailinglist, or
should I send the reply to just the mailinglist?

> I'd like to see your box's DSDT to have a idea of
> what's going on in your box.
> 
> Thanks
> Luming 
> 
> >-----Original Message-----
> >From: Laszlo 'GCS' Boszormenyi [mailto:gcs-gKC9iF2I70U@public.gmane.org] 
> >Sent: 2004Äê11ÔÂ8ÈÕ 11:18
> >To: Yu, Luming
> >Cc: dev_zero; acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >Subject: Re: [ACPI] kacpid problems
> >
> >* Laszlo 'GCS' Boszormenyi <gcs-gKC9iF2I70U@public.gmane.org> [2004-11-08
> 03:48:59 +0100]:
> >
> >> > Could you verify if killing kacpid can make the
> thing better?
> >>  This just happened to me again. I did
> /etc/init.d/acpid stop, and it
> >> did, but issuing halt left me with the
> acpi_power_off called message.
> >> I think some memory corruption may happen in
> kernel space, 
> >or it is just
> >> ACPI failing for some reason.
> > OK, just happened again, so update: I did
> /etc/init.d/acpid stop; but
> >as I saw CPU usage went to half kernel space, half
> user space. But(!)
> >now I can confirm that kacpid with pid 5 stuck in a
> D state, 
> >tried to do
> >something, but the box was so crawling that I chose
> to pull 
> >out the cord
> >instead.
> >
> >HTH,
> >Laszlo
> >
> >
>  


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

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

* RE: kacpid problems
@ 2004-11-08  3:23 Yu, Luming
  2004-11-08 20:41 ` dev_zero
  0 siblings, 1 reply; 37+ messages in thread
From: Yu, Luming @ 2004-11-08  3:23 UTC (permalink / raw)
  To: Laszlo 'GCS' Boszormenyi
  Cc: dev_zero, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

I'd like to see your box's DSDT to have a idea of what's going on in your box.

Thanks
Luming 

>-----Original Message-----
>From: Laszlo 'GCS' Boszormenyi [mailto:gcs-gKC9iF2I70U@public.gmane.org] 
>Sent: 2004年11月8日 11:18
>To: Yu, Luming
>Cc: dev_zero; acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>Subject: Re: [ACPI] kacpid problems
>
>* Laszlo 'GCS' Boszormenyi <gcs-gKC9iF2I70U@public.gmane.org> [2004-11-08 03:48:59 +0100]:
>
>> > Could you verify if killing kacpid can make the thing better?
>>  This just happened to me again. I did /etc/init.d/acpid stop, and it
>> did, but issuing halt left me with the acpi_power_off called message.
>> I think some memory corruption may happen in kernel space, 
>or it is just
>> ACPI failing for some reason.
> OK, just happened again, so update: I did /etc/init.d/acpid stop; but
>as I saw CPU usage went to half kernel space, half user space. But(!)
>now I can confirm that kacpid with pid 5 stuck in a D state, 
>tried to do
>something, but the box was so crawling that I chose to pull 
>out the cord
>instead.
>
>HTH,
>Laszlo
>
>


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click

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

* Re: kacpid problems
  2004-11-08  2:48 ` Laszlo 'GCS' Boszormenyi
@ 2004-11-08  3:18   ` Laszlo 'GCS' Boszormenyi
  0 siblings, 0 replies; 37+ messages in thread
From: Laszlo 'GCS' Boszormenyi @ 2004-11-08  3:18 UTC (permalink / raw)
  To: Yu, Luming; +Cc: dev_zero, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

* Laszlo 'GCS' Boszormenyi <gcs-gKC9iF2I70U@public.gmane.org> [2004-11-08 03:48:59 +0100]:

> > Could you verify if killing kacpid can make the thing better?
>  This just happened to me again. I did /etc/init.d/acpid stop, and it
> did, but issuing halt left me with the acpi_power_off called message.
> I think some memory corruption may happen in kernel space, or it is just
> ACPI failing for some reason.
 OK, just happened again, so update: I did /etc/init.d/acpid stop; but
as I saw CPU usage went to half kernel space, half user space. But(!)
now I can confirm that kacpid with pid 5 stuck in a D state, tried to do
something, but the box was so crawling that I chose to pull out the cord
instead.

HTH,
Laszlo



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

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

* Re: kacpid problems
  2004-11-08  1:58 Yu, Luming
@ 2004-11-08  2:48 ` Laszlo 'GCS' Boszormenyi
  2004-11-08  3:18   ` Laszlo 'GCS' Boszormenyi
  0 siblings, 1 reply; 37+ messages in thread
From: Laszlo 'GCS' Boszormenyi @ 2004-11-08  2:48 UTC (permalink / raw)
  To: Yu, Luming; +Cc: dev_zero, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

* Yu, Luming <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> [2004-11-08 09:58:49 +0800]:

> Could you verify if killing kacpid can make the thing better?
 This just happened to me again. I did /etc/init.d/acpid stop, and it
did, but issuing halt left me with the acpi_power_off called message.
I think some memory corruption may happen in kernel space, or it is just
ACPI failing for some reason.
 If this helps, I can say that this bug happens slowly, first I just
realise that more and more CPU time is being used; say 6% user space and
14% kernel space from looking on a gkrellm display while my system is
completely idle. It goes up to 48% user space and 49% kernel space CPU
usage causing the box to crawl (load also goes up, usually it's ~3.0 -
~5.0). So if I see this happening, I act quickly, logout from GUI, and
issue halt from console; still in these cases the box can not halt, but
display acpi_power_off called. Also not that I have this for a long
time, if memory serves me right, then I have this with all 2.6.x
versions and with late 2.4.x versions as well.
 Let's wait on 'dev_zero' if s/he has the very same symptoms or not.
Also if I can do anything, say running a modified acpid which logs an
extra amount of debug log, please tell me. Otherwise I can not directly
reproduce this problem. :-(

Cheers,
Laszlo



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

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

* RE: kacpid problems
@ 2004-11-08  1:58 Yu, Luming
  2004-11-08  2:48 ` Laszlo 'GCS' Boszormenyi
  0 siblings, 1 reply; 37+ messages in thread
From: Yu, Luming @ 2004-11-08  1:58 UTC (permalink / raw)
  To: dev_zero, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Could you verify if killing kacpid can make the thing better?

Thanks
Luming 

>-----Original Message-----
>From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org 
>[mailto:acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of dev_zero
>Sent: 2004年11月6日 7:39
>To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>Subject: [ACPI] kacpid problems
>
>Hello,
>
>My trip_points file in /proc/acpi/thermal_zone/THRM looks like this:
>critical (S5):           85 C
>passive:                 70 C: tc1=5 tc2=3 tsp=256 devices=0xcdde39a8
>active[0]:               45 C: devices=0xcdd94c28
>
>The problem comes when I try to compile big programs, like 
>inkscape(vector drawing program) or when I play games. I think 
>this is a 
>bug, but I don't really know, because I'm not a acpi programmer.
>When my processor gets too hot, over 85 C it tries to 
>shutdown(S5), but 
>the only thing that happends is that kacpid starts running and runns 
>with 99% CPU usage.
>(taken from top)
>5 root       7 -10     0    0    0 R  99.0  0.0   0:17.94 kacpid
>
>Is it someone who knows what is wrong? Is it a bug or is it my 
>hardware 
>that is the problem?
>
>thanks in advance
>
>Jon Emil
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by:
>Sybase ASE Linux Express Edition - download now for FREE
>LinuxWorld Reader's Choice Award Winner for best database on Linux.
>http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
>_______________________________________________
>Acpi-devel mailing list
>Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>https://lists.sourceforge.net/lists/listinfo/acpi-devel
>


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click

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

* Re: kacpid problems
  2004-11-06  2:02   ` Laszlo 'GCS' Boszormenyi
@ 2004-11-06 12:58     ` dev_zero
  0 siblings, 0 replies; 37+ messages in thread
From: dev_zero @ 2004-11-06 12:58 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Laszlo 'GCS' Boszormenyi wrote:
> * dev_zero <dev_xor-eZNTXLQAfP4@public.gmane.org> [2004-11-06 00:38:34 +0100]:
> 
> 
>>When my processor gets too hot, over 85 C it tries to shutdown(S5), but 
>>the only thing that happends is that kacpid starts running and runns 
>>with 99% CPU usage.
>>(taken from top)
>>5 root       7 -10     0    0    0 R  99.0  0.0   0:17.94 kacpid
>>
>>Is it someone who knows what is wrong? Is it a bug or is it my hardware 
>>that is the problem?
> 
>  I have this also, but not always. Also even kacpid shows 99% CPU usage,
> as I see gkrellm, it shows that about 45% is spent in kernel space, and
> the rest in user space. I say not always because sometimes my machine
> goes without any problem even when hot, or bugging when it is not really
> hot. Don't know if my 'bug' is really related to yours, but yes, it is
> annoying as when this happens I can not shutdown manually even. The last
> line I see acpi_poweroff_called (even if I stop the kacpid process
> before).
>  Is it a laptop or a desktop machine?
> 
> Regards,
> Laszlo/GCS

I have a laptop. After the kacpid starts running with 99% cpu usage I
cannot use my machine I have to reboot, because it's lagging too much.
And the last line I see when I switch to init 0 is also
"acpi_poweroff_called".




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

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

* Re: kacpid problems
       [not found] ` <418C0EFA.6000001-eZNTXLQAfP4@public.gmane.org>
@ 2004-11-06  2:02   ` Laszlo 'GCS' Boszormenyi
  2004-11-06 12:58     ` dev_zero
  0 siblings, 1 reply; 37+ messages in thread
From: Laszlo 'GCS' Boszormenyi @ 2004-11-06  2:02 UTC (permalink / raw)
  To: dev_zero; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

* dev_zero <dev_xor-eZNTXLQAfP4@public.gmane.org> [2004-11-06 00:38:34 +0100]:

> When my processor gets too hot, over 85 C it tries to shutdown(S5), but 
> the only thing that happends is that kacpid starts running and runns 
> with 99% CPU usage.
> (taken from top)
> 5 root       7 -10     0    0    0 R  99.0  0.0   0:17.94 kacpid
> 
> Is it someone who knows what is wrong? Is it a bug or is it my hardware 
> that is the problem?
 I have this also, but not always. Also even kacpid shows 99% CPU usage,
as I see gkrellm, it shows that about 45% is spent in kernel space, and
the rest in user space. I say not always because sometimes my machine
goes without any problem even when hot, or bugging when it is not really
hot. Don't know if my 'bug' is really related to yours, but yes, it is
annoying as when this happens I can not shutdown manually even. The last
line I see acpi_poweroff_called (even if I stop the kacpid process
before).
 Is it a laptop or a desktop machine?

Regards,
Laszlo/GCS



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

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

* kacpid problems
@ 2004-11-05 23:38 dev_zero
       [not found] ` <418C0EFA.6000001-eZNTXLQAfP4@public.gmane.org>
  0 siblings, 1 reply; 37+ messages in thread
From: dev_zero @ 2004-11-05 23:38 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hello,

My trip_points file in /proc/acpi/thermal_zone/THRM looks like this:
critical (S5):           85 C
passive:                 70 C: tc1=5 tc2=3 tsp=256 devices=0xcdde39a8
active[0]:               45 C: devices=0xcdd94c28

The problem comes when I try to compile big programs, like 
inkscape(vector drawing program) or when I play games. I think this is a 
bug, but I don't really know, because I'm not a acpi programmer.
When my processor gets too hot, over 85 C it tries to shutdown(S5), but 
the only thing that happends is that kacpid starts running and runns 
with 99% CPU usage.
(taken from top)
5 root       7 -10     0    0    0 R  99.0  0.0   0:17.94 kacpid

Is it someone who knows what is wrong? Is it a bug or is it my hardware 
that is the problem?

thanks in advance

Jon Emil


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

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

end of thread, other threads:[~2004-11-16  3:29 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-09 15:50 kacpid problems Yu, Luming
2004-11-09 16:15 ` dev_zero
  -- strict thread matches above, loose matches on Subject: below --
2004-11-16  3:29 Yu, Luming
2004-11-11 16:51 Yu, Luming
2004-11-11 16:57 ` dev_zero
2004-11-11 15:32 Yu, Luming
2004-11-11 15:56 ` dev_zero
2004-11-11 16:01 ` dev_zero
2004-11-11 16:37 ` dev_zero
2004-11-11 14:37 Yu, Luming
     [not found] <3ACA40606221794F80A5670F0AF15F84041AC04B@pdsmsx403>
2004-11-10 16:14 ` dev_zero
     [not found] <3ACA40606221794F80A5670F0AF15F84041AC049@pdsmsx403>
2004-11-10 16:06 ` dev_zero
2004-11-10 16:11 ` dev_zero
     [not found] <3ACA40606221794F80A5670F0AF15F84041AC048@pdsmsx403>
2004-11-10 14:40 ` dev_zero
2004-11-10 14:50 ` dev_zero
2004-11-10 14:26 Yu, Luming
2004-11-10 14:35 ` dev_zero
2004-11-10  9:37 Yu, Luming
2004-11-10 13:33 ` dev_zero
     [not found]   ` <20041110133335.84968.qmail-dJK20/AG75nGRxTy+Q50vsz6deESKz/lQQ4Iyu8u01E@public.gmane.org>
2004-11-10 15:44     ` Wang, Zhenyu
     [not found]       ` <20041110154433.GA14613-/VnEId6AORcBH7GVJk7YB9h3ngVCH38I@public.gmane.org>
2004-11-10 15:54         ` Wang, Zhenyu
     [not found]           ` <20041110155455.GA14675-/VnEId6AORcBH7GVJk7YB9h3ngVCH38I@public.gmane.org>
2004-11-10 17:09             ` dev_zero
     [not found]               ` <20041110170945.38831.qmail-uk6eOWkoXtXGRxTy+Q50vsz6deESKz/lQQ4Iyu8u01E@public.gmane.org>
2004-11-11  1:22                 ` Wang, Zhenyu
     [not found]                   ` <20041111012228.GA18032-/VnEId6AORcBH7GVJk7YB9h3ngVCH38I@public.gmane.org>
2004-11-11 15:26                     ` dev_zero
     [not found] <3ACA40606221794F80A5670F0AF15F84041AC042@pdsmsx403>
2004-11-09 17:06 ` dev_zero
2004-11-09  8:23 Yu, Luming
2004-11-09 15:12 ` dev_zero
     [not found]   ` <20041109151244.94397.qmail-Njb8tMpsuHHGRxTy+Q50vsz6deESKz/lQQ4Iyu8u01E@public.gmane.org>
2004-11-09 15:45     ` Andrew Barr
2004-11-16  0:36 ` Laszlo 'GCS' Boszormenyi
2004-11-08  3:23 Yu, Luming
2004-11-08 20:41 ` dev_zero
2004-11-08  1:58 Yu, Luming
2004-11-08  2:48 ` Laszlo 'GCS' Boszormenyi
2004-11-08  3:18   ` Laszlo 'GCS' Boszormenyi
2004-11-05 23:38 dev_zero
     [not found] ` <418C0EFA.6000001-eZNTXLQAfP4@public.gmane.org>
2004-11-06  2:02   ` Laszlo 'GCS' Boszormenyi
2004-11-06 12:58     ` dev_zero

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.