[SOLVED] epyc 7282 on h11ssl-i can not paasthrough SATA controller to VM

phenix93

New Member
Jul 9, 2022
9
0
1
Greeting All,

I have an AMD Epyc 7282, on supermicro H11SSL-i, I want passthrough 1 SATA controller to my VM (TrueNas).But I get the error from my VM:
Bash:
[  163.344292] ata22: softreset failed (1st FIS failed)
[  173.345630] ata22: softreset failed (1st FIS failed)
[  208.349098] ata22: softreset failed (1st FIS failed)
[  208.349144] ata22: limiting SATA link speed to 3.0 Gbps
[  213.561500] ata22: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
[  218.657916] ata22.00: qc timeout (cmd 0xec)
[  218.657929] ata22.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[  228.659296] ata22: softreset failed (1st FIS failed)
[  238.660091] ata22: softreset failed (1st FIS failed)
[  273.663392] ata22: softreset failed (1st FIS failed)
[  273.663425] ata22: limiting SATA link speed to 1.5 Gbps
[  278.874579] ata22: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[  289.062383] ata22.00: qc timeout (cmd 0xec)
[  289.062397] ata22.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[  299.063204] ata22: softreset failed (1st FIS failed)
[  309.062331] ata22: softreset failed (1st FIS failed)
[  344.061888] ata22: softreset failed (1st FIS failed)
[  349.277062] ata22: SATA link up 1.5 Gbps (SStatus 113 SControl 310)

VM conf:
Bash:
root@pve00:~# cat /etc/pve/qemu-server/100.conf
bios: ovmf
boot: order=scsi0;ide2;net0
cores: 32
cpu: host
ide2: none,media=cdrom
machine: q35
memory: 49152
meta: creation-qemu=6.2.0,ctime=1657135967
name: TrueNasScale
net0: virtio=7A:A5:7E:AD:2F:E3,bridge=vmbr0,firewall=1
hostpci0: 0000:44:00,pcie=1
numa: 0
ostype: l26
parent: scale1st
scsi0: local-lvm:vm-100-disk-1,discard=on,size=20G,ssd=1
scsihw: virtio-scsi-pci
smbios1: uuid=05b9dda1-536d-4dd7-b78e-273795f7dc41
sockets: 1
vmgenid: 9589e08f-6b30-4951-90af-6d936898667b

this is my `lspci `(part)
Bash:
lspci -t 
+-[0000:40]-+-00.0
 |           +-00.2
 |           +-01.0
 |           +-01.3-[41]----00.0
 |           +-02.0
 |           +-03.0
 |           +-04.0
 |           +-05.0
 |           +-07.0
 |           +-07.1-[42]--+-00.0
 |           |            \-00.2
 |           +-08.0
 |           +-08.1-[43]--+-00.0
 |           |            +-00.1
 |           |            +-00.2
 |           |            \-00.3
 |           +-08.2-[44]----00.0
 |           \-08.3-[45]----00.0

 root@pve00:~# lspci 
 ...
40:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
44:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
...

I have see some thread: like `https://forum.proxmox.com/threads/trying-to-pass-through-a-sata-controller-on-the-motherboard.99192/`

I tried set the cofig:
Bash:
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt pcie_acs_override=downstream"

root@pve00:~# cat /etc/modprobe.d/test.conf
options vfio-pci ids=1022:7901
softdep ahci pre: vfio-pci
softdep ahci pre: vfio-pci
```

after reboot

```
 root@pve00:~# lspci -k -s 44:00
44:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
    Subsystem: Super Micro Computer Inc FCH SATA Controller [AHCI mode]
    Kernel driver in use: vfio-pci
    Kernel modules: ahci

root@pve00:~# lspci -kn -s 44:00
44:00.0 0106: 1022:7901 (rev 51)
    Subsystem: 15d9:7901
    Kernel driver in use: vfio-pci
    Kernel modules: ahci


But I get the same error.

IOMMU group here
Bash:
root@pve00:~# for d in /sys/kernel/iommu_groups/*/devices/*; do n=${d#*/iommu_groups/*}; n=${n%%/*}; printf 'IOMMU Group %s ' "$n"; lspci -nns "${d##*/}"; done|grep 44:00
IOMMU Group 79 44:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)
root@pve00:~# for d in /sys/kernel/iommu_groups/*/devices/*; do n=${d#*/iommu_groups/*}; n=${n%%/*}; printf 'IOMMU Group %s ' "$n"; lspci -nns "${d##*/}"; done|grep "Group 79"
IOMMU Group 79 44:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)


# all group here
root@pve00:~# for d in /sys/kernel/iommu_groups/*/devices/*; do n=${d#*/iommu_groups/*}; n=${n%%/*}; printf 'IOMMU Group %s ' "$n"; lspci -nns "${d##*/}"; done
IOMMU Group 0 c0:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 10 c0:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 11 c0:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 12 c0:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 13 c1:00.0 PCI bridge [0604]: ASPEED Technology, Inc. AST1150 PCI-to-PCI Bridge [1a03:1150] (rev 04)
IOMMU Group 13 c2:00.0 VGA compatible controller [0300]: ASPEED Technology, Inc. ASPEED Graphics Family [1a03:2000] (rev 41)
IOMMU Group 14 c3:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller [1b21:1142]
IOMMU Group 15 c4:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:1533] (rev 03)
IOMMU Group 16 c5:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:1533] (rev 03)
IOMMU Group 17 c6:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function [1022:148a]
IOMMU Group 18 c6:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PTDMA [1022:1498]
IOMMU Group 19 c7:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
IOMMU Group 1 c0:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 20 c7:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PTDMA [1022:1498]
IOMMU Group 21 80:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 22 80:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 23 80:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 24 80:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
IOMMU Group 25 80:03.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
IOMMU Group 26 80:03.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
IOMMU Group 27 80:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 28 80:05.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 29 80:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 2 c0:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 30 80:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 31 80:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 32 80:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 33 80:08.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 34 80:08.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 35 81:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller [1b21:1142]
IOMMU Group 36 82:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller [1b21:1142]
IOMMU Group 37 83:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983 [144d:a808]
IOMMU Group 38 84:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function [1022:148a]
IOMMU Group 39 84:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PTDMA [1022:1498]
IOMMU Group 3 c0:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
IOMMU Group 40 85:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
IOMMU Group 41 85:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PTDMA [1022:1498]
IOMMU Group 42 86:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)
IOMMU Group 43 87:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)
IOMMU Group 44 00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 45 00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 46 00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 47 00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 48 00:05.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 49 00:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 4 c0:03.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
IOMMU Group 50 00:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 51 00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 52 00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 53 00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 61)
IOMMU Group 53 00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
IOMMU Group 54 00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 0 [1022:1490]
IOMMU Group 54 00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 1 [1022:1491]
IOMMU Group 54 00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 2 [1022:1492]
IOMMU Group 54 00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 3 [1022:1493]
IOMMU Group 54 00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 4 [1022:1494]
IOMMU Group 54 00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 5 [1022:1495]
IOMMU Group 54 00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 6 [1022:1496]
IOMMU Group 54 00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship Device 24; Function 7 [1022:1497]
IOMMU Group 55 01:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function [1022:148a]
IOMMU Group 56 01:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PTDMA [1022:1498]
IOMMU Group 57 02:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
IOMMU Group 58 02:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PTDMA [1022:1498]
IOMMU Group 59 02:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Starship USB 3.0 Host Controller [1022:148c]
IOMMU Group 5 c0:03.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
IOMMU Group 60 40:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 61 40:01.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
IOMMU Group 62 40:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 63 40:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 64 40:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 65 40:05.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 66 40:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 67 40:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 68 40:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 69 40:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 6 c0:03.5 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
IOMMU Group 70 40:08.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 71 40:08.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
IOMMU Group 72 41:00.0 Serial Attached SCSI controller [0107]: Broadcom / LSI SAS2308 PCI-Express Fusion-MPT SAS-2 [1000:0087] (rev 05)
IOMMU Group 73 42:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function [1022:148a]
IOMMU Group 74 42:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PTDMA [1022:1498]
IOMMU Group 75 43:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
IOMMU Group 76 43:00.1 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP [1022:1486]
IOMMU Group 77 43:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PTDMA [1022:1498]
IOMMU Group 78 43:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Starship USB 3.0 Host Controller [1022:148c]
IOMMU Group 79 44:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)
IOMMU Group 7 c0:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 80 45:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)
IOMMU Group 8 c0:05.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
IOMMU Group 9 c0:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]

I skip this error by a LSI IT card, but i want to know how fix it.

