Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kernel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
abinade2
kernel
Commits
9f4e07cc
Commit
9f4e07cc
authored
7 years ago
by
abinade2
Browse files
Options
Downloads
Patches
Plain Diff
added info to buglog
parent
7ac2068f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
student-distrib/buglog.txt
+64
-7
64 additions, 7 deletions
student-distrib/buglog.txt
with
64 additions
and
7 deletions
student-distrib/buglog.txt
+
64
−
7
View file @
9f4e07cc
░░░░░░░░▄▄██▀▀▀▀▀▀▀████▄▄▄▄░░░░░░░░░░░░░
░░░░░░░░▄▄██▀▀▀▀▀▀▀████▄▄▄▄░░░░░░░░░░░░░
░░░░░▄██▀░░░░░░░░░░░░░░░░░▀▀██▄▄░░░░░░░░
░░░░░▄██▀░░░░░░░░░░░░░░░░░▀▀██▄▄░░░░░░░░
░░░░██░░░░░░░░░░░░░░░░░░░░░░░░▀▀█▄▄░░░░░
░░░░██░░░░░░░░░░░░░░░░░░░░░░░░▀▀█▄▄░░░░░
...
@@ -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.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment