hello everyone,,
I'm doing GPU direct. The GPU model is NVIDIA T1000
Did these opera
root@pve3:~# cat /etc/default/grub
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR='lsb_release -i -s 2> /dev/null ||回声 Debian'
GRUB_CMDLINE_LINUX_DEFAULT=“安静intel_iommu=打开视频=efifb:关闭”
GRUB_CMDLINE_LINUX=“”
Update grub
root@pve3:~# update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.30-2-pve
Found initrd image: /boot/initrd.img-5.15.30-2-pve
Found memtest86+ image: /boot/memtest86+.bin
Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin
Adding boot menu entry for EFI firmware configuration
done
Add the required system module (driver)
root@pve3:~# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
Add module (driver) blacklist
root@pve3:~# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
root@pve3:~# cat /etc/modprobe.d/pve-blacklist.conf
# This file contains a list of modules which are not supported by Proxmox VE
# nidiafb see bugreport https://bugzilla.proxmox.com/show_bug.cgi?id=701
blacklist nvidiafb
blacklist nouveau
blacklist radeon
Add some configurations to kvm Conf file
root@pve3:~# cat /etc/modprobe.d/kvm.conf
options kvm ignore_msrs=1 report_ignored_msrs=0
Update kernel
root@pve3:~# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-5.15.30-2-pve
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.
Restart the machine
Check whether the module is loaded normally after restart
root@pve3:~# lsmod | grep vfio
vfio_pci 16384 0
vfio_pci_core 65536 1 vfio_pci
vfio_virqfd 16384 1 vfio_pci_core
irqbypass 16384 6 vfio_pci_core,kvm
vfio_iommu_type1 40960 0
vfio 40960 2 vfio_pci_core,vfio_iommu_type1
View the graphics card ID and write it into the configuration
root@pve3:~# lspci -nn | grep NV
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1ff0] (rev a1)
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:10fa] (rev a1)
root@pve3:~# cat /etc/modprobe.d/vfio.conf
options vfio-pci ids=10de:1ff0,10de:10fa
problem:
The corresponding device is not displayed here. Is GPV pass through successful?
I'm doing GPU direct. The GPU model is NVIDIA T1000
Did these opera
root@pve3:~# cat /etc/default/grub
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR='lsb_release -i -s 2> /dev/null ||回声 Debian'
GRUB_CMDLINE_LINUX_DEFAULT=“安静intel_iommu=打开视频=efifb:关闭”
GRUB_CMDLINE_LINUX=“”
Update grub
root@pve3:~# update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.30-2-pve
Found initrd image: /boot/initrd.img-5.15.30-2-pve
Found memtest86+ image: /boot/memtest86+.bin
Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin
Adding boot menu entry for EFI firmware configuration
done
Add the required system module (driver)
root@pve3:~# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
Add module (driver) blacklist
root@pve3:~# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
root@pve3:~# cat /etc/modprobe.d/pve-blacklist.conf
# This file contains a list of modules which are not supported by Proxmox VE
# nidiafb see bugreport https://bugzilla.proxmox.com/show_bug.cgi?id=701
blacklist nvidiafb
blacklist nouveau
blacklist radeon
Add some configurations to kvm Conf file
root@pve3:~# cat /etc/modprobe.d/kvm.conf
options kvm ignore_msrs=1 report_ignored_msrs=0
Update kernel
root@pve3:~# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-5.15.30-2-pve
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.
Restart the machine
Check whether the module is loaded normally after restart
root@pve3:~# lsmod | grep vfio
vfio_pci 16384 0
vfio_pci_core 65536 1 vfio_pci
vfio_virqfd 16384 1 vfio_pci_core
irqbypass 16384 6 vfio_pci_core,kvm
vfio_iommu_type1 40960 0
vfio 40960 2 vfio_pci_core,vfio_iommu_type1
View the graphics card ID and write it into the configuration
root@pve3:~# lspci -nn | grep NV
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1ff0] (rev a1)
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:10fa] (rev a1)
root@pve3:~# cat /etc/modprobe.d/vfio.conf
options vfio-pci ids=10de:1ff0,10de:10fa
problem:
The corresponding device is not displayed here. Is GPV pass through successful?