From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alessio Rocchi Subject: Kvm crash when I create a Guest Date: Tue, 07 Apr 2009 11:15:04 +0200 Message-ID: <49DB1998.6010908@staff.dada.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from paganini10-register.register.it ([81.88.50.235]:46856 "EHLO registermta.register.it" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751590AbZDGJWa (ORCPT ); Tue, 7 Apr 2009 05:22:30 -0400 Sender: kvm-owner@vger.kernel.org List-ID: I'm Running Ubuntu 8.10, here is the command I use: kvm -net none -m 192 -no-acpi -hda ./gentoo_cleanvm.img.tar.lzma Dmesg Output: [ 7783.883426] ------------[ cut here ]------------ [ 7783.883440] kernel BUG at /build/buildd/linux-2.6.27/arch/x86/kvm/../../../virt/kvm/kvm_main.c:1528! [ 7783.883446] invalid opcode: 0000 [7] SMP [ 7783.883452] CPU 0 [ 7783.883457] Modules linked in: ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 xt_state nf_conntrack ipt_REJECT xt_tcpudp kvm_amd kvm ipv6 af_packet rfcomm sco bridge stp bnep l2cap bluetooth ppdev powernow_k8 cpufreq_conservative cpufreq_ondemand cpufreq_stats cpufreq_powersave freq_table cpufreq_userspace sbs pci_slot container sbshc video output battery iptable_filter ip_tables x_tables ac lp snd_hda_intel snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq psmouse snd_timer evdev snd_seq_device serio_raw snd pcspkr k8temp soundcore snd_page_alloc i2c_piix4 i2c_core fglrx(P) parport_pc parport wmi button shpchp pci_hotplug ext3 jbd mbcache usb_storage libusual ata_generic sd_mod sr_mod crc_t10dif cdrom sg pata_atiixp ehci_hcd pata_acpi ohci_hcd ahci usbcore libata scsi_mod dock tg3 libphy thermal processor fan fbcon tileblit font bitblit softcursor fuse [ 7783.883588] Pid: 13480, comm: kvm Tainted: P D 2.6.27-11-generic #1 [ 7783.883593] RIP: 0010:[] [] kvm_handle_fault_on_reboot+0x12/0x30 [kvm] [ 7783.883634] RSP: 0018:ffff8800735ddbd8 EFLAGS: 00010046 [ 7783.883639] RAX: ffff8800735e1000 RBX: ffff88007408bb00 RCX: 0000000000000000 [ 7783.883644] RDX: ffff88007408bb00 RSI: ffff8800735ddc0c RDI: 00000000806e2a80 [ 7783.883648] RBP: ffff8800735ddbd8 R08: ffff880072d7a300 R09: 0000000000000000 [ 7783.883653] R10: 0000000000000001 R11: 0000000000000246 R12: ffff88007408bb00 [ 7783.883658] R13: 000000000000ae80 R14: ffff8800735d7000 R15: ffff88007408c310 [ 7783.883663] FS: 0000000044430950(0063) GS:ffffffff806e2a80(0000) knlGS:00000000f6804b90 [ 7783.883668] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 7783.883673] CR2: 00007f8a03ee4000 CR3: 00000000734fd000 CR4: 00000000000006e0 [ 7783.883678] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 7783.883682] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 7783.883687] Process kvm (pid: 13480, threadinfo ffff8800735dc000, task ffff880083034350) [ 7783.883692] Stack: ffff8800735ddc38 ffffffffa06a0e19 ffffffff807a7098 ffff88007408bb00 [ 7783.883702] 000000000063dc28 ffffffff803a875f 000000007408bb00 ffff88007408bb58 [ 7783.883710] ffff88007408bb00 000000000000ae80 ffff8800735d7000 ffff88007408c310 [ 7783.883717] Call Trace: [ 7783.883734] [] svm_vcpu_run+0x1a9/0x3f0 [kvm_amd] [ 7783.883749] [] ? __up_read+0x8f/0xb0 [ 7783.883771] [] __vcpu_run+0x1f0/0x670 [kvm] [ 7783.883780] [] ? recalc_sigpending+0x9/0x70 [ 7783.883800] [] kvm_arch_vcpu_ioctl_run+0x8f/0x1f0 [kvm] [ 7783.883820] [] kvm_vcpu_ioctl+0x2aa/0x490 [kvm] [ 7783.883829] [] ? handle_mm_fault+0x1ee/0x470 [ 7783.883837] [] ? __slab_free+0x10/0x120 [ 7783.883844] [] ? __sigqueue_free+0x3d/0x50 [ 7783.883850] [] ? __sigqueue_free+0x3d/0x50 [ 7783.883857] [] ? __dequeue_signal+0xed/0x210 [ 7783.883863] [] ? recalc_sigpending+0x9/0x70 [ 7783.883869] [] ? dequeue_signal+0x42/0x180 [ 7783.883875] [] ? copy_siginfo_to_user+0x15d/0x210 [ 7783.883883] [] vfs_ioctl+0x36/0xb0 [ 7783.883888] [] do_vfs_ioctl+0x273/0x2f0 [ 7783.883897] [] ? set_normalized_timespec+0x9/0x90 [ 7783.883903] [] sys_ioctl+0xa1/0xb0 [ 7783.883912] [] system_call_fastpath+0x16/0x1b [ 7783.883916] [ 7783.883918] [ 7783.883920] Code: b9 df 31 c0 48 c7 86 80 00 00 00 00 ac 69 a0 c9 c3 0f 1f 84 00 00 00 00 00 55 48 89 e5 e8 57 d5 b9 df 80 3d 78 86 02 00 00 75 0e <0f> 0b eb fe 66 2e 0f 1f 84 00 00 00 00 00 eb fe 66 66 66 66 66 [ 7783.883973] RIP [] kvm_handle_fault_on_reboot+0x12/0x30 [kvm] [ 7783.883994] RSP [ 7783.884010] ---[ end trace 89b86beb3c94c6d1 ]--- This is /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 75 model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ stepping : 2 cpu MHz : 1000.000 cache size : 512 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good nopl pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy bogomips : 1994.98 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp tm stc processor : 1 vendor_id : AuthenticAMD cpu family : 15 model : 75 model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ stepping : 2 cpu MHz : 1000.000 cache size : 512 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 apicid : 1 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good nopl pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy bogomips : 1994.98 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp tm stc Any ideas to solve the problem?