Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17263 - Top reports 100% system CPU load, but no processes are using the processor.
Summary: Top reports 100% system CPU load, but no processes are using the processor.
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-10 18:43 UTC by B. D. Fritze
Modified: 2003-09-25 14:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Adobe Acrobat file (satellite_505S504.pdf,297.57 KB, application/octet-stream)
2003-03-10 18:47 UTC, B. D. Fritze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description B. D. Fritze 2003-03-10 18:43:35 UTC
Gkrellm reports 100% CPU load, and so does top.  "ps aux" shows nothing 
unusual.  After experimenting with various compile options, I believe it has 
something to do with the main kernel configuration variable CONFIG_ACPI.  I 
haven't yet narrowed it down to a specific source code module.

Reproducible: Always
Steps to Reproduce:
Assumed: Toshiba Satellite laptop with a working base system e.g. compiler, 
bash, etc. GRUB bootloader.  Every step listed (even those that should be 
obvious).

1. emerge either =gentoo-sources-2.4.20-r1 or >acpi-sources-2.4.20-r6
2. cd /usr/src/
3. set "/usr/src/linux" symlink accordingly 
4. cd /usr/src/linux
5. make menuconfig
6. under General Setup, say yes to "PCI support"
7. under General Setup->ACPI Support, say yes to "ACPI support"
8. other configuration options seem to be inconsequential, configure kernel so  
that it will boot.
9. make dep && make clean bzImage modules modules_install
10. mount /boot   # if necessary
11. mv arch/i386/boot/bzImage /boot/bzImage
12. reboot        # boot new kernel
13. log in        # should happen under any user id
14. run top
15. note system CPU usage and process processor times
Actual Results:  
Noted that top displayed statistics such as (but not exactly):
load average: 1.60, 0.96, 0.76
CPU states:  0.0% user,100.0% system,  0.0% nice,  0.0% iowait,  0.0% idle

No processes displayed anything other than 0.0 under the %CPU column.

Expected Results:  
Top should display something more along the lines of (at this point):
load average: 0.00, 0.00, 0.00
CPU states:  0.0% user,  0.0% system,  0.0% nice,  0.0% iowait,100.0% idle

No processes displaying anything other than 0.0 under the %CPU column.

system specs:  Toshiba Satellite 5005-S504 specs listed in included .pdf file.
Comment 1 B. D. Fritze 2003-03-10 18:47:21 UTC
Created attachment 9231 [details]
Adobe Acrobat file

System specifications of the affected laptop.
Comment 2 Matt Taylor 2003-03-11 16:10:05 UTC
from the gkrellm FAQ:

Linux Kernel 2.4.x: heavy CPU usage

    The kapm-idled process records heavy CPU usage when the system should otherwise be quiet. Recompile your kernel with kapm-idled disabled to get rid of this annoyance. 

I assume that acpi does something similar.
Comment 3 Bob Johnson (RETIRED) gentoo-dev 2003-03-11 16:16:04 UTC
yep, but if you want a cooler cpu.. idles are nice. 
you can make gkrellm only report user process loads also.. 
helps. 
not a kernel bug though.  
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-09-25 14:20:59 UTC
db issue