** Changed in: linux (Ubuntu)
       Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1880049

Title:
  Using Lakka with Intel GVT-g freezes the host system

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I tried to start Lakka (http://www.lakka.tv/) using QEMU with Intel
  GVT-g and, when the graphics should start loading, the system freezes.
  The command line used was:

  The command line I used to start QEMU was:

  sudo qemu-system-x86_64 -m 1024 -cpu Skylake-Client -vga none -accel
  kvm -device nec-usb-xhci -device usb-host,id=maxprint,vendorid=0x13fe
  -boot menu=on -serial vc -serial stdio -display gtk,gl=on -device
  vfio-pci,sysfsdev=/sys/bus/pci/devices/0000:00:02.0/20312cec-80f4
  -448a-9f09-7b93adbf672c,x-igd-
  opregion=on,display=on,addr=0x5,rombar=0,id=iHD520 -bios
  /usr/share/ovmf/OVMF.fd

  Relevant syslog messages with the BUG:

  May 21 21:50:35 Lenovo-ideapad-310-14ISK kernel: [ 7672.207424] vfio_mdev 
20312cec-80f4-448a-9f09-7b93adbf672c: Adding to iommu group 0
  May 21 21:50:35 Lenovo-ideapad-310-14ISK kernel: [ 7672.207427] vfio_mdev 
20312cec-80f4-448a-9f09-7b93adbf672c: MDEV: group_id = 0
  May 21 21:50:42 Lenovo-ideapad-310-14ISK dbus-daemon[21697]: [session uid=0 
pid=21695] AppArmor D-Bus mediation is enabled
  May 21 21:51:06 Lenovo-ideapad-310-14ISK kernel: [ 7703.690519] usb 1-3: 
reset high-speed USB device number 10 using xhci_hcd
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.354929] BUG: kernel 
NULL pointer dereference, address: 0000000000000008
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.354932] #PF: 
supervisor write access in kernel mode
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.354933] #PF: 
error_code(0x0002) - not-present page
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.354935] PGD 0 P4D 0 
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.354937] Oops: 0002 
[#1] SMP PTI
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.354940] CPU: 2 PID: 
254 Comm: gvt workload 0 Tainted: P         C O      5.4.0-32-generic #36-Ubuntu
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.354941] Hardware 
name: LENOVO 80UG/Toronto 4A2, BIOS 0XCN45WW 08/09/2018
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.354979] RIP: 
0010:prepare_workload+0xf6/0x480 [i915]
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.354981] Code: 1a 00 
00 48 8b 4f 40 48 8b 40 20 4c 8b 40 40 31 c0 83 7f 18 0c 49 8b 90 f0 02 00 00 
74 24 48 63 f0 48 83 c0 01 48 8b 54 f2 20 <48> 89 4a 08 48 83 f8 04 74 12 49 8b 
90 f0 02 00 00 48 8b 4c c7 40
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.354983] RSP: 
0018:ffffb39a403fbdb0 EFLAGS: 00010202
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.354984] RAX: 
0000000000000001 RBX: ffff8c46bb376900 RCX: 00000004565c8000
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.354985] RDX: 
0000000000000000 RSI: 0000000000000000 RDI: ffff8c47d4f9a840
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.354987] RBP: 
ffffb39a403fbde8 R08: ffff8c471382fc00 R09: 0000e6580000e558
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.354988] R10: 
0000e45c0000e758 R11: 0000e65c0000e55c R12: fffff5a6d1436180
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.354989] R13: 
0000000000000000 R14: ffff8c46bb376900 R15: ffff8c47d8e88000
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.354990] FS:  
0000000000000000(0000) GS:ffff8c47de300000(0000) knlGS:0000000000000000
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.354991] CS:  0010 DS: 
0000 ES: 0000 CR0: 0000000080050033
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.354992] CR2: 
0000000000000008 CR3: 00000004565cc004 CR4: 00000000003626e0
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.354994] DR0: 
0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.354995] DR3: 
0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.354996] Call Trace:
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.355028]  
workload_thread+0x50d/0xde0 [i915]
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.355032]  ? 
__switch_to_asm+0x40/0x70
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.355036]  ? 
do_wait_intr_irq+0xa0/0xa0
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.355038]  
kthread+0x104/0x140
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.355065]  ? 
intel_vgpu_clean_workloads+0x100/0x100 [i915]
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.355067]  ? 
kthread_park+0x90/0x90
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.355070]  
ret_from_fork+0x35/0x40
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.355071] Modules 
linked in: nls_utf8 exfat(C) ccm ip6table_nat xt_MASQUERADE iptable_nat nf_nat 
xt_CHECKSUM iptable_mangle xt_comment bridge stp llc zfs(PO) zunicode(PO) 
zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) zlua(PO) nf_tables nfnetlink 
rfcomm cmac algif_hash algif_skcipher af_alg bnep binfmt_misc nls_iso8859_1 
snd_hda_codec_hdmi snd_hda_codec_conexant snd_hda_codec_generic intel_rapl_msr 
ledtrig_audio mei_hdcp snd_hda_intel snd_intel_dspcfg intel_rapl_common 
snd_hda_codec x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_core 
uvcvideo snd_hwdep snd_pcm rtsx_usb_ms snd_seq_midi videobuf2_vmalloc 
videobuf2_memops snd_seq_midi_event kvm_intel memstick videobuf2_v4l2 
snd_rawmidi videobuf2_common videodev crct10dif_pclmul ghash_clmulni_intel mc 
snd_seq aesni_intel snd_seq_device hid_dr snd_timer ff_memless crypto_simd 
cryptd btusb snd btrtl btbcm btintel glue_helper bluetooth soundcore 
intel_cstate intel_rapl_perf joydev input_leds serio_raw ideapad_laptop
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.355098]  
intel_wmi_thunderbolt ecdh_generic ecc mei_me intel_xhci_usb_role_switch 
sparse_keymap mei roles intel_pch_thermal mac_hid acpi_pad nf_log_ipv6 
ip6t_REJECT nf_reject_ipv6 xt_hl ip6t_rt nf_log_ipv4 nf_log_common ipt_REJECT 
nf_reject_ipv4 xt_LOG xt_limit xt_addrtype sch_fq_codel xt_tcpudp xt_conntrack 
nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 cuse parport_pc ip6table_filter 
ip6_tables ppdev iptable_filter bpfilter lp parport ip_tables x_tables autofs4 
btrfs xor zstd_compress raid6_pq libcrc32c z3fold rndis_host cdc_ether usbnet 
bfq kvmgt vfio_mdev mdev kvm nbd mii hid_generic usbhid hid rtsx_usb_sdmmc 
rtsx_usb uas usb_storage ath10k_pci ath10k_core ath i915 mac80211 i2c_algo_bit 
drm_kms_helper cfg80211 crc32_pclmul syscopyarea sysfillrect sysimgblt 
fb_sys_fops psmouse i2c_i801 r8169 ahci drm libarc4 realtek libahci wmi video
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.355125] CR2: 
0000000000000008
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.355127] ---[ end 
trace 5f6a690ec2c91e75 ]---
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.355155] RIP: 
0010:prepare_workload+0xf6/0x480 [i915]
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.355156] Code: 1a 00 
00 48 8b 4f 40 48 8b 40 20 4c 8b 40 40 31 c0 83 7f 18 0c 49 8b 90 f0 02 00 00 
74 24 48 63 f0 48 83 c0 01 48 8b 54 f2 20 <48> 89 4a 08 48 83 f8 04 74 12 49 8b 
90 f0 02 00 00 48 8b 4c c7 40
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.355158] RSP: 
0018:ffffb39a403fbdb0 EFLAGS: 00010202
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.355159] RAX: 
0000000000000001 RBX: ffff8c46bb376900 RCX: 00000004565c8000
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.355160] RDX: 
0000000000000000 RSI: 0000000000000000 RDI: ffff8c47d4f9a840
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.355161] RBP: 
ffffb39a403fbde8 R08: ffff8c471382fc00 R09: 0000e6580000e558
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.355162] R10: 
0000e45c0000e758 R11: 0000e65c0000e55c R12: fffff5a6d1436180
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.355163] R13: 
0000000000000000 R14: ffff8c46bb376900 R15: ffff8c47d8e88000
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.355164] FS:  
0000000000000000(0000) GS:ffff8c47de300000(0000) knlGS:0000000000000000
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.355166] CS:  0010 DS: 
0000 ES: 0000 CR0: 0000000080050033
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.355167] CR2: 
0000000000000008 CR3: 00000004565cc004 CR4: 00000000003626e0
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.355168] DR0: 
0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
  May 21 21:51:07 Lenovo-ideapad-310-14ISK kernel: [ 7704.355169] DR3: 
