View previous topic :: View next topic |
Author |
Message |
JPMRaptor Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/518942103409c3fbe53c05.jpg)
Joined: 04 Oct 2002 Posts: 410 Location: Maryland
|
Posted: Fri Oct 10, 2003 1:05 am Post subject: Always 100% CPU |
|
|
I'm seeing my CPU usage always pegged at 100% on my laptop. Running top (or other monitor) it shows system or kernel time as being the primary offender.
I think the thing causing the problem is a couple of processes that are constantly respawning (like the 'ps axef' output below) 2 ? RW 46:29 [keventd]
5901 ? Z 0:00 \_ [kacpidpc] <defunct>
5902 ? RW 0:00 \_ [keventd]
This is on a Toshiba 5205-S505 laptop using gentoo-2.4.22-r7 with ACPI. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
purpleplatyduck n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/13923583563f7861e27a90c.gif)
Joined: 27 Sep 2003 Posts: 17 Location: The Great Unknown (which happens to be close to Kentucky, USA)
|
Posted: Fri Oct 10, 2003 3:36 am Post subject: |
|
|
lemme guess: you didn't search... there's a million and one (or close) threads on this. so search!
i have a toshiba too, this is a common problem with satellites (and maybe other makes too, i don't know). give these threads a try:
https://forums.gentoo.org/viewtopic.phpt=73978&highlight=toshiba+cpu+100
https://forums.gentoo.org/viewtopic.phpt=64142&highlight=toshiba+cpu+100
(i have not as of yet found a permanent fix to my problem, but my computer's possessed, so you'll prolly have beter luck with one of many mentioned methods). try the vanilla kernel, 2.6 maybe? or there's a toshiba patch for the 2.4 kernel, dont' know where you can get it off the top of my head. _________________ Duct tape is like the Force. It has a dark side and a light side, and it holds the world together. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
2crazy n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Apr 2003 Posts: 54
|
Posted: Fri Oct 10, 2003 3:38 am Post subject: |
|
|
Hi,
I had the same problem. There is a apci patch for 2.4.20 out there, but what I did was to switch to gs-sources. Since then my problems are gone. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
JPMRaptor Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/518942103409c3fbe53c05.jpg)
Joined: 04 Oct 2002 Posts: 410 Location: Maryland
|
Posted: Sat Oct 11, 2003 1:34 am Post subject: |
|
|
Wow is this ever ending up being a lot of trouble.
Using the gs-sources I get a complete system lockup when inserting the pcmcia modules (specifically i82365)
Now trying ac-sources. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
JPMRaptor Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/518942103409c3fbe53c05.jpg)
Joined: 04 Oct 2002 Posts: 410 Location: Maryland
|
Posted: Mon Oct 13, 2003 12:59 am Post subject: |
|
|
Yeah!!! Problem solved. After having problems with all other kernels I stumbled on the solution (oops, should have searched better) in https://forums.gentoo.org/viewtopic.php?t=39637&postdays=0&postorder=asc&start=25.
For the lazy here's the fix
Quote: | Go into the kernel source directory; we'll start from there. If you have an older kernel and need to apply ACPI patches, please do so now. For 2.4.21-rc5, ignore what I just said. Now, you need to edit /usr/src/linux/drivers/acpi/events/evrgnini.c. Down around line 293, you'll see the line:
Code:
acpi_os_derive_pci_id (node, region_obj->region.node, &pci_id);
Just comment it out like so:
Code:
/* acpi_os_derive_pci_id (node, region_obj->region.node, &pci_id); */
Recompile the kernel and you're set! |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|