2004-03-17 13:29:51

by Maneesh Soni

[permalink] [raw]
Subject: [2.6.5-rc1] Kernel panic: Attempted to kill the idle task!

Hi,

I am getting kernel panic on 2.6.5-rc1 on an SMP box (.config attached). This
happens while running following two loops in parallel.

# while true; do insmod drivers/net/dummy.ko; rmmod dummy; done
# while true; do find /sys/class/net | xargs cat; done

The problem does _not_ occur on 2.6.4 and 2.6.5-rc1-mm1. Please note that
following sysfs patches (from -mm1) are needed to run this test. Without these
system hangs anyway due to sysfs problems.

ftp://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.5-rc1/2.6.5-rc1-mm1/broken-out/sysfs-pin-kobject.patch

ftp://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.5-rc1/2.6.5-rc1-mm1/broken-out/sysfs_remove_dir-race-fix.patch

ftp://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.5-rc1/2.6.5-rc1-mm1/broken-out/sysfs_remove_subdir-dentry-leak-fix.patch

Thanks
Maneesh

============================================================
Kernel panic: Attempted to kill the idle task!
<1>Unable to handle kernel NULL pointer dereference at virtual address 00000001
printing eip:
00000001
*pde = 00000000
Oops: 0000 [#1]
PREEMPT SMP
CPU: 0
EIP: 0060:[<00000001>] Not tainted
EFLAGS: 00055692 (2.6.5-rc1)
EIP is at 0x1
eax: 00000000 ebx: 000072bf ecx: 00000004 edx: 00000001
esi: e80c62b0 edi: 00000000 ebp: ffffffff esp: c0465f14
ds: 007b es: 007b ss: 0068
Process swapper (pid: 0, threadinfo=c0464000 task=c03f9960)
Stack: 00000085 c04cb020 00000000 00000000 0000000f c0464000 c0464000 c1506be0
00000001 c0465f58 c0119c16 c1506be0 00000001 c0465f6c c01188d4 dda2a630
00000000 2c2741f4 ddd49040 dda2a650 dda2a630 c1506c10 c0465fc4 00000046
Call Trace:
[<c0119c16>] rebalance_tick+0x46/0xe0
[<c01188d4>] recalc_task_prio+0xb4/0x1f0
[<c0106a70>] default_idle+0x0/0x40
[<c0109b3a>] apic_timer_interrupt+0x1a/0x20
[<c0106a70>] default_idle+0x0/0x40
[<c0106b3d>] cpu_idle+0x4d/0x50
[<c0103000>] rest_init+0x0/0x70
[<c0466934>] start_kernel+0x184/0x1c0
[<c04664a0>] unknown_bootoption+0x0/0x140

Code: Bad EIP value.
<0>Kernel panic: Attempted to kill the idle task!
In idle task - not syncing




--
Maneesh Soni
Linux Technology Center,
IBM Software Lab, Bangalore, India
email: [email protected]
Phone: 91-80-25044999 Fax: 91-80-25268553
T/L : 9243696


Attachments:
(No filename) (2.36 kB)
llm04.config (22.81 kB)
Download all attachments