Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ulloa@rice15:~/pintos-cs140/src/userprog$ pintos --filesys-size=2 -p ../examples/echo -a echo -- -f -q run 'echo dog cat'
- Copying ../examples/echo to scratch partition...
- squish-pty bochs -q
- ========================================================================
- Bochs x86 Emulator 2.6.2
- Built from SVN snapshot on May 26, 2013
- Compiled on Jan 3 2019 at 12:00:35
- ========================================================================
- 00000000000i[ ] reading configuration from bochsrc.txt
- 00000000000e[ ] bochsrc.txt:8: 'user_shortcut' will be replaced by new 'keyboard' option.
- 00000000000i[ ] installing nogui module as the Bochs GUI
- 00000000000i[ ] using log file bochsout.txt
- PiLo hda1
- Loading..........
- Kernel command line: -f -q extract run 'echo dog cat'
- Pintos booting with 4,096 kB RAM...
- 383 pages available in kernel pool.
- 383 pages available in user pool.
- Calibrating timer... 164,200 loops/s.
- hda: 5,040 sectors (2 MB), model "BXHD00011", serial "Generic 1234"
- hda1: 173 sectors (86 kB), Pintos OS kernel (20)
- hda2: 4,096 sectors (2 MB), Pintos file system (21)
- hda3: 82 sectors (41 kB), Pintos scratch (22)
- filesys: using hda2
- scratch: using hda3
- Formatting file system...done.
- Boot complete.
- Extracting ustar archive from scratch device into file system...
- Putting 'echo' into the file system...
- Erasing ustar archive...
- Executing 'echo dog cat':
- running: echo dog cat
- File name in start_process: echo
- echo dog cat
- strlen(echo) + null terminator: 5
- strlen(dog) + null terminator: 4
- strlen(cat) + null terminator: 4
- argc: 3
- args_buffer until first null term: echo
- Start: c0000000
- After pointer array: bffffff3
- Element most recently added to stack: echo
- Padding: 7
- After padding: bfffffec
- ESP TEMP: bffffff3
- (0)Copied pointer for echo as bffffff3 (bffffff3).
- (1)Copied pointer for dog as bffffff8 (bffffff8).
- (2)Copied pointer for cat as bffffffc (bffffffc).
- After adding pointers: bfffffe0
- Element most recently added to stack: bffffff3
- After argv: bfffffdc
- After argc: bfffffd8
- After ret addr: bfffffd4
- Stack setup successful
- Start address: 80480ec
- Stack pointer: bfffffd4
- Issue is not in palloc_free_page.
- echo dog cat
- echo dog cat: exit(0)
- Execution of 'echo dog cat' complete.
- Timer: 775 ticks
- Thread: 0 idle ticks, 689 kernel ticks, 89 user ticks
- hda2 (filesys): 59 reads, 168 writes
- hda3 (scratch): 81 reads, 2 writes
- Console: 1632 characters output
- Keyboard: 0 keys pressed
- Exception: 0 page faults
- Powering off..========================================================================
- Bochs is exiting with the following message:
- [ACPI ] ACPI control: soft power off
- ========================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement