Gogle coral 2tpu No IOMMU detected

Trzinka

New Member
Feb 20, 2024
11
0
1
Hi. I have M.2 Accelerator with Dual Edge TPU via PCI card.
Let me clarify that I have very little (or rather zero) experience with Linux.
I am running Virtual Machine 100 (HomeAssistant) on node 'pev' on Proxmox 8.1.4.
I have intel vx-d (virtualization technology) enabled in bios.
The thing worked for me before reinstalling.

If I type in the shell lspci -nn | grep 089a, I get the result:

Code:
05:00.0 System peripheral [0880]: Global Unichip Corp. Coral Edge TPU [1ac1:089a]
06:00.0 System peripheral [0880]: Global Unichip Corp. Coral Edge TPU [1ac1:089a]

I have the drivers installed, but if I want to add a PCIe device to the VM100, it tells me `No IOMMU detected, please activate it. See Documentation for further information.`

I would like to ask for help, what should I do, because the instructions published at https://coral.ai/docs/m2/get-started/#2a-on-linux are not up to date!
 
Hi. Thanks for the help.

pvesh get /nodes/{nodename}/hardware/pci --pci-class-blacklist ""

what is {nodename}?
 
I tried:

pvesh get /nodes/HomeAssistant/hardware/pci --pci-class-blacklist ""

Code:
hostname lookup 'HomeAssistant' failed - failed to get address info for: HomeAssistant: Name or service not known
 
Proxmox-Nekaj.pngProxmox-Nekaj2.png
As you can see, intel_iommu=on is missing. Please follow the steps in the manual to add it: https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_configuration_14
I'm stuck here because I don't know what to do, launching commands by itself doesn't work

You have to make sure the following modules are loaded.
This can be achieved by adding them to ‘/etc/modules’. In kernels newer than 6.2 (Proxmox VE 8 and onward) the vfio_virqfd module is part of the vfio module, therefore loading vfio_virqfd in Proxmox VE 8 and newer is not necessary.

vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd #not needed if on kernel 6.2 or newer
 
I'm stuck here because I don't know what to do, launching commands by itself doesn't work

I will copy the steps from the manual for you but i don't know how to help you further because I don't understand what you are having problems with.
For Intel CPUs, you also need to enable the IOMMU on the kernel command line kernels by adding: intel_iommu=on

You can modify the kernel commandline in the following places, depending on the bootloader used:

Grub
The kernel commandline needs to be placed in the variable GRUB_CMDLINE_LINUX_DEFAULT in the file /etc/default/grub. Running update-grub appends its content to all linux entries in/boot/grub/grub.cfg.

Systemd-boot
The kernel commandline needs to be placed as one line in /etc/kernel/cmdline.To apply your changes, run proxmox-boot-tool refresh, which sets it as the option line for all config files in loader/entries/proxmox-*.conf.

Please note that this questions is asked every week and there are lots of other threads that had the same issue and resolved it: https://forum.proxmox.com/search/66...t=post&c[child_nodes]=1&c[nodes][0]=16&o=date
 
I will copy the steps from the manual for you but i don't know how to help you further because I don't understand what you are having problems with.


Please note that this questions is asked every week and there are lots of other threads that had the same issue and resolved it: https://forum.proxmox.com/search/6693524/?q=No+IOMMU+detected,+please+activate+i&t=post&c[child_nodes]=1&c[nodes][0]=16&o=date
Hi thanks for help. I found simple solution https://laptopwiki.eu/laptopwiki/guides/os/proxmox/iommugroupsplit. I forgot about the nano command and when I saw this the memory came alive.
 

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!