Description of problem: USB keyboard connected to Dell TB16 connected to Dell 5530 locks up. Not sure if/how it is related to kvmgt, or if it triggers issue. Previous kernel 4.18.18-300.fc29.x86_64 works fine. Version-Release number of selected component (if applicable): kernel-4.19.2-300.fc29.x86_64 How reproducible: Every boot Steps to Reproduce: 1. Install kernel-4.19.2-300.fc29.x86_64 2. dmesg | grep kvmgt 3. I do have a qemu virt machine (win10) which starts at boot. Actual results: USB kbd/mouse locks up. Expected results: No issues. Additional info: [ 2.801975] rtsx_pci 0000:3c:00.0: enabling device (0000 -> 0002) [ 2.806275] nvme nvme0: pci function 0000:3d:00.0 [ 2.827855] kvmgt: Unknown symbol gfn_to_memslot (err -2) [ 2.827860] kvmgt: Unknown symbol vfio_pin_pages (err -2) [ 2.827864] kvmgt: Unknown symbol vfio_info_cap_shift (err -2) [ 2.827867] kvmgt: Unknown symbol vfio_set_irqs_validate_and_prepare (err -2) [ 2.827870] kvmgt: Unknown symbol vfio_device_put (err -2) [ 2.827873] kvmgt: Unknown symbol gfn_to_pfn (err -2) [ 2.827876] kvmgt: Unknown symbol mdev_from_dev (err -2) [ 2.827881] kvmgt: Unknown symbol kvm_put_kvm (err -2) [ 2.827884] kvmgt: Unknown symbol kvm_write_guest (err -2) [ 2.827888] kvmgt: Unknown symbol kvm_slot_page_track_remove_page (err -2) [ 2.827892] kvmgt: Unknown symbol kvm_page_track_register_notifier (err -2) [ 2.827896] kvmgt: Unknown symbol mdev_parent_dev (err -2) [ 2.827899] kvmgt: Unknown symbol vfio_unpin_pages (err -2) [ 2.827905] kvmgt: Unknown symbol kvm_is_visible_gfn (err -2) [ 2.827907] kvmgt: Unknown symbol kvm_page_track_unregister_notifier (err -2) [ 2.827911] kvmgt: Unknown symbol vfio_device_get_from_dev (err -2) [ 2.827914] kvmgt: Unknown symbol kvm_slot_page_track_add_page (err -2) [ 2.827919] kvmgt: Unknown symbol vfio_register_notifier (err -2) [ 2.827921] kvmgt: Unknown symbol vfio_info_add_capability (err -2) [ 2.827924] kvmgt: Unknown symbol mdev_get_drvdata (err -2) [ 2.827928] kvmgt: Unknown symbol mdev_register_device (err -2) [ 2.827932] kvmgt: Unknown symbol mdev_dev (err -2) [ 2.827934] kvmgt: Unknown symbol mdev_unregister_device (err -2) [ 2.827939] kvmgt: Unknown symbol vfio_unregister_notifier (err -2) [ 2.827941] kvmgt: Unknown symbol kvm_read_guest (err -2) [ 2.827944] kvmgt: Unknown symbol mdev_set_drvdata (err -2) [ 2.827948] kvmgt: Unknown symbol kvm_get_kvm (err -2) [ 2.931974] checking generic (80000000 1fa4000) vs hw (80000000 10000000) [ 2.931975] fb: switching to inteldrmfb from EFI VGA [ 2.932023] Console: switching to colour dummy device 80x25 # modinfo /lib/modules/4.19.2-300.fc29.x86_64/kernel/drivers/gpu/drm/i915/gvt/kvmgt.ko.xz | head filename: /lib/modules/4.19.2-300.fc29.x86_64/kernel/drivers/gpu/drm/i915/gvt/kvmgt.ko.xz author: Intel Corporation license: GPL and additional rights depends: kvm,vfio,mdev retpoline: Y intree: Y name: kvmgt vermagic: 4.19.2-300.fc29.x86_64 SMP mod_unload sig_id: PKCS#7 signer:
Hi Tore, It looks like kvmgt is getting pulled into the initramfs in 4.19 because it's now a soft dependency of i915, but the dependencies of kvmgt are not getting pulled in. I don't think that should cause your USB mouse and keyboard to stop working, but it is a problem and easy to verify. Can you please regenerate your initramfs sans kvmgt with: sudo dracut -f --omit-drivers kvmgt /boot/initramfs-4.19.2-300.fc29.x86_64.img 4.19.2-300.fc29.x86_64 Then reboot and see if you're still having your USB problem. If so, please file a separate issue with the output of "journalctl --no-hostname -k" attached. Thanks!
Verified. Still doesn't work. Opening separate issue.
kvmgt ok after rebuilding initrd. Verified. Kbd/mouse still doesn't work with 4.19.2-300.fc29.x86_64. Opening separate issue.
Opened Bug # 1650442 for kbd/mouse issue on 4.19.2-300.fc29.x86_64.
Great, thanks. I filed a bug against upstream dracut since I think I found the root cause of the kvmgt issue: https://github.com/dracutdevs/dracut/issues/491.
Fyi. kvmgt dependencies not being included is still an issue on 4.19.6-300.fc29.x86_64.
(In reply to Tore H. Larsen from comment #6) > Fyi. kvmgt dependencies not being included is still an issue on > 4.19.6-300.fc29.x86_64. That is a separate bug, which is not related to your USB mouse/kbd problems, the kvmgt dependency problem is being tracked in bug 1655304 and Jeremy has filed an upstream bug for it here: https://github.com/dracutdevs/dracut/issues/491
Ah, yeah, I meant to move this over to dracut. Tore opened up bug 1650442 to track the keyboard/mouse issue, and since bug 1655304 is tracking the dracut issue I think we can just close this particular issue. *** This bug has been marked as a duplicate of bug 1650442 ***