문서의 이전 판입니다!


PCI-Passthrough Problem

GPU Passthrough 사용하는경우 아래처럼 오류메세지가 나오는 경우가 있다.

Jul 14 02:00:01 proxmox kernel: [ 6044.433981] vfio-pci 0000:07:00.0: BAR 1: can't reserve [mem 0x7fe0000000-0x7fefffffff 64bit pref]
Jul 14 02:00:01 proxmox kernel: [ 6044.433981] vfio-pci 0000:07:00.0: BAR 0: can't reserve [mem 0xe0000000-0xefffffff 64bit pref]
Using:
echo 1 > /sys/bus/pci/devices/0000\:09\:00.0/remove
echo 1 > /sys/bus/pci/rescan

You can create a .sh chmod +x and add it to cron

File: /root/fix_gpu_pass.sh

Note Change “0000\:0X\:00.0” for your GPU PCI ID

#!/bin/bash
echo 1 > /sys/bus/pci/devices/0000\:0X\:00.0/remove
echo 1 > /sys/bus/pci/rescan



Add to cron:

crontab -e

add:

@reboot /root/fix_gpu_pass.sh



===== 참조링크 =====
* https://forum.proxmox.com/threads/problem-with-gpu-passthrough.55918/
* https://www.2cpu.co.kr/vm/13861?&sfl=wr_subject&stx=%C6%D0%BD%BA&sop=and

로그인하면 댓글을 남길 수 있습니다.
  • pci-passthrough_problem.1672919972.txt.gz
  • 마지막으로 수정됨: 2023/01/05 11:59
  • 저자 koov