MIT 6.828 JOS Environment configuration

Source: Internet
Author: User
Tags git clone
MIT 6.828 JOS LAB1 Records

This semester just learning operating system courses, spare time is more abundant, so began to do the famous MIT 6.828 operating system Course lab.

It must be a long journey, and it just started. Environment Construction GIT from MIT

Because it was the first lab, we had to prepare something beforehand. Information on this course can be obtained through Git, as follows:

athena% mkdir ~/6.828
athena% cd ~/6.828
athena% add git
athena% git clone https://pdos.csail.mit.edu/6.828 /2014/jos.git Lab
cloning into lab
... athena% CD Lab

The Athena above is an internal MIT environment, so don't worry, we can download it.

Tips: If you and I have a git failure, the following is the case:

tommy@ubuntu:~$ git clone https://pdos.csail.mit.edu/6.828/2014/jos.git lab
cloning into ' lab '
... Fatal:unable to access ' https://pdos.csail.mit.edu/6.828/2014/jos.git/': Server certificate verification failed. Cafile:/etc/ssl/certs/ca-certificates.crt Crlfile:none

Then there is a certificate problem "1" because your computer does not trust the server you want to git. (The basic reason is this your computer doesn ' t trust the certificate Authority that signed the certificate used on the G Itlab server. ) plus an environment variable, execute:

$ Export Git_ssl_no_verify=1

You can have it:-D. INSTALL QEMU

This experiment was done using a patched qemu from MIT, or (supposedly) unable to debug something. The official guidelines are as follows: Git clone https://github.com/geofft/qemu.git-b 6.828-1.7.0 on Linux, and you could need to install the SDL DEVELOPME NT libraries to get a graphical VGA window. On Debian/ubuntu, this is the Libsdl1.2-dev package. Linux:./CONFIGURE–DISABLE-KVM [–PREFIX=PFX] [–target-list= "I386-softmmu X86_64-softmmu"]
OS X:./configure–disable-kvm–disable-sdl [–PREFIX=PFX] [–target-list= "I386-softmmu X86_64-softmmu"]
Tips:the prefix argument specifies where to install QEMU; Without it QEMU would install to/usr/local by default. The target-list argument simply slims down the architectures QEMU would build support for. make and then do install but . In fact, you need to put a lot of things in advance, this link will certainly help you, please be sure to step by step follow the link to all the configuration. and first replace the Linux source with the official source/(ㄒoㄒ)/~~, don't ask me Why, the blood lesson.

Then all the resources needed for LAB1 are ready:-D

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.