Skip to content

Frozen bug (winter is coming) #16

@ETNY-Y

Description

@ETNY-Y

First of all, a big bravo for your work.
I think it is not because of your code but when i launch my VM, it crashes my computer.
I try on this configuration (please do not laugh, it's a test) :
-i7-4770S
-ATI Radeon 5550
-16GiB
-Pop OS! 20.04 LTS

IOMMU Enable

dmesg | grep IOMMU
[    0.037190] DMAR: IOMMU enabled
[    0.094272] DMAR-IR: IOAPIC id 8 under DRHD base  0xfed91000 IOMMU 1
root@pop-os:~# 

Vitualise ok

root@pop-os:~# dmesg | grep VT-d
[    1.048981] i915 0000:00:02.0: [drm] VT-d active for gfx access

My GPU is isolated

IOMMU Group 12 00:1f.2 RAID bus controller [0104]: Intel Corporation SATA Controller [RAID mode] [8086:2822] (rev 04)
IOMMU Group 12 00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 04)
IOMMU Group 13 02:00.0 PCI bridge [0604]: Texas Instruments XIO2001 PCI Express-to-PCI Bridge [104c:8240]
IOMMU Group 14 04:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Redwood PRO [Radeon HD 5550/5570/5630/6510/6610/7570] [1002:68d9]
IOMMU Group 14 04:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Redwood HDMI Audio [Radeon HD 5000 Series] [1002:aa60]
IOMMU Group 1 00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor 

Hook download ok

sudo wget 'https://raw.githubusercontent.com/PassthroughPOST/VFIO-Tools/master/libvirt_hooks/qemu' \
>      -O /etc/libvirt/hooks/qemu
--2020-12-15 21:20:00--  https://raw.githubusercontent.com/PassthroughPOST/VFIO-Tools/master/libvirt_hooks/qemu
Résolution de raw.githubusercontent.com (raw.githubusercontent.com)… 64:ff9b::9765:7885, 151.101.120.133
Connexion à raw.githubusercontent.com (raw.githubusercontent.com)|64:ff9b::9765:7885|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 1010 [text/plain]
Enregistre : «/etc/libvirt/hooks/qemu»
/etc/libvirt/hooks/ 100%[===================>]    1010  --.-KB/s    ds 0,01s   
2020-12-15 21:20:01 (100 KB/s) - «/etc/libvirt/hooks/qemu» enregistré [1010/1010]

Execute :

sudo chmod +x /etc/libvirt/hooks/qemu

No return

Files and directories created

root@pop-os:~# tree /etc/libvirt/hooks/
/etc/libvirt/hooks/
├── kvm.conf
├── qemu
└── qemu.d
    └── win10
        ├── prepare
        │   └── begin
        │       └── bind_vfio.sh
        └── release
            └── end
                └── unbind_vfio.sh

source "/etc/libvirt/hooks/kvm.conf"

##Virsh devices
VIRSH_GPU_VIDEO=pci_0000_04_00_0
VIRSH_GPU_AUDIO=pci_0000_04_00_1

I followed the rest until part 4 but when i run my vm... it crashes. I have to hard reset my computer.
I don't know where to look.
Can you help me please?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions