Skip to contentSkip to conversation

page allocation failure

DISCUSSION kvm 2 participants 3 messages Apr 6, 2010 KVM

lore
Share & tools
lore

kvm

author
#0 lore raw

Hi,

running kernel 2.6.32 (kvm 0.12.3) in host
and 2.6.30 in guest (using Gentoo) works fine.
Now I've upgraded several guests to 2.6.32 too
and have had no problems so far. But with one
guest after 2-3 hours the guest hangs and I
always get a message like this:

[ 1392.030904] rpciod/0: page allocation failure. order:0, mode:0x20
[ 1392.030910] Pid: 407, comm: rpciod/0 Not tainted 2.6.32-gentoo-r5 #1
[ 1392.030912] Call Trace:
[ 1392.030915]  <IRQ>  [<ffffffff8109cf2f>]
__alloc_pages_nodemask+0x5ad/0x5fa
[ 1392.030986]  [<ffffffff81028fdc>] ? default_spin_lock_flags+0x9/0xd
[ 1392.031008]  [<ffffffff810c1aa9>] alloc_pages_current+0x96/0x9f
[ 1392.031061]  [<ffffffffa00f90c4>] try_fill_recv+0x8c/0x18e [virtio_net]
[ 1392.031065]  [<ffffffffa00f9c19>] virtnet_poll+0x594/0x60f [virtio_net]
[ 1392.031070]  [<ffffffff81029050>] ? pvclock_clocksource_read+0x42/0x7e
[ 1392.031087]  [<ffffffff810520b2>] ? run_timer_softirq+0x1d8/0x1f0
[ 1392.031118]  [<ffffffff8171760a>] net_rx_action+0xad/0x1a8
[ 1392.031126]  [<ffffffff8104e2a9>] __do_softirq+0x9c/0x127
[ 1392.031141]  [<ffffffff8100c1cc>] call_softirq+0x1c/0x28
[ 1392.031147]  [<ffffffff8100dd8d>] do_softirq+0x41/0x81
[ 1392.031154]  [<ffffffff8104dfb3>] irq_exit+0x36/0x75
[ 1392.031161]  [<ffffffff81021c5f>] smp_apic_timer_interrupt+0x88/0x96
[ 1392.031170]  [<ffffffff8100bb93>] apic_timer_interrupt+0x13/0x20
[ 1392.031174]  <EOI>  [<ffffffff811e60cd>] ?
nfs_readpage_result_full+0x7a/0xcd
[ 1392.031221]  [<ffffffff817932b3>] ? rpc_exit_task+0x27/0x54
[ 1392.031227]  [<ffffffff81793997>] ? __rpc_execute+0x86/0x247
[ 1392.031234]  [<ffffffff81793bf2>] ? rpc_async_schedule+0x0/0x12
[ 1392.031241]  [<ffffffff81793c02>] ? rpc_async_schedule+0x10/0x12
[ 1392.031248]  [<ffffffff81058a9e>] ? worker_thread+0x173/0x214
[ 1392.031259]  [<ffffffff8105c404>] ? autoremove_wake_function+0x0/0x38
[ 1392.031263]  [<ffffffff8105892b>] ? worker_thread+0x0/0x214
[ 1392.031266]  [<ffffffff8105c139>] ? kthread+0x7d/0x85
[ 1392.031269]  [<ffffffff8100c0ca>] ? child_rip+0xa/0x20
[ 1392.031273]  [<ffffffff8105c0bc>] ? kthread+0x0/0x85
[ 1392.031279]  [<ffffffff8100c0c0>] ? child_rip+0x0/0x20
[ 1392.031283] Mem-Info:
[ 1392.031287] Node 0 DMA per-cpu:
[ 1392.031293] CPU    0: hi:    0, btch:   1 usd:   0
[ 1392.031298] CPU    1: hi:    0, btch:   1 usd:   0
[ 1392.031302] Node 0 DMA32 per-cpu:
[ 1392.031308] CPU    0: hi:  186, btch:  31 usd: 201
[ 1392.031312] CPU    1: hi:  186, btch:  31 usd: 153
[ 1392.031320] active_anon:8093 inactive_anon:8705 isolated_anon:0
[ 1392.031322]  active_file:5209 inactive_file:214248 isolated_file:0
[ 1392.031324]  unevictable:0 dirty:8 writeback:0 unstable:0
[ 1392.031326]  free:1351 slab_reclaimable:2093 slab_unreclaimable:3964
[ 1392.031329]  mapped:2406 shmem:190 pagetables:1184 bounce:0
[ 1392.031334] Node 0 DMA free:3996kB min:60kB low:72kB high:88kB

active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:11860kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15372kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:8kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes

[ 1392.031355] lowmem_reserve[]: 0 994 994 994
[ 1392.031368] Node 0 DMA32 free:1408kB min:4000kB low:5000kB high:6000kB

active_anon:32372kB inactive_anon:34820kB active_file:20836kB inactive_file:845132kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:1018068kB mlocked:0kB dirty:32kB writeback:0kB mapped:9624kB shmem:760kB slab_reclaimable:8372kB slab_unreclaimable:15848kB kernel_stack:1112kB pagetables:4736kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no

[ 1392.031391] lowmem_reserve[]: 0 0 0 0
[ 1392.031404] Node 0 DMA: 1*4kB 1*8kB 1*16kB 2*32kB 3*64kB 3*128kB
3*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 3996kB
[ 1392.031433] Node 0 DMA32: 0*4kB 0*8kB 1*16kB 0*32kB 0*64kB 1*128kB
1*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 1424kB
[ 1392.031463] 219673 total pagecache pages
[ 1392.031467] 0 pages in swap cache
[ 1392.031471] Swap cache stats: add 0, delete 0, find 0/0
[ 1392.031475] Free swap  = 1959920kB
[ 1392.031479] Total swap = 1959920kB
[ 1392.036726] 262141 pages RAM
[ 1392.036728] 7326 pages reserved
[ 1392.036730] 21063 pages shared
[ 1392.036731] 244405 pages non-shared

The guest only runs a Apache webserver and has a
NFSv4 mount. Nothing special. The guest has 1 GB
of memory and two vcpu's. Here're the startup
parameters:

/usr/bin/qemu-system-x86_64 --enable-kvm -m 1024 -smp 2 -cpu host -daemonize -k de -vnc 127.0.0.1:2 -monitor telnet:172.18.105.4:4445,server,nowait -localtime -pidfile /var/tmp/kvm-vm10.pid -drive file=/data/kvm/kvmimages/vm10.qcow2,if=virtio,boot=on -net nic,vlan=104,model=virtio,macaddr=00:ff:48:46:01:f2 -net tap,vlan=104,ifname=tap.b.vm10,script=no -net nic,vlan=96,model=virtio,macaddr=00:ff:48:46:01:f4 -net tap,vlan=96,ifname=tap.f.vm10,script=no

Just to get sure that my kernel config doesn't have some issues I've compiled a kernel with the .config from Sabayon distribution (a Gentoo clone). The result is the same.

Any ideas?

Thanks!
Robert

#1 lore raw

Am Tue, 06 Apr 2010 14:15:10 +0200 schrieb kvm:

Quoted 7 lines

Hi,

running kernel 2.6.32 (kvm 0.12.3) in host and 2.6.30 in guest (using Gentoo) works fine. Now I've upgraded several guests to 2.6.32 too and have had no problems so far. But with one guest after 2-3 hours the guest hangs and I always get a message like this:

IMHO there are NFS related problems with >=2.6.32.x .

try googling.

- Thomas

author
#2 lore raw

Thanks! I'll try a new kernel. Interestingly two guests with 2.6.32-r3 (Gentoo naming not rc3) with much more NFS traffic don't show this behavior of 2.6.32-r5. So I'll try 2.6.32-r8. I've found some threads with NFS and kernel 2.6.32.x related problems which seems to be fixed in later versions.

- Robert

Quoted 20 lines · Thomas Mueller

Am Tue, 06 Apr 2010 14:15:10 +0200 schrieb kvm:

Quoted 7 lines

Hi,

running kernel 2.6.32 (kvm 0.12.3) in host and 2.6.30 in guest (using Gentoo) works fine. Now I've upgraded several guests to 2.6.32 too and have had no problems so far. But with one guest after 2-3 hours the guest hangs and I always get a message like this:

IMHO there are NFS related problems with >=2.6.32.x .

try googling.

- Thomas

--
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html