Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- matteo@raver:~/src/magenta$ ./scripts/run-magenta-x86-64
- 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
- Features: fpu sse sse2 sse3 ssse3 sse4.1 sse4.2 mmx fxsr aesni smep smap syscall nx rdtscp
- welcome to lk/MP
- boot args 0x1 0x80 0x0 0x0
- INIT: cpu 0, calling hook 0xffffffff801306e4 (version) at level 0x3ffff, flags 0x1
- version:
- arch: X86
- platform: PC
- target: PC_X86
- project: MAGENTA_PC_X86_64
- buildid: _LOCAL
- INIT: cpu 0, calling hook 0xffffffff8014f29c (vm_preheap) at level 0x3ffff, flags 0x1
- initializing heap
- calling constructors
- INIT: cpu 0, calling hook 0xffffffff8014f2e4 (vm_post_ctors) at level 0x40000, flags 0x1
- INIT: cpu 0, calling hook 0xffffffff8014f2ec (vm) at level 0x50000, flags 0x1
- INIT: cpu 0, calling hook 0xffffffff801009e0 (acpi_tables) at level 0x50001, flags 0x1
- INIT: cpu 0, calling hook 0xffffffff801047d0 (display_memtype) at level 0x50001, flags 0x1
- INIT: cpu 0, calling hook 0xffffffff80103658 (hpet) at level 0x50002, flags 0x1
- INIT: cpu 0, calling hook 0xffffffff801037c0 (apic) at level 0x50002, flags 0x1
- INIT: cpu 0, calling hook 0xffffffff801050cc (timer) at level 0x50003, flags 0x1
- calibrate_apic_timer:231: Calibrating APIC with HPET
- initializing mp
- initializing threads
- initializing timers
- initializing ports
- INIT: cpu 0, calling hook 0xffffffff8011c7c8 (intel_hda_init) at level 0x60000, flags 0x1
- INIT: cpu 0, calling hook 0xffffffff8012568c (debuglog) at level 0x6ffff, flags 0x1
- creating bootstrap completion thread
- [00000.003] K top of bootstrap2()
- [00000.003] K INIT: cpu 0, calling hook 0xffffffff80157bd0 (global_prng) at level 0x70000, flags 0x1
- [00000.004] K WARNING: System has no entropy source. It is completely unsafe to use this system for any cryptographic applications.
- [00000.004] K INIT: cpu 0, calling hook 0xffffffff8015fd30 (magenta) at level 0x70000, flags 0x1
- [00000.007] K INIT: cpu 0, calling hook 0xffffffff801d2014 (dpc) at level 0x70000, flags 0x1
- [00000.012] K initializing platform
- [00000.013] K Found 4 cpus
- [00000.014] K creating idle thread for cpu 1
- [00000.015] K creating idle thread for cpu 2
- [00000.016] K creating idle thread for cpu 3
- running final init tasks on cpu 1
- entering scheduler on cpu 1
- running final init tasks on cpu 2
- entering scheduler on cpu 2
- running final init tasks on cpu 3
- entering scheduler on cpu 3
- [00001.006] K acpi_ec_init:98: Failed to find EC: 0
- [00001.033] K initializing target
- [00001.035] K calling apps_init()
- [00001.035] K INIT: cpu 0, calling hook 0xffffffff801003a8 (pixel2_quirks) at level 0xa000a, flags 0x1
- [00001.036] K INIT: cpu 0, calling hook 0xffffffff8012fc00 (userboot) at level 0xaffff, flags 0x1
- [00001.036] K userboot: console init
- [00001.037] K userboot: bootfs 2293760 @ 0xffffffff8023d000
- [00001.043] K userboot: userboot-rodata 0 @ [0x1000000,0x1002000)
- [00001.043] K userboot: userboot-code 0x2000 @ [0x1002000,0x1004000)
- [00001.043] K userboot: vdso-rodata 0 @ [0x1004000,0x1006000)
- [00001.043] K userboot: vdso-code 0x2000 @ [0x1006000,0x1007000)
- [00001.044] K userboot: entry point @ 0x10026e0
- [00001.053] U userboot: searching bootfs for "bin/devmgr"
- [00001.056] U userboot: bin/devmgr has PT_INTERP "lib/ld.so.1"
- [00001.058] U userboot: searching bootfs for "lib/ld.so.1"
- [00001.075] U Loaded at [0x11ac000,0x11e5000): <application>
- [00001.075] U Loaded at [0x1000000,0x10a8000): libc.so
- [00001.077] U devmgr: main()
- [00001.079] U devmgr: vfs init
- [00001.081] U devmgr: bootfs #0 contains 69 files
- [00001.087] U devmgr: load drivers
- [00001.089] U devfs: vn 0x141ca60 destroyed
- [00001.090] U console_init()
- [00001.095] U debug_reader()
- [00001.102] U devmgr: remote(0x1725860) for 'devhost:pci#1:1234:1111'
- [00001.103] U devmgr: launch: devhost:pci#1:1234:1111 pci=1 0x11de0a0
- [00001.288] U devmgr: remote(0x1725c40) for 'devhost:pci#2:8086:100e'
- [00001.288] U devmgr: launch: devhost:pci#2:8086:100e pci=2 0x11de190
- [00001.306] U devhost: pci host 1
- [00001.408] U devmgr: remote(0x17266a0) for 'devhost:pci#4:8086:2922'
- [00001.409] U devmgr: launch: devhost:pci#4:8086:2922 pci=4 0x11de320
- [00001.421] U devhost: pci host 2
- [00001.508] U devmgr: shell startup
- [00001.515] U eth: using legacy irq mode
- [00001.521] U eth: mac: 52:54:00:12:34:56
- [00001.525] U devmgr: launch /boot/bin/mxsh on /dev/console
- [00001.527] U eth: iomem @0x1208000 (phys fbb000)
- [00001.529] U devhost: pci host 4
- [00001.543] U initialized vc on display bochs_vbe, width=1024 height=768 stride=1024 format=1
- [00001.551] U vc: input thread started for /dev/class/input/000
- [00001.733] U devmgr: launch /boot/bin/netsvc on /dev/console
- [00001.773] U dlsvc: debug: Loaded at [0x11ac000,0x11b3000): /boot/bin/mxsh
- [00001.774] U dlsvc: debug: Loaded at [0x11b3000,0x11c0000): libmxio.so
- [00001.774] U dlsvc: debug: Loaded at [0x11c0000,0x11c7000): liblaunchpad.so
- [00001.775] U dlsvc: debug: Loaded at [0x11c7000,0x11ca000): libmagenta.so
- [00001.775] U dlsvc: debug: Loaded at [0x1000000,0x10a8000): libc.so
- MXCONSOLE...
- > [00001.808] U devmgr: launch /boot/bin/mxsh on debuglog
- [00001.843] U dlsvc: debug: Loaded at [0x11ac000,0x11b1000): /boot/bin/netsvc
- [00001.844] U dlsvc: debug: Loaded at [0x11b1000,0x11be000): libmxio.so
- [00001.844] U dlsvc: debug: Loaded at [0x11be000,0x11c5000): liblaunchpad.so
- [00001.844] U dlsvc: debug: Loaded at [0x11c5000,0x11c8000): libmagenta.so
- [00001.844] U dlsvc: debug: Loaded at [0x1000000,0x10a8000): libc.so
- netsvc: main()
- [00001.880] U devmgr: vc startup
- [00001.906] U dlsvc: debug: Loaded at [0x11ac000,0x11b3000): /boot/bin/mxsh
- [00001.907] U dlsvc: debug: Loaded at [0x11b3000,0x11c0000): libmxio.so
- [00001.908] U dlsvc: debug: Loaded at [0x11c0000,0x11c7000): liblaunchpad.so
- [00001.908] U dlsvc: debug: Loaded at [0x11c7000,0x11ca000): libmagenta.so
- [00001.908] U dlsvc: debug: Loaded at [0x1000000,0x10a8000): libc.so
- [00001.911] U devmgr: launch /boot/bin/mxsh on /dev/class/console/vc
- [00001.916] U cannot open '/boot/autorun'
- [00001.996] U devmgr: launch /boot/bin/mxsh on /dev/class/console/vc
- [00002.007] U dlsvc: debug: Loaded at [0x11ac000,0x11b3000): /boot/bin/mxsh
- [00002.007] U dlsvc: debug: Loaded at [0x11b3000,0x11c0000): libmxio.so
- [00002.007] U dlsvc: debug: Loaded at [0x11c0000,0x11c7000): liblaunchpad.so
- [00002.007] U dlsvc: debug: Loaded at [0x11c7000,0x11ca000): libmagenta.so
- [00002.007] U dlsvc: debug: Loaded at [0x1000000,0x10a8000): libc.so
- macaddr: 52:54:00:12:34:56
- ip6addr: fe80::5054:ff:fe12:3456
- snmaddr: ff02::1:ff12:3456
- netsvc: start
- [00002.086] U devmgr: launch /boot/bin/mxsh on /dev/class/console/vc
- [00002.099] U dlsvc: debug: Loaded at [0x11ac000,0x11b3000): /boot/bin/mxsh
- [00002.099] U dlsvc: debug: Loaded at [0x11b3000,0x11c0000): libmxio.so
- [00002.099] U dlsvc: debug: Loaded at [0x11c0000,0x11c7000): liblaunchpad.so
- [00002.099] U dlsvc: debug: Loaded at [0x11c7000,0x11ca000): libmagenta.so
- [00002.099] U dlsvc: debug: Loaded at [0x1000000,0x10a8000): libc.so
- [00002.160] U dlsvc: debug: Loaded at [0x11ac000,0x11b3000): /boot/bin/mxsh
- [00002.160] U dlsvc: debug: Loaded at [0x11b3000,0x11c0000): libmxio.so
- [00002.160] U dlsvc: debug: Loaded at [0x11c0000,0x11c7000): liblaunchpad.so
- [00002.160] U dlsvc: debug: Loaded at [0x11c7000,0x11ca000): libmagenta.so
- [00002.160] U dlsvc: debug: Loaded at [0x1000000,0x10a8000): libc.so
- > help
- cd change directory
- cp copy a file
- dump display a file in hexadecimal
- echo print its arguments
- help list built-in shell commands
- dm send command to device manager
- list display a text file with line numbers
- ls list directory contents
- rm delete a file
- runtests run all test programs
- msleep pause for milliseconds
- <program> run <program>
- `command send command to kernel console
- > dm help
- [00018.013] U dump - dump device tree
- [00018.013] U lsof - list open remoteio files and devices
- >[00018.013] U crash - crash the device manager
- > dm dump
- [00022.247] U ---- Device Tree ----
- [00022.247] U + root drv@0x11df5c0 (devmgr)
- [00022.248] U | console drv@0x11de230 (console)
- [00022.248] U + pci drv@0x11de2d0 (pci)
- [00022.248] U | 00:00:00 drv@0x11de2d0 (pci)
- [00022.248] U + 00:01:00 drv@0x11de2d0 (pci) owner: devhost
- [00022.248] U + 00:01:00 drv@0x11df680 (proxy)
- [00022.248] U + bochs_vbe drv@0x11df680 (proxy)
- [00022.248] U >| vc drv@0x11df680 (proxy)
- [00022.248] U + 00:02:00 drv@0x11de2d0 (pci) owner: devhost
- 00022.248] U + 00:02:00 drv@0x11df680 (proxy)
- [00022.248] U | intel-ethernet drv@0x11df680 (proxy)
- [00022.248] U | 00:1f:00 drv@0x11de2d0 (pci)
- [00022.248] U + 00:1f:02 drv@0x11de2d0 (pci) owner: devhost
- [00022.248] U + 00:1f:02 drv@0x11df680 (proxy)
- [00022.248] U | ahci drv@0x11df680 (proxy)
- [00022.248] U | 00:1f:03 drv@0x11de2d0 (pci)
- [00022.249] U | rtc drv@0x11de3c0 (intel_rtc)
- [00022.249] U | i8042-keyboard drv@0x11de410 (i8042-keyboard)
- [00022.249] U | null drv@0x11de460 (null)
- [00022.249] U | dmctl drv@0x11de690 (dmctl)
- [00022.249] U ---- End Device Tree ----
- [00022.249] U
- [00022.250] U ---- Protocols ----
- [00022.250] U ---- End Protocols ----
- [00022.250] U
- [00022.250] U ---- Unmatched Devices -----
- [00022.251] U | console drv@0x11de230 (console)
- [00022.252] U | 00:00:00 drv@0x11de2d0 (pci)
- [00022.252] U | 00:1f:00 drv@0x11de2d0 (pci)
- [00022.252] U | 00:1f:03 drv@0x11de2d0 (pci)
- [00022.252] U | rtc drv@0x11de3c0 (intel_rtc)
- [00022.252] U | i8042-keyboard drv@0x11de410 (i8042-keyboard)
- [00022.252] U | null drv@0x11de460 (null)
- [00022.252] U | dmctl drv@0x11de690 (dmctl)
- [00022.252] U ---- End Unmatched Devices ----
- [00022.252] U
- [00022.252] U ---- Driver List ----
- [00022.252] U intel_serialio
- [00022.252] U usb_ethernet
- [00022.252] U bochs_vbe
- [00022.252] U usb_bt_hci
- [00022.252] U usb_mass_storage
- [00022.252] U intel-ethernet
- [00022.252] U console
- [00022.252] U vc-root
- [00022.252] U pci
- [00022.252] U ahci
- [00022.252] U gpt
- [00022.252] U intel_rtc
- [00022.252] U i8042-keyboard
- [00022.253] U null
- [00022.253] U intel_i915_disp
- [00022.253] U usb-hid
- [00022.253] U usb_xhci
- [00022.253] U usb_bus
- [00022.253] U usb_device
- [00022.253] U usb-hub
- [00022.253] U dmctl
- [00022.253] U ---- End Driver List ----
- > ls
- d 0 dev
- d 0 boot
- d 0 tmp
- d 0 data
- > ls dev
- d 0 class
- c 0 console
- d 0 pci
- c 0 rtc
- c 0 i8042-keyboard
- c 0 null
- c 0 dmctl
- > ls dev/class
- c 0 tpm
- d 0 misc
- d 0 pci
- d 0 input
- d 0 display
- d 0 ethernet
- d 0 console
- > ls dev/class/pci
- c 0 000
- d 0 001
- d 0 002
- c 0 003
- d 0 004
- c 0 005
- d 0 006
- d 0 007
- d 0 008
- > ls dev/pci
- c 0 00:00:00
- d 0 00:01:00
- d 0 00:02:00
- c 0 00:1f:00
- d 0 00:1f:02
- c 0 00:1f:03
- > ls boot
- d 0 bin
- d 0 docs
- d 0 lib
- d 0 src
- d 0 test
- > ls boot/bin
- - 5608 bad-kernel-access-test-crashes
- - 5536 blktest
- - 5608 clock
- - 178600 core-tests
- - 5920 crasher
- - 230200 devmgr
- - 5536 dlog
- - 5608 dump1
- - 9704 evil-tests
- - 9632 gpt
- - 18056 hid
- - 9704 i2c
- - 18320 kilo
- - 9704 launch
- - 9632 lsblk
- - 5536 msd-test
- - 22456 mxsh
- - 13952 netsvc
- - 5536 reply-handle-helper
- - 5608 rng-trials
- - 5536 run-vc
- - 9848 strerror
- - 119712 test-driver
- - 9704 thread-depth-test
- - 5608 tpmctl
- > ls boot/lib
- - 674328 ld.so.1
- - 9488 libcksum.so
- - 13584 libgpt.so
- - 21848 liblaunchpad.so
- - 13016 libmagenta.so
- - 49128 libmxio.so
- - 61408 libtest-utils.so
- - 9720 libunittest.so
- >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement