Created
October 6, 2011 16:47
-
-
Save scheibo/1267911 to your computer and use it in GitHub Desktop.
output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| t.o threadtest.o tt3.o synchtest.o malloctest.o fstest.o autoconf.o vers.o -o kernel | |
| cs350-size kernel | |
| text data bss dec hex filename | |
| 172440 480 7784 180704 2c1e0 kernel | |
| [ -d /u2/kjmscheibelhut/cs350-os161/root ] || mkdir /u2/kjmscheibelhut/cs350-os161/root | |
| cp kernel /u2/kjmscheibelhut/cs350-os161/root/kernel-ASST1 | |
| rm -f /u2/kjmscheibelhut/cs350-os161/root/kernel | |
| ln -s kernel-ASST1 /u2/kjmscheibelhut/cs350-os161/root/kernel | |
| 1%>linux028:~/cs350-os161/os161-1.11> cd ../root/ | |
| 1%>linux028:~/cs350-os161/root> sys161 -w kernel | |
| sys161: System/161 release 1.99.05, compiled Feb 4 2011 15:14:48 | |
| sys161: Waiting for debugger connection... | |
| sys161: New debugger connection | |
| OS/161 base system version 1.11 | |
| Copyright (c) 2000, 2001, 2002, 2003 | |
| President and Fellows of Harvard College. All rights reserved. | |
| Put-your-group-name-here's system version 0 (ASST1 #11) | |
| Hello World | |
| Cpu is MIPS r2000/r3000 | |
| 324k physical memory available | |
| Device probe... | |
| lamebus0 (system main bus) | |
| emu0 at lamebus0 | |
| ltrace0 at lamebus0 | |
| ltimer0 at lamebus0 | |
| hardclock on ltimer0 (100 hz) | |
| beep0 at ltimer0 | |
| rtclock0 at ltimer0 | |
| lrandom0 at lamebus0 | |
| random0 at lrandom0 | |
| lhd0 at lamebus0 | |
| lhd1 at lamebus0 | |
| lser0 at lamebus0 | |
| con0 at lser0 | |
| pseudorand0 (virtual) | |
| OS/161 kernel [? for menu]: 1a 6 3 5 10 | |
| Using 6 bowls, 3 cats, and 5 mice. Looping 10 times. | |
| mouse_eat(bowl 5) start: ----m- Eating Cats: 0 Eating Mice: 1 | |
| mouse_eat(bowl 4) start: ---mm- Eating Cats: 0 Eating Mice: 2 | |
| mouse_eat(bowl 3) start: --mmm- Eating Cats: 0 Eating Mice: 3 | |
| mouse_eat(bowl 2) start: -mmmm- Eating Cats: 0 Eating Mice: 4 | |
| mouse_eat(bowl 1) start: mmmmm- Eating Cats: 0 Eating Mice: 5 | |
| panic: Fatal exception 2 (TLB miss on load) in kernel mode | |
| panic: EPC 0x800075bc, exception vaddr 0x66aac | |
| 1%>linux028:~/cs350-os161/root> cs350-gdb kernel | |
| GNU gdb 6.6 | |
| Copyright (C) 2006 Free Software Foundation, Inc. | |
| GDB is free software, covered by the GNU General Public License, and you are | |
| welcome to change it and/or distribute copies of it under certain conditions. | |
| Type "show copying" to see the conditions. | |
| There is absolutely no warranty for GDB. Type "show warranty" for details. | |
| This GDB was configured as "--host=x86_64-unknown-linux-gnu --target=mips-harvard-os161"... | |
| __start () at ../../arch/mips/mips/start.S:24 | |
| 24 addiu sp, sp, -20 | |
| Current language: auto; currently asm | |
| Breakpoint 1 at 0x80013448: file ../../lib/kprintf.c, line 94. | |
| (gdb) continue | |
| Continuing. | |
| Breakpoint 1, panic (fmt=0x80027760 "I can't handle this... I think I'll just die now...\n") | |
| at ../../lib/kprintf.c:94 | |
| 94 if (evil==0) { | |
| Current language: auto; currently c | |
| (gdb) where | |
| #0 panic (fmt=0x80027760 "I can't handle this... I think I'll just die now...\n") at ../../lib/kprintf.c:94 | |
| #1 0xffffffff8000f6b8 in mips_trap (tf=0x80037ecc) at ../../arch/mips/mips/trap.c:197 | |
| #2 0xffffffff8000e280 in common_exception () at ../../arch/mips/mips/exception.S:211 | |
| #3 0xffffffff80007928 in mouse_eat (bowlnumber=2147712928) at ../../asst1/bowls.c:261 | |
| #4 0xffffffff8000d428 in mouse_ready () at ../../asst1/catmouse.c:301 | |
| #5 0xffffffff8000d024 in mouse_simulation (unusedpointer=0x0, mousenumber=0) at ../../asst1/catmouse.c:239 | |
| #6 0xffffffff8001cc30 in mi_threadstart (data1=0x0, data2=0, func=0x8000cff0 <mouse_simulation>) | |
| at ../../thread/thread.c:652 | |
| #7 0x00000000 in ?? () | |
| (gdb) exit | |
| Undefined command: "exit". Try "help". | |
| (gdb) q | |
| The program is running. Exit anyway? (y or n) y | |
| 1%>linux028:~/cs350-os161/root> cs350-gdb kernel | |
| GNU gdb 6.6 | |
| Copyright (C) 2006 Free Software Foundation, Inc. | |
| GDB is free software, covered by the GNU General Public License, and you are | |
| welcome to change it and/or distribute copies of it under certain conditions. | |
| Type "show copying" to see the conditions. | |
| There is absolutely no warranty for GDB. Type "show warranty" for details. | |
| This GDB was configured as "--host=x86_64-unknown-linux-gnu --target=mips-harvard-os161"... | |
| __start () at ../../arch/mips/mips/start.S:24 | |
| 24 addiu sp, sp, -20 | |
| Current language: auto; currently asm | |
| Breakpoint 1 at 0x80013458: file ../../lib/kprintf.c, line 94. | |
| (gdb) c | |
| Continuing. | |
| Breakpoint 1, panic (fmt=0x80027770 "I can't handle this... I think I'll just die now...\n") | |
| at ../../lib/kprintf.c:94 | |
| 94 if (evil==0) { | |
| Current language: auto; currently c | |
| (gdb) where | |
| #0 panic (fmt=0x80027770 "I can't handle this... I think I'll just die now...\n") at ../../lib/kprintf.c:94 | |
| #1 0xffffffff8000f6c8 in mips_trap (tf=0x80036ecc) at ../../arch/mips/mips/trap.c:197 | |
| #2 0xffffffff8000e290 in common_exception () at ../../arch/mips/mips/exception.S:211 | |
| #3 0xffffffff800075bc in cat_eat (bowlnumber=2147708832) at ../../asst1/bowls.c:167 | |
| #4 0xffffffff8000d970 in cat_ready () at ../../asst1/catmouse.c:375 | |
| #5 0xffffffff8000cf94 in cat_simulation (unusedpointer=0x0, catnumber=2) at ../../asst1/catmouse.c:172 | |
| #6 0xffffffff8001cc40 in mi_threadstart (data1=0x0, data2=2, func=0x8000cf60 <cat_simulation>) | |
| at ../../thread/thread.c:652 | |
| #7 0x00000000 in ?? () |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment