[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [mini-os on x86_64] No app-printf seen on xen



Hi All.

I cloned mini-os from github, ran "make", and "xl create"d on a
virtualbox-machine running xen-4.10.

Following are the logs :

##################################################
root@ajay:/home/ajay# xl -v create  mini-os.cfg
Parsing config from mini-os.cfg
domainbuilder: detail: xc_dom_allocate: cmdline="", features=""
domainbuilder: detail: xc_dom_kernel_file: filename="./minios"
domainbuilder: detail: xc_dom_malloc_filemap    : 2341 kB
domainbuilder: detail: xc_dom_boot_xen_init: ver 4.10, caps
xen-3.0-x86_64 xen-3.0-x86_32p
domainbuilder: detail: xc_dom_parse_image: called
domainbuilder: detail: xc_dom_find_loader: trying multiboot-binary loader ...
domainbuilder: detail: loader probe failed
domainbuilder: detail: xc_dom_find_loader: trying HVM-generic loader ...
domainbuilder: detail: loader probe failed
domainbuilder: detail: xc_dom_find_loader: trying Linux bzImage loader ...
domainbuilder: detail: xc_dom_probe_bzimage_kernel: kernel is not a bzImage
domainbuilder: detail: loader probe failed
domainbuilder: detail: xc_dom_find_loader: trying ELF-generic loader ...
domainbuilder: detail: loader probe OK
xc: detail: ELF: phdr: paddr=0 memsz=0x6cf78
xc: detail: ELF: memory: 0 -> 0x6cf78
xc: detail: ELF: note: GUEST_OS = "Mini-OS"
xc: detail: ELF: note: LOADER = "generic"
xc: detail: ELF: note: HYPERCALL_PAGE = 0x2000
xc: detail: ELF: note: XEN_VERSION = "xen-3.0"
xc: detail: ELF: using notes from SHT_NOTE section
xc: detail: ELF: VIRT_BASE unset, using 0
xc: detail: ELF_PADDR_OFFSET unset, using 0
xc: detail: ELF: addresses:
xc: detail:     virt_base        = 0x0
xc: detail:     elf_paddr_offset = 0x0
xc: detail:     virt_offset      = 0x0
xc: detail:     virt_kstart      = 0x0
xc: detail:     virt_kend        = 0x6cf78
xc: detail:     virt_entry       = 0x0
xc: detail:     p2m_base         = 0xffffffffffffffff
domainbuilder: detail: xc_dom_parse_elf_kernel: xen-3.0-x86_64: 0x0 -> 0x6cf78
domainbuilder: detail: xc_dom_mem_init: mem 4 MB, pages 0x400 pages, 4k each
domainbuilder: detail: xc_dom_mem_init: 0x400 pages
domainbuilder: detail: xc_dom_boot_mem_init: called
domainbuilder: detail: x86_compat: guest xen-3.0-x86_64, address size 64
domainbuilder: detail: xc_dom_build_image: called
domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn
0x0+0x6d at 0x7f14e2e16000
domainbuilder: detail: xc_dom_alloc_segment:   kernel       : 0x0 ->
0x6d000  (pfn 0x0 + 0x6d pages)
xc: detail: ELF: phdr 0 at 0x7f14e2e16000 -> 0x7f14e2e35580
domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn
0x6d+0x2 at 0x7f14e2e91000
domainbuilder: detail: xc_dom_alloc_segment:   phys2mach    : 0x6d000
-> 0x6f000  (pfn 0x6d + 0x2 pages)
domainbuilder: detail: xc_dom_alloc_page   :   start info   : 0x6f000 (pfn 0x6f)
domainbuilder: detail: xc_dom_alloc_page   :   xenstore     : 0x70000 (pfn 0x70)
domainbuilder: detail: xc_dom_alloc_page   :   console      : 0x71000 (pfn 0x71)
domainbuilder: detail: count_pgtables: 0x0000007fffffffff/39:
0x0000000000000000 -> 0x0000007fffffffff, 1 table(s)
domainbuilder: detail: count_pgtables: 0x000000003fffffff/30:
0x0000000000000000 -> 0x000000003fffffff, 1 table(s)
domainbuilder: detail: count_pgtables: 0x00000000001fffff/21:
0x0000000000000000 -> 0x00000000003fffff, 2 table(s)
domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn
0x72+0x5 at 0x7f14e2e11000
domainbuilder: detail: xc_dom_alloc_segment:   page tables  : 0x72000
-> 0x77000  (pfn 0x72 + 0x5 pages)
domainbuilder: detail: xc_dom_alloc_page   :   boot stack   : 0x77000 (pfn 0x77)
domainbuilder: detail: xc_dom_build_image  : virt_alloc_end : 0x78000
domainbuilder: detail: xc_dom_build_image  : virt_pgtab_end : 0x400000
domainbuilder: detail: xc_dom_boot_image: called
domainbuilder: detail: xc_dom_compat_check: supported guest type:
xen-3.0-x86_64 <= matches
domainbuilder: detail: xc_dom_compat_check: supported guest type:
xen-3.0-x86_32p
domainbuilder: detail: xc_dom_update_guest_p2m: dst 64bit, pages 0x400
domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn
0x6f+0x1 at 0x7f14e2e90000
domainbuilder: detail: start_info_x86_64: called
domainbuilder: detail: setup_hypercall_page: vaddr=0x2000 pfn=0x2
domainbuilder: detail: domain builder memory footprint
domainbuilder: detail:    allocated
domainbuilder: detail:       malloc             : 14536 bytes
domainbuilder: detail:       anon mmap          : 0 bytes
domainbuilder: detail:    mapped
domainbuilder: detail:       file mmap          : 2341 kB
domainbuilder: detail:       domU mmap          : 468 kB
domainbuilder: detail: bootlate_pv: shared_info: pfn 0x0, mfn 0xafc12
domainbuilder: detail: shared_info_x86_64: called
domainbuilder: detail: vcpu_x86_64: called
domainbuilder: detail: vcpu_x86_64: cr3: pfn 0x72 mfn 0xf872
domainbuilder: detail: xc_dom_release: called
root@ajay:/home/ajay#
##################################################


As is seen, all is loaded fine, but somehow the app_main function
printf statements are not being displayed.


What am I missing?


Thanks and Regards,
Ajay

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.