Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Always 100% CPU
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
JPMRaptor
Guru
Guru


Joined: 04 Oct 2002
Posts: 410
Location: Maryland

PostPosted: Fri Oct 10, 2003 1:05 am    Post subject: Always 100% CPU Reply with quote

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
View user's profile Send private message
purpleplatyduck
n00b
n00b


Joined: 27 Sep 2003
Posts: 17
Location: The Great Unknown (which happens to be close to Kentucky, USA)

PostPosted: Fri Oct 10, 2003 3:36 am    Post subject: Reply with quote

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
View user's profile Send private message
2crazy
n00b
n00b


Joined: 07 Apr 2003
Posts: 54

PostPosted: Fri Oct 10, 2003 3:38 am    Post subject: Reply with quote

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
View user's profile Send private message
JPMRaptor
Guru
Guru


Joined: 04 Oct 2002
Posts: 410
Location: Maryland

PostPosted: Sat Oct 11, 2003 1:34 am    Post subject: Reply with quote

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
View user's profile Send private message
JPMRaptor
Guru
Guru


Joined: 04 Oct 2002
Posts: 410
Location: Maryland

PostPosted: Mon Oct 13, 2003 12:59 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum