Magnus Skjegstad

Results 34 comments of Magnus Skjegstad
trafficstars

Would you like to keep this open while you find the bug or should we merge? I you're (relatively) confident it's unrelated to the updated musl version I think we...

Yes, there's definitely an SMP issue here. I've added a few more commits to make it easier to debug: - enable SMP by default. We may want to add a...

I've experimented a bit more with this, but no solution yet. I'll include some notes below. @fwsGonzo do you think changes are required for tls/threads setup in addition to enabling...

I rebased on `v0.16.0-release` and reran the tests. The following tests are failing on this branch: step 5.9: nix-shell --argstr unikernel ./test/kernel/integration/smp/ --run ./test.py step 6.1: nix-shell --argstr unikernel ./test/net/integration/bufstore/...

With `SMP=OFF` there are other failures: step 5.10: nix-shell --argstr unikernel ./test/kernel/integration/term/ --run ./test.py step 6.2: nix-shell --argstr unikernel ./test/net/integration/configure/ --run ./test.py step 6.3: nix-shell --argstr unikernel ./test/net/integration/dns/ --run ./test.py...

The bufstore-test only fails when spinlocks are used - both scoped_spinlock and regular lock/unlock spinlocks will crash. Removing the alignment here fixes the issue: https://github.com/MagnusS/IncludeOS/blob/musl1-2-5/api/smp_utils#L28 If I add the alignment...

#2266 should fix the bufstore test. The SMP failure is likely due to this issue, but may be other issues as well: https://github.com/includeos/IncludeOS/issues/2268

I rebased on master and fixed the stack trace test to work with newer musl. With the latest fixes for SMP and the early calls into libc the tests are...

Perhaps some of the tests could be updated to run with `-netdev socket` and python scapy: https://john-millikin.com/improved-unix-socket-networking-in-qemu-7.2