-
-
Notifications
You must be signed in to change notification settings - Fork 605
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 with syscall 318 for gem5 in syscall mode SE, when executing with a multi agent reinforcement learning algorithm #161
Comments
You need to have a look at the compilation error closely, there should be something above the lines you gave that explains the problem better. Try to do something more similar to other nearby lines above. |
Hello cirosantilli, I'm not sure if the importing of getrandom function is correct or if you can point me to any resources that can help in integrating the getrandom function to gem5, that would be a great help. |
I'm trying to execute a python algorithm (https://github.com/shariqiqbal2810/maddpg-pytorch) on gem5 in se mode in X86. But, at first I got an error syscall 318 out of range. So, I tried to import the get random function into the syscalltlb64 source code, like this:
{ 313, "finit_module" },
{ 314, "sched_setattr" },
{ 315, "sched_getattr" },
{ 316, "renameat2" },
{ 317, "seccomp" },
{ 318, "getrandom"},
{ 319, "memfd_create" },
{ 320, "kexec_file_load" },
{ 321, "bpf" },
I'm trying to execute a python algorithm (https://github.com/shariqiqbal2810/maddpg-pytorch) on gem5 in se mode in X86. But, at first I got an error syscall 318 out of range. So, I tried to import the get random function into the syscalltlb64 source code, like this:
{ 313, "finit_module" },
{ 314, "sched_setattr" },
{ 315, "sched_getattr" },
{ 316, "renameat2" },
{ 317, "seccomp" },
{ 318, "getrandom"},
{ 319, "memfd_create" },
{ 320, "kexec_file_load" },
{ 321, "bpf" },
Again, I got an error saying syscall 318 unimplemented. So, I just did:
{ 318, "getrandom", getrandomFunc},
Again, the problem continues as I got an error saying:
Can anyone help me how to solve this problem?
Note: My linux kernel version is 5.4.0-88-generic and I'm using ubuntu 20.04 LTS.
Thanks for the help
The text was updated successfully, but these errors were encountered: