Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Hard coded path in /usr/bin/pvrsrvctl #105

Open
7-Core opened this issue May 17, 2023 · 2 comments
Open

Hard coded path in /usr/bin/pvrsrvctl #105

7-Core opened this issue May 17, 2023 · 2 comments

Comments

@7-Core
Copy link

7-Core commented May 17, 2023

Using current Debian 11.x (Bullseye) TI EDGEAI (Xfce) Desktop Snapshot
bbai64-debian-11.7-xfce-edgeai-arm64-2023-05-03-10gb.img.xz

root@BeagleBone:/lib/modules# pvrsrvctl --start
Failed to load /lib/modules/5.10.140-00001-g69e7a81501b2/extra/pvrsrvkm.ko: No such file or directory

Creating the following symlinks gets my application running

root@BeagleBone:/lib/modules# ls -l
total 4
lrwxrwxrwx 1 root root 22 May 16 23:54 5.10.140-00001-g69e7a81501b2 -> 5.10.168-ti-arm64-r102
drwxr-xr-x 4 root root 4096 May 16 23:49 5.10.168-ti-arm64-r102

root@BeagleBone:/lib/modules/5.10.168-ti-arm64-r102/extra# ls -l
total 4
drwxr-xr-x 2 root root 4096 May 3 14:33 j721e
lrwxrwxrwx 1 root root 17 May 16 23:53 pvrsrvkm.ko -> j721e/pvrsrvkm.ko

(Correct output below)
root@BeagleBone:/lib/modules/5.10.168-ti-arm64-r102/extra# pvrsrvctl --start
Using default driver configuration (no powervr.ini present)

pvrsrvctl is required for the Imagination University AI Demos.

Shoutout and thanks for the help in the live chat channel.

@RobertCNelson
Copy link
Member

RobertCNelson commented May 17, 2023

Oh fun, so Imagination built pvrsrvkm.ko against, 5.10.140-00001-g69e7a81501b2 a non-production random build..

i need to take a look at their docs again..

@7-Core
Copy link
Author

7-Core commented May 17, 2023

That might be true, but I will point out there is a pvrsrvkm.ko in the *r102/ (current kernel version module) directory which seems to work once I create the symlinks to where pvrsrvctl is looking.

It is the loader /usr/bin/pvrsrvctl that seems to be looking in the wrong place.

[Disclaimer - not an expert, just trying]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants