-
Notifications
You must be signed in to change notification settings - Fork 27
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
Error at line 57, file /home/username/gddr6/lib/src/gddr6.c (1) [Operation not permitted] #29
Comments
Did you enable iomem=relaxed and run it with sudo? |
yes, I did everything in the description, didn't work, turns out it is a problem because we are trying to access /dev/mem which is locked by the kernel, had to recompile the kernel, and disabled secure boot, don't really know for sure which one of the two attempts did it, maybe it was both, but finally it worked. |
Getting the same error when running the gddr6 binary:
I verified that iomem ( I can provide additional information of the system if needed |
yeah, it is a deep hassle, my advice, just don't. |
Additional info from the kernel:
Looks like is related to UEFI secure boot
I'll test to disable secure boot and see if it works |
It was that!
|
With this Ubuntu kernel just the iomem=relaxed and secure boot disabled works, no kernel recompile required. Maybe this can be added in the README, I can create a PR @olealgoritme if you agree... |
@daniel-dona Yes, please create a PR that highlights necessary UEFI Secure Boot setting in the README. Thank you! |
the code fails at this point everytime I try to run it
The text was updated successfully, but these errors were encountered: