Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Guest and host hang (hard reboot required) when using gvt-g for a few hours #163

Description

@shubhra-prakash-nandi

Hi, I am getting the below issues (along with host kernel getting hung) when using gvt-g on Intel i5 8265U/620 UHD graphics. My QEMU version is 3.1 (Debian 10 amd64). I was using Windows 10 (1909) as guest with iGFX drivers from Jan 2019 to latest one released on date of this crash. This issue usually happens when using a web browser like Edge after watching a HD video on lets say Youtube. This issue also happens when using the guest continuosly for a few hours.

May 21 16:13:11 hostname [warning] kernel:[ 3007.636827] ------------[ cut here ]------------
May 21 16:13:11 hostname [warning] kernel:[ 3007.636832] VM(1): guest is trying to scaling a plane
May 21 16:13:11 hostname [warning] kernel:[ 3007.636963] WARNING: CPU: 0 PID: 7238 at drivers/gpu/drm/i915/gvt/handlers.c:1307 pf_write+0x58/0x60 [i915]
May 21 16:13:11 hostname [warning] kernel:[ 3007.636964] Modules linked in: usbhid tun kvmgt vfio_mdev mdev vfio_pci vfio_virqfd vfio_iommu_type1 vfio veth xfrm_user xfrm4_tunnel tunnel4 ipcomp xfrm_ipcomp esp4 ah4 af_key l2tp_ppp l2tp_netlink l2tp_core ip6_udp_tunnel udp_tunnel xfrm_algo pppox ppp_generic slhc rfcomm ctr ccm bridge bnep stp llc ip6table_filter xt_NFLOG iptable_filter act_nat ip6table_nat ip6_tables ebt_snat ebt_dnat ebtable_nat ebtables nf_nat_snmp_basic nf_nat_pptp nf_nat_h323 iptable_nat vboxnetadp(O) vboxnetflt(O) nf_nat_sip xt_nat nf_nat_amanda vboxdrv(O) nft_nat nf_nat_irc nf_nat_tftp nft_chain_nat nf_tables nf_nat_ftp nf_nat xt_conntrack nf_conntrack_tftp nf_conntrack_h323 fuse nf_conntrack_netlink nfnetlink_log nf_conntrack_pptp nfnetlink nf_conntrack_irc nf_conntrack_netbios_ns nf_conntrack_snmp nf_conntrack_broadcast ts_kmp nf_conntrack_amanda nf_conntrack_sip nf_conntrack_sane nf_conntrack_ftp nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nls_ascii nls_cp437 vfat fat btusb btrtl uvcvideo btbcm btintel
May 21 16:13:11 hostname [warning] kernel:[ 3007.636991] videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common bluetooth videodev mc drbg ansi_cprng ecdh_generic ecc joydev sg iTCO_wdt iTCO_vendor_support x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel intel_rapl_msr snd_soc_skl kvm snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core irqbypass snd_hda_codec_hdmi intel_cstate intel_uncore dell_laptop snd_soc_acpi_intel_match snd_soc_acpi snd_hda_codec_realtek dell_smm_hwmon intel_rapl_perf snd_soc_core snd_hda_codec_generic ledtrig_audio snd_compress snd_hda_intel snd_intel_nhlt snd_hda_codec iwlmvm snd_hda_core mac80211 snd_hwdep int3403_thermal soc_button_array libarc4 snd_pcm mei_me iwlwifi processor_thermal_device snd_timer evdev mei intel_rapl_common snd tpm_crb tpm_tis tpm_tis_core dell_wmi soundcore cfg80211 dell_smbios tpm rfkill dcdbas intel_soc_dts_iosf intel_pch_thermal ucsi_acpi typec_ucsi typec efi_pstore intel_hid wmi_bmof dell_wmi_descriptor rng_core sparse_keymap int3402_thermal int340x_thermal_zone
May 21 16:13:11 hostname [warning] kernel:[ 3007.637014] serio_raw pcspkr int3400_thermal acpi_thermal_rel acpi_pad ac efivars parport_pc ppdev lp parport efivarfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 algif_skcipher af_alg dm_crypt dm_mod xfs libcrc32c hid_multitouch hid_generic sd_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel ahci libahci i2c_designware_platform i2c_designware_core r8169 intel_lpss_pci libata intel_lpss aesni_intel realtek idma64 crypto_simd i915 scsi_mod i2c_algo_bit cryptd glue_helper psmouse libphy xhci_pci i2c_i801 mfd_core drm_kms_helper xhci_hcd thermal drm usbcore wmi battery button i2c_hid hid video
May 21 16:13:11 hostname [warning] kernel:[ 3007.637037] CPU: 0 PID: 7238 Comm: qemu-system-x86 Tainted: G U O 5.4.41-custom0-preempt-amd64 #1
May 21 16:13:11 hostname [warning] kernel:[ 3007.637037] Hardware name: Dell Inc. Inspiron 5480/0DGF3H, BIOS 2.4.0 07/02/2019
May 21 16:13:11 hostname [warning] kernel:[ 3007.637075] RIP: 0010:pf_write+0x58/0x60 [i915]
May 21 16:13:11 hostname [warning] kernel:[ 3007.637077] Code: 12 00 00 e8 8a f2 ff ff 31 c0 c3 80 3d 21 7e 0f 00 00 75 f4 8b 77 28 48 c7 c7 28 a7 89 c0 c6 05 0e 7e 0f 00 01 e8 11 aa 05 e5 <0f> 0b eb da 0f 1f 40 00 0f 1f 44 00 00 48 8b 07 48 8b 40 40 8b 80
May 21 16:13:11 hostname [warning] kernel:[ 3007.637078] RSP: 0018:ffffa30c04dd7dd8 EFLAGS: 00010286
May 21 16:13:11 hostname [warning] kernel:[ 3007.637079] RAX: 0000000000000000 RBX: 0000000000068180 RCX: 0000000000000001
May 21 16:13:11 hostname [warning] kernel:[ 3007.637080] RDX: 0000000080000001 RSI: 0000000000000082 RDI: 00000000ffffffff
May 21 16:13:11 hostname [warning] kernel:[ 3007.637081] RBP: ffff940ed6c70000 R08: 00000000000003da R09: 0000000000000004
May 21 16:13:11 hostname [warning] kernel:[ 3007.637082] R10: 0000000000000000 R11: 0000000000000001 R12: ffffa30c003e1000
May 21 16:13:11 hostname [warning] kernel:[ 3007.637083] R13: 0000000000000004 R14: ffffa30c04dd7e98 R15: ffff940ed7dbcbc0
May 21 16:13:11 hostname [warning] kernel:[ 3007.637084] FS: 00007f24523ff700(0000) GS:ffff940ee6200000(0000) knlGS:0000000000000000
May 21 16:13:11 hostname [warning] kernel:[ 3007.637085] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 21 16:13:11 hostname [warning] kernel:[ 3007.637086] CR2: 00007ffaf13de370 CR3: 0000000260d4a002 CR4: 00000000003626f0
May 21 16:13:11 hostname [warning] kernel:[ 3007.637087] Call Trace:
May 21 16:13:11 hostname [warning] kernel:[ 3007.637126] intel_vgpu_mmio_reg_rw+0x1c1/0x360 [i915]
May 21 16:13:11 hostname [warning] kernel:[ 3007.637161] intel_vgpu_emulate_mmio_write+0x106/0x200 [i915]
May 21 16:13:11 hostname [warning] kernel:[ 3007.637166] intel_vgpu_rw+0xa8/0x200 [kvmgt]
May 21 16:13:11 hostname [warning] kernel:[ 3007.637169] intel_vgpu_write+0x164/0x1f0 [kvmgt]
May 21 16:13:11 hostname [warning] kernel:[ 3007.637173] vfs_write+0xa5/0x1a0
May 21 16:13:11 hostname [warning] kernel:[ 3007.637175] ksys_pwrite64+0x61/0xa0
May 21 16:13:11 hostname [warning] kernel:[ 3007.637179] do_syscall_64+0x5f/0x1e0
May 21 16:13:11 hostname [warning] kernel:[ 3007.637182] entry_SYSCALL_64_after_hwframe+0x44/0xa9
May 21 16:13:11 hostname [warning] kernel:[ 3007.637184] RIP: 0033:0x7f2462d3eedf
May 21 16:13:11 hostname [warning] kernel:[ 3007.637186] Code: 41 54 49 89 d4 55 48 89 f5 53 89 fb 48 83 ec 18 e8 c6 f2 ff ff 4d 89 ea 4c 89 e2 48 89 ee 41 89 c0 89 df b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 48 89 44 24 08 e8 fc f2 ff ff 48
May 21 16:13:11 hostname [warning] kernel:[ 3007.637187] RSP: 002b:00007f24523fe2f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000012
May 21 16:13:11 hostname [warning] kernel:[ 3007.637188] RAX: ffffffffffffffda RBX: 0000000000000024 RCX: 00007f2462d3eedf
May 21 16:13:11 hostname [warning] kernel:[ 3007.637189] RDX: 0000000000000004 RSI: 00007f24523fe348 RDI: 0000000000000024
May 21 16:13:11 hostname [warning] kernel:[ 3007.637190] RBP: 00007f24523fe348 R08: 0000000000000000 R09: 00000000ffffffff
May 21 16:13:11 hostname [warning] kernel:[ 3007.637191] R10: 0000000000068180 R11: 0000000000000293 R12: 0000000000000004
May 21 16:13:11 hostname [warning] kernel:[ 3007.637192] R13: 0000000000068180 R14: 000055e436dc2bb0 R15: 000055e436dc2ae0
May 21 16:13:11 hostname [warning] kernel:[ 3007.637194] ---[ end trace ed6e53ef0055ce1e ]---

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions