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

Re: Booting the FreeBSD kernel as an zImage file needs a patch upgrade ?.



Maybe it works ? Since I see these two processes enabled...but I don't know how to use FreeBSD...

# ps ax
2606 ?        Ssl    0:00 xl -vvvv create freebsd.cfg
2607 pts/0    Sl+    0:00 /usr/lib/xen-4.17/bin/xenconsole 1 --num 0 --type pv

On Tue, Jan 9, 2024 at 11:50 PM Mario Marietto <marietto2008@xxxxxxxxx> wrote:
ok,the errors have changed...

root@devuan-bunsen:/mnt/zroot2/zroot2/OS/Chromebook/freebsd-xen/domU-freebsd# ./start-freebsd

Parsing config from freebsd.cfg
libxl: debug: libxl_create.c:2081:do_domain_create: ao 0x442780: create: how=(nil) callback=(nil) poller=0x43cc50
libxl: detail: libxl_create.c:662:libxl__domain_make: passthrough: disabled
libxl: debug: libxl_arm.c:148:libxl__arch_domain_prepare_config: Configure the domain
libxl: debug: libxl_arm.c:151:libxl__arch_domain_prepare_config:  - Allocate 0 SPIs
libxl: debug: libxl_device.c:415:libxl__device_disk_set_backend: Disk vdev=xvda spec.backend=unknown specification=xen
libxl: debug: libxl_device.c:452:libxl__device_disk_set_backend: Disk vdev=xvda, using backend phy
libxl: debug: libxl_create.c:1342:initiate_domain_create: Domain 1:running bootloader
libxl: debug: libxl_bootloader.c:417:libxl__bootloader_run: Domain 1:no bootloader configured, using user supplied kernel
libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x43d8f0: deregister unregistered domainbuilder: detail: xc_dom_allocate: cmdline="console=hvc0", features=""

domainbuilder: detail: xc_dom_kernel_file: filename="/mnt/zroot2/zroot2/OS/Chromebook/freebsd-xen/domU-freebsd/bootloaders/kernel.bin"
domainbuilder: detail: xc_dom_malloc_filemap    : 9620 kB
domainbuilder: detail: xc_dom_boot_xen_init: ver 4.17, caps xen-3.0-armv7l  
domainbuilder: detail: xc_dom_rambase_init: RAM starts at 40000
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 Linux zImage (ARM64) loader ...  
domainbuilder: detail: xc_dom_probe_zimage64_kernel: kernel is not an arm64 Image
domainbuilder: detail: loader probe failed
domainbuilder: detail: xc_dom_find_loader: trying Linux zImage (ARM32) loader ...  
domainbuilder: detail: loader probe OK
domainbuilder: detail: xc_dom_parse_zimage32_kernel: called
domainbuilder: detail: xc_dom_parse_zimage32_kernel: xen-3.0-armv7l: 0x40008000 -> 0x4096d14c
domainbuilder: detail: xc_dom_compat_check: supported guest type: xen-3.0-armv7l <= matches


libxl: debug: libxl_arm.c:1145:libxl__prepare_dtb: constructing DTB for Xen version 4.17 guest
libxl: debug: libxl_arm.c:1147:libxl__prepare_dtb:  - vGIC version: V2
libxl: debug: libxl_arm.c:462:make_chosen_node: /chosen/bootargs = console=hvc0
libxl: debug: libxl_arm.c:614:make_memory_nodes: Creating placeholder node /memory@40000000
libxl: debug: libxl_arm.c:614:make_memory_nodes: Creating placeholder node /memory@200000000
libxl: debug: libxl_arm.c:1267:libxl__prepare_dtb: fdt total size 1475


domainbuilder: detail: xc_dom_devicetree_mem: called
libxl: debug: libxl_arm.c:1313:libxl__arch_domain_init_hw_description: Generating ACPI tables is disabled by user.
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: set_mode: guest xen-3.0-armv7l, address size 32
domainbuilder: detail: populate_guest_memory: populating RAM @ 0000000040000000-0000000060000000 (512MB)
domainbuilder: detail: populate_one_size: populated 0x100/0x100 entries with shift 9
domainbuilder: detail: meminit: placing boot modules at 0x48000000
domainbuilder: detail: meminit: devicetree: 0x48000000 -> 0x48001000


libxl: debug: libxl_arm.c:1412:finalize_hypervisor_node: Extended region 0: 0x60000000->0x100000000
libxl: debug: libxl_arm.c:1412:finalize_hypervisor_node: Extended region 1: 0x200000000->0x10000000000
libxl: debug: libxl_arm.c:1347:finalise_one_node: Populating placeholder node /memory@40000000
libxl: debug: libxl_arm.c:1341:finalise_one_node: Nopping out placeholder node /memory@200000000


domainbuilder: detail: xc_dom_build_image: called
domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x40008+0x966 at 0xb5972000
domainbuilder: detail: xc_dom_alloc_segment:   kernel       : 0x40008000 -> 0x4096e000  (pfn 0x40008 + 0x966 pages)
domainbuilder: detail: xc_dom_load_zimage_kernel: called
domainbuilder: detail: xc_dom_load_zimage_kernel: kernel seg 0x40008000-0x4096e000
domainbuilder: detail: xc_dom_load_zimage_kernel: copy 9851212 bytes from blob 0xb62d8000 to dst 0xb5972000
domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x48000+0x1 at 0xb6f0a000
domainbuilder: detail: xc_dom_alloc_segment:   devicetree   : 0x48000000 -> 0x48001000  (pfn 0x48000 + 0x1 pages)
domainbuilder: detail: alloc_magic_pages: called
domainbuilder: detail: xc_dom_build_image  : virt_alloc_end : 0x48001000
domainbuilder: detail: xc_dom_build_image  : virt_pgtab_end : 0x0
domainbuilder: detail: xc_dom_boot_image: called
domainbuilder: detail: bootearly: doing nothing
domainbuilder: detail: start_info_arm: called
domainbuilder: detail: domain builder memory footprint
domainbuilder: detail:    allocated
domainbuilder: detail:       malloc             : 58 kB
domainbuilder: detail:       anon mmap          : 0 bytes
domainbuilder: detail:    mapped
domainbuilder: detail:       file mmap          : 9620 kB
domainbuilder: detail:       domU mmap          : 9628 kB
domainbuilder: detail: vcpu_arm32: called
domainbuilder: detail: Initial state CPSR 0x400001d3 PC 0x40008000
domainbuilder: detail: xc_dom_set_gnttab_entry: d1 gnt[0] -> d0 0x39000
domainbuilder: detail: xc_dom_set_gnttab_entry: d1 gnt[1] -> d0 0x39001
domainbuilder: detail: xc_dom_release: called


libxl: debug: libxl_device.c:415:libxl__device_disk_set_backend: Disk vdev=xvda spec.backend=phy specification=xen


libxl: debug: libxl_event.c:812:libxl__ev_xswatch_register: watch w=0x4410e4 wpath=/local/domain/0/backend/vbd/1/51712/state token=3/0: register slotnum=3


libxl: debug: libxl_create.c:2120:do_domain_create: ao 0x442780: inprogress: poller=0x43cc50, flags=i


libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0x4410e4 wpath=/local/domain/0/backend/vbd/1/51712/state token=3/0: event epath=/local/domain/0/backend/vbd/1/51712/state


libxl: debug: libxl_event.c:1054:devstate_callback: backend /local/domain/0/backend/vbd/1/51712/state wanted state 2 still waiting state 1


libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0x4410e4 wpath=/local/domain/0/backend/vbd/1/51712/state token=3/0: event epath=/local/domain/0/backend/vbd/1/51712/state


libxl: debug: libxl_event.c:1051:devstate_callback: backend /local/domain/0/backend/vbd/1/51712/state wanted state 2 ok


libxl: debug: libxl_event.c:849:libxl__ev_xswatch_deregister: watch w=0x4410e4 wpath=/local/domain/0/backend/vbd/1/51712/state token=3/0: deregister slotnum=3