Is there anything else I can do?

Thanks!
 
limiting SATA link speed to is usually an indication of a bad cable or a connection not making good contact. Do you have those messages on the Proxmox VM with the same drives also?
Or maybe the SATA controller just doesn't work with passthrough or does not reset properly. That last issue can sometimes be worked around by making sure no driver touches the controller before starting the VM: blacklisting the driver or early binding the device to vfio-pci. Note that other controllers might have the same ID and/or driver, which would make them unusable for the Proxmox host. Usually a reset issue will also prevent you from starting the VM a second time without rebooting the Proxmox host.
 
1. all driver, cable run well in PVE,i think the pointor is "softreset failed ", if i got that error, I can not read in pve after host reboot.if i shutdown and power on, everything ok.
2. vfio for sata device already bind , i wrote the conf:softdep ahci pre: vfio-pci, this config from your other thread, the driver for sata controller -> vfio-pci, but still softreset failed.
3. "maybe the SATA controller just doesn't work with passthrough" , how can i confirm that? ask for supermicro?
 
limiting SATA link speed to is usually an indication of a bad cable or a connection not making good contact. Do you have those messages on the Proxmox VM with the same drives also?
Or maybe the SATA controller just doesn't work with passthrough or does not reset properly. That last issue can sometimes be worked around by making sure no driver touches the controller before starting the VM: blacklisting the driver or early binding the device to vfio-pci. Note that other controllers might have the same ID and/or driver, which would make them unusable for the Proxmox host. Usually a reset issue will also prevent you from starting the VM a second time without rebooting the Proxmox host.
Hi, lessteken, do u have any solution?
Thank u.
 
Hi, lessteken, do u have any solution?
Thank u.
Look for a post on the internet from someone else who got that specific controller working with passthrough, and find out how they did it. (I assume devices don't work with passthrough until someone reports that they got it working.)
With kernel 5.15, you can select the reset method (and even disable it) according to some documentation about /sys/bus/pci/devices/.../reset_method. Maybe using another reset method works for you?
Virtually disconnecting the device from the PCIe bus (echo 1 >/sys/bus/pci/devices/0000\:44\:00.0/remove) and then rescanning the PCIe bus (echo 1 >/sys/bus/pci/rescan) works for some devices.
 
Look for a post on the internet from someone else who got that specific controller working with passthrough, and find out how they did it. (I assume devices don't work with passthrough until someone reports that they got it working.)
With kernel 5.15, you can select the reset method (and even disable it) according to some documentation about /sys/bus/pci/devices/.../reset_method. Maybe using another reset method works for you?
Virtually disconnecting the device from the PCIe bus (echo 1 >/sys/bus/pci/devices/0000\:44\:00.0/remove) and then rescanning the PCIe bus (echo 1 >/sys/bus/pci/rescan) works for some devices.

Thans U.
maybe i can try the reset_method.:)
 
Look for a post on the internet from someone else who got that specific controller working with passthrough, and find out how they did it. (I assume devices don't work with passthrough until someone reports that they got it working.)
With kernel 5.15, you can select the reset method (and even disable it) according to some documentation about /sys/bus/pci/devices/.../reset_method. Maybe using another reset method works for you?
Virtually disconnecting the device from the PCIe bus (echo 1 >/sys/bus/pci/devices/0000\:44\:00.0/remove) and then rescanning the PCIe bus (echo 1 >/sys/bus/pci/rescan) works for some devices.
ohhhhhhhhh,than u, it worked by set "bus" reset_method.
Bash:
echo "bus" > /sys/bus/pci/devices/0000:44:00.0/reset_method

you save my life:rolleyes:, i have throw my LSI card away.
 
ohhhhhhhhh,than u, it worked by set "bus" reset_method.
Bash:
echo "bus" > /sys/bus/pci/devices/0000:44:00.0/reset_method

you save my life:rolleyes:, i have throw my LSI card away.
@phenix93

I am about to get the exact same system.

Does the sata controller passthrough work for you now?

Did I understand that right that you just "changed" the reset method "permanently" by once executing
Code:
echo "bus" > /sys/bus/pci/devices/0000:44:00.0/reset_method
where 0000:44:00.0 is your controller?

Does that survive a reboot?
Did you exclude the controler somewhere else as well to in PVE ensure that it gets passed through to the VM?
 
Last edited:
  • Like
Reactions: catha1201

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!