sthgi
sthgi
### Description ``` root@beelink:~/PCILeechGen# sudo setpci -s 0000:03:00.0 COMMAND=0x06 root@beelink:~/PCILeechGen# sudo ./bin/pcileechgen build --bdf 0000:03:00.0 --board CaptainDMA_100T 2026/03/09 18:21:21 INFO target device bdf=0000:03:00.0 2026/03/09 18:21:21 INFO collecting donor device data...
### Description ``` root@beelink:~/PCILeechGen# sudo setpci -s 0000:03:00.0 COMMAND=0x06 root@beelink:~/PCILeechGen# sudo ./bin/pcileechgen build --bdf 0000:03:00.0 --board CaptainDMA_100T 2026/03/09 14:40:04 INFO target device bdf=0000:03:00.0 2026/03/09 14:40:04 INFO collecting donor device data...
### Description "root@beelink:~/PCILeechGen# sudo ./bin/pcileechgen check --bdf 0000:03:00.0 Checking device 0000:03:00.0... [OK] Device found: 10ec:8125 Ethernet controller [OK] Config space readable: 4096 bytes [OK] IOMMU is enabled [OK] VFIO modules...
Tried 3 devices so far USB, Ethernet and WiFi [pcileechgen] Stage 1: Collecting donor device data... [donor] Warning: could not read BAR content: failed to read BAR2 content: read /sys/bus/pci/devices/0000:03:00.0/resource2:...
``` that error means the device is still bound to its native driver. you need to unbind it first, then bind to vfio-pci: # unload vfio modules first sudo modprobe...
``` your device_context.json has no bar contents. the xhci driver reads critical registers from bar0 at init and when they're all zero it fails with code 10. i fixed this...
[device_context.json](https://github.com/user-attachments/files/25758311/device_context.json) [vivado.log](https://github.com/user-attachments/files/25758313/vivado.log)
[device_context.json](https://github.com/user-attachments/files/25745681/device_context.json) [vivado.log](https://github.com/user-attachments/files/25745683/vivado.log)