-
Notifications
You must be signed in to change notification settings - Fork 30
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
Seg fault running Assise as local FS #5
Comments
cc'ing Waleed. Waleed, not sure if you get these messages automatically.
…On Wed, May 12, 2021 at 1:43 PM hayley-leblanc ***@***.***> wrote:
Hi folks,
I am trying to set up Assise to run as a local file system but I'm having
trouble getting it to run. I've been able to successfully build Assise,
configure storage, run mkfs, and start up the KernFS/SharedFS process. I
followed the instructions here
<https://github.com/hayley-leblanc/assise#running-as-a-local-filesystem>
to configure Assise to run as a single local file system. When I try to run
a program from libfs/tests (I've been using mkdir_user but have tried a
few others), the KernFS appears to segfault. I spent some time trying to
figure out where it might be occurring without much luck, although it
appears to occur before mkdir_user's main function actually runs.
I did make some small changes to Assise, although I don't think they are
the cause of the issue. I want to run Assise on a very small emulated PM
device (128 MB would be best, a couple GB at most) so I had to reduce the
number of inodes and the size of each LibFS's log in order to prevent
asserts from failing.
I'm running Assise on a QEMU/KVM virtual machine with 4 cores and Linux
kernel 5.1 and at 8GB of RAM. I've tried running it on 128MB, 1GB, 2GB, and
3GB of emulated PM and get the segmentation fault on all of them.
Thanks in advance for your help!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABHQBMQXDM6CRRNF5NZPKODTNLD2NANCNFSM44ZEXYRA>
.
|
I've added myself as a watcher, so I should be getting notifications. @hayley-leblanc : There's no need to disable the If you already did that, I'll likely need more context to know what might be causing this. Can you rerun KernFS in gdb and share the stack trace? You will need to first recompile KernFS with the -g flag. |
I double checked that I cleaned and rebuilt LibFS and KernFS, ran change_dev_size.py, re-ran mkfs.sh, etc. with the new configurations, but I'm still running into the issue. Here's the output from running KernFS in gdb:
And the stack trace:
|
It seems your segfault was due to an outdated Please pull and rebuild LibFS, KernFS, and the tests directory. Let me know if you're still having issues. |
Hi folks,
I am trying to set up Assise to run as a local file system but I'm having trouble getting it to run. I've been able to successfully build Assise, configure storage, run mkfs, and start up the KernFS/SharedFS process. I followed the instructions here to configure Assise to run as a single local file system. When I try to run a program from libfs/tests (I've been using
mkdir_user
but have tried a few others), the KernFS appears to segfault. I spent some time trying to figure out where it might be occurring without much luck, although it appears to occur beforemkdir_user
's main function actually runs.I did make some small changes to Assise, although I don't think they are the cause of the issue. I want to run Assise on a very small emulated PM device (128 MB would be best, a couple GB at most) so I had to reduce the number of inodes and the size of each LibFS's log in order to prevent asserts from failing.
I'm running Assise on a QEMU/KVM virtual machine with 4 cores and Linux kernel 5.1 and at 8GB of RAM. I've tried running it on 128MB, 1GB, 2GB, and 3GB of emulated PM and get the segmentation fault on all of them.
I also tried disabling the
DISTRIBUTED
compilation flag, but ran into build issues; I can post more details about that if I need to remove this flag to get things to work.Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: