Advertisement
tyler569

nightingale debug party

May 1st, 2020
988
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.71 KB | None | 0 0
  1. 0x00000000007b6800
  2. idt: interrupts installed
  3. pic: initialized
  4. serial: COM1 initialized
  5. serial: COM2 initialized
  6. mb: multiboot initailized
  7. mmap: 0: 9fc00 type 1
  8. mmap: 9fc00: 400 type 2
  9. mmap: f0000: 10000 type 2
  10. mmap: 100000: 1ee0000 type 1
  11. mmap: 1fe0000: 20000 type 2
  12. mmap: fffc0000: 40000 type 2
  13. mmap: total usable memory: 33029120 (31MB + 511KB)
  14. mb: kernel command line 'init=init'
  15. mb: user init at 0xffffffff801ce000
  16. pmm: making new onepage region of length 159
  17. pmm: physical memory map
  18. pm: 0x0 => 0x9f000 : onepage
  19. pm: 0x7b7000 => 0x1fe0000 : free
  20. pm: 0x9f000 => 0xa0000 : hwreserved
  21. pm: 0xf0000 => 0x100000 : hwreserved
  22. pm: 0x1fe0000 => 0x2000000 : hwreserved
  23. pm: 0xfffc0000 => 0x100000000 : hwreserved
  24. pm: 0x100000 => 0x148000 : kernel
  25. pm: 0x7b6000 => 0x7b7000 : multiboot
  26. pm: 0x1ce000 => 0x7b6000 : initfs
  27. pm: 0x148000 => 0x1ce000 : other!
  28. vmm: init kernel vmm
  29. new kernel pagetables root at 0x1000
  30. (trying) to map 0xffffffff80100000: 0x000000000001c000 with flags 1
  31. (trying) to map 0xffffffff8011c000: 0x00000000000b2000 with flags 3
  32. (trying) to map 0xffffffff807b6000: 0x0000000000001000 with flags 3
  33. (trying) to map 0xffffffff801ce000: 0x00000000005e9000 with flags 3
  34. vm map dump:
  35. vm_object{.base=0xffffffff81000000, .top=0xfffffffffffff000, .pages=520191, .flags=VM_FREE, .refcnt=0}
  36. vfs: filesystem initialized
  37. /dev/serial: tty ready
  38. /dev/serial2: tty ready
  39. threads: thread data at 0xffffffff8012aa30
  40. threads: process structures initialized
  41. vm_alloc() -> vm_object{.base=0xffffffff81000000, .top=0xffffffff81004000, .pages=4, .flags=VM_FREE, .refcnt=0}
  42. threads: finalizer thread running
  43. threads: thread_timer started
  44. pci: found (8086:1237) at 00:00.0
  45. pci: found (8086:7000) at 00:01.0
  46. pci: found (8086:7010) at 00:01.1
  47. pci: found (8086:7113) at 00:01.3
  48. pci: found (1234:1111) at 00:02.0
  49. pci: found (8086:100e) at 00:03.0
  50.  
  51. ********************************
  52.  
  53. The Nightingale Operating System
  54. Version v0.9.0-62-g404d120
  55.  
  56. ********************************
  57.  
  58. pit: actual divisor: 1193
  59. timer: ticking at 1000 HZ
  60. vm_alloc() -> vm_object{.base=0xffffffff81004000, .top=0xffffffff81008000, .pages=4, .flags=VM_FREE, .refcnt=0}
  61. vm_user_alloc before:
  62. vm map dump:
  63. vm_object{.base=0x0000000000001000, .top=0x00007fffffff0000, .pages=34359738351, .flags=VM_FREE, .refcnt=0}
  64. (mid: 0xfffff020 / 0x1 / 0xfce)
  65. vm_user_alloc after:
  66. vm map dump:
  67. vm_object{.base=0x0000000000001000, .top=0x00007fffff021000, .pages=34359734304, .flags=VM_FREE, .refcnt=0}
  68. vm_object{.base=0x00007fffff021000, .top=0x00007fffff022000, .pages=1, .flags=VM_INUSE|VM_COW, .refcnt=0}
  69. vm_object{.base=0x00007fffff022000, .top=0x00007fffffff0000, .pages=4046, .flags=VM_FREE, .refcnt=0}
  70. vm_user_alloc before:
  71. vm map dump:
  72. vm_object{.base=0x0000000000001000, .top=0x00007fffff021000, .pages=34359734304, .flags=VM_FREE, .refcnt=0}
  73. vm_object{.base=0x00007fffff021000, .top=0x00007fffff022000, .pages=1, .flags=VM_INUSE|VM_COW, .refcnt=0}
  74. vm_object{.base=0x00007fffff022000, .top=0x00007fffffff0000, .pages=4046, .flags=VM_FREE, .refcnt=0}
  75. (mid: 0x3ff / 0x4 / 0xffffec1d)
  76. vm_user_alloc after:
  77. vm map dump:
  78. vm_object{.base=0x0000000000001000, .top=0x0000000000400000, .pages=1023, .flags=VM_FREE, .refcnt=0}
  79. vm_object{.base=0x0000000000400000, .top=0x0000000000404000, .pages=4, .flags=VM_INUSE|VM_COW, .refcnt=0}
  80. vm_object{.base=0x0000000000404000, .top=0x00007fffff021000, .pages=34359733277, .flags=VM_FREE, .refcnt=0}
  81. vm_object{.base=0x00007fffff021000, .top=0x00007fffff022000, .pages=1, .flags=VM_INUSE|VM_COW, .refcnt=0}
  82. vm_object{.base=0x00007fffff022000, .top=0x00007fffffff0000, .pages=4046, .flags=VM_FREE, .refcnt=0}
  83. vm_user_alloc before:
  84. vm map dump:
  85. vm_object{.base=0x0000000000001000, .top=0x0000000000400000, .pages=1023, .flags=VM_FREE, .refcnt=0}
  86. vm_object{.base=0x0000000000400000, .top=0x0000000000404000, .pages=4, .flags=VM_INUSE|VM_COW, .refcnt=0}
  87. vm_object{.base=0x0000000000404000, .top=0x00007fffff021000, .pages=34359733277, .flags=VM_FREE, .refcnt=0}
  88. vm_object{.base=0x00007fffff021000, .top=0x00007fffff022000, .pages=1, .flags=VM_INUSE|VM_COW, .refcnt=0}
  89. vm_object{.base=0x00007fffff022000, .top=0x00007fffffff0000, .pages=4046, .flags=VM_FREE, .refcnt=0}
  90. (mid: 0x0 / 0x1 / 0xffffec1c)
  91. vm_user_alloc after:
  92. vm map dump:
  93. vm_object{.base=0x0000000000001000, .top=0x0000000000400000, .pages=1023, .flags=VM_FREE, .refcnt=0}
  94. vm_object{.base=0x0000000000400000, .top=0x0000000000404000, .pages=4, .flags=VM_INUSE|VM_COW, .refcnt=0}
  95. vm_object{.base=0x0000000000404000, .top=0x0000000000405000, .pages=1, .flags=VM_INUSE|VM_COW, .refcnt=0}
  96. vm_object{.base=0x0000000000405000, .top=0x00007fffff021000, .pages=34359733276, .flags=VM_FREE, .refcnt=0}
  97. vm_object{.base=0x00007fffff021000, .top=0x00007fffff022000, .pages=1, .flags=VM_INUSE|VM_COW, .refcnt=0}
  98. vm_object{.base=0x00007fffff022000, .top=0x00007fffffff0000, .pages=4046, .flags=VM_FREE, .refcnt=0}
  99. vm_alloc() -> vm_object{.base=0xffffffff81008000, .top=0xffffffff8100c000, .pages=4, .flags=VM_FREE, .refcnt=0}
  100. vm_user_alloc before:
  101. vm map dump:
  102. vm_object{.base=0x0000000000001000, .top=0x0000000000400000, .pages=1023, .flags=VM_FREE, .refcnt=0}
  103. vm_object{.base=0x0000000000400000, .top=0x0000000000404000, .pages=4, .flags=VM_INUSE|VM_COW, .refcnt=0}
  104. vm_object{.base=0x0000000000404000, .top=0x0000000000405000, .pages=1, .flags=VM_INUSE|VM_COW, .refcnt=0}
  105. vm_object{.base=0x0000000000405000, .top=0x00007fffff021000, .pages=34359733276, .flags=VM_FREE, .refcnt=0}
  106. vm_object{.base=0x00007fffff021000, .top=0x00007fffff022000, .pages=1, .flags=VM_INUSE|VM_COW, .refcnt=0}
  107. vm_object{.base=0x00007fffff022000, .top=0x00007fffffff0000, .pages=4046, .flags=VM_FREE, .refcnt=0}
  108. (mid: 0xffffebeb / 0x10 / 0x21)
  109. vm_user_alloc after:
  110. vm map dump:
  111. vm_object{.base=0x0000000000001000, .top=0x0000000000400000, .pages=1023, .flags=VM_FREE, .refcnt=0}
  112. vm_object{.base=0x0000000000400000, .top=0x0000000000404000, .pages=4, .flags=VM_INUSE|VM_COW, .refcnt=0}
  113. vm_object{.base=0x0000000000404000, .top=0x0000000000405000, .pages=1, .flags=VM_INUSE|VM_COW, .refcnt=0}
  114. vm_object{.base=0x0000000000405000, .top=0x00007ffffeff0000, .pages=34359733227, .flags=VM_FREE, .refcnt=0}
  115. vm_object{.base=0x00007ffffeff0000, .top=0x00007fffff000000, .pages=16, .flags=VM_INUSE|VM_COW, .refcnt=0}
  116. vm_object{.base=0x00007fffff000000, .top=0x00007fffff021000, .pages=33, .flags=VM_FREE, .refcnt=0}
  117. vm_object{.base=0x00007fffff021000, .top=0x00007fffff022000, .pages=1, .flags=VM_INUSE|VM_COW, .refcnt=0}
  118. vm_object{.base=0x00007fffff022000, .top=0x00007fffffff0000, .pages=4046, .flags=VM_FREE, .refcnt=0}
  119. vm_user_alloc before:
  120. vm map dump:
  121. vm_object{.base=0x0000000000001000, .top=0x0000000000400000, .pages=1023, .flags=VM_FREE, .refcnt=0}
  122. vm_object{.base=0x0000000000400000, .top=0x0000000000404000, .pages=4, .flags=VM_INUSE|VM_COW, .refcnt=0}
  123. vm_object{.base=0x0000000000404000, .top=0x0000000000405000, .pages=1, .flags=VM_INUSE|VM_COW, .refcnt=0}
  124. vm_object{.base=0x0000000000405000, .top=0x00007ffffeff0000, .pages=34359733227, .flags=VM_FREE, .refcnt=0}
  125. vm_object{.base=0x00007ffffeff0000, .top=0x00007fffff000000, .pages=16, .flags=VM_INUSE|VM_COW, .refcnt=0}
  126. vm_object{.base=0x00007fffff000000, .top=0x00007fffff021000, .pages=33, .flags=VM_FREE, .refcnt=0}
  127. vm_object{.base=0x00007fffff021000, .top=0x00007fffff022000, .pages=1, .flags=VM_INUSE|VM_COW, .refcnt=0}
  128. vm_object{.base=0x00007fffff022000, .top=0x00007fffffff0000, .pages=4046, .flags=VM_FREE, .refcnt=0}
  129. (mid: 0x1 / 0x20 / 0x0)
  130. vm_user_alloc after:
  131. vm map dump:
  132. vm_object{.base=0x0000000000001000, .top=0x0000000000400000, .pages=1023, .flags=VM_FREE, .refcnt=0}
  133. vm_object{.base=0x0000000000400000, .top=0x0000000000404000, .pages=4, .flags=VM_INUSE|VM_COW, .refcnt=0}
  134. vm_object{.base=0x0000000000404000, .top=0x0000000000405000, .pages=1, .flags=VM_INUSE|VM_COW, .refcnt=0}
  135. vm_object{.base=0x0000000000405000, .top=0x00007ffffeff0000, .pages=34359733227, .flags=VM_FREE, .refcnt=0}
  136. vm_object{.base=0x00007ffffeff0000, .top=0x00007fffff000000, .pages=16, .flags=VM_INUSE|VM_COW, .refcnt=0}
  137. vm_object{.base=0x00007fffff000000, .top=0x00007fffff001000, .pages=1, .flags=VM_FREE, .refcnt=0}
  138. vm_object{.base=0x00007fffff001000, .top=0x00007fffff021000, .pages=32, .flags=VM_INUSE|VM_COW, .refcnt=0}
  139. vm_object{.base=0x00007fffff021000, .top=0x00007fffff022000, .pages=1, .flags=VM_INUSE|VM_COW, .refcnt=0}
  140. vm_object{.base=0x00007fffff022000, .top=0x00007fffffff0000, .pages=4046, .flags=VM_FREE, .refcnt=0}
  141. vm map dump:
  142. vm_object{.base=0x0000000000001000, .top=0x0000000000400000, .pages=1023, .flags=VM_FREE, .refcnt=0}
  143. vm_object{.base=0x0000000000400000, .top=0x0000000000404000, .pages=4, .flags=VM_INUSE|VM_COW, .refcnt=0}
  144. vm_object{.base=0x0000000000404000, .top=0x0000000000405000, .pages=1, .flags=VM_INUSE|VM_COW, .refcnt=0}
  145. vm_object{.base=0x0000000000405000, .top=0x00007ffffeff0000, .pages=34359733227, .flags=VM_FREE, .refcnt=0}
  146. vm_object{.base=0x00007ffffeff0000, .top=0x00007fffff000000, .pages=16, .flags=VM_INUSE|VM_COW, .refcnt=0}
  147. vm_object{.base=0x00007fffff000000, .top=0x00007fffff001000, .pages=1, .flags=VM_FREE, .refcnt=0}
  148. vm_object{.base=0x00007fffff001000, .top=0x00007fffff021000, .pages=32, .flags=VM_INUSE|VM_COW, .refcnt=0}
  149. vm_object{.base=0x00007fffff021000, .top=0x00007fffff022000, .pages=1, .flags=VM_INUSE|VM_COW, .refcnt=0}
  150. vm_object{.base=0x00007fffff022000, .top=0x00007fffffff0000, .pages=4046, .flags=VM_FREE, .refcnt=0}
  151. threads: usermode thread installed
  152. initialization took: 503299856
  153. cpu: allowing irqs
  154. [1:3] mmap((NULL), 16777216, 3, 8, -1, 0) -> 0x100000000000
  155. [1:3] fork()vm_alloc() -> vm_object{.base=0xffffffff8100c000, .top=0xffffffff81010000, .pages=4, .flags=VM_FREE, .refcnt=0}
  156. fork vm dump
  157. vm map dump:
  158. vm_object{.base=0x0000000000001000, .top=0x0000000000400000, .pages=1023, .flags=VM_FREE, .refcnt=0}
  159. vm_object{.base=0x0000000000400000, .top=0x0000000000404000, .pages=4, .flags=VM_INUSE|VM_COW, .refcnt=1}
  160. vm_object{.base=0x0000000000404000, .top=0x0000000000405000, .pages=1, .flags=VM_INUSE|VM_COW, .refcnt=1}
  161. vm_object{.base=0x0000000000405000, .top=0x00007ffffeff0000, .pages=34359733227, .flags=VM_FREE, .refcnt=0}
  162. vm_object{.base=0x00007ffffeff0000, .top=0x00007fffff000000, .pages=16, .flags=VM_INUSE|VM_COW, .refcnt=1}
  163. vm_object{.base=0x00007fffff000000, .top=0x00007fffff001000, .pageHello World from a kernel thread
  164. s=1, .flags=VM_FREE, .refcnt=0}
  165. vm_object{.base=0x00007fffff001000, .top=0x00007fffff021000, .pages=32, .flags=VM_INUSE|VM_COW, .refcnt=1}
  166. vm_object{.base=0x00007fffff021000, .top=0x00007fffff022000, .pages=1, .flags=VM_INUSE|VM_COW, .refcnt=1}
  167. vm_object{.base=0x00007fffff022000, .top=0x00007fffffff0000, .pages=4046, .flags=VM_FREE, .refcnt=0}
  168. -> 2
  169. vm_alloc() -> vm_object{.base=0xffffffff81010000, .top=0xffffffff81020000, .pages=16, .flags=VM_FREE, .refcnt=0}
  170. [1:3] waitpid(2, 0x00007ffffeffff9c, 0x0)
  171. Thread: [2:4] ("<init>") experienced a fault
  172. Unhandled exception at 0xffffffff801184fe
  173. Fault: #GP (General Protection Fault), error code: 0x00
  174. rax: 0 r8 : 0
  175. rbx: 0 r9 : 0
  176. rcx: 0 r10: 0
  177. rdx: 0 r11: 0
  178. rsp: ffffffff8100ffc8 r12: 0
  179. rbp: 0 r13: 0
  180. rsi: 0 r14: 0
  181. rdi: 0 r15: 0
  182. rip: ffffffff801184fe rfl: [ S I ] (282)
  183. cr3: 26000 pid: 2
  184. backtrace:
  185. bp: 0 ip: ffffffff801184fe
  186. end of memory
  187. [PANIC]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement