1. 服务器/VPS/主机用户Telegram电报群: https://t.me/openos
    黑群晖 Synology Telegram电报群: https://t.me/nasfan
    排除公告

求助PVE 黑裙7.1 GVT-G下的核显人脸识别

本帖由 vast_l2022-08-06 发布。版面名称:群晖 Synology DSM

  1. vast_l

    vast_l New Member

    注册:
    2022-01-18
    帖子:
    5
    错误如下:
    GUEST HOOK: 101 pre-start
    101 is starting, doing preparations.
    kvm: -device vfio-pci,sysfsdev=/sys/bus/mdev/devices/604e42e4-2e90-11ec-8861-037c58d42915,addr=02.0,x-igd-opregion=on,driver=vfio-pci-nohotplug: vfio 604e42e4-2e90-11ec-8861-037c58d42915: error getting device from group 11: File exists
    Verify all devices in group 11 are bound to vfio-<bus> or pci-stub and not already in use
    TASK ERROR: start failed: QEMU exited with code 1
    我是按照github上一个大佬的配置搞的,不同的是我用的是虚拟USB引导。我把大佬的命令和我定义USB引导的命令合并成了一句,不知哪里出了问题,出现了上面的报错。
    这是合并后的配置文件:
    args: -device vfio-pci,sysfsdev=/sys/bus/mdev/devices/604e42e4-2e90-11ec-8861-037c58d42915,addr=02.0,x-igd-opregion=on,driver=vfio-pci-nohotplug -device 'qemu-xhci,addr=0x18' -drive 'id=synoboot,file=/root/synology/DS9180727.img,if=none,format=raw' -device 'usb-storage,id=synoboot,drive=synoboot,bootindex=5'
    balloon: 2048
    boot: order=ide2;net0
    cores: 2
    cpu: host
    hookscript: local:snippets/101-autocreate.pl
    hostpci0: 0000:01:00.0
    hostpci1: 0000:00:02.0,mdev=i915-GVTg_V5_8
    ide2: none,media=cdrom
    machine: q35
    memory: 4096
    name: DSM7.1
    net0: e1000e=E6:02:85:E1:A8:57,bridge=vmbr0,firewall=1
    numa: 0
    onboot: 1
    ostype: l26
    sata0: sdb-hhd:101/vm-101-disk-1.qcow2,size=100G,ssd=1
    scsihw: virtio-scsi-pci
    smbios1: uuid=c31154f6-793a-4d4a-884a-7fe7cd29467d
    sockets: 1
    usb1: host=152d:1567,usb3=1
    usb2: host=1-6,usb3=1
    vga: none
    vmgenid: 91f2a2ff-91d9-42c1-b83e-41078c9eb516
    大佬要加的东西:
    args: -device vfio-pci,sysfsdev=/sys/bus/mdev/devices/604e42e4-2e90-11ec-8861-037c58d42915,addr=02.0,x-igd-opregion=on,driver=vfio-pci-nohotplug
    单纯的虚拟USB引导:args: -device 'qemu-xhci,addr=0x18' -drive 'id=synoboot,file=/root/synology/DS9180727.img,if=none,format=raw' -device 'usb-storage,id=synoboot,drive=synoboot,bootindex=5'

     
    最后编辑: 2022-08-06
  2. vast_l

    vast_l New Member

    注册:
    2022-01-18
    帖子:
    5
    太乱了 我配置文件再发一次:
    args: -device vfio-pci,sysfsdev=/sys/bus/mdev/devices/604e42e4-2e90-11ec-8861-037c58d42915,addr=02.0,x-igd-opregion=on,driver=vfio-pci-nohotplug -device 'qemu-xhci,addr=0x18' -drive 'id=synoboot,file=/root/synology/DS9180727.img,if=none,format=raw' -device 'usb-storage,id=synoboot,drive=synoboot,bootindex=5'
    balloon: 2048
    boot: order=ide2;net0
    cores: 2
    cpu: host
    hookscript: local:snippets/101-autocreate.pl
    hostpci0: 0000:01:00.0
    hostpci1: 0000:00:02.0,mdev=i915-GVTg_V5_8
    ide2: none,media=cdrom
    machine: q35
    memory: 4096
    name: DSM7.1
    net0: e1000e=E6:02:85:E1:A8:57,bridge=vmbr0,firewall=1
    numa: 0
    onboot: 1
    ostype: l26
    sata0: sdb-hhd:101/vm-101-disk-1.qcow2,size=100G,ssd=1
    scsihw: virtio-scsi-pci
    smbios1: uuid=c31154f6-793a-4d4a-884a-7fe7cd29467d
    sockets: 1
    usb1: host=152d:1567,usb3=1
    usb2: host=1-6,usb3=1
    vga: none
    vmgenid: 91f2a2ff-91d9-42c1-b83e-41078c9eb516
     
  3. vast_l

    vast_l New Member

    注册:
    2022-01-18
    帖子:
    5
    好吧,自己破案了,原因是我在PVE界面直通了这个显卡了,然后我又用脚本导致冲突了。
     
  4. degang78

    degang78 Member

    注册:
    2019-09-02
    帖子:
    33
    问一下:pve虚拟U盘vid pid怎么填?
     
  5. workroom2008

    workroom2008 New Member

    注册:
    2019-03-24
    帖子:
    8
    请问可以分享下引导文件吗