Skip to content

DKU-EmbeddedSystem-Lab/2022_DKU_OS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

2022_DKU_OS

This is a place for studying Operaing System in Dankook University.

  • Professor : Jongmoo Choi
  • Assistant : Hojin Shin (Email : [email protected])
  • 2022 DKU Operating System Course Information link

Download Environment

Virtual Machine Platform: VirtualBox 6.1.32

VirtualBox Download Link

Windows Subsystem for Linux Install Guide (WSL)

WSL Install Guide Link

Operating System: Ubuntu 20.04

This environment is based on VirtualBox 6.1.32 If image execution is not possible, we recommend reinstalling VirtualBox 6.0 version.

Virtual Box 6.0 Link

Clone Git Repository

git clone https://github.com/DKU-EmbeddedSystem-Lab/2022_DKU_OS.git

If you get an error there are no commands, install git with following command :

sudo apt-get install git

Lab0

lab0 contains information about installing a virtual machine and Ubuntu.

Set the environment according to the documentation.

The documentation for lab0 is at the link below.

The OS image to use for preferences is also on the link below.

Documentation for conducting the assignment can be found at following link :

Lab0 Document Link

DKU OS Image Download Link Link

Root password : 1234

If you have an error, you must check VirtualBox version check(6.1.18). If not, you reinstall VirtualBox.

Lab1

If you want to proceed to Lab1, go to command below :

cd lab1_sched

make

./lab1_sched

Document for conducting the assignment can be found at following link :

Lab1 Document Link

Lab2

See the documentation for details.

cd lab2_sync

make

Eample) ./lab2_sync -t=4 -c=1000000 -l=0

Meaning) -t (number of thread) -c (number of data) -l (lock type)

Document for conducting the assignment can be found at following link :

Lab2 Document Link

Lab3

You must be use VirtualBox(Ubuntu Linux Env), not WSL!!

Something problem in Ubuntu Image which i provided.

New Ubuntu Image Upload : Lab3 Image Link

Password : 1234

VirtualBox image is upload at above.

If you want for proceed to Lab3, go to command below :

cd lab3_filesystem

make

insmod ramdisk.ko

mkfs.ext2 /dev/ramdisk

mkdir mnt

mount /dev/ramdisk ./mnt

./create.sh

./apd mnt/A/BC 13 A/BC-13        //A, B, C is your last 3 digit of you student ID : 32XXXABC

./apd mnt/A/CB 13 A/CB-13        //A, B, C is your last 3 digit of you student ID : 32XXXABC

Then you can proceed Lab3

If you want to proceed to Lab3-Bounus, go to command below:

umount /dev/ramdisk

rmmod ramdisk

insmod ramdisk.ko

cd os_ext2        //Change the source code

make

insmod os_ext2.ko

mkfs.ext2 /dev/ramdisk

mount -t os_ext2 /dev/ramdisk ../mnt

dmesg | grep [YOUR_NAME]

See the document for details.

Lab3 Document Link

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages