-
Notifications
You must be signed in to change notification settings - Fork 25
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
Islet-cli segfaults, when launched from /shared folder with rmm=islet #274
Comments
@bitboom @bokdeuk-jeong @jinbpark Could you confirm that the issue also occurs on your side? |
Sorry for the late response. Let me check this issue. |
I was able to reproduce the issue in my environment. $ /shared/rsictl attest --output=/shared/report # Success
$ /root/rsictl verify --input=/shared/report # Success
$ /shared/rsictl verify --input=/shared/report # Fail I think it would be beneficial to delve deeper into the matter by examining the memory management aspect of the region of the 9p system and MMIO. |
hello, I am facing different issue when using islet rmm, while doing attest using ./bin/rsictl attest -o token.bin facing below error :
dmesg : |
@p-sawicki2 Could you assign this recurring issue to one of your task members? |
@darshanp4 I'm not sure if your issue is the same as the described here. To make sure that it is not related to the 9p filesystem/rmm could you copy rsictl tool into the /root folder, run it from there and share the results? Also before running the tool, add printing of cmd code at Line 415 in ed25d9d
|
@p-sawicki2 yeah it doesn't seem to be issue related to 9p filesystem.
|
@darshanp4 OK, so we know that your issue is not related to that issue. I suppose that the user space library is out of sync with the rsi.ko driver. Could you, as I wrote earlier, add printing of the numerical value of the cmd argument?
|
|
@darshanp4 Thanks. Could you create a separate issue, then I'll assign someone from my team to check that? |
@p-sawicki2 thank you for your quick response, please check #350 and help to assign to someone. |
When islet-cli, or even independently built rsictl, is launched from /shared folder, both clients either segfault (islet-cli) or return error (rsictl) when parsing token. This concerns both attestation retrieval (using 'attest' command) and verification of token from file ('verify -i ').
This only happens when running fvp with --rmm=islet. In case of tf-rmm both commands work properly.
This is the output with errors (using Islet rmm):
When client is copied from /shared folder to root '/' folder (it can be done in runtime), then both commands work fine.
This seems to be a problem with 9p/virtio and memory management on the Realm side.
The text was updated successfully, but these errors were encountered: