error at compaction (Re: mmotm 2010-04-15-14-42 uploaded

From: KAMEZAWA Hiroyuki
Date: Mon Apr 19 2010 - 06:05:43 EST



mmotm 2010-04-15-14-42

When I tried
# echo 0 > /proc/sys/vm/compaction

I see following.

My enviroment was
2.6.34-rc4-mm1+ (2010-04-15-14-42) (x86-64) CPUx8
allocating tons of hugepages and reduce free memory.

What I did was:
# echo 0 > /proc/sys/vm/compact_memory

Hmm, I see this kind of error at migation for the 1st time..
my.config is attached. Hmm... ?

(I'm sorry I'll be offline soon.)
-Kame
==

Apr 19 18:55:04 localhost kernel: BUG: unable to handle kernel paging request at ffff8806213ff000
Apr 19 18:55:04 localhost kernel: IP: [<ffffffff812ae3a5>] copy_page_c+0x5/0x10
Apr 19 18:55:04 localhost kernel: PGD 1a43063 PUD 50d5067 PMD 51df067 PTE 80000006213ff160
Apr 19 18:55:04 localhost kernel: Oops: 0002 [#1] SMP DEBUG_PAGEALLOC
Apr 19 18:55:04 localhost kernel: last sysfs file: /sys/devices/pci0000:00/0000:00:1d.3/usb5/devnum
Apr 19 18:55:04 localhost kernel: CPU 1
Apr 19 18:55:04 localhost kernel: Modules linked in: sit tunnel4 ipt_MASQUERADE iptable_nat nf_nat
bridge stp llc sunrpc cpufreq_ondemand acpi_cpufreq freq_table mperf xt_physdev ip6t_REJECT nf_conn
track_ipv6 ip6table_filter ip6_tables ipv6 uinput e1000e bnx2 shpchp i5000_edac edac_core i2c_i801
i2c_core ppdev i5k_amb parport_pc parport ioatdma dca iTCO_wdt iTCO_vendor_support pcspkr kvm_intel
kvm dm_multipath megaraid_sas [last unloaded: microcode]
Apr 19 18:55:04 localhost kernel:
Apr 19 18:55:04 localhost kernel: Pid: 2427, comm: bash Tainted: G W 2.6.34-rc4-mm1+ #1 D2
519/PRIMERGY
Apr 19 18:55:04 localhost kernel: RIP: 0010:[<ffffffff812ae3a5>] [<ffffffff812ae3a5>] copy_page_c+
0x5/0x10
Apr 19 18:55:04 localhost kernel: RSP: 0018:ffff88061c025b70 EFLAGS: 00010286
Apr 19 18:55:04 localhost kernel: RAX: ffff880000000000 RBX: ffffea0003801180 RCX: 0000000000000200
Apr 19 18:55:04 localhost kernel: RDX: 6db6db6db6db6db7 RSI: ffff880100050000 RDI: ffff8806213ff000
Apr 19 18:55:04 localhost kernel: RBP: ffff88061c025b98 R08: 0000000000000048 R09: 0000000000000001
Apr 19 18:55:04 localhost kernel: R10: 0000000000000000 R11: 0000000000000001 R12: ffffea0015745fc8
Apr 19 18:55:04 localhost kernel: R13: ffff88061c024000 R14: ffffea00038011a8 R15: 0000000000000000
Apr 19 18:55:04 localhost kernel: FS: 00007f634035f700(0000) GS:ffff880005600000(0000) knlGS:00000
00000000000
Apr 19 18:55:04 localhost kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Apr 19 18:55:04 localhost kernel: CR2: ffff8806213ff000 CR3: 0000000612a15000 CR4: 00000000000006e0
Apr 19 18:55:04 localhost kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Apr 19 18:55:04 localhost kernel: DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Apr 19 18:55:04 localhost kernel: Process bash (pid: 2427, threadinfo ffff88061c024000, task ffff880611422410)
Apr 19 18:55:04 localhost kernel: Stack:
Apr 19 18:55:04 localhost kernel: ffffffff8114ea2b ffffea0015745fc8 ffffea0003801180 ffffea0015745fc8
Apr 19 18:55:04 localhost kernel: <0> ffffea0003801180 ffff88061c025bc8 ffffffff8114ee75 0000000000000061
Apr 19 18:55:04 localhost kernel: <0> ffffc90000000000 ffffea0003801180 ffffea0015745fc8 ffff88061c025c08
Apr 19 18:55:04 localhost kernel: Call Trace:
Apr 19 18:55:04 localhost kernel: [<ffffffff8114ea2b>] ? migrate_page_copy+0x7b/0x200
Apr 19 18:55:04 localhost kernel: [<ffffffff8114ee75>] migrate_page+0x35/0x50
Apr 19 18:55:04 localhost kernel: [<ffffffff8114fe85>] buffer_migrate_page+0x125/0x150
Apr 19 18:55:04 localhost kernel: [<ffffffff8114f3f2>] migrate_pages+0x562/0x7d0
Apr 19 18:55:04 localhost kernel: [<ffffffff81111500>] ? lru_add_drain_per_cpu+0x0/0x10
Apr 19 18:55:04 localhost kernel: [<ffffffff81142630>] ? compaction_alloc+0x0/0x370
Apr 19 18:55:04 localhost kernel: [<ffffffff8107cc90>] ? schedule_on_each_cpu+0x150/0x180
Apr 19 18:55:04 localhost kernel: [<ffffffff81141f20>] ? compact_zone+0x270/0x530
Apr 19 18:55:04 localhost kernel: [<ffffffff811420ec>] compact_zone+0x43c/0x530
Apr 19 18:55:04 localhost kernel: [<ffffffff811422e9>] compact_node+0x109/0x140
Apr 19 18:55:04 localhost kernel: [<ffffffff811423cc>] sysctl_compaction_handler+0x5c/0x90
Apr 19 18:55:04 localhost kernel: [<ffffffff811c28f7>] proc_sys_call_handler+0x97/0xd0
Apr 19 18:55:04 localhost kernel: [<ffffffff811c2944>] proc_sys_write+0x14/0x20
Apr 19 18:55:04 localhost kernel: [<ffffffff8115c448>] vfs_write+0xc8/0x190
Apr 19 18:55:04 localhost kernel: [<ffffffff8115ce41>] sys_write+0x51/0x90
Apr 19 18:55:04 localhost kernel: [<ffffffff8100b072>] system_call_fastpath+0x16/0x1b
Apr 19 18:55:04 localhost kernel: Code: 0f 1f 84 00 00 00 00 00 0f 1f 84 00 00 00 00 00 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 b9 00 02 00 00 <f3> 48 a5 c3 0f 1f 80 00 00 00 00 eb ee 0f 1f 84 00 00 00 00 00
Apr 19 18:55:04 localhost kernel: RIP [<ffffffff812ae3a5>] copy_page_c+0x5/0x10
Apr 19 18:55:04 localhost kernel: RSP <ffff88061c025b70>
Apr 19 18:55:04 localhost kernel: CR2: ffff8806213ff000
Apr 19 18:55:04 localhost kernel: ---[ end trace a512635642ce2994 ]---

Attachment: myconfig
Description: Binary data