code: 38, kind: Unsupported #1453
Replies: 6 comments 13 replies
-
This shouldn't happen... I suggest to remove all Docker images. Maybe you have some dangling old Docker images, and the GSC-built image wasn't rebuilt? I strongly suggest to build and run with Btw, you don't need to specify
This error means that some system call is not implemented in Gramine. It's sad that your Rust workload doesn't print which syscall exactly, but you'll find it in the Gramine logs. |
Beta Was this translation helpful? Give feedback.
-
wasmtime is doing some mmap tricks, when compiled with the "pooling-allocator" rust feature My recommendation is to turn that feature off. Additionally to avoid let mut config = wasmtime::Config::new();
config.memory_init_cow(false); and for a while without EDMM we had: let mut config = wasmtime::Config::new();
config.wasm_multi_memory(true);
config.static_memory_maximum_size(0);
config.static_memory_guard_size(0);
config.dynamic_memory_guard_size(0);
config.dynamic_memory_reserved_for_growth(16 * 1024 * 1024); These have to be changes in the wasmtime binary itsself or the runtime using the wasmtime crate. |
Beta Was this translation helpful? Give feedback.
-
If it was caused by what @haraldh hinted, I think Pls kindly try running with e.g., |
Beta Was this translation helpful? Give feedback.
-
Thank you for the help @haraldh and @kailun-qin, However no luck yet,
Regarding the flags use_pooling and use_cow on the link you provided @kailun-qin I understand that the instantiation method will differ, but it seems like its not using any of the following configurations, describe below, which apparently are being used by @haraldh when not using EDMM - which in fact I am also not using (currently, I have: sgx.edmm_enable = false).
Let me know if you have any other suggestions, |
Beta Was this translation helpful? Give feedback.
-
@kailun-qin
I can't increase the enclave_size more as the host ram is only 32GB, size of EPC section in Processor Reserved Memory, 16384 M Don't know what else to try, |
Beta Was this translation helpful? Give feedback.
-
Hello @dimakuv, as feedback below: the EDMM feature with increasing memory to match the RAM of the host helped removing the previous error. Having EDMM enabled and enclave_size 32G helped, but now a new problem arised, which I believe it's the real blocker, and won't be able to proceed anymore, but would require confirmation from you or someone if possible. Here is the error: Can't listen on /ip6/::/tcp/30333 because: Other(Custom { kind: Other, error: Custom { kind: Other, error: Other(Left(Left(Left(Left(Right(Transport(Os { code: 97, kind: Uncategorized, message: "Address family not supported by protocol" }))))))) } }) Doing a quick search I found this: And I am wondering, if my error is related to the fact that netlink sockets are not supported in Gramine. Thank you! |
Beta Was this translation helpful? Give feedback.
-
Hello there, I am trying to run another docker container image in GSC and having the following output on the container logs:
The docker image that I am graminizing has a few files that must exist on the final gsc image.
I am wondering, if some file is not being found...
The docker image when running contains the following folder/files structure
/app-bin
/app/ -> multiple files inside
/appconfig/ -> multiple files inside
I tried using gsc build -d such that I would get all the logs, but even using that, log output on top is everything I got.
The base image dockerfile I am trying to graminize is using Rust, and after doing some search here on gramine issues, it can be possible that some semaphores functionality might be causing the issue I am seeing? [link]
Below you can also find my current manifest file:
Any clues what can be the problem here? or shed me some light into the issue?
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions