From: dev_zero <de...@ya...> - 2004-11-10 16:06:49
|
Where should I look for the output? In /var/log/messages? --- "Yu, Luming" <lum...@in...> 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:de...@ya...] > >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" <lum...@in...> skrev: > >> > >> I want this info when kacpid runing with 99% CPU > >> time. > >> > >> Thanks > >> Luming > >> > >> >-----Original Message----- > >> >From: dev_zero [mailto:de...@ya...] > >> >Sent: 2004å¹´11æÅË10æâÂ¥ 22:36 > >> >To: Yu, Luming; acp...@li... > >> >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" <lum...@in...> wrote: > >> >> Hmm... would you please cat /proc/interrupts > to > >> me. > >> >> > >> >> Thanks > >> >> Luming > >> >> > >> >> >-----Original Message----- > >> >> >From: dev_zero [mailto:de...@ya...] > >> >> >Sent: > 2004Ã¥ùô11æà âÃâ 10æââ¬âÃÂ¥ > 21:34 > >> >> >To: Yu, Luming > >> >> >Cc: acp...@li... > >> >> >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" <lum...@in...> > 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:de...@ya...] > >> >> >> >Sent: > >> > 2004ÃÆÃÂ¥ÃâùÃâô11ÃÆæÃâ¦Ã¢â¬ÅÃâ¹Ã¢â¬ > 10ÃÆæâââ‰â¬ÂÃâÃÂ¥ > >> 1:06 > >> >> >> >To: Yu, Luming > >> >> >> >Cc: acp...@li... > >> >> >> >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:de...@ya...] > >> >> >> >> >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 === |