libxl: debug: libxl_device.c:1150:device_backend_callback: Domain 1:calling device_backend_cleanup
libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x4410e4: deregister unregistered
libxl: debug: libxl_linux.c:194:libxl__hotplug_disk: Domain 1:Args and environment ready
libxl: debug: libxl_device.c:1251:device_hotplug: Domain 1:calling hotplug script: /etc/xen/scripts/block add
libxl: debug: libxl_device.c:1252:device_hotplug: Domain 1:extra args:
libxl: debug: libxl_device.c:1260:device_hotplug: Domain 1:env:
libxl: debug: libxl_device.c:1267:device_hotplug: Domain 1:     script: /etc/xen/scripts/block
libxl: debug: libxl_device.c:1267:device_hotplug: Domain 1:     XENBUS_TYPE: vbd
libxl: debug: libxl_device.c:1267:device_hotplug: Domain 1:     XENBUS_PATH: backend/vbd/1/51712
libxl: debug: libxl_device.c:1267:device_hotplug: Domain 1:     XENBUS_BASE_PATH: backend
libxl: debug: libxl_aoutils.c:593:libxl__async_exec_start: forking to execute: /etc/xen/scripts/block add  
libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x441168: deregister unregistered
libxl: debug: libxl_linux.c:211:libxl__get_hotplug_script_info: Domain 1:num_exec 1, not running hotplug scripts
libxl: debug: libxl_device.c:1236:device_hotplug: Domain 1:No hotplug script to execute
libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x441168: deregister unregistered


libxl: debug: libxl_event.c:812:libxl__ev_xswatch_register: watch w=0x43e7cc wpath=/local/domain/1/console/tty token=3/1: register slotnum=3


libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0x43e7cc wpath=/local/domain/1/console/tty token=3/1: event epath=/local/domain/1/console/tty


libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0x43e7cc wpath=/local/domain/1/console/tty token=3/1: event epath=/local/domain/1/console/tty


libxl: debug: libxl_event.c:2403:libxl__ao_progress_report: ao 0x442780: progress report: ignored


libxl: debug: libxl_event.c:849:libxl__ev_xswatch_deregister: watch w=0x43e7cc wpath=/local/domain/1/console/tty token=3/1: deregister slotnum=3


libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x43e7cc: deregister unregistered
libxl: debug: libxl_event.c:2067:libxl__ao_complete: ao 0x442780: complete, rc=0
libxl: debug: libxl_event.c:2036:libxl__ao__destroy: ao 0x442780: destroy
libxl: debug: libxl_domain.c:704:libxl_domain_unpause: Domain 1:ao 0x442780: create: how=(nil) callback=(nil) poller=0x43cc50
libxl: debug: libxl_event.c:2067:libxl__ao_complete: ao 0x442780: complete, rc=0
libxl: debug: libxl_domain.c:712:libxl_domain_unpause: Domain 1:ao 0x442780: inprogress: poller=0x43cc50, flags=ic
libxl: debug: libxl_event.c:2036:libxl__ao__destroy: ao 0x442780: destroy
xencall:buffer: debug: total allocations:98 total releases:98
xencall:buffer: debug: current allocations:0 maximum allocations:3
xencall:buffer: debug: cache current size:3
xencall:buffer: debug: cache hits:86 misses:3 toobig:9
xencall:buffer: debug: total allocations:0 total releases:0
xencall:buffer: debug: current allocations:0 maximum allocations:0
xencall:buffer: debug: cache current size:0
xencall:buffer: debug: cache hits:0 misses:0 toobig:0

FROZEN.

On Tue, Jan 9, 2024 at 11:20 PM Mario Marietto <marietto2008@xxxxxxxxx> wrote:
Wait Wait,is not the dom0 kernel parameters that I should modify,but the parameters of the domU kernel....that's the same as dom0,but the zImage file format...there is still an hope that it works :D

On Tue, Jan 9, 2024 at 11:12 PM Mario Marietto <marietto2008@xxxxxxxxx> wrote:
Just to be sure that the error is the same as before :

root@devuan-bunsen:/mnt/zroot2/zroot2/OS/Chromebook/freebsd-xen/domU-freebsd# ./start-freebsd 

