installation of drivers for coral pcie eadgetpu

Mikey6283

Member
Jul 14, 2021
58
0
6
74
Hi

The Pcie module is installed in the host hardware however I am unable to install Coral pcie drivers from coral website as it is giving errors as below :

Code:
root@pve:~# lspci -nnk | grep 089a
03:00.0 System peripheral [0880]: Global Unichip Corp. Coral Edge TPU [1ac1:089a]
        Subsystem: Global Unichip Corp. Coral Edge TPU [1ac1:089a]
root@pve:~# lsmod | grep apex
root@pve:~# echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list
-bash: sudo: command not found
root@pve:~# echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list

curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -

sudo apt-get update
-bash: sudo: command not found
-bash: sudo: command not found
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2537  100  2537    0     0  28188      0 --:--:-- --:--:-- --:--:-- 28505
(23) Failed writing body
-bash: sudo: command not found
root@pve:~# apt-get install gasket-dkms libedgetpu1-std
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package gasket-dkms
E: Unable to locate package libedgetpu1-std
root@pve:~#

Any help would be appreciated with examples please.
 
Do you want to run it directly on the Proxmox VE host or inside a VM?

Proxmox VE does not come with sudo and since you already are root, you can just remove it from the command.
 
Do you want to run it directly on the Proxmox VE host or inside a VM?

Proxmox VE does not come with sudo and since you already are root, you can just remove it from the command.
arron. thanks that worked,

however, I am still get the error no such file or directly , is there a solution?

Code:
root@pve:~# apt-get install gasket-dkms libedgetpu1-std
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
gasket-dkms is already the newest version (1.0-17).
libedgetpu1-std is already the newest version (16.0).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
root@pve:~# lspci -nn | grep 089a
03:00.0 System peripheral [0880]: Global Unichip Corp. Coral Edge TPU [1ac1:089a]
root@pve:~# ls /dev/apex_0
ls: cannot access '/dev/apex_0': No such file or directory
 
Upgrade to the 5.13 kernel broke the dev/apex_0 driver for the Coral edgetpu... reverting to 5.11 fixed it...
 
i'm having that problem to will try to revert i hope they fix it in the kernel ... problem fixed with kernel revert
 
Last edited:
@mantaalex @karlos which kernel version are you using? Currently running 5.11.22-7-pve and /dev/apex_0 is not present.

gasket and apex modules are loaded, but nothing in dmesg for some reason. pci device is detected as well. Sill no /dev_apex_0 though.

Thanks guys
 
@mantaalex @karlos which kernel version are you using? Currently running 5.11.22-7-pve and /dev/apex_0 is not present.

gasket and apex modules are loaded, but nothing in dmesg for some reason. pci device is detected as well. Sill no /dev_apex_0 though.

Thanks guys
i run my frigate on VM now not LXC
i run in other problems not frigate related.

but did you followed something like this here?:
https://thingsiforgetblog.wordpress.com/2021/05/16/proxmox-pcie-passthrough/
to pass trough to VM?

but i had in my case need to tweak the grub to get it working:
i use this line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet pcie_acs_override=downstream,multifunction amd_iommu=on"

and in /etc/modules:
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd

before this i installed HA this way:
https://community.home-assistant.io/t/installing-home-assistant-os-using-proxmox-7/201835
i hope you have something with the info
 
  • Like
Reactions: John_Doe

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!