You are not logged in.
Pages: 1
Using kvm-intel module, I keep getting segfaults with the new kernel when starting virtual machines. Is anyone else seeing this?
Offline
I'm getting segfaults with dosemu. It could be something common.
Offline
I'm having this problem too. Here's my stacktrace as reported by dmesg:
------------[ cut here ]------------
kernel BUG at arch/x86/kvm/../../../virt/kvm/kvm_main.c:2108!
invalid opcode: 0000 [#2] PREEMPT SMP
last sysfs file: /sys/module/kvm/initstate
CPU 2
Modules linked in: kvm_intel kvm fuse i915 drm i2c_algo_bit video output ipv6 joydev ext3 jbd usbhid hid snd_hda_codec_realtek usb_storage snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_hda_intel snd_hda_codec snd_mixer_oss snd_hwdep snd_pcm snd_timer snd ohci1394 i2c_i801 ppdev soundcore ieee1394 psmouse uhci_hcd parport_pc snd_page_alloc sg lp i2c_core serio_raw parport ehci_hcd iTCO_wdt iTCO_vendor_support usbcore intel_agp r8169 mii thermal processor evdev fan button battery ac vboxdrv rtc_cmos rtc_core rtc_lib ext4 mbcache jbd2 crc16 sr_mod cdrom sd_mod pata_acpi ata_generic ata_piix libata scsi_mod
Pid: 4256, comm: qemu Tainted: G D 2.6.30-ARCH #1 Aspire M5630
RIP: 0010:[<ffffffffa064424d>] [<ffffffffa064424d>] kvm_handle_fault_on_reboot+0x1d/0x30 [kvm]
RSP: 0018:ffff88004a63bc28 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff88003dd41000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88003dd41000
RBP: ffff88004a458000 R08: 0000000000000000 R09: ffff88003dd41000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 00007fb32fb4d6f0(0000) GS:ffff880001042000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004c3e60 CR3: 000000003dede000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process qemu (pid: 4256, threadinfo ffff88004a63a000, task ffff88007de68650)
Stack:
0000000000010292 00000000428722fb 0000000000000018 ffffffffa067ae64
000000003dd41000 00000000428722fb 0000000000001000 ffffffffa067ba8e
ffff88004a63bdd8 00000000000000d4 000000000000d700 ffffffff802bf48c
Call Trace:
[<ffffffffa067ae64>] ? vmcs_clear+0x24/0x70 [kvm_intel]
[<ffffffffa067ba8e>] ? vmx_create_vcpu+0x11e/0xe0c [kvm_intel]
[<ffffffff802bf48c>] ? __lock_page+0x6c/0x90
[<ffffffff8026c730>] ? wake_bit_function+0x0/0x70
[<ffffffffa0647de4>] ? kvm_vm_ioctl+0x394/0xa70 [kvm]
[<ffffffff802d89d2>] ? __do_fault+0x442/0x540
[<ffffffff8030d53d>] ? vfs_ioctl+0x2d/0xd0
[<ffffffff8030d680>] ? do_vfs_ioctl+0xa0/0x580
[<ffffffff80233cf1>] ? do_page_fault+0x131/0x3f0
[<ffffffff8030dc00>] ? sys_ioctl+0xa0/0xc0
[<ffffffff8020c442>] ? system_call_fastpath+0x16/0x1b
Code: 18 c3 e8 77 ac c0 df 0f 1f 80 00 00 00 00 48 83 ec 18 65 48 8b 04 25 28 00 00 00 48 89 44 24 08 31 c0 80 3d f5 ef 02 00 00 75 04 <0f> 0b eb fe eb fe 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 55 48
RIP [<ffffffffa064424d>] kvm_handle_fault_on_reboot+0x1d/0x30 [kvm]
RSP <ffff88004a63bc28>
---[ end trace ea10481d890896c3 ]---
Offline
Try building kvm from source i think the latest stable is -87 to see if the problem persists upstream.
Offline
Built 87 from source, using Arch PKGBUILD, so it uses the existing kvm kernel module. Problem got worse. The segfault happens much sooner now. If I revert, the VM posts, but seqfaults when loading the OS.
Opened a bug: http://bugs.archlinux.org/task/15329
Offline
Pages: 1