-
Notifications
You must be signed in to change notification settings - Fork 16
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
Unable to handle page fault with program redis #30
Comments
What commit (and from which repo) did you use to create this kernel? gcc-9.4 is a little old, what distro did you use to build this? I have tested on Debian 11 & 12 and Ubuntu 22.04 but have not tested on older. |
Do I need to fetch the newest commit? Currently I build it on Ubuntu 20.04 with gcc-9. I can switch to Ubuntu 22.04 and there are gcc-10, gcc-11 and gcc-12 to choose from, which one do you recommend to use? |
You are free to try Ubuntu 20.04, I just have not but you will need the latest commits for ukl and for linux. |
I have updated ukl and linux and now I can see the redis logo but it still triggers a page fault. Good news is I can see the call trace now.
|
Sometimes redis can boot successfully and keep working for a while.
Test benchmark
But minutes later, redis occurred page faults again.
|
The page faults listed here are from secondary Redis threads that are used for replication or writing to storage and should not effect the results (we are looking into them but I don't have an ETA) I have also seen the scheduling while atomic failure before, but only on QEMU and only occasionally so I have not spent much time trying to track it down yet. I do most of my testing directly on hardware. |
I started testing on memcached. And I got the first error
So changed the username from NULL to "root" in memcached.c main Then I met page fault again
I tried to debug and guess this is the stack trace |
I first tested UKL with the program hello and every thing worked well. Then I tried to test with redis but failed because there is a page fault after launching the redis.
My gcc version is
9.4.0
and I added-no-pie
when compiling redis.The text was updated successfully, but these errors were encountered: