lkml.org 
[lkml]   [2005]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.6.12-rc3-mm2 - kswapd0 keeps running
Date
Le Monday 02 May 2005 00:06, Andrew Morton a écrit :
> Damir Perisa <damir.perisa@solnet.ch> wrote:
> > i updated from rc2-mm3 to rc3-mm2 and now i observe something
> > strange: the cpu is running all the time at 100% because of the
> > kswapd0 that is running always and not becomming idle.
> Could you type sysrq-P a few times, see if we can work out where it's
> stuck?
>
> Thanks.

sure. i recompiled the kernel with magic keys and debugger activated [1],
and kswapd0 does idle normally, now. it seems to solve my issue, but i
don't know why.

for redundancy, here the Regs (alt-sysrq-p):

[4294742.093000] SysRq : Show Regs
[4294742.093000]
[4294742.093000] Pid: 0, comm: swapper
[4294742.093000] EIP: 0060:[<c03feb42>] CPU: 0
[4294742.093000] EIP is at acpi_processor_idle+0x103/0x29a
[4294742.093000] EFLAGS: 00000246 Not tainted (2.6.12-rc3-mm2-ARCH)
[4294742.093000] EAX: 00000000 EBX: c03fea3f ECX: 00000001 EDX: c072e000
[4294742.093000] ESI: efa4c074 EDI: c0772380 EBP: efa4c000 DS: 007b ES:
007b
[4294742.093000] CR0: 8005003b CR2: f1473b04 CR3: 2f37d000 CR4: 00000690
[4294742.093000] [<c03fea3f>] acpi_processor_idle+0x0/0x29a
[4294742.093000] [<c0100e35>] cpu_idle+0x45/0x80
[4294742.093000] [<c07309e7>] start_kernel+0x197/0x1e0
[4294742.093000] [<c0730390>] unknown_bootoption+0x0/0x1f0

the unknown_bootoption confuses me a little. the only bootoption i use is
"devfs=nomount" because i use udev and because people in archlinux may
use instead of udev the devfs i keep devfs in the kernel.

hope it helps you. as i said, now, with minimal debug options and magic
keys configured into the kernel, the kswapd0 idles normally. (so a
workaround to my issue is activating )

greetings,
Damir

[1] the important part of config:
#
# Kernel hacking
#
CONFIG_PRINTK_TIME=y
CONFIG_DEBUG_KERNEL=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_LOG_BUF_SHIFT=15
CONFIG_DETECT_SOFTLOCKUP=y
# CONFIG_SCHEDSTATS is not set
# CONFIG_DEBUG_SLAB is not set
CONFIG_DEBUG_PREEMPT=y
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_KOBJECT is not set
# CONFIG_DEBUG_HIGHMEM is not set
CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_INFO is not set
# CONFIG_PAGE_OWNER is not set
# CONFIG_DEBUG_FS is not set
# CONFIG_FRAME_POINTER is not set
CONFIG_EARLY_PRINTK=y
# CONFIG_DEBUG_STACKOVERFLOW is not set
# CONFIG_KPROBES is not set
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_4KSTACKS is not set
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_X86_MPPARSE=y
# CONFIG_KGDB is not set


--
Customer: "Eudora keeps giving me the error 'connection confused'."
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-05-02 08:05    [W:0.119 / U:0.232 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site