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

[Xen-users] NetBSD XEN-4.4.0 2 Questions



hi,

i am try to get xen-4-4.0-release under NetBSD 6.1.3 amd64 running.

i have 2 qeustions:

first 1):  while i am try to destroy a domain i get:
xl des sen
libxl: error: libxl_device.c:780:libxl__initiate_device_remove: unable to get my domid libxl: error: libxl.c:1457:devices_destroy_cb: libxl__devices_destroy failed for 11

what does this mean "unable to get my domid" ?


second 2):

i tried to start the domu with disk handles "tap:aio" or "tap:aio2"

but get this:

xl -vvvv cre pvpfsense.cfg
Parsing config from pvpfsense.cfg
libxl: debug: libxl_create.c:1342:do_domain_create: ao 0x7f7ff7b26080: create: how=0x0 callback=0x0 poller=0x7f7ff7b1c080 libxl: debug: libxl_device.c:251:libxl__device_disk_set_backend: Disk vdev=0x01 spec.backend=unknown libxl: debug: libxl_device.c:286:libxl__device_disk_set_backend: Disk vdev=0x01, using backend phy
libxl: debug: libxl_create.c:797:initiate_domain_create: running bootloader
libxl: debug: libxl_bootloader.c:327:libxl__bootloader_run: no bootloader configured, using user supplied kernel libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0x7f7ff7b28348: deregister unregistered libxl: debug: libxl_numa.c:475:libxl__get_numa_candidate: New best NUMA placement candidate found: nr_nodes=1, nr_cpus=2, nr_vcpus=3, free_memkb=1502 libxl: detail: libxl_dom.c:195:numa_place_domain: NUMA placement candidate with 1 nodes, 2 cpus and 1502 KB free selected domainbuilder: detail: xc_dom_allocate: cmdline="vfs.root.mountfrom=ufs:/dev/xbd0s1a", features="(null)" libxl: debug: libxl_dom.c:357:libxl__build_pv: pv kernel mapped 0 path /home/xendomains/pfsensetest/kernel domainbuilder: detail: xc_dom_kernel_file: filename="/home/xendomains/pfsensetest/kernel"
domainbuilder: detail: xc_dom_malloc_filemap    : 7089 kB
domainbuilder: detail: xc_dom_boot_xen_init: ver 4.4, 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 ELF-generic loader ...
domainbuilder: detail: loader probe OK
xc: detail: elf_parse_binary: phdr: paddr=0xc0000000 memsz=0x594e0e
xc: detail: elf_parse_binary: phdr: paddr=0xc0595e20 memsz=0xc5594
xc: detail: elf_parse_binary: memory: 0xc0000000 -> 0xc065b3b4
xc: detail: elf_xen_parse_note: GUEST_OS = "FreeBSD"
xc: detail: elf_xen_parse_note: GUEST_VERSION = "HEAD"
xc: detail: elf_xen_parse_note: XEN_VERSION = "xen-3.0"
xc: detail: elf_xen_parse_note: VIRT_BASE = 0xc0000000
xc: detail: elf_xen_parse_note: PADDR_OFFSET = 0xc0000000
xc: detail: elf_xen_parse_note: ENTRY = 0xc005c000
xc: detail: elf_xen_parse_note: HYPERCALL_PAGE = 0xc005b000
xc: detail: elf_xen_parse_note: HV_START_LOW = 0xf5800000
xc: detail: elf_xen_parse_note: FEATURES = "writable_page_tables|supervisor_mode_kernel|writable_descriptor_tables"
xc: detail: elf_xen_parse_note: PAE_MODE = "yes"
xc: detail: elf_xen_parse_note: unknown xen elf note (0xd)
xc: detail: elf_xen_parse_note: LOADER = "generic"
xc: detail: elf_xen_parse_note: SUSPEND_CANCEL = 0x1
xc: detail: elf_xen_parse: using notes from SHT_NOTE section
xc: detail: elf_xen_addr_calc_check: addresses:
xc: detail:     virt_base        = 0xc0000000
xc: detail:     elf_paddr_offset = 0xc0000000
xc: detail:     virt_offset      = 0x0
xc: detail:     virt_kstart      = 0xc0000000
xc: detail:     virt_kend        = 0xc065b3b4
xc: detail:     virt_entry       = 0xc005c000
xc: detail:     p2m_base         = 0xffffffffffffffff
domainbuilder: detail: xc_dom_parse_elf_kernel: xen-3.0-x86_32p: 0xc0000000 -> 0xc065b3b4 domainbuilder: detail: xc_dom_mem_init: mem 512 MB, pages 0x20000 pages, 4k each
domainbuilder: detail: xc_dom_mem_init: 0x20000 pages
domainbuilder: detail: xc_dom_boot_mem_init: called
domainbuilder: detail: x86_compat: guest xen-3.0-x86_32p, address size 32
domainbuilder: detail: xc_dom_malloc            : 1024 kB
domainbuilder: detail: xc_dom_build_image: called
domainbuilder: detail: xc_dom_alloc_segment: kernel : 0xc0000000 -> 0xc065c000 (pfn 0x0 + 0x65c pages) domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x0+0x65c at 0x7f7ff38a4000
xc: detail: elf_load_binary: phdr 2 at 0x7f7ff38a4000 -> 0x7f7ff3e38e0e
xc: detail: elf_load_binary: phdr 3 at 0x7f7ff3e39e20 -> 0x7f7ff3e80cf4
domainbuilder: detail: xc_dom_alloc_segment: phys2mach : 0xc065c000 -> 0xc06dc000 (pfn 0x65c + 0x80 pages) domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x65c+0x80 at 0x7f7ff7f5e000 domainbuilder: detail: xc_dom_alloc_page : start info : 0xc06dc000 (pfn 0x6dc) domainbuilder: detail: xc_dom_alloc_page : xenstore : 0xc06dd000 (pfn 0x6dd) domainbuilder: detail: xc_dom_alloc_page : console : 0xc06de000 (pfn 0x6de) domainbuilder: detail: nr_page_tables: 0x00000000ffffffff/32: 0x0000000000000000 -> 0x00000000ffffffff, 1 table(s) domainbuilder: detail: nr_page_tables: 0x000000003fffffff/30: 0x00000000c0000000 -> 0x00000000ffffffff, 1 table(s) domainbuilder: detail: nr_page_tables: 0x00000000001fffff/21: 0x00000000c0000000 -> 0x00000000c07fffff, 4 table(s) domainbuilder: detail: xc_dom_alloc_segment: page tables : 0xc06df000 -> 0xc06e5000 (pfn 0x6df + 0x6 pages) domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x6df+0x6 at 0x7f7ff7f58000 domainbuilder: detail: xc_dom_alloc_page : boot stack : 0xc06e5000 (pfn 0x6e5)
domainbuilder: detail: xc_dom_build_image  : virt_alloc_end : 0xc06e6000
domainbuilder: detail: xc_dom_build_image  : virt_pgtab_end : 0xc0800000
domainbuilder: detail: xc_dom_boot_image: called
domainbuilder: detail: arch_setup_bootearly: doing nothing
domainbuilder: detail: xc_dom_compat_check: supported guest type: xen-3.0-x86_64 domainbuilder: detail: xc_dom_compat_check: supported guest type: xen-3.0-x86_32p <= matches
domainbuilder: detail: xc_dom_update_guest_p2m: dst 32bit, pages 0x20000
domainbuilder: detail: clear_page: pfn 0x6de, mfn 0x5d88e
domainbuilder: detail: clear_page: pfn 0x6dd, mfn 0x5d88f
domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x6dc+0x1 at 0x7f7ff7f57000
domainbuilder: detail: start_info_x86_32: called
domainbuilder: detail: setup_hypercall_page: vaddr=0xc005b000 pfn=0x5b
domainbuilder: detail: domain builder memory footprint
domainbuilder: detail:    allocated
domainbuilder: detail:       malloc             : 1068 kB
domainbuilder: detail:       anon mmap          : 0 bytes
domainbuilder: detail:    mapped
domainbuilder: detail:       file mmap          : 7089 kB
domainbuilder: detail:       domU mmap          : 7052 kB
domainbuilder: detail: arch_setup_bootlate: shared_info: pfn 0x0, mfn 0x7e3da
domainbuilder: detail: shared_info_x86_32: called
domainbuilder: detail: vcpu_x86_32: called
domainbuilder: detail: vcpu_x86_32: cr3: pfn 0x6df mfn 0x5d88d
domainbuilder: detail: launch_vm: called, ctxt=0x7f7ff7b46004
domainbuilder: detail: xc_dom_release: called
libxl: debug: libxl_device.c:251:libxl__device_disk_set_backend: Disk vdev=0x01 spec.backend=phy libxl: debug: libxl_event.c:570:libxl__ev_xswatch_register: watch w=0x7f7ff7b382a8 wpath=/local/domain/0/backend/vbd/12/1/state token=3/0: register slotnum=3 libxl: debug: libxl_create.c:1356:do_domain_create: ao 0x7f7ff7b26080: inprogress: poller=0x7f7ff7b1c080, flags=i libxl: debug: libxl_event.c:671:devstate_timeout: backend /local/domain/0/backend/vbd/12/1/state wanted state 2 timed out libxl: debug: libxl_event.c:606:libxl__ev_xswatch_deregister: watch w=0x7f7ff7b382a8 wpath=/local/domain/0/backend/vbd/12/1/state token=3/0: deregister slotnum=3 libxl: error: libxl_event.c:612:libxl__ev_xswatch_deregister: remove watch for path /local/domain/0/backend/vbd/12/1/state: Invalid argument libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0x7f7ff7b382a8: deregister unregistered libxl: error: libxl_xshelp.c:134:libxl__xs_get_dompath: failed to get dompath for 0: Bad file descriptor libxl: error: libxl_device.c:934:device_backend_callback: unable to add device with path (null)/backend/vbd/12/1 libxl: debug: libxl_event.c:618:libxl__ev_xswatch_deregister: watch w=0x7f7ff7b38330: deregister unregistered libxl: error: libxl_create.c:1054:domcreate_launch_dm: unable to add disk devices libxl: error: libxl_xshelp.c:134:libxl__xs_get_dompath: failed to get dompath for 12: Bad file descriptor libxl: error: libxl_xshelp.c:134:libxl__xs_get_dompath: failed to get dompath for 12: Bad file descriptor libxl: error: libxl.c:1348:domain_destroy_callback: unable to destroy guest with domid 12 libxl: error: libxl_create.c:1320:domcreate_destruction_cb: unable to destroy domain 12 following failed creation libxl: debug: libxl_event.c:1591:libxl__ao_complete: ao 0x7f7ff7b26080: complete, rc=-3 libxl: debug: libxl_event.c:1563:libxl__ao__destroy: ao 0x7f7ff7b26080: destroy
xc: debug: hypercall buffer: total allocations:212 total releases:212
xc: debug: hypercall buffer: current allocations:0 maximum allocations:4
xc: debug: hypercall buffer: cache current size:4
xc: debug: hypercall buffer: cache hits:201 misses:4 toobig:7




there are some erros like:

libxl: debug: libxl_event.c:671:devstate_timeout: backend /local/domain/0/backend/vbd/12/1/state wanted state 2 timed out libxl: error: libxl_xshelp.c:134:libxl__xs_get_dompath: failed to get dompath for 0: Bad file descriptor libxl: error: libxl_device.c:934:device_backend_callback: unable to add device with path (null)/backend/vbd/12/1
or


what does this means ?


thanks best regards
bobbiy sanchez

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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