just a dump

Hans de Bruin
2009-05-12T21:10:36Z

Staring to vms simultaneously end in crash

linux 30-rc5
kvm-qemu kvm-85-378-g143eb2b
proc AMD dualcore

vm's like:

#!/bin/sh
n=10
cdrom=/iso/server2008x64.iso
drive=file=/kvm/disks/vm$n
mem=1024
cpu=qemu64
vga=std
mac=52:54:00:12:34:$n
bridge=br1

qemu-system-x86_64 -cdrom $cdrom -drive $drive -m $mem -cpu $cpu -vga
$vga -net nic,macaddr=$mac -net tap,script=/etc/qemu/$bridge

dmesg:
device tap0 entered promiscuous mode
device tap1 entered promiscuous mode
br1: topology change detected, propagating
br1: port 1(tap0) entering forwarding state
br1: topology change detected, propagating
br1: port 2(tap1) entering forwarding state
tap1: no IPv6 routers present
tap0: no IPv6 routers present
kvm: 2935: cpu0 unimplemented perfctr wrmsr: 0xc0010000 data 0x0
kvm: 2935: cpu0 unimplemented perfctr wrmsr: 0xc0010001 data 0x0
kvm: 2935: cpu0 unimplemented perfctr wrmsr: 0xc0010002 data 0x0
kvm: 2935: cpu0 unimplemented perfctr wrmsr: 0xc0010003 data 0x0
BUG: unable to handle kernel NULL pointer dereference at (null)
device tap1 entered promiscuous mode
br1: topology change detected, propagating
br1: port 1(tap0) entering forwarding state
br1: topology change detected, propagating
br1: port 2(tap1) entering forwarding state
tap1: no IPv6 routers present
tap0: no IPv6 routers present
kvm: 2935: cpu0 unimplemented perfctr wrmsr: 0xc0010000 data 0x0
kvm: 2935: cpu0 unimplemented perfctr wrmsr: 0xc0010001 data 0x0
kvm: 2935: cpu0 unimplemented perfctr wrmsr: 0xc0010002 data 0x0
kvm: 2935: cpu0 unimplemented perfctr wrmsr: 0xc0010003 data 0x0
BUG: unable to handle kernel NULL pointer dereference at (null)
IP: [<ffffffff80216ee2>] gfn_to_rmap+0x22/0x60
PGD 1a0c4b067 PUD 1a0c4a067 PMD 0
Oops: 0000 [#1] SMP
last sysfs file: /sys/devices/pci0000:00/0000:00:10.0/0000:01:09.0/resource
CPU 0
Modules linked in:
Pid: 2945, comm: qemu-system-x86 Not tainted 2.6.30-rc5 #3 System
Product Name
RIP: 0010:[<ffffffff80216ee2>] [<ffffffff80216ee2>] gfn_to_rmap+0x22/0x60
RSP: 0018:ffff8801a0f979d8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 00000000000e1000 RSI: af7dc78941006c5f RDI: ffff8801a0d90000
RBP: ffff8801a0f979e8 R08: 0000000000000006 R09: 0000000000000006
R10: 0000000000000000 R11: 0000000000000000 R12: af7dc78941006c5f
R13: ffff8801908b1180 R14: ffff88019e778c60 R15: ffff8801a0d90000
FS: 0000000041591950(0063) GS:ffff880028034000(0000) knlGS:fffff800017ce500
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000001a3d7c000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process qemu-system-x86 (pid: 2945, threadinfo ffff8801a0f96000, task
ffff8801afb12d00)
Stack:
0000000000000010 0000000000000000 ffff8801a0f97a28 ffffffff80216fce
ffff8801a0f97a28 af7dc78941006c5f 0000000000000000 0000000000000000
0000000000000180 ffff88019e778c60 ffff8801a0f97ac8 ffffffff8021ad8d
Call Trace:
[<ffffffff80216fce>] rmap_remove+0xae/0x200
[<ffffffff8021ad8d>] paging64_sync_page+0x9d/0x1a0
[<ffffffff8020a59c>] ? gfn_to_memslot+0x1c/0x30
[<ffffffff80216edb>] ? gfn_to_rmap+0x1b/0x60
[<ffffffff80218825>] ? rmap_write_protect+0xd5/0x150
[<ffffffff8021890b>] kvm_sync_page+0x6b/0x90
[<ffffffff8021a1ad>] mmu_sync_children+0xcd/0x120
[<ffffffff8021a2c2>] mmu_sync_roots+0xc2/0xd0
[<ffffffff8021a658>] kvm_mmu_load+0x138/0x200
[<ffffffff8022822a>] ? handle_exit+0x14a/0x2c0
[<ffffffff80213873>] kvm_arch_vcpu_ioctl_run+0x863/0xaa0
[<ffffffff8020b5d5>] ? kvm_vm_ioctl+0x165/0x910
[<ffffffff8027cda9>] ? do_futex+0x679/0x9a0
[<ffffffff8020cad3>] kvm_vcpu_ioctl+0x5d3/0x790
[<ffffffff8022b88e>] ? common_interrupt+0xe/0x13
[<ffffffff8022b9ce>] ? apic_timer_interrupt+0xe/0x20
[<ffffffff8024eaeb>] ? __dequeue_entity+0x2b/0x50
[<ffffffff802d8f31>] vfs_ioctl+0x31/0x90
[<ffffffff802d9281>] do_vfs_ioctl+0x2f1/0x4e0
[<ffffffff8027d154>] ? sys_futex+0x84/0x130
[<ffffffff802d94f2>] sys_ioctl+0x82/0xa0
[<ffffffff802cc08b>] ? sys_lseek+0x7b/0x80
[<ffffffff8022af6b>] system_call_fastpath+0x16/0x1b
Code: 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 48 83 ec 10 48 89 1c 24 89
d3 4c 89 64 24 08 49 89 f4 e8 a5 36 ff ff 85 db 48 89 c1 75 1e <4c> 2b
20 4a 8d 14 e5 00 00 00 00 48 03 50 18 48 8b 1c 24 4c 8b
RIP [<ffffffff80216ee2>] gfn_to_rmap+0x22/0x60
RSP <ffff8801a0f979d8>
CR2: 0000000000000000
---[ end trace 5b490dc3e478a040 ]---
kvm: 2934: cpu0 unimplemented perfctr wrmsr: 0xc0010000 data 0x0
kvm: 2934: cpu0 unimplemented perfctr wrmsr: 0xc0010001 data 0x0
kvm: 2934: cpu0 unimplemented perfctr wrmsr: 0xc0010002 data 0x0
kvm: 2934: cpu0 unimplemented perfctr wrmsr: 0xc0010003 data 0x0
CE: hpet increasing min_delta_ns to 15000 nsec

one vm was still running.

--
Hans