Advertisement
teknoraver

magenta run

Aug 16th, 2016
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.00 KB | None | 0 0
  1. matteo@raver:~/src/magenta$ ./scripts/run-magenta-x86-64
  2. qemu-system-x86_64 -m 512 -nographic -machine q35 -kernel /home/matteo/src/magenta/build-magenta-pc-x86-64/magenta.bin -smp cores=2,threads=2,sockets=1 -cpu Haswell,+smap -append
  3. Features: fpu sse sse2 sse3 ssse3 sse4.1 sse4.2 mmx fxsr aesni smep smap syscall nx rdtscp
  4.  
  5. welcome to lk/MP
  6.  
  7. boot args 0x1 0x80 0x0 0x0
  8. INIT: cpu 0, calling hook 0xffffffff801306e4 (version) at level 0x3ffff, flags 0x1
  9. version:
  10. arch: X86
  11. platform: PC
  12. target: PC_X86
  13. project: MAGENTA_PC_X86_64
  14. buildid: _LOCAL
  15. INIT: cpu 0, calling hook 0xffffffff8014f29c (vm_preheap) at level 0x3ffff, flags 0x1
  16. initializing heap
  17. calling constructors
  18. INIT: cpu 0, calling hook 0xffffffff8014f2e4 (vm_post_ctors) at level 0x40000, flags 0x1
  19. INIT: cpu 0, calling hook 0xffffffff8014f2ec (vm) at level 0x50000, flags 0x1
  20. INIT: cpu 0, calling hook 0xffffffff801009e0 (acpi_tables) at level 0x50001, flags 0x1
  21. INIT: cpu 0, calling hook 0xffffffff801047d0 (display_memtype) at level 0x50001, flags 0x1
  22. INIT: cpu 0, calling hook 0xffffffff80103658 (hpet) at level 0x50002, flags 0x1
  23. INIT: cpu 0, calling hook 0xffffffff801037c0 (apic) at level 0x50002, flags 0x1
  24. INIT: cpu 0, calling hook 0xffffffff801050cc (timer) at level 0x50003, flags 0x1
  25. calibrate_apic_timer:231: Calibrating APIC with HPET
  26. initializing mp
  27. initializing threads
  28. initializing timers
  29. initializing ports
  30. INIT: cpu 0, calling hook 0xffffffff8011c7c8 (intel_hda_init) at level 0x60000, flags 0x1
  31. INIT: cpu 0, calling hook 0xffffffff8012568c (debuglog) at level 0x6ffff, flags 0x1
  32. creating bootstrap completion thread
  33. [00000.003] K top of bootstrap2()
  34. [00000.003] K INIT: cpu 0, calling hook 0xffffffff80157bd0 (global_prng) at level 0x70000, flags 0x1
  35. [00000.004] K WARNING: System has no entropy source. It is completely unsafe to use this system for any cryptographic applications.
  36. [00000.004] K INIT: cpu 0, calling hook 0xffffffff8015fd30 (magenta) at level 0x70000, flags 0x1
  37. [00000.007] K INIT: cpu 0, calling hook 0xffffffff801d2014 (dpc) at level 0x70000, flags 0x1
  38. [00000.012] K initializing platform
  39. [00000.013] K Found 4 cpus
  40. [00000.014] K creating idle thread for cpu 1
  41. [00000.015] K creating idle thread for cpu 2
  42. [00000.016] K creating idle thread for cpu 3
  43. running final init tasks on cpu 1
  44. entering scheduler on cpu 1
  45. running final init tasks on cpu 2
  46. entering scheduler on cpu 2
  47. running final init tasks on cpu 3
  48. entering scheduler on cpu 3
  49. [00001.006] K acpi_ec_init:98: Failed to find EC: 0
  50. [00001.033] K initializing target
  51. [00001.035] K calling apps_init()
  52. [00001.035] K INIT: cpu 0, calling hook 0xffffffff801003a8 (pixel2_quirks) at level 0xa000a, flags 0x1
  53. [00001.036] K INIT: cpu 0, calling hook 0xffffffff8012fc00 (userboot) at level 0xaffff, flags 0x1
  54. [00001.036] K userboot: console init
  55. [00001.037] K userboot: bootfs 2293760 @ 0xffffffff8023d000
  56. [00001.043] K userboot: userboot-rodata 0 @ [0x1000000,0x1002000)
  57. [00001.043] K userboot: userboot-code 0x2000 @ [0x1002000,0x1004000)
  58. [00001.043] K userboot: vdso-rodata 0 @ [0x1004000,0x1006000)
  59. [00001.043] K userboot: vdso-code 0x2000 @ [0x1006000,0x1007000)
  60. [00001.044] K userboot: entry point @ 0x10026e0
  61. [00001.053] U userboot: searching bootfs for "bin/devmgr"
  62. [00001.056] U userboot: bin/devmgr has PT_INTERP "lib/ld.so.1"
  63. [00001.058] U userboot: searching bootfs for "lib/ld.so.1"
  64. [00001.075] U Loaded at [0x11ac000,0x11e5000): <application>
  65. [00001.075] U Loaded at [0x1000000,0x10a8000): libc.so
  66. [00001.077] U devmgr: main()
  67. [00001.079] U devmgr: vfs init
  68. [00001.081] U devmgr: bootfs #0 contains 69 files
  69. [00001.087] U devmgr: load drivers
  70. [00001.089] U devfs: vn 0x141ca60 destroyed
  71. [00001.090] U console_init()
  72. [00001.095] U debug_reader()
  73. [00001.102] U devmgr: remote(0x1725860) for 'devhost:pci#1:1234:1111'
  74. [00001.103] U devmgr: launch: devhost:pci#1:1234:1111 pci=1 0x11de0a0
  75. [00001.288] U devmgr: remote(0x1725c40) for 'devhost:pci#2:8086:100e'
  76. [00001.288] U devmgr: launch: devhost:pci#2:8086:100e pci=2 0x11de190
  77. [00001.306] U devhost: pci host 1
  78. [00001.408] U devmgr: remote(0x17266a0) for 'devhost:pci#4:8086:2922'
  79. [00001.409] U devmgr: launch: devhost:pci#4:8086:2922 pci=4 0x11de320
  80. [00001.421] U devhost: pci host 2
  81. [00001.508] U devmgr: shell startup
  82. [00001.515] U eth: using legacy irq mode
  83. [00001.521] U eth: mac: 52:54:00:12:34:56
  84. [00001.525] U devmgr: launch /boot/bin/mxsh on /dev/console
  85. [00001.527] U eth: iomem @0x1208000 (phys fbb000)
  86. [00001.529] U devhost: pci host 4
  87. [00001.543] U initialized vc on display bochs_vbe, width=1024 height=768 stride=1024 format=1
  88. [00001.551] U vc: input thread started for /dev/class/input/000
  89. [00001.733] U devmgr: launch /boot/bin/netsvc on /dev/console
  90. [00001.773] U dlsvc: debug: Loaded at [0x11ac000,0x11b3000): /boot/bin/mxsh
  91. [00001.774] U dlsvc: debug: Loaded at [0x11b3000,0x11c0000): libmxio.so
  92. [00001.774] U dlsvc: debug: Loaded at [0x11c0000,0x11c7000): liblaunchpad.so
  93. [00001.775] U dlsvc: debug: Loaded at [0x11c7000,0x11ca000): libmagenta.so
  94. [00001.775] U dlsvc: debug: Loaded at [0x1000000,0x10a8000): libc.so
  95.  
  96. MXCONSOLE...
  97. > [00001.808] U devmgr: launch /boot/bin/mxsh on debuglog
  98. [00001.843] U dlsvc: debug: Loaded at [0x11ac000,0x11b1000): /boot/bin/netsvc
  99. [00001.844] U dlsvc: debug: Loaded at [0x11b1000,0x11be000): libmxio.so
  100. [00001.844] U dlsvc: debug: Loaded at [0x11be000,0x11c5000): liblaunchpad.so
  101. [00001.844] U dlsvc: debug: Loaded at [0x11c5000,0x11c8000): libmagenta.so
  102. [00001.844] U dlsvc: debug: Loaded at [0x1000000,0x10a8000): libc.so
  103. netsvc: main()
  104. [00001.880] U devmgr: vc startup
  105. [00001.906] U dlsvc: debug: Loaded at [0x11ac000,0x11b3000): /boot/bin/mxsh
  106. [00001.907] U dlsvc: debug: Loaded at [0x11b3000,0x11c0000): libmxio.so
  107. [00001.908] U dlsvc: debug: Loaded at [0x11c0000,0x11c7000): liblaunchpad.so
  108. [00001.908] U dlsvc: debug: Loaded at [0x11c7000,0x11ca000): libmagenta.so
  109. [00001.908] U dlsvc: debug: Loaded at [0x1000000,0x10a8000): libc.so
  110. [00001.911] U devmgr: launch /boot/bin/mxsh on /dev/class/console/vc
  111. [00001.916] U cannot open '/boot/autorun'
  112. [00001.996] U devmgr: launch /boot/bin/mxsh on /dev/class/console/vc
  113. [00002.007] U dlsvc: debug: Loaded at [0x11ac000,0x11b3000): /boot/bin/mxsh
  114. [00002.007] U dlsvc: debug: Loaded at [0x11b3000,0x11c0000): libmxio.so
  115. [00002.007] U dlsvc: debug: Loaded at [0x11c0000,0x11c7000): liblaunchpad.so
  116. [00002.007] U dlsvc: debug: Loaded at [0x11c7000,0x11ca000): libmagenta.so
  117. [00002.007] U dlsvc: debug: Loaded at [0x1000000,0x10a8000): libc.so
  118. macaddr: 52:54:00:12:34:56
  119. ip6addr: fe80::5054:ff:fe12:3456
  120. snmaddr: ff02::1:ff12:3456
  121. netsvc: start
  122. [00002.086] U devmgr: launch /boot/bin/mxsh on /dev/class/console/vc
  123. [00002.099] U dlsvc: debug: Loaded at [0x11ac000,0x11b3000): /boot/bin/mxsh
  124. [00002.099] U dlsvc: debug: Loaded at [0x11b3000,0x11c0000): libmxio.so
  125. [00002.099] U dlsvc: debug: Loaded at [0x11c0000,0x11c7000): liblaunchpad.so
  126. [00002.099] U dlsvc: debug: Loaded at [0x11c7000,0x11ca000): libmagenta.so
  127. [00002.099] U dlsvc: debug: Loaded at [0x1000000,0x10a8000): libc.so
  128. [00002.160] U dlsvc: debug: Loaded at [0x11ac000,0x11b3000): /boot/bin/mxsh
  129. [00002.160] U dlsvc: debug: Loaded at [0x11b3000,0x11c0000): libmxio.so
  130. [00002.160] U dlsvc: debug: Loaded at [0x11c0000,0x11c7000): liblaunchpad.so
  131. [00002.160] U dlsvc: debug: Loaded at [0x11c7000,0x11ca000): libmagenta.so
  132. [00002.160] U dlsvc: debug: Loaded at [0x1000000,0x10a8000): libc.so
  133.  
  134. > help
  135. cd change directory
  136. cp copy a file
  137. dump display a file in hexadecimal
  138. echo print its arguments
  139. help list built-in shell commands
  140. dm send command to device manager
  141. list display a text file with line numbers
  142. ls list directory contents
  143. rm delete a file
  144. runtests run all test programs
  145. msleep pause for milliseconds
  146. <program> run <program>
  147. `command send command to kernel console
  148.  
  149. > dm help
  150. [00018.013] U dump - dump device tree
  151. [00018.013] U lsof - list open remoteio files and devices
  152. >[00018.013] U crash - crash the device manager
  153. > dm dump
  154. [00022.247] U ---- Device Tree ----
  155. [00022.247] U + root drv@0x11df5c0 (devmgr)
  156. [00022.248] U | console drv@0x11de230 (console)
  157. [00022.248] U + pci drv@0x11de2d0 (pci)
  158. [00022.248] U | 00:00:00 drv@0x11de2d0 (pci)
  159. [00022.248] U + 00:01:00 drv@0x11de2d0 (pci) owner: devhost
  160. [00022.248] U + 00:01:00 drv@0x11df680 (proxy)
  161. [00022.248] U + bochs_vbe drv@0x11df680 (proxy)
  162. [00022.248] U >| vc drv@0x11df680 (proxy)
  163. [00022.248] U + 00:02:00 drv@0x11de2d0 (pci) owner: devhost
  164. 00022.248] U + 00:02:00 drv@0x11df680 (proxy)
  165. [00022.248] U | intel-ethernet drv@0x11df680 (proxy)
  166. [00022.248] U | 00:1f:00 drv@0x11de2d0 (pci)
  167. [00022.248] U + 00:1f:02 drv@0x11de2d0 (pci) owner: devhost
  168. [00022.248] U + 00:1f:02 drv@0x11df680 (proxy)
  169. [00022.248] U | ahci drv@0x11df680 (proxy)
  170. [00022.248] U | 00:1f:03 drv@0x11de2d0 (pci)
  171. [00022.249] U | rtc drv@0x11de3c0 (intel_rtc)
  172. [00022.249] U | i8042-keyboard drv@0x11de410 (i8042-keyboard)
  173. [00022.249] U | null drv@0x11de460 (null)
  174. [00022.249] U | dmctl drv@0x11de690 (dmctl)
  175. [00022.249] U ---- End Device Tree ----
  176. [00022.249] U
  177. [00022.250] U ---- Protocols ----
  178. [00022.250] U ---- End Protocols ----
  179. [00022.250] U
  180. [00022.250] U ---- Unmatched Devices -----
  181. [00022.251] U | console drv@0x11de230 (console)
  182. [00022.252] U | 00:00:00 drv@0x11de2d0 (pci)
  183. [00022.252] U | 00:1f:00 drv@0x11de2d0 (pci)
  184. [00022.252] U | 00:1f:03 drv@0x11de2d0 (pci)
  185. [00022.252] U | rtc drv@0x11de3c0 (intel_rtc)
  186. [00022.252] U | i8042-keyboard drv@0x11de410 (i8042-keyboard)
  187. [00022.252] U | null drv@0x11de460 (null)
  188. [00022.252] U | dmctl drv@0x11de690 (dmctl)
  189. [00022.252] U ---- End Unmatched Devices ----
  190. [00022.252] U
  191. [00022.252] U ---- Driver List ----
  192. [00022.252] U intel_serialio
  193. [00022.252] U usb_ethernet
  194. [00022.252] U bochs_vbe
  195. [00022.252] U usb_bt_hci
  196. [00022.252] U usb_mass_storage
  197. [00022.252] U intel-ethernet
  198. [00022.252] U console
  199. [00022.252] U vc-root
  200. [00022.252] U pci
  201. [00022.252] U ahci
  202. [00022.252] U gpt
  203. [00022.252] U intel_rtc
  204. [00022.252] U i8042-keyboard
  205. [00022.253] U null
  206. [00022.253] U intel_i915_disp
  207. [00022.253] U usb-hid
  208. [00022.253] U usb_xhci
  209. [00022.253] U usb_bus
  210. [00022.253] U usb_device
  211. [00022.253] U usb-hub
  212. [00022.253] U dmctl
  213. [00022.253] U ---- End Driver List ----
  214.  
  215. > ls
  216. d 0 dev
  217. d 0 boot
  218. d 0 tmp
  219. d 0 data
  220. > ls dev
  221. d 0 class
  222. c 0 console
  223. d 0 pci
  224. c 0 rtc
  225. c 0 i8042-keyboard
  226. c 0 null
  227. c 0 dmctl
  228. > ls dev/class
  229. c 0 tpm
  230. d 0 misc
  231. d 0 pci
  232. d 0 input
  233. d 0 display
  234. d 0 ethernet
  235. d 0 console
  236. > ls dev/class/pci
  237. c 0 000
  238. d 0 001
  239. d 0 002
  240. c 0 003
  241. d 0 004
  242. c 0 005
  243. d 0 006
  244. d 0 007
  245. d 0 008
  246. > ls dev/pci
  247. c 0 00:00:00
  248. d 0 00:01:00
  249. d 0 00:02:00
  250. c 0 00:1f:00
  251. d 0 00:1f:02
  252. c 0 00:1f:03
  253. > ls boot
  254. d 0 bin
  255. d 0 docs
  256. d 0 lib
  257. d 0 src
  258. d 0 test
  259. > ls boot/bin
  260. - 5608 bad-kernel-access-test-crashes
  261. - 5536 blktest
  262. - 5608 clock
  263. - 178600 core-tests
  264. - 5920 crasher
  265. - 230200 devmgr
  266. - 5536 dlog
  267. - 5608 dump1
  268. - 9704 evil-tests
  269. - 9632 gpt
  270. - 18056 hid
  271. - 9704 i2c
  272. - 18320 kilo
  273. - 9704 launch
  274. - 9632 lsblk
  275. - 5536 msd-test
  276. - 22456 mxsh
  277. - 13952 netsvc
  278. - 5536 reply-handle-helper
  279. - 5608 rng-trials
  280. - 5536 run-vc
  281. - 9848 strerror
  282. - 119712 test-driver
  283. - 9704 thread-depth-test
  284. - 5608 tpmctl
  285. > ls boot/lib
  286. - 674328 ld.so.1
  287. - 9488 libcksum.so
  288. - 13584 libgpt.so
  289. - 21848 liblaunchpad.so
  290. - 13016 libmagenta.so
  291. - 49128 libmxio.so
  292. - 61408 libtest-utils.so
  293. - 9720 libunittest.so
  294. >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement