Nachos Overview and Project 1. Nachos Introduction Official website

Slides:



Advertisements
Similar presentations
Introduction to Assembly language
Advertisements

Creating a Program In today’s lesson we will look at: what programming is different types of programs how we create a program installing an IDE to get.
Operating System Tracing the Nachos code in Java Instructor: Dr. Lee, Hahn-Ming. ( 李漢銘 教授 ) TA (Reporter): Mao, Ching-Hao 毛敬豪 Chen, Wei-Da 陳威達 2006/3/14.
Operating System Tracing the nachos code in Java
Bellevue University CIS 205: Introduction to Programming Using C++ Lecture 4: Enhancing Your Program.
Install Software in Ubuntu. Do you have Internet? Everything is on the Internet and Free!
1 Capstone projects supervised by Yinong Chen (1) Implementation of a Shell on Palm Hand Held Device (2) Building a Programmer’s Interface to the Palm.
Nachos Introduction CS Operating System 2007.
Programming Introduction November 9 Unit 7. What is Programming? Besides being a huge industry? Programming is the process used to write computer programs.
Build an Operating System
Nachos Introduction CS Operating System 2005.
Computer System Laboratory
Introduction to Software Testing (Paul deGrandis) [Reading assignment: Chapter 15, pp and notes by Paul deGrandis]
P51UST: Unix and Software Tools Unix and Software Tools (P51UST) Compilers, Interpreters and Debuggers Ruibin Bai (Room AB326) Division of Computer Science.
Parts of a Computer Why Use Binary Numbers? Source Code - Assembly - Machine Code.
The Network Management Lab pc pc pc pc pc Virtual Servers Your Laptop.
© Janice Regan, CMPT 128, Jan CMPT 128 Introduction to Computing Science for Engineering Students Creating a program.
1 Nachos Introduction Lecturer: Tei-Wei Kuo TA: Ya-Su Chen, Yuan-Hao chang Date: 2005/10/19.
Nachos Project 1 Start-up and System call
A few Linux basics Network Monitoring & Management.
LING 408/508: Programming for Linguists Lecture 3 August 31 st.
ABAQUS Installation on LINUX Platform D. Hanumanthappa, A. Jérusalem May 5th, 2010.
Nachos Projects Overview and Project 1 TA : 吳哲榮 2010/10/21.
Nachos Projects Overview and Project 1 TA : 王映智 2007/10/24.
1 What is a Kernel The kernel of any operating system is the core of all the system’s software. The only thing more fundamental than the kernel is the.
CS 444 Introduction to Operating Systems
Nachos Project Assignment 1 MultiprogrammingTA:mamafun.
ENEE150 – 0202 ANDREW GOFFIN Introduction to ENEE150.
A Short Course on Geant4 Simulation Toolkit How to learn more?
Nachos Overview 2011 级 OS 课程设计 2013 秋. to get your hands dirty Read and analyze Build observe.
Cole David Ronnie Julio Sam Littlefield. Let’s Begin  Globus Toolkit runs on Unix platform only  Install Ubuntu  download all updates for Ubuntu.
Crossworking using Wine and Cygwin Arjun Jain, R.V. College of Engineering, Bangalore.
Nachos Project 3.
1 Modeling the Shallow Water Equations with C and MPI LA-UR Approved for public release; distribution is unlimited Bob Robey.
Paris package: practical aspects Installation / presentation To run a simulation Analysis To add a new module to Paris Installation / presentation To run.
1. Introduction to Nachos Shandong University 2014 秋.
Nachos Project Assignment 1 Multi-programming TA: Hung-Leng Chen.
Introduction to Methods Shirley Moore CS 1401 Spring 2013 cs1401spring2013.pbworks.com April 1, 2013.
Nachos Overview Lecturer: Hao-Hua Chu TA: Chun-Po Wang (Artoo) Date: 2008/09/18 Material Provided by Yuan-Hao Chang, Yung-Feng Lu.
Intro to SPIM Justin Fiore Nathan Parish. Installing SPIM on Windows Download pcspim.zip from the SPIM website:
17/02/2016S. Ponce / EP-LBC1 Debugging Under Linux Sebastien Ponce Friday, 8 March 2002.
Lab 9 Department of Computer Science and Information Engineering National Taiwan University Lab9 - Debugging I 2014/11/4/ 28 1.
Compilers and Interpreters
Installing CUDA, PyCUDA on Ubuntu
ECE 544 Software Project 1 Kuo-Chun Huang (KC). Environment Linux (Ubuntu or others) Windows with Cygwin
Tutorial for Modelsim 1 Installation Download the Modelsim Student Edition: Follow the.
Geant4 Training 2003 A Short Course on Geant4 Simulation Toolkit How to learn more? The full set of lecture notes of this Geant4.
Introduction to Computer Programming Concepts M. Uyguroğlu R. Uyguroğlu.
DECTRIS Ltd Baden-Daettwil Switzerland Continuous Integration and Automatic Testing for the FLUKA release using Jenkins (and Docker)
MET4750 Techniques for Earth System Modeling MET 5990 Techniques for Earth System Modeling and Research (
Computer System Laboratory
Chapter 9 Managing Software
Bare metal OS project CSSE 332 Operating Systems
14 Compilers, Interpreters and Debuggers
MET4750 Techniques for Earth System Modeling
Install external command line softwares
Introduction to programming
Welcome to Linux Chap#1 Hanin Abdulrahman.
Implementation of Embedded OS
Computer System Laboratory
A Short Course on Geant4 Simulation Toolkit How to learn more?
Setting up your DEV C++.
TRANSLATORS AND IDEs Key Revision Points.
Practice for Real Cases
A Short Course on Geant4 Simulation Toolkit How to learn more?
A Short Course on Geant4 Simulation Toolkit How to learn more?
Computer System Laboratory
Welcome to Linux Chap#1 Hanin Abdulrahman.
Welcome to Linux Chap#1.
Tools and Explanations for Mac Beginners
Presentation transcript:

Nachos Overview and Project 1

Nachos Introduction Official website Nachos is instructional software for teaching undergraduate, and potentially graduate, level operating systems courses The only difference between Nachos and a real operating system is that Nachos runs a Unix process, whereas a real operating system runs on a real machine. Nachos is simpler than UNIX. Simulator makes debugging easier. Deterministic

Nachos installation on Ubuntu (32bit) Download the Nachos package and the cross compiler package from Install g++ and csh sudo apt-get install g++ sudo apt-get install csh Untar packages tar –zxvf nachos-4.0.tar mv mips-x86.linux-xgcc.tar / tar –zxvf /mips-x86.linux-xgcc.tar Make cd ~/nachos-4.0/code make

Project 1 cd./userprog./nachos –e../test/test1 Print integer:9 Print integer:8 Print integer:7 Print integer:6./nachos –e../test/test2 Print integer:20 Print integer:21 Print integer:22 Print integer:23 Print integer:24 Print integer:25 The programs execute correctly

Project 1./nachos –e../test/test1 –e../test/test2 Print integer:9 Print integer:8 Print integer:7 Print integer:20 Print integer:21 Print integer:22 Print integer:23 Print integer:24 Print integer:6 Print integer:7 … The result is wrong. And we are going to fix it.

Trace code and fix the issue Trace the following files and find out why the result is wrong nachos-4.0/code/userprog/addrspace.h nachos-4.0/code/userprog/addrspace.cc nachos-4.0/code/userprog/userkernel.cc nachos-4.0/code/userprog/translate.h nachos-4.0/code/userprog/translate.cc After you fix the bug, recompile Nachos and see if the result is correct.

Hand in report Code tar zcvf b99xxxxxx.tar.gz./nachos-4.0 Report Why the result is not congruent with expected How you modified Nachos to make it support multiprogramming – important code segments Mail your code and report to Deadline Nov