Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile error : chmod: cannot access '/dev/qcuda': No such file or directory #7

Open
SusmitaDey opened this issue Jul 28, 2022 · 2 comments

Comments

@SusmitaDey
Copy link

SusmitaDey commented Jul 28, 2022

I am trying to "make" the "qcu-driver", it throws me below error

vm2@vm2:~/test_appl/src/qCUDA-master/qcu-driver$ make i
[sudo] password for vm2: 
sudo rmmod qcuda
sudo dmesg -C
sudo insmod qcuda.ko
sudo chmod 666 /dev/qcuda
chmod: cannot access '/dev/qcuda': No such file or directory
Makefile:25: recipe for target 'i' failed
make: [i] Error 1 (ignored)

Do I have to make a device file name "qcuda" in /dev directory, if Yes, then what should be the parameters??
I understand that the source code is using misc device to create a device file in /dev directory. Just for the info, the kernel module qcuda.ko is created and launched without fail. However the misc device "qcuda" is not created in /dev directory. @coldfunction @rlmh @ginsongsong @good5dog5

@66RING
Copy link

66RING commented Oct 22, 2022

@SusmitaDey You need to add the -device virtio-qcuda-pci parameter

@alvin008
Copy link

alvin008 commented Mar 7, 2023

@SusmitaDey You need to add the -device virtio-qcuda-pci parameter

Hi, what the parameter should be? I have used '-device virtio-qcuda-pci' without any parameter, but can not found the device in the guest os with command lspci.

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

No branches or pull requests

3 participants