0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
  May 21 21:51:17 Lenovo-ideapad-310-14ISK kernel: [ 7714.699920] sysrq: 
Emergency Sync
  May 21 21:51:17 Lenovo-ideapad-310-14ISK kernel: [ 7714.708987] Emergency 
Sync complete

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: linux-image-5.4.0-32-generic 5.4.0-32.36
  ProcVersionSignature: Ubuntu 5.4.0-32.36-generic 5.4.41
  Uname: Linux 5.4.0-32-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  usuario    1950 F.... pulseaudio
   /dev/snd/pcmC0D0p:   usuario    1950 F...m pulseaudio
  CasperMD5CheckResult: skip
  Date: Thu May 21 22:02:28 2020
  HibernationDevice: RESUME=UUID=a82e38a0-8d20-49dd-9cbd-de7216b589fc
  InstallationDate: Installed on 2017-06-13 (1073 days ago)
  InstallationMedia: Xubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
  MachineType: LENOVO 80UG
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-32-generic 
root=UUID=6b4ae5c0-c78c-49a6-a1ba-029192618a7a ro quiet ro kvm.ignore_msrs=1 
kvm.report_ignored_msrs=0 kvm.halt_poll_ns=0 kvm.halt_poll_ns_grow=0 
i915.enable_gvt=1 resume=UUID=a82e38a0-8d20-49dd-9cbd-de7216b589fc 
log_buf_len=16M usbhid.quirks=0x0079:0x0006:0x100000 mtrr_gran_size=64M 
mtrr_chunk_size=64M nbd.nbds_max=2 nbd.max_part=63 cgroup_enable=memory 
swapaccount=1
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-5.4.0-32-generic N/A
   linux-backports-modules-5.4.0-32-generic  N/A
   linux-firmware                            1.187
  SourcePackage: linux
  UpgradeStatus: Upgraded to focal on 2019-12-22 (151 days ago)
  dmi.bios.date: 08/09/2018
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 0XCN45WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: Toronto 4A2
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40679 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo ideapad 310-14ISK
  dmi.modalias: 
dmi:bvnLENOVO:bvr0XCN45WW:bd08/09/2018:svnLENOVO:pn80UG:pvrLenovoideapad310-14ISK:rvnLENOVO:rnToronto4A2:rvrSDK0J40679WIN:cvnLENOVO:ct10:cvrLenovoideapad310-14ISK:
  dmi.product.family: IDEAPAD
  dmi.product.name: 80UG
  dmi.product.sku: LENOVO_MT_80UG_BU_idea_FM_Lenovo ideapad 310-14ISK
  dmi.product.version: Lenovo ideapad 310-14ISK
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1880049/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to