google-coral / edgetpu

Coral issue tracker (and legacy Edge TPU API source)
https://coral.ai
Apache License 2.0
429 stars 125 forks source link

Error "ls: cannot access '/dev/apex_0': No such file or directory" #861

Open gtramsey2000 opened 3 months ago

gtramsey2000 commented 3 months ago

Description

I've got the Coral M.2 Accelerator B+M key, which I've gone through the install for. After some initial issues, I can get my machine (Ubuntu 22.04 server) to recognise the device via the command "lspci -nn | grep 089a", which successfully returns "01:00.0 System peripheral [0880]: Global Unichip Corp. Coral Edge TPU [1ac1:089a]"

However, following the reboot, when I input - "ls /dev/apex_0"

I get the response - "ls: cannot access '/dev/apex_0': No such file or directory"

I've spent several hours reading the other posts and going through various attempts, including install/reinstalling "gasket-driver" and associated other installs. I'm still not getting anywhere and I can't get the device to load as expected.

Any other suggestions?

Output for "sudo apt-get install gasket-dkms libedgetpu1-std" as below. NB, I've disabled secure boot etc.

Reading package lists... Done Building dependency tree... Done Reading state information... Done libedgetpu1-std is already the newest version (16.0). gasket-dkms is already the newest version (1.0-18). 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up gasket-dkms (1.0-18) ... Removing old gasket-1.0 DKMS files... Deleting module gasket-1.0 completely from the DKMS tree. Loading new gasket-1.0 DKMS files... Building for 5.15.0-118-generic Building initial module for 5.15.0-118-generic ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/gasket-dkms.0.crash' Error! Bad return status for module build on kernel: 5.15.0-118-generic (x86_64) Consult /var/lib/dkms/gasket/1.0/build/make.log for more information. dpkg: error processing package gasket-dkms (--configure): installed gasket-dkms package post-installation script subprocess returned error exit status 10 Errors were encountered while processing: gasket-dkms E: Sub-process /usr/bin/dpkg returned an error code (1)

Click to expand! ### Issue Type Build/Install ### Operating System Ubuntu ### Coral Device M.2 Accelerator B+M ### Other Devices _No response_ ### Programming Language _No response_ ### Relevant Log Output _No response_