Jeremy Katz wrote:
> When using kvm on my laptop, I get the following oops if I try using kvm
> after a suspend (ACPI S3)/resume cycle.  At first I thought it went away
> if I unloaded the module before suspending and then reloading it
> afterwards, but I can't reproduce that working now, so I might have just
> been hallucinating.  Thoughts of things to try?
>
> invalid opcode: 0000 [#1]
>   

One would see a similar message if VT wasn't enabled and VT instructions 
were executed.

Can you poke at the MSRs and eflags and see if see if VT is actually 
enabled?  Perhaps it's possible that suspend/resume triggers something 
equivalent to a reboot which resets VT?

Regards,

Anthony Liguori

> SMP 
> last sysfs file: /class/net/lo/ifindex
> Modules linked in: ipw3945 ieee80211 ieee80211_crypt rfcomm hidp l2cap
> ohci1394 ieee1394 button kvm_intel tun kvm i915 drm autofs4 sunrpc
> bridge dummy nf_conntrack_netbios_ns ipt_REJECT nf_conntrack_ipv4
> xt_state nf_conntrack nfnetlink xt_tcpudp iptable_filter ip_tables
> x_tables cpufreq_ondemand video sbs i2c_ec dock battery asus_acpi
> backlight ac ipv6 parport_pc lp parport snd_hda_intel snd_hda_codec
> snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device
> snd_pcm_oss hci_usb snd_mixer_oss sr_mod snd_pcm cdrom sdhci e100
> snd_timer bluetooth serio_raw mmc_core mii snd soundcore snd_page_alloc
> iTCO_wdt iTCO_vendor_support ata_piix i2c_i801 i2c_core ata_generic
> joydev sg dm_snapshot dm_zero dm_mirror dm_mod ahci libata sd_mod
> scsi_mod ext3 jbd mbcache ehci_hcd ohci_hcd uhci_hcd
> CPU:    0
> EIP:    0060:[<f8fb814c>]    Not tainted VLI
> EFLAGS: 00010286   (2.6.19-1.2909.fc7 #1)
> EIP is at vmcs_clear+0x1b/0x46 [kvm_intel]
> eax: ef399d34   ebx: e6459000   ecx: e6459000   edx: 00000400
> esi: f0efc47c   edi: 00000000   ebp: ef399d3c   esp: ef399d24
> ds: 007b   es: 007b   ss: 0068
> Process qemu-kvm (pid: 5834, ti=ef399000 task=f0712030 task.ti=ef399000)
> Stack: f0efc47c 00000000 ef399d3c f8fb8c2f 26459000 00000000 ef399d4c
> f8fb92e8 
>        f0efc47c f0efc484 ef399f44 f8ee1f3c 00000000 00000000 f0efc000
> 00000000 
>        f72bba84 f185ef90 00000000 ef399db0 c04cffbd c21c336c 000a0000
> 0000004c 
> Call Trace:
>  [<c04051c9>] show_trace_log_lvl+0x1a/0x2f
>  [<c0405279>] show_stack_log_lvl+0x9b/0xa3
>  [<c0405415>] show_registers+0x194/0x26a
>  [<c0405618>] die+0x12d/0x242
>  [<c0605197>] do_trap+0x79/0x91
>  [<c0405bbb>] do_invalid_op+0x97/0xa1
>  [<c0604f6c>] error_code+0x7c/0x84
>  [<f8fb92e8>] vmx_create_vcpu+0x54/0x97 [kvm_intel]
>  [<f8ee1f3c>] kvm_dev_ioctl+0x16a/0x1150 [kvm]
>  [<c0482e72>] do_ioctl+0x22/0x67
>  [<c0483109>] vfs_ioctl+0x252/0x265
>  [<c0483165>] sys_ioctl+0x49/0x64
>  [<c0404058>] syscall_call+0x7/0xb
>  =======================
> Code: c0 ff 05 20 da ee f8 eb 05 b8 01 00 00 00 5d c3 55 89 c1 89 e5 83
> ec 18 8d 80 00 00 00 40 89 45 f8 8d 45 f8 c7 45 fc 00 00 00 00 <66> 0f
> c7 30 0f 96 c0 84 c0 74 1e 8b 45 f8 8b 55 fc 89 4c 24 04 
> EIP: [<f8fb814c>] vmcs_clear+0x1b/0x46 [kvm_intel] SS:ESP 0068:ef399d24
>
>
>
> Jeremy
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> kvm-devel mailing list
> kvm-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to