Parsing config from freebsd.cfg
libxl: debug: libxl_create.c:2081:do_domain_create: ao 0x4f2780: create: how=(nil) callback=(nil) poller=0x4ecc50
libxl: detail: libxl_create.c:662:libxl__domain_make: passthrough: disabled
libxl: debug: libxl_arm.c:148:libxl__arch_domain_prepare_config: Configure the domain
libxl: debug: libxl_arm.c:151:libxl__arch_domain_prepare_config:  - Allocate 0 SPIs
libxl: debug: libxl_device.c:415:libxl__device_disk_set_backend: Disk vdev=xvda spec.backend=unknown specification=xen
libxl: debug: libxl_device.c:452:libxl__device_disk_set_backend: Disk vdev=xvda, using backend phy
libxl: debug: libxl_create.c:1342:initiate_domain_create: Domain 1:running bootloader
libxl: debug: libxl_bootloader.c:417:libxl__bootloader_run: Domain 1:no bootloader configured, using user supplied kernel
libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x4ed8f0: deregister unregistered
domainbuilder: detail: xc_dom_allocate: cmdline="console=hvc0", features=""
domainbuilder: detail: xc_dom_kernel_file: filename="/mnt/zroot2/zroot2/OS/Chromebook/freebsd-xen/domU-freebsd/bootloaders/kernel.bin"
domainbuilder: detail: xc_dom_malloc_filemap    : 9620 kB
domainbuilder: detail: xc_dom_boot_xen_init: ver 4.17, caps xen-3.0-armv7l  
domainbuilder: detail: xc_dom_rambase_init: RAM starts at 40000
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 Linux zImage (ARM64) loader ...  
domainbuilder: detail: xc_dom_probe_zimage64_kernel: kernel is not an arm64 Image
domainbuilder: detail: loader probe failed
domainbuilder: detail: xc_dom_find_loader: trying Linux zImage (ARM32) loader ...  
domainbuilder: detail: loader probe OK
domainbuilder: detail: xc_dom_parse_zimage32_kernel: called
domainbuilder: detail: xc_dom_parse_zimage32_kernel: xen-3.0-armv7l: 0x40008000 -> 0x4096d14c
domainbuilder: detail: xc_dom_compat_check: supported guest type: xen-3.0-armv7l <= matches
libxl: debug: libxl_arm.c:1145:libxl__prepare_dtb: constructing DTB for Xen version 4.17 guest
libxl: debug: libxl_arm.c:1147:libxl__prepare_dtb:  - vGIC version: V2
libxl: debug: libxl_arm.c:462:make_chosen_node: /chosen/bootargs = console=hvc0
libxl: debug: libxl_arm.c:614:make_memory_nodes: Creating placeholder node /memory@40000000
libxl: debug: libxl_arm.c:614:make_memory_nodes: Creating placeholder node /memory@200000000
libxl: debug: libxl_arm.c:1267:libxl__prepare_dtb: fdt total size 1475
domainbuilder: detail: xc_dom_devicetree_mem: called
libxl: debug: libxl_arm.c:1313:libxl__arch_domain_init_hw_description: Generating ACPI tables is disabled by user.
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: set_mode: guest xen-3.0-armv7l, address size 32
domainbuilder: detail: populate_guest_memory: populating RAM @ 0000000040000000-0000000060000000 (512MB)
domainbuilder: detail: populate_one_size: populated 0x100/0x100 entries with shift 9
domainbuilder: detail: meminit: placing boot modules at 0x48000000
domainbuilder: detail: meminit: devicetree: 0x48000000 -> 0x48001000
libxl: debug: libxl_arm.c:1412:finalize_hypervisor_node: Extended region 0: 0x60000000->0x100000000
libxl: debug: libxl_arm.c:1412:finalize_hypervisor_node: Extended region 1: 0x200000000->0x10000000000
libxl: debug: libxl_arm.c:1347:finalise_one_node: Populating placeholder node /memory@40000000
libxl: debug: libxl_arm.c:1341:finalise_one_node: Nopping out placeholder node /memory@200000000
domainbuilder: detail: xc_dom_build_image: called
domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x40008+0x966 at 0xb59d4000
domainbuilder: detail: xc_dom_alloc_segment:   kernel       : 0x40008000 -> 0x4096e000  (pfn 0x40008 + 0x966 pages)
domainbuilder: detail: xc_dom_load_zimage_kernel: called
domainbuilder: detail: xc_dom_load_zimage_kernel: kernel seg 0x40008000-0x4096e000
domainbuilder: detail: xc_dom_load_zimage_kernel: copy 9851212 bytes from blob 0xb633a000 to dst 0xb59d4000
domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x48000+0x1 at 0xb6f71000
domainbuilder: detail: xc_dom_alloc_segment:   devicetree   : 0x48000000 -> 0x48001000  (pfn 0x48000 + 0x1 pages)
domainbuilder: detail: alloc_magic_pages: called
domainbuilder: detail: xc_dom_build_image  : virt_alloc_end : 0x48001000
domainbuilder: detail: xc_dom_build_image  : virt_pgtab_end : 0x0
domainbuilder: detail: xc_dom_boot_image: called
domainbuilder: detail: bootearly: doing nothing
domainbuilder: detail: start_info_arm: called
domainbuilder: detail: domain builder memory footprint
domainbuilder: detail:    allocated
domainbuilder: detail:       malloc             : 58 kB
domainbuilder: detail:       anon mmap          : 0 bytes
domainbuilder: detail:    mapped
domainbuilder: detail:       file mmap          : 9620 kB
domainbuilder: detail:       domU mmap          : 9628 kB
domainbuilder: detail: vcpu_arm32: called
domainbuilder: detail: Initial state CPSR 0x400001d3 PC 0x40008000
domainbuilder: detail: xc_dom_set_gnttab_entry: d1 gnt[0] -> d0 0x39000
domainbuilder: detail: xc_dom_set_gnttab_entry: d1 gnt[1] -> d0 0x39001
domainbuilder: detail: xc_dom_release: called
libxl: debug: libxl_device.c:415:libxl__device_disk_set_backend: Disk vdev=xvda spec.backend=phy specification=xen
libxl: debug: libxl_event.c:812:libxl__ev_xswatch_register: watch w=0x4f10e4 wpath=/local/domain/0/backend/vbd/1/51712/state token=3/0:
register slotnum=3
libxl: debug: libxl_create.c:2120:do_domain_create: ao 0x4f2780: inprogress: poller=0x4ecc50, flags=i
libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0x4f10e4 wpath=/local/domain/0/backend/vbd/1/51712/state token=3/0: event epa
th=/local/domain/0/backend/vbd/1/51712/state
libxl: debug: libxl_event.c:1054:devstate_callback: backend /local/domain/0/backend/vbd/1/51712/state wanted state 2 still waiting stat
e 1
libxl: debug: libxl_aoutils.c:88:xswait_timeout_callback: backend /local/domain/0/backend/vbd/1/51712/state (hoping for state change to
2): xswait timeout (path=/local/domain/0/backend/vbd/1/51712/state)
libxl: debug: libxl_event.c:849:libxl__ev_xswatch_deregister: watch w=0x4f10e4 wpath=/local/domain/0/backend/vbd/1/51712/state token=3/
0: deregister slotnum=3
libxl: debug: libxl_event.c:1038:devstate_callback: backend /local/domain/0/backend/vbd/1/51712/state wanted state 2  timed out
libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x4f10e4: deregister unregistered
libxl: debug: libxl_device.c:1150:device_backend_callback: Domain 1:calling device_backend_cleanup
libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x4f10e4: deregister unregistered
libxl: error: libxl_device.c:1163:device_backend_callback: Domain 1:unable to add device with path /local/domain/0/backend/vbd/1/51712
libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x4f1168: deregister unregistered
libxl: error: libxl_create.c:1672:domcreate_launch_dm: Domain 1:unable to add disk devices
libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x4ee7cc: deregister unregistered
libxl: debug: libxl_event.c:812:libxl__ev_xswatch_register: watch w=0x4f17c4 wpath=/local/domain/0/backend/vbd/1/51712/state token=3/1:
register slotnum=3
libxl: debug: libxl_event.c:750:watchfd_callback: watch w=0x4f17c4 wpath=/local/domain/0/backend/vbd/1/51712/state token=3/1: event epa
th=/local/domain/0/backend/vbd/1/51712/state
libxl: debug: libxl_event.c:1054:devstate_callback: backend /local/domain/0/backend/vbd/1/51712/state wanted state 6 still waiting stat
e 5
libxl: debug: libxl_aoutils.c:88:xswait_timeout_callback: backend /local/domain/0/backend/vbd/1/51712/state (hoping for state change to
6): xswait timeout (path=/local/domain/0/backend/vbd/1/51712/state)
libxl: debug: libxl_event.c:849:libxl__ev_xswatch_deregister: watch w=0x4f17c4 wpath=/local/domain/0/backend/vbd/1/51712/state token=3/
1: deregister slotnum=3
libxl: debug: libxl_event.c:1038:devstate_callback: backend /local/domain/0/backend/vbd/1/51712/state wanted state 6  timed out
libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x4f17c4: deregister unregistered
libxl: debug: libxl_device.c:1150:device_backend_callback: Domain 1:calling device_backend_cleanup
libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x4f17c4: deregister unregistered
libxl: error: libxl_device.c:1163:device_backend_callback: Domain 1:unable to remove device with path /local/domain/0/backend/vbd/1/517
12
libxl: debug: libxl_event.c:863:libxl__ev_xswatch_deregister: watch w=0x4f1848: deregister unregistered
libxl: error: libxl_domain.c:1530:devices_destroy_cb: Domain 1:libxl__devices_destroy failed
libxl: debug: libxl_domain.c:1597:devices_destroy_cb: Domain 1:Forked pid 2548 for destroy of domain
libxl: debug: libxl_event.c:2067:libxl__ao_complete: ao 0x4f2780: complete, rc=-3
libxl: debug: libxl_event.c:2036:libxl__ao__destroy: ao 0x4f2780: destroy
libxl: debug: libxl_domain.c:1046:libxl_domain_destroy: Domain 1:ao 0x4f2780: create: how=(nil) callback=(nil) poller=0x4ecc50
libxl: error: libxl_domain.c:1183:libxl__destroy_domid: Domain 1:Non-existant domain
libxl: error: libxl_domain.c:1137:domain_destroy_callback: Domain 1:Unable to destroy guest
libxl: error: libxl_domain.c:1064:domain_destroy_cb: Domain 1:Destruction of domain failed
libxl: debug: libxl_event.c:2067:libxl__ao_complete: ao 0x4f2780: complete, rc=-21
libxl: debug: libxl_domain.c:1055:libxl_domain_destroy: Domain 1:ao 0x4f2780: inprogress: poller=0x4ecc50, flags=ic
libxl: debug: libxl_event.c:2036:libxl__ao__destroy: ao 0x4f2780: destroy
xencall:buffer: debug: total allocations:102 total releases:102
xencall:buffer: debug: current allocations:0 maximum allocations:3
xencall:buffer: debug: cache current size:3
xencall:buffer: debug: cache hits:90 misses:3 toobig:9
xencall:buffer: debug: total allocations:0 total releases:0
xencall:buffer: debug: current allocations:0 maximum allocations:0
xencall:buffer: debug: cache current size:0
xencall:buffer: debug: cache hits:0 misses:0 toobig:0
freebsd is an invalid domain identifier (rc=-6)



