Closed kevinmilner closed 1 year ago
...but, after I attempt to run the example,
MSI-X
becomes disabled and the temperature goes negative:
Hi, I haven't seen this type of behaviour so far. Unfortunately, I don't have any suggestions other than trying with another Coral PCIE device or another host machine. Thanks!
OK, I was able to test it on another machine and can confirm that it is an issue with the machine and not the coral or PCIe adapter. Here is the working output on my other machine:
kevin@steel:~/coral$ sudo lspci -vvv | grep MSI-X
Capabilities: [90] MSI-X: Enable+ Count=32 Masked-
Capabilities: [c0] MSI-X: Enable+ Count=8 Masked-
Capabilities: [c0] MSI-X: Enable+ Count=8 Masked-
Capabilities: [b0] MSI-X: Enable+ Count=33 Masked-
Capabilities: [b0] MSI-X: Enable+ Count=33 Masked-
Capabilities: [c0] MSI-X: Enable+ Count=2 Masked-
Capabilities: [c0] MSI-X: Enable+ Count=8 Masked-
Capabilities: [d0] MSI-X: Enable+ Count=128 Masked-
kevin@steel:~/coral$ cat /sys/class/apex/apex_0/temp
44550
kevin@steel:~/coral$ ./run_test.sh
/home/kevin/coral/test/examples/classify_image.py:79: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead.
image = Image.open(args.input).convert('RGB').resize(size, Image.ANTIALIAS)
----INFERENCE TIME----
Note: The first inference on Edge TPU is slow because it includes loading the model into Edge TPU memory.
11.8ms
2.6ms
2.7ms
2.7ms
2.7ms
-------RESULTS--------
Ara macao (Scarlet Macaw): 0.75781
kevin@steel:~/coral$ sudo lspci -vvv | grep MSI-X
Capabilities: [90] MSI-X: Enable+ Count=32 Masked-
Capabilities: [c0] MSI-X: Enable+ Count=8 Masked-
Capabilities: [c0] MSI-X: Enable+ Count=8 Masked-
Capabilities: [b0] MSI-X: Enable+ Count=33 Masked-
Capabilities: [b0] MSI-X: Enable+ Count=33 Masked-
Capabilities: [c0] MSI-X: Enable+ Count=2 Masked-
Capabilities: [c0] MSI-X: Enable+ Count=8 Masked-
Capabilities: [d0] MSI-X: Enable+ Count=128 Masked-
kevin@steel:~/coral$ cat /sys/class/apex/apex_0/temp
44800
So I guess I'm out of luck using it on that server? Or do you happen to have any other ideas?
So I guess I'm out of luck using it on that server? Or do you happen to have any other ideas?
Unfortuately, I don't have any other ideas. Glad that you are able to work with another host machine.
Description
Hello, I have been trying without success to get my new mini PCIe edge TPU to work. I am debugging with just the simple
classify_image.py
example.My computer (an HP Z230 workstation) doesn't have any mPCIe slots, so I am using the Ableconn PEX-MP117 adapter; many people on Amazon have reported success using with this adapter with the Coral.
This system boots TrueNAS Scale bluefin, which is a debian-based system. I installed the drivers and such directly in the host os, so I'm running bare metal.
Here's the output when I try to run the example:
It then hangs indefinitely. I tried the fix here for similar errors, but
gasket.dma_bit_mask=32
didn't do anything (and I'm x84-64 not arm64).Some interesting clues are that, upon a fresh reboot and before trying to run anything, I see the following:
...but, after I attempt to run the example,
MSI-X
becomes disabled and the temperature goes negative:I see the following in dmesg:
Any ideas? Thanks!
Click to expand!
### Issue Type Support ### Operating System Linux ### Coral Device Mini PCIe ### Other Devices _No response_ ### Programming Language Python 3.9 ### Relevant Log Output ```shell kevin@truenas:~$ ls -l /dev/apex_0 crw-rw---- 1 root apex 120, 0 Apr 5 14:51 /dev/apex_0 kevin@truenas:~$ groups kevin plugdev builtin_users apex kevin@truenas:~$ lspci | grep TPU 02:00.0 System peripheral: Global Unichip Corp. Coral Edge TPU kevin@truenas:~$ sudo modinfo apex filename: /lib/modules/5.15.79+truenas/updates/dkms/apex.ko author: John Joseph