Skip to content

Instantly share code, notes, and snippets.

@shahzore-qureshi
Created May 1, 2013 03:38
Show Gist options
  • Select an option

  • Save shahzore-qureshi/5493605 to your computer and use it in GitHub Desktop.

Select an option

Save shahzore-qureshi/5493605 to your computer and use it in GitHub Desktop.
Lab 4 Output
[qureshs1@bart project4]$ make qemu
qemu -smp 2 -hda obj/kern/kernel.img -serial mon:stdio -k en-us -m 1100M
trap_check_kernel() succeeded!
Physical memory: 66556K available, base = 640K, extended = 65532K
spinlock_check() succeeded!
pmap_check() succeeded!
testfs: in main()
initfilecheck: found file 'consin' mode 0x9000 size 0
initfilecheck: found file 'consout' mode 0x1000 size 0
initfilecheck: found file '/' mode 0x2000 size 0
initfilecheck: found file 'sh' mode 0x1000 size 76408
initfilecheck: found file 'ls' mode 0x1000 size 54703
initfilecheck: found file 'echo' mode 0x1000 size 45211
initfilecheck: found file 'cat' mode 0x1000 size 47708
initfilecheck: found file 'wc' mode 0x1000 size 54171
initfilecheck: found file 'testfs' mode 0x1000 size 88821
initfilecheck: found file 'testvm' mode 0x1000 size 62219
initfilecheck passed
readwritecheck passed
seekcheck passed
readdircheck: found file 'consin' mode 0x9000 size 0
readdircheck: found file 'consout' mode 0x1000 size 0
readdircheck: found file '/' mode 0x2000 size 0
readdircheck: found file 'sh' mode 0x1000 size 76408
readdircheck: found file 'ls' mode 0x1000 size 54703
readdircheck: found file 'echo' mode 0x1000 size 45211
readdircheck: found file 'cat' mode 0x1000 size 47708
readdircheck: found file 'wc' mode 0x1000 size 54171
readdircheck: found file 'testfs' mode 0x1000 size 88821
readdircheck: found file 'testvm' mode 0x1000 size 62219
readdircheck passed
Buffered console output should NOT have appeared yet
conscheck: write() to STDOUT_FILENO
conscheck: fprintf() to 'stdout'
conscheck: fprintf() to 'consout' file
Buffered console output SHOULD have appeared now
123456789
consoutcheck done
Enter something: test
You typed: test
consincheck done
called by execcheck
execcheck done
user warning at lib/fork.c:317: There is a parent/child inode file conflict here: reconcilefileC (14/14)
user panic at user/cat.c:42: can't open reconcilefileC: Conflict detected
reconcilecheck: basic file reconciliation successful
forkwrite: reconcilefile0
forkwrite: reconcilefile1
forkwrite: reconcilefile2
- 5 consin
- 249 consout
d 0 /
- 76408 sh
- 54703 ls
- 45211 echo
- 47708 cat
- 54171 wc
- 88821 testfs
- 62219 testvm
- 26 reconcilefile0
- 26 reconcilefile1
- 26 reconcilefile2
C 26 reconcilefileC
reconcilecheck: running echo
reconcilecheck: echo running
called by reconcilecheck
reconcilecheck: echo finished
reconcilecheck done
testfs: all tests completed; starting shell...
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment