Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

UNRAID 6.10.X 直通8125B 报错,虚拟机暂停

Featured Replies

主板:MSI B560M 爆破弹

CPU:i3-10100

内存:威刚 16g ddr4 2666mhz

板载网卡:RTL8125B 2.5GB

PCI网卡:RTL8125B 2.5GB

UNRAID:6.10.3

问题描述:板载/PCIe网卡RTL8125B,直通黑群晖/Windows 11,启动时可以启动,启动几十秒后,日志后台报错,虚拟机被暂停

PCIe ACS 覆盖 设置为:下游/多功能/both 均不能解决

VFIO 允许不安全的中断 设置为:是/否 均不能解决

 

两张RTL8125B无论直通哪一张均报错,不直通网卡,直通SATA控制器、NVME硬盘、核心显卡不报错

 

报错后虚拟机自动被暂停:

 

image.png.e67c36b351709ce5f9f9996c9e77117d.png

 

PCI 设备和 IOMMU 组:

 

image.png.ad245316497ea00d7c6d8b48d948b654.pngimage.png.9b7094701ab1701fae98512d1e8e4bdf.png

 

虚拟机配置:

 

image.png.d2cb050c5ad79704c5ae2bbfebcd746e.png

 

虚拟机XML:

 

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm'>
  <name>Synology</name>
  <uuid>f8a0ae01-c5de-0cc9-45cc-5004203b07e7</uuid>
  <metadata>
    <vmtemplate xmlns="unraid" name="Linux" icon="linux.png" os="linux"/>
  </metadata>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>4194304</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>4</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='0'/>
    <vcpupin vcpu='1' cpuset='4'/>
    <vcpupin vcpu='2' cpuset='1'/>
    <vcpupin vcpu='3' cpuset='5'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-q35-6.2'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/f8a0ae01-c5de-0cc9-45cc-5004203b07e7_VARS-pure-efi.fd</nvram>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none' migratable='on'>
    <topology sockets='1' dies='1' cores='2' threads='2'/>
    <cache mode='passthrough'/>
  </cpu>
  <clock offset='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/local/sbin/qemu</emulator>
    <controller type='usb' index='0' model='qemu-xhci' ports='15'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
    </controller>
    <controller type='sata' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'/>
    <controller type='pci' index='1' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='1' port='0x10'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='2' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='2' port='0x11'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
    </controller>
    <controller type='pci' index='3' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='3' port='0x12'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
    </controller>
    <controller type='pci' index='4' model='pcie-to-pci-bridge'>
      <model name='pcie-pci-bridge'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </controller>
    <controller type='pci' index='5' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='5' port='0x13'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
    </controller>
    <controller type='pci' index='6' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='6' port='0x14'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
    </controller>
    <controller type='pci' index='7' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='7' port='0x15'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
    </controller>
    <serial type='pty'>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <channel type='unix'>
      <target type='virtio' name='org.qemu.guest_agent.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='tablet' bus='usb'>
      <address type='usb' bus='0' port='2'/>
    </input>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='en-us'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <audio id='1' type='none'/>
    <video>
      <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
    </video>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x00' slot='0x17' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x01' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x0781'/>
        <product id='0x5571'/>
      </source>
      <address type='usb' bus='0' port='1'/>
    </hostdev>
    <memballoon model='none'/>
  </devices>
</domain>
 

虚拟机日志报错截图:

 

qemu-system-x86_64: vfio_err_notifier_handler(0000:05:00.0) Unrecoverable error detected. Please collect any data possible and then kill the guest

 

image.png.3dc01925a20d53ff4bb60edd5a160ef8.png

 

系统日志报错截图:

 

Jun 16 07:02:27 UNRAID kernel: pcieport 0000:00:1c.7: AER: Uncorrected (Non-Fatal) error received: 0000:00:1c.7

Jun 16 07:02:27 UNRAID kernel: pcieport 0000:00:1c.7: PCIe Bus Error: severity=Uncorrected (Non-Fatal), type=Transaction Layer, (Requester ID)