On Tue, Jan 9, 2024 at 11:10 PM Mario Marietto <marietto2008@xxxxxxxxx> wrote:
Hello.

I've recompiled the kernel (vers. 5.4.261) enabling ALL the parameters related to xen,looking for the word "xen" and I've set Y to every parameter to facilitate things. Unfortunately I've got the same error. I've added my kernel config file if you want to give a look. Thanks.

On Tue, Jan 9, 2024 at 9:34 PM Julien Grall <julien@xxxxxxx> wrote:
Hi,

On 09/01/2024 17:06, Mario Marietto wrote:
> root@devuan-bunsen:/mnt/zroot2/zroot2/OS/Chromebook/freebsd-xen/domU-freebsd# ./start-freebsd

[...]

> libxl: debug: libxl_event.c:1054:devstate_callback: backend
> /local/domain/0/backend/vbd/4/51712/state wanted state 2 still waiting
> state 1

This line means libxl is still waiting for the backend to detect the
device configuration. This would confirm that the backend driver is
probably not loaded.

You can check in the Linux configuration is CONFIG_XEN_BLKDEV_BACKEND is
set. If it is:
   * N, then please consider to rebuild it
   * M, then this is a module. You would want to use 'modprobe' to load
it. That's assuming the module is present on your system.
   * Y, then this should have been loaded. You should check the kernel
logs to see any errors.

Cheers,

--
Julien Grall


--
Mario.


--
Mario.


--
Mario.


--
Mario.


--
Mario.

 


Rackspace

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