New pages

Jump to navigation Jump to search
New pages
Hide registered users | Hide bots | Show redirects
  • 02:54, 16 March 2024COMP3000 Operating Systems W24: Tutorial 9 (hist | edit) ‎[8,902 bytes]Lianyingzhao (talk | contribs) (Created page with "By the end of this tutorial, you will have a basic familiarity with the Docker platform and be able to run, operate, and customize containers, and create simple containers of your own. You will see how kernel building blocks like namespaces make containers possible. ==General Instructions (same for all tutorials)== <div class="mw-collapsible mw-collapsed"> Click on Expand to view. <div class="mw-collapsible-content"> Tutorials are graded based on participation and effo...")
  • 03:36, 8 March 2024COMP3000 Operating Systems W24: Tutorial 8 (hist | edit) ‎[7,092 bytes]Lianyingzhao (talk | contribs) (Created page with "In this tutorial, you’ll be learning about how virtual addresses are mapped to physical addresses (the address translation) and continue to use kernel modules to extract information that only the kernel has access to. In particular, the kernel module performs a 5-level page table walk to find out the physical address corresponding to a userspace virtual address. In addition to what was discussed in the class, You can also read [https://en.wikipedia.org/wiki/Intel_5-lev...")
  • 22:07, 3 March 2024COMP3000 Operating Systems W24: Tutorial 7 Not Using SCS OpenStack (hist | edit) ‎[1,875 bytes]Lianyingzhao (talk | contribs) (Created page with "If you are not using our course VM for some reason, you might encounter problems and you can refer to the instructions below. Although they are by no means comprehensve to solve the problems, they can in many cases and serve as pointers about where to look. ==Modules fail to build== If you see errors (not just warnings) after running <tt>make</tt> and no <tt>.ko</tt> file is produced, you may have installed a version of Ubuntu that is too minimal. But you can fix it by i...")
  • 22:04, 3 March 2024COMP3000 Operating Systems W24: Tutorial 7 (hist | edit) ‎[9,137 bytes]Lianyingzhao (talk | contribs) (Created page with "In this tutorial you'll be learning about Linux kernel modules, part of which are device drivers. You’ll create several kernel modules and see how to interact with device drivers using special files (e.g., character device) and their file operations as an interface. You can also have a better understanding of special files by doing so. ==General Instructions (same for all tutorials)== <div class="mw-collapsible mw-collapsed"> Click on Expand to view. <div class="mw-...")
  • 04:00, 23 February 2024COMP3000 Operating Systems W24: Tutorial 6 (hist | edit) ‎[5,729 bytes]Lianyingzhao (talk | contribs) (Created page with "In this tutorial you will be learning about two implementations of the [https://en.wikipedia.org/wiki/Producer%E2%80%93consumer_problem producer-consumer problem], a classic example of a concurrency problem. The [http://pages.cs.wisc.edu/~remzi/OSTEP/ class textbook] covers concurrency in great detail in Chapters 25-34, and the producer-consumer problem is covered in [http://pages.cs.wisc.edu/~remzi/OSTEP/threads-cv.pdf Chapter 30 (Condition Variables)] and [http://pages...")
  • 03:39, 3 February 2024COMP3000 Operating Systems W24: Tutorial 5 (hist | edit) ‎[9,406 bytes]Lianyingzhao (talk | contribs) (Created page with "In this tutorial you will be learning about files and filesystems by experimenting with and extending [https://people.scs.carleton.ca/~lianyingzhao/comp3000/w24/tut5/3000test.c 3000test.c], and creating and manipulating local filesystems. '''WARNING:''' Several of the commands here can lead to system corruption and data loss if not properly used. You have been warned. Please use a VM and make backups, when necessary. '''Note: there are two parts of Tasks/Questions, Part...")
  • 23:40, 27 January 2024COMP3000 Operating Systems W24: Tutorial 4 (hist | edit) ‎[6,674 bytes]Lianyingzhao (talk | contribs) (Created page with "In this tutorial, you will learn about how user accounts and logging in work through exploring [https://people.scs.carleton.ca/~lianyingzhao/comp3000/w24/tut4/3000userlogin.c 3000userlogin.c]. You’ll also have a better understanding of the permission system and the shell/terminal environment. ==General Instructions (same for all tutorials)== <div class="mw-collapsible mw-collapsed"> Click on Expand to view. <div class="mw-collapsible-content"> Tutorials are graded ba...")
  • 23:15, 21 January 2024COMP3000 Operating Systems W24: Tutorial 3 (hist | edit) ‎[7,506 bytes]Lianyingzhao (talk | contribs) (Created page with "In this tutorial, you will be experimenting with and extending [https://people.scs.carleton.ca/~lianyingzhao/comp3000/w24/tut3/3000shell.c 3000shell.c], a proof-of-concept program to show you how a Linux shell works. Also, 3000shell's source code will be used as the basis for further modifications in upcoming assignments. ==General Instructions (same for all tutorials)== <div class="mw-collapsible mw-collapsed"> Click on Expand to view. <div class="mw-collapsible-conte...")
  • 02:55, 13 January 2024COMP3000 Operating Systems W24: Tutorial 2 (hist | edit) ‎[10,071 bytes]Lianyingzhao (talk | contribs) (Created page with "In this tutorial, you will revisit the lifecyle of a program, from source code, to an executable (binary image), and further to loading it into the address space. Then from a different angle, you can see when in execution, how the program (now a process) makes different types of calls to function, and how its memory is laid out. Meanwhile, we can also see how a programmer can make use of existing code (libraries). ==General Instructions (same for all tutorials)== <div...")
  • 15:01, 5 January 2024COMP3000 Operating Systems W24: Downloading files from your Openstack VM (hist | edit) ‎[2,471 bytes]Lianyingzhao (talk | contribs) (Created page with "You will need to transfer files between the Openstack VM and your own PC from time to time, for example, when submitting your tutorial/assignment work. As your laptop/desktop does not have a fixed IP the VM can connect to, it is always better to initiate the connection from your PC to the VM, which has a floating IP address associated. Here, you have a few options depending on your situation. Choose one that works for you or feel free to use other alternatives. ==Using...")
  • 14:38, 5 January 2024COMP3000 Operating Systems W24: Connecting to SCS Openstack (hist | edit) ‎[1,915 bytes]Lianyingzhao (talk | contribs) (Created page with "If you want to access the openstack environment during a video call (or when watching a movie online), please do not leave the Carleton VPN connected. You may also want to avoid your personal online activities going through the VPN or just simply need more convenience. Here are some alternative options. The instructions below assume you have created your VM instance with the VPN. Remember to replace <***> with your actual values. ==ProxyJump== <span style="color:#0000f...")
  • 04:04, 5 January 2024COMP3000 Operating Systems W24: Tutorial 1 (hist | edit) ‎[13,873 bytes]Lianyingzhao (talk | contribs) (Created page with "This first tutorial will prepare you for subsequent tutorials. You will familiarize yourself with the OS environment and, in particular, learn the basics of command-line interaction in Linux (Ubuntu). ==General Instructions (same for all tutorials)== <div class="mw-collapsible mw-collapsed"> Click on Expand to view. <div class="mw-collapsible-content"> Tutorials are graded based on participation and effort ('''so no need to struggle to have the “correct” answers...")
  • 03:27, 5 January 2024COMP3000 Operating Systems W24: Openstack Instructions (hist | edit) ‎[1,464 bytes]Lianyingzhao (talk | contribs) (Created page with "You can create a VM instance on the [https://carleton.ca/scs/tech-support/scs-open-stack/ SCS openstack] cluster for the tutorials, by doing the following: (obvious steps are skipped) # [https://carleton.ca/its/help-centre/remote-access/ Connect to Carleton's VPN]. # Log in to [https://openstack-stein.scs.carleton.ca/ https://openstack-stein.scs.carleton.ca/] # Most of you would need to refresh your SCS account to have the right entitlements for our course (or you may...")
  • 04:37, 24 December 2023COMP3000 Operating Systems 2024W (hist | edit) ‎[7,445 bytes]Lianyingzhao (talk | contribs) (Created page with "'''Note: this page's purpose is to host publicly available material linked from Brightspace. Please use Brightspace as the primary source of information to stay updated.''' ==Course Outline== Aside from in Brightspace, you can also find it [https://service.scs.carleton.ca/sites/default/files/course_outlines/outline_comp3000-w23-dec25.pdf here]. ⚠️ For all submissions (regardless of whether collaboration is allowed), the answers must be your own words. Any answers c...")
  • 22:09, 24 October 2023COMP3000 Operating Systems F23: Tutorial 9 (hist | edit) ‎[7,565 bytes]Abdou (talk | contribs) (Created page with "By the end of this tutorial, you will have a basic familiarity with the Docker platform and be able to run, operate, and customize containers, and create simple containers of your own. You will see how kernel building blocks like namespaces make containers possible. ==General Instructions (same for all tutorials)== <div class="mw-collapsible mw-collapsed"> Click on Expand to view. <div class="mw-collapsible-content"> Tutorials are graded based on participation and effo...")
  • 21:50, 24 October 2023COMP3000 Operating Systems F23: Tutorial 8 (hist | edit) ‎[5,760 bytes]Abdou (talk | contribs) (Created page with "In this tutorial, you’ll be learning about how virtual addresses are mapped to physical addresses (the address translation) and continue to use kernel modules to extract information that only the kernel has access to. In particular, the kernel module performs a 5-level page table walk to find out the physical address corresponding to a userspace virtual address. In addition to what was discussed in the class, You can also read [https://en.wikipedia.org/wiki/Intel_5-lev...")
  • 21:37, 24 October 2023COMP3000 Operating Systems F23: Tutorial 7 Not Using SCS OpenStack (hist | edit) ‎[1,517 bytes]Abdou (talk | contribs) (Created page with "If you are not using our course VM for some reason, you might encounter problems and you can refer to the instructions below. Although they are by no means comprehensve to solve the problems, they can in many cases and serve as pointers about where to look. ==Modules fail to build== If you see errors (not just warnings) after running <tt>make</tt> and no <tt>.ko</tt> file is produced, you may have installed a version of Ubuntu that is too minimal. But you can fix it by i...")
  • 21:30, 24 October 2023COMP3000 Operating Systems F23: Tutorial 7 (hist | edit) ‎[7,981 bytes]Abdou (talk | contribs) (Created page with "In this tutorial you'll be learning about special files and Linux kernel modules, part of which are device drivers. You’ll create several kernel modules and see how to interact with device drivers using special files (e.g., character device) and their file operations as an interface. ==General Instructions (same for all tutorials)== <div class="mw-collapsible mw-collapsed"> Click on Expand to view. <div class="mw-collapsible-content"> Tutorials are graded based on pa...")
  • 21:05, 24 October 2023COMP3000 Operating Systems F23: Tutorial 6 (hist | edit) ‎[4,284 bytes]Abdou (talk | contribs) (Created page with "In this tutorial you will be learning about two implementations of the [https://en.wikipedia.org/wiki/Producer%E2%80%93consumer_problem producer-consumer problem], a classic example of a concurrency problem. The [http://pages.cs.wisc.edu/~remzi/OSTEP/ class textbook] covers concurrency in great detail in Chapters 25-34, and the producer-consumer problem is covered in [http://pages.cs.wisc.edu/~remzi/OSTEP/threads-cv.pdf Chapter 30 (Condition Variables)] and [http://pages...")
  • 20:47, 24 October 2023COMP3000 Operating Systems F23: Tutorial 5 (hist | edit) ‎[7,859 bytes]Abdou (talk | contribs) (Created page with "In this tutorial you will be learning about files and filesystems by experimenting with and extending [https://people.scs.carleton.ca/~lianyingzhao/comp3000/w23/tut5/3000test.c 3000test.c], and creating and manipulating local filesystems. '''WARNING:''' Several of the commands here can lead to system corruption and data loss if not properly used. You have been warned. Please use a VM and make backups, when necessary. '''Note: there are two parts of Tasks/Questions, Part...")
  • 16:46, 24 October 2023COMP3000 Operating Systems F23: Tutorial 4 (hist | edit) ‎[5,290 bytes]Abdou (talk | contribs) (Created page with "In this tutorial, you will learn about how user accounts and logging in work through exploring [https://people.scs.carleton.ca/~lianyingzhao/comp3000/w23/tut4/3000userlogin.c 3000userlogin.c]. You’ll also have a better understanding of the permission system and the shell/terminal environment. ==General Instructions (same for all tutorials)== <div class="mw-collapsible mw-collapsed"> Click on Expand to view. <div class="mw-collapsible-content"> Tutorials are graded ba...")
  • 09:45, 9 October 2023COMP3000 Operating Systems F23: Tutorial 3 (hist | edit) ‎[5,863 bytes]Abdou (talk | contribs) (Created page with "In this tutorial, you will be experimenting with and extending [https://people.scs.carleton.ca/~lianyingzhao/comp3000/w23/tut3/3000shell.c 3000shell.c], a proof-of-concept program to show you how a Linux shell works. Also, you will be learning to read and modify C code, which prepares you for subsequent tutorials and assignments. ==General Instructions (same for all tutorials)== <div class="mw-collapsible mw-collapsed"> Click on Expand to view. <div class="mw-collapsib...")