Skip to content
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

RFC: linux: add linux rump kernel build #93

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thehajime
Copy link

@thehajime thehajime commented Mar 16, 2017

**Please don't merge as-is **
This is to ask your comment on an extension to support Linux kernel as a rump kernel.
(and the update of #65)

This commit requires the PR rumpkernel/buildrump.sh#78.

build-rr.sh adds new -r option to switch what rump kernel is used:
NetBSD is the default one and add Linux one for the alternative in this
patch.

Although there are several limitations (listed below) in this stage,
this would be a first step toward supporting alternate rump kernel
across different ones.

Limitations:

  • no xen execution support (build should be fine)
  • no i486 build support
  • pthread is not properly implemented: tests are failed and uses
  • TLS is still not working
    TEST_LESS env for the minimum test
  • CXX is always false: CXX=false should be added to build linux rump
    kernel
  • no libz support
  • no cookfs (/rootfs) support
  • rumprun-packages needs more work: current test on travis is only build
    test and the executions might have various issues.

@thehajime thehajime force-pushed the lkl-rumprun-upstream branch 2 times, most recently from 57e4554 to b214dcd Compare March 26, 2017 01:24
@thehajime
Copy link
Author

Found a sweet spot for pthread support and the PR is updated, slightly reduces ifdefs and the pthread_test now passes. Still struggling on supporting TLS with musl libc.

I would love to ask any opinions on the patch in any aspects since the changes are a bit large.

@anttikantee
Copy link
Member

Review process is documented here:
http://rumpkernel.org/contrib.html

@thehajime
Copy link
Author

@anttikantee thanks, will get back at the list.

@thehajime thehajime force-pushed the lkl-rumprun-upstream branch 3 times, most recently from 13dc908 to 39841d7 Compare March 30, 2017 01:14
@thehajime thehajime force-pushed the lkl-rumprun-upstream branch 5 times, most recently from 5995ebe to 552fc55 Compare April 14, 2017 08:49
@thehajime thehajime force-pushed the lkl-rumprun-upstream branch 5 times, most recently from 91d91aa to fb08e11 Compare May 1, 2017 05:03
@thehajime thehajime force-pushed the lkl-rumprun-upstream branch 2 times, most recently from 2a8a33f to c05b187 Compare February 6, 2018 04:08
build-rr.sh adds new -r option to switch what rump kernel is used:
NetBSD is the default one and add Linux one for the alternative in this
patch.

Although there are several limitations (listed below) in this stage,
this would be a first step toward supporting alternate rump kernel
across different ones.

Limitations:
- no xen execution support (build should be fine)
- no i486 build support
- CXX is always false: CXX=false should be added to build linux rump
  kernel
- no libz support
- no cookfs (/rootfs) support
- rumprun-packages needs more work: current test on travis is only build
  test and the executions might have various issues.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants