5 - Suggest where to start in each assignment?
11 - Many students thought this was by far the hardest. What can we do
12 to make it a little easier?
14 Move `join' part to project 2?
16 - Students don't understand that they'll need to read lots of code
17 before they can start writing.
19 - Students think data structures are more important than they really
20 are. Say that clever data structures won't get you too much extra
21 credit compared to simpler ones. Really bad or "stupid" data
22 structures might cost points though.
24 - Some students would appreciate more discussion of nitty-gritty
27 Finally, by doing pintos, an x86 OS, I was hoping to gain some
28 knowledge about how an X86 OS really works. Instead we ended up
29 banging on a black box with magical ASM that would pop up in gdb
30 when we had memory corruption. While one could make the argument
31 that this is too much application over theory, I feel like the
32 theory of OS/140 is application oriented enough that going over
33 what an x86 OS really does would not be harmful or
34 unacademic. What's in those first few bytes to bootstrap the OS?
35 How does it find a kernel that is scattered across a filesystem
36 that the bootloader/computer knows nothing about. How does I/O
37 initiailization works? What is that magic about transforming a
38 thread into a process? I have absolutely no idea.
40 This feeling of not having a better grasp of OS/low-level
41 programming is something I can't shake, but that I'm not sure how
42 one would be rectified. How on earth did pintos get written in ~2
43 months? I'm again at a loss.
45 - printf()s can fail in weird circumstances. Should we try adding
46 code for using the special output port, which doesn't need any
51 - Students thought project 2 was especially easy. Reduce amount of
52 time to allow more time for another project? Add something to do
53 with the page table? Move `join' functionality here from project
58 - One student suggestion:
60 Second point of confusion: the difference between kernel address
61 space and actual physical addresses (kernel address minus
62 PHYS_BASE). It seemed weird that the functions to access
63 pagedir entries used kernel virtual addresses instead of
64 physical addresses. We eventually realized that when the
65 assignment refers to the virtual-to-physical translations that
66 we're supposed to do, 'physical' actually means 'kernel virtual'
67 (or a location on disk). A sentence or two clearing up this
68 ambiguity would have been helpful.
72 - A fair number of students thought this was the hardest project.
73 Perhaps we could add some notes about where to start?
78 3) This is probably an "unsupported" configuration, however I'll point
79 it out anyway. Running user programs under Pintos compiled on my
80 desktop I get the following warning:
82 unknown ELF segment type 65041580
84 If you look at /usr/include/elf.h you will find:
86 #define PT_LOOS 0x60000000 /* Start of OS-specific */
88 It would appear that elf segments starting with this program header
89 are "OS-specific" My Occam's Razor explanation here is that the
90 segment holds the bits to configure the stack protection features in
93 gcc version is: gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1,
94 ssp-3.3.2-2, pie-8.7.6)
96 This probably means that we should provide a linker script that leaves