Skip to content
Snippets Groups Projects
Commit 9f4e07cc authored by abinade2's avatar abinade2
Browse files

added info to buglog

parent 7ac2068f
No related branches found
No related tags found
No related merge requests found
░░░░░░░░▄▄██▀▀▀▀▀▀▀████▄▄▄▄░░░░░░░░░░░░░ ░░░░░░░░▄▄██▀▀▀▀▀▀▀████▄▄▄▄░░░░░░░░░░░░░
░░░░░▄██▀░░░░░░░░░░░░░░░░░▀▀██▄▄░░░░░░░░ ░░░░░▄██▀░░░░░░░░░░░░░░░░░▀▀██▄▄░░░░░░░░
░░░░██░░░░░░░░░░░░░░░░░░░░░░░░▀▀█▄▄░░░░░ ░░░░██░░░░░░░░░░░░░░░░░░░░░░░░▀▀█▄▄░░░░░
...@@ -21,23 +20,81 @@ ...@@ -21,23 +20,81 @@
Checkpoint 1: Checkpoint 1:
Send_EOI logic RTC not interrupting multiple times
- Basic logic mistake in SEND_EOI function for PIT - Basic logic mistake in SEND_EOI function for PIT
Keyboard handler didn't return to correct place
- Didn't know about the need for wrappers. Added keyboard handler assembly
Keyboard handler didn't return to correct place Several Page Faults
- Didn't know about the need for wrappers. Easy fix Fixed by initializing paging correctly.
Checkpoint 2: Checkpoint 2:
Page fault when filling buffer
Off by one error in condition checking.
Not able to read very large file
Mistakenly assumed that datablocks are contiguous (RTDC!)
Not able to read next file when reading directory
- Not updating file position
RTC Interrupting too fast
RTC Write flawed logic, interrupting setting frequency
Checkpoint 3: Checkpoint 3:
Can not return to parent program when halt
Storing the esp ebp on a designate function instead of storing inside of execution syscall function
Can not accessing PCB according to the hand calculated address
Copied PCB to the wrong memory address (at the end of the stack instead of at the beginning)
Not entering the program correctly and causing paging fault
Entry point calculation error
Page faulting on spamming keyboard
Caused by a buffer overflow
Shell restarting after halting everytime
Not distinguishing between root shell and user shell
No command would run
Error in parsing function
OS would triple fault when doing halt
Caused by off by one error in syscall jumptable. Solution was to decrement eax.
Checkpoint 4: Checkpoint 4:
Fish frame 2 does not appear correctly
- Clearing the entire buffer instead of single character in read_file.
Wrong output when pressing alt in terminal
Simple error checking condition needed
Wrong output of pingpong - an additional newline was printed
Deleted \n at the end of buffer and printed it instead.
Checkpoint 5: Checkpoint 5:
Fish stops running after running counter or pingpong concurrent and swtich
Displaying the contents of one terminal on another (leaking to other terminals)
Created enter_flag array for each terminal, enter key was being read by all terminals therefore pressing enter in all terminals.
Fish stops running after running counter or pingpong concurrent and switch
back and forth back and forth
- mistakenly use visible_terminal instead of running_terminal - mistakenly use visible_terminal instead of running_terminal
Characters oddly disappearing from terminal screen when typing Characters oddly disappearing from terminal screen when typing
- Not flushing TLB! - Needed paging remaping and TLB flushing
Exceptions handled but would get stuck
Fix: needed to squash user program after exception happened.
Shell would not print starting prompt when initialized
Fixed by adjusting clear to clear correct video memory.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment