• Notice regarding image hosts and attachments. See here.

#Random Linux

Hmmmmmm what a mess I 'should' really fix it but it's working :cry:

I gave up on trying to passthrough a PCI-e device due to IOMMU groups, tried separating it with no joy
So downgraded the kernel just to compile some dodgy old drivers on the hypervisor itself .... NEVER EVER DO THIS :cry:

Now thinking I should retry the clean approach of passthrough :rolleyes:

Code:
root@svr1:~# apt install fastfetch
You might want to run 'apt --fix-broken install' to correct these.
Unsatisfied dependencies:
 fastfetch : Depends: libyyjson0 (>= 0.10.0+ds) but it is not going to be installed
 proxmox-default-kernel : Depends: proxmox-kernel-6.17 but it is not going to be installed
Error: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Error: The following information from --solver 3.0 may provide additional context:
   Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@svr1:~# apt --fix-broken install fastfetch
You might want to run 'apt --fix-broken install' to correct these.
Unsatisfied dependencies:
 fastfetch : Depends: libyyjson0 (>= 0.10.0+ds) but it is not going to be installed
 proxmox-default-kernel : Depends: proxmox-kernel-6.17 but it is not going to be installed
Error: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Error: The following information from --solver 3.0 may provide additional context:
   Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@svr1:~#
root@svr1:~#
root@svr1:~#
root@svr1:~# cat /proc/cmdline; for d in /sys/kernel/iommu_groups/*/devices/*; do n=${d#*/iommu_groups/*}; n=${n%%/*}; printf 'IOMMU group %s ' "$n"; lspci -nns "${d##*/}"; done
BOOT_IMAGE=/boot/vmlinuz-6.14.11-9-pve root=/dev/mapper/pve-root ro
IOMMU group 0 00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 500 [8086:5a85] (rev 0b)
IOMMU group 1 00:00.0 Host bridge [0600]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Host Bridge [8086:5af0] (rev 0b)
IOMMU group 2 00:0e.0 Audio device [0403]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Audio Cluster [8086:5a98] (rev 0b)
IOMMU group 3 00:0f.0 Communication controller [0780]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Trusted Execution
Engine [8086:5a9a] (rev 0b)
IOMMU group 4 00:12.0 SATA controller [0106]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SATA AHCI Controller [8086:5ae3] (rev 0b)
IOMMU group 5 00:13.0 PCI bridge [0604]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port A #1 [8086:5ad8] (rev fb)
IOMMU group 5 00:13.2 PCI bridge [0604]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port A #3 [8086:5ada] (rev fb)
IOMMU group 5 01:00.0 Multimedia controller [0480]: Philips Semiconductors SAA7160 [1131:7160] (rev 03)
IOMMU group 5 02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 11)
IOMMU group 6 00:15.0 USB controller [0c03]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series USB xHCI [8086:5aa8] (rev 0b)
IOMMU group 7 00:1f.0 ISA bridge [0601]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Low Pin Count Interface [8086:5ae8] (rev 0b)
IOMMU group 7 00:1f.1 SMBus [0c05]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SMBus Controller [8086:5ad4] (rev 0b)
r

The problem is group 5

Passing through SAA7160 will also passthrough the network card which as you may have figured.. highly inconvenient
 
Last edited:
Here's the problem ... rebooted using new kernel parameters and the group still exists


Code:
root@svr1:~# cat /proc/cmdline; for d in /sys/kernel/iommu_groups/*/devices/*; do n=${d#*/iommu_groups/*}; n=${n%%/*}; printf 'IOMMU group %s ' "$n"; lspci -nns "${d##*/}"; done
BOOT_IMAGE=/boot/vmlinuz-6.14.11-9-pve root=/dev/mapper/pve-root ro pcie_aspm=off intel_iommu=on iommu=pt pcie_acs_override=downstream,multifunction
IOMMU group 0 00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 500 [8086:5a85] (rev 0b)
IOMMU group 1 00:00.0 Host bridge [0600]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Host Bridge [8086:5af0] (rev 0b)
IOMMU group 2 00:0e.0 Audio device [0403]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Audio Cluster [8086:5a98] (rev 0b)
IOMMU group 3 00:0f.0 Communication controller [0780]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Trusted Execution Engine [8086:5a9a] (rev 0b)
IOMMU group 4 00:12.0 SATA controller [0106]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SATA AHCI Controller [8086:5ae3] (rev 0b)
IOMMU group 5 00:13.0 PCI bridge [0604]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port A #1 [8086:5ad8] (rev fb)
IOMMU group 5 00:13.2 PCI bridge [0604]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port A #3 [8086:5ada] (rev fb)
IOMMU group 5 01:00.0 Multimedia controller [0480]: Philips Semiconductors SAA7160 [1131:7160] (rev 03)
IOMMU group 5 02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 11)
IOMMU group 6 00:15.0 USB controller [0c03]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series USB xHCI [8086:5aa8] (rev 0b)
IOMMU group 7 00:1f.0 ISA bridge [0601]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Low Pin Count Interface [8086:5ae8] (rev 0b)
IOMMU group 7 00:1f.1 SMBus [0c05]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SMBus Controller [8086:5ad4] (rev 0b)

I guess I could use a usb network adapter instead :rolleyes: surely that'll fix the problem
 
Back
Top Bottom