Jun 16 07:02:27 UNRAID kernel: pcieport 0000:00:1c.7: device [8086:43bf] error status/mask=00100000/00000000

 

image.png.a09f315cfe7a706860153c684a262a3b.png

 

 

 

Solved by ArchonX

  • 1 month later...

我的问题和你一模一样,,,,12500t 铭瑄 Z690 终结者

无论是 板载,还是 PCI  两款 8125网卡,,任何一个直通给 虚拟机,都是报错。

一个是系统日志日报错,一个时候虚拟机,暂停,不停刷报错。。

虚拟机配置里,和你一样,,设置了, 什么,下游,多功能,什么的,都试过了。

而且,我还试过,用  USB网卡,给  UNRAID用,,然后把 板载的 和 PCIE的  2个8125网卡,同时 直通给 虚拟机,还是一样的结果。

1.jpeg

2.jpeg

3.png

Just now, 淡淡忧伤 said:

我的问题和你一模一样,,,,12500t 铭瑄 Z690 终结者

无论是 板载,还是 PCI  两款 8125网卡,,任何一个直通给 虚拟机,都是报错。

一个是系统日志日报错,一个时候虚拟机,暂停,不停刷报错。。

虚拟机配置里,和你一样,,设置了, 什么,下游,多功能,什么的,都试过了。

而且,我还试过,用  USB网卡,给  UNRAID用,,然后把 板载的 和 PCIE的  2个8125网卡,同时 直通给 虚拟机,还是一样的结果。

不直通网卡,好像没发现啥问题,,只要直通网卡,就不行。。。。直通USB网卡也正常。

1.jpeg

2.jpeg

3.png

 

2 minutes ago, 淡淡忧伤 said:

我的问题和你一模一样,,,,12500t 铭瑄 Z690 终结者

无论是 板载,还是 PCI  两款 8125网卡,,任何一个直通给 虚拟机,都是报错。

一个是系统日志日报错,一个时候虚拟机,暂停,不停刷报错。。

虚拟机配置里,和你一样,,设置了, 什么,下游,多功能,什么的,都试过了。

而且,我还试过,用  USB网卡,给  UNRAID用,,然后把 板载的 和 PCIE的  2个8125网卡,同时 直通给 虚拟机,还是一样的结果。

不直通网卡,好像没发现啥问题,,只要直通网卡,就不行。。。。直通USB网卡也正常。

还有,楼上说的,更新驱动,,我也试过了,,替换了新的驱动,重启后,直通网卡,还是一样的结果。。

1.jpeg

2.jpeg

3.png

 

最近正准备买个 PCIE 的 千兆网卡(主要为了,和主板网卡不同型号)

试试直通能不能正常。。。

是不是因为  板载和 PCIE网卡 都是同样型号导致的。。。(但是,同样型号,就当作拆分有问题,但是我2个8125同时直通给虚拟机,为什么也还是不行。)

  • 2 weeks later...

同样是铭瑄的主板RTL8125B 2.5GB网卡,遇到同样的问题。感觉很无解,2L说的驱动也去尝试了一下,依然启动虚拟机后只要访问虚拟机就会报错,暂停。

自己购买了2种pcie网卡,一个4口RTL8125B 2.5G这个可以直通给群晖使用,另一个是单口RTL8125B 2.5G,就会遇到和板载网卡一样的问题。
非常无奈

  • 9 months later...
On 6/16/2022 at 11:05 PM, ArchonX said:

主板:MSI B560M 爆破弹

CPU:i3-10100

内存:威刚 16g ddr4 2666mhz

板载网卡:RTL8125B 2.5GB

PCI网卡:RTL8125B 2.5GB

UNRAID:6.10.3

问题描述:板载/PCIe网卡RTL8125B,直通黑群晖/Windows 11,启动时可以启动,启动几十秒后,日志后台报错,虚拟机被暂停

PCIe ACS 覆盖 设置为:下游/多功能/both 均不能解决

VFIO 允许不安全的中断 设置为:是/否 均不能解决

 

两张RTL8125B无论直通哪一张均报错,不直通网卡,直通SATA控制器、NVME硬盘、核心显卡不报错

 

报错后虚拟机自动被暂停:

 

image.png.e67c36b351709ce5f9f9996c9e77117d.png

 

PCI 设备和 IOMMU 组:

 

image.png.ad245316497ea00d7c6d8b48d948b654.pngimage.png.9b7094701ab1701fae98512d1e8e4bdf.png

 

虚拟机配置:

 

image.png.d2cb050c5ad79704c5ae2bbfebcd746e.png

 

虚拟机XML:

 

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm'>
  <name>Synology</name>
  <uuid>f8a0ae01-c5de-0cc9-45cc-5004203b07e7</uuid>
  <metadata>
    <vmtemplate xmlns="unraid" name="Linux" icon="linux.png" os="linux"/>
  </metadata>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>4194304</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>4</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='0'/>
    <vcpupin vcpu='1' cpuset='4'/>
    <vcpupin vcpu='2' cpuset='1'/>
    <vcpupin vcpu='3' cpuset='5'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-q35-6.2'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/f8a0ae01-c5de-0cc9-45cc-5004203b07e7_VARS-pure-efi.fd</nvram>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none' migratable='on'>
    <topology sockets='1' dies='1' cores='2' threads='2'/>
    <cache mode='passthrough'/>
  </cpu>
  <clock offset='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/local/sbin/qemu</emulator>
    <controller type='usb' index='0' model='qemu-xhci' ports='15'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
    </controller>
    <controller type='sata' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'/>
    <controller type='pci' index='1' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='1' port='0x10'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='2' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='2' port='0x11'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
    </controller>
    <controller type='pci' index='3' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='3' port='0x12'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
    </controller>
    <controller type='pci' index='4' model='pcie-to-pci-bridge'>
      <model name='pcie-pci-bridge'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </controller>
    <controller type='pci' index='5' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='5' port='0x13'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
    </controller>
    <controller type='pci' index='6' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='6' port='0x14'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
    </controller>
    <controller type='pci' index='7' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='7' port='0x15'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
    </controller>
    <serial type='pty'>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <channel type='unix'>
      <target type='virtio' name='org.qemu.guest_agent.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='tablet' bus='usb'>
      <address type='usb' bus='0' port='2'/>
    </input>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='en-us'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <audio id='1' type='none'/>
    <video>
      <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
    </video>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x00' slot='0x17' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x01' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x0781'/>
        <product id='0x5571'/>
      </source>
      <address type='usb' bus='0' port='1'/>
    </hostdev>
    <memballoon model='none'/>
  </devices>
</domain>
 

虚拟机日志报错截图:

 

qemu-system-x86_64: vfio_err_notifier_handler(0000:05:00.0) Unrecoverable error detected. Please collect any data possible and then kill the guest

 

image.png.3dc01925a20d53ff4bb60edd5a160ef8.png

 

系统日志报错截图:

 

Jun 16 07:02:27 UNRAID kernel: pcieport 0000:00:1c.7: AER: Uncorrected (Non-Fatal) error received: 0000:00:1c.7

Jun 16 07:02:27 UNRAID kernel: pcieport 0000:00:1c.7: PCIe Bus Error: severity=Uncorrected (Non-Fatal), type=Transaction Layer, (Requester ID)

Jun 16 07:02:27 UNRAID kernel: pcieport 0000:00:1c.7: device [8086:43bf] error status/mask=00100000/00000000

 

image.png.a09f315cfe7a706860153c684a262a3b.png

 

 

 

同样的问题,解决了吗

  • 6 months later...
  • Author
  • Solution
On 5/30/2023 at 5:11 AM, alexing said:

同样的问题,解决了吗

pci=noaer

in your syslinux configuration.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.