Xen status and howto?

From: Andrew Lentvorski <bsder_at_allcaps.org>
Date: Sun, 16 Dec 2007 16:30:29 -0800
What's the deal with running FreeBSD as a DomU under Xen?

Does it work?  Does it fail?  How does one pull it off?

Where is the source code?  Is there a HowTo that actually works?

I've tried a bunch of different things to install FreeBSD as a DomU with 
a CentOS 5.1 Dom0, but none of them seem to work.

I specifically tried the directions here:
http://www.yuanjue.net/xen/howto.html

And didn't even get past the domain-builder stage (error attached at 
bottom).

Any help or pointers (web, wiki, irc) would be appreciated.

And, please be a little careful about those pointers.  The documentation 
around Xen on all fronts is absolutely *awful* and is rife with 
outdated, error-prone, unmaintained pages.

Thanks,
-a


### ----- xc domain builder logfile opened -----
xc_dom_allocate: cmdline=" 
boot_verbose,boot_single,vfs.root.mountfrom=ufs:/dev/md0,kern.hz=100", 
features=""
xc_dom_kernel_file: filename="/var/lib/xen/images/freebsd-XENU_INSTALL"
xc_dom_malloc_filemap    : 7206 kB
xc_dom_boot_xen_init: ver 3.1, caps xen-3.0-x86_64 xen-3.0-x86_32p 
hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xc_dom_parse_image: called
xc_dom_find_loader: trying ELF-generic loader ... OK
elf_parse_binary: phdr: paddr=0xc0000000 memsz=0x250500
elf_parse_binary: phdr: paddr=0xc0251500 memsz=0x47590c
elf_parse_binary: memory: 0xc0000000 -> 0xc06c6e0c
elf_xen_parse: __xen_guest: 
"LOADER=generic,GUEST_OS=freebsd,GUEST_VER=7.0,XEN_VER=xen-3.0,BSD_SYMTAB"
elf_xen_parse_guest_info: LOADER="generic"
elf_xen_parse_guest_info: GUEST_OS="freebsd"
elf_xen_parse_guest_info: GUEST_VER="7.0"
elf_xen_parse_guest_info: XEN_VER="xen-3.0"
elf_xen_parse_guest_info: BSD_SYMTAB=""
elf_xen_addr_calc_check: VIRT_BASE unset, using 0x0
elf_xen_addr_calc_check: ELF_PADDR_OFFSET unset, using 0x0
elf_xen_addr_calc_check: addresses:
     virt_base        = 0x0
     elf_paddr_offset = 0x0
     virt_offset      = 0x0
     virt_kstart      = 0xc0000000
     virt_kend        = 0xc06c6e0c
     virt_entry       = 0xc00314c0
xc_dom_load_elf_symtab/parse: bsd_symtab_start=c06c6e0c, 
kernel.end=0xc06c6e0c -- symtab=0xc06c6e10, maxaddr=0xc06c731c
xc_dom_load_elf_symtab: h=29 symtab, size=0x39760, maxaddr=0xc0700a7c
xc_dom_load_elf_symtab: h=30 strtab, size=0x47635, maxaddr=0xc07480b4
xc_dom_parse_elf_kernel: xen-3.0-x86_32: 0xc0000000 -> 0xc07480b4
xc_dom_mem_init: mem 512 MB, pages 0x20000 pages, 4k each
xc_dom_mem_init: 0x20000 pages
xc_dom_boot_mem_init: called
xc_dom_malloc            : 1024 kB
xc_dom_build_image: called
xc_dom_alloc_segment:   kernel       : 0xc0000000 -> 0xc0749000  (pfn 
0xc0000 + 0x749 pages)
xc_dom_pfn_to_ptr: pfn out of range (0xc0000 > 0x20000)
xc_dom_release: called
xc_dom_allocate: cmdline=" 
boot_verbose,boot_single,vfs.root.mountfrom=ufs:/dev/md0,kern.hz=100", 
features=""
xc_dom_kernel_file: filename="/var/lib/xen/images/freebsd-XENU_INSTALL"
xc_dom_malloc_filemap    : 7206 kB
xc_dom_boot_xen_init: ver 3.1, caps xen-3.0-x86_64 xen-3.0-x86_32p 
hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xc_dom_parse_image: called
xc_dom_find_loader: trying ELF-generic loader ... OK
elf_parse_binary: phdr: paddr=0xc0000000 memsz=0x250500
Received on Sun Dec 16 2007 - 23:48:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:24 UTC