-
Notifications
You must be signed in to change notification settings - Fork 71
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
Base0x10 patch 1 #389
Base0x10 patch 1 #389
Conversation
G++ is required and doesn't exist by default on all installations
VirtualBox requires ioapic to be enabled for the vcpus to have effect. without it, the number of CPUs is always 1.
g++ is required and does not come installed Rust toolchain is installed, set to nighly, and deps are installed
Looks like microboot was removed. Update documentation to not ref it, and instead point to kernel_test.sh
I dropped the ball on this, and you've since moved to docker. I presume that closing this is the correct course. I can reopen, if you want to work from here with the docker stuff. |
@gparmer would it be possible to reopen and merge this? I use vagrant and have to manually install g++ every time. Also it’s good to document the changed “default” runscript |
@Others Absolutely. I fixed the remaining merge conflict. Can you attest to this being good to go? I don't have the setup to test this. If you're good with it, it can be merged. |
By default vagrant provision scripts run as super user. Rust build system does not need priv to be installed. If it is installed as super user, it is installed in /root/.cargo and is inaccessable without sudo. Other commands within provision script were already using sudo
Swith vagrant provision script from super user to user
@gparmer Tested and works. kernel_tests.sh and unit_schedtests.sh both run successfully without reporting any issues. I didn't compare performance against baremetal or other virtualization platforms. Issue described below isn't blocking and doesn't seem to have to do with vagrant, but rather with rust nightly. I don't think it should block merging this PR, but up to you. @Others there is currently an issue with rust related to this issue. Does not prevent building or running the system without rust. I have attached the output: issue.txt |
I swear I pulled this a week ago? I need to go back through the records ;-( |
Thanks for this update!!! |
@base0x10 regarding the rust issue, did you use nightly? |
Summary of this Pull Request (PR)
This PR only updates some outdated documentation, and
fixes the vagrantscript
Intent for your PR
Choose one (Mandatory):
Reviewers (Mandatory):
(Specify @<github.com username(s)> of the reviewers. Ex: @user1, @user2)
@gparmer
@Others
Code Quality
There is no new code in this PR, only updates to docs and vagrantfile options
As part of this pull request, I've considered the following:
Style:
Code Craftsmanship:
Testing
I've tested the code using the following test programs (provide list here):
Tested that changes to vagrantfile work on a new install. Will require rebuilding
a vm to pass ioapic