on Debian 9 with latest Xen on a laptop, I tried to build a pv guest.  I would 
like to understand how to determine what the failure was.

*** This is how the image was created:
# xen-create-image --hostname=1stpvguest  --vcpus=2 --dhcp --pygrub --dist 
# xl create /etc/xen/1stpvguest.cfg
Parsing config from /etc/xen/1stpvguest.cfg
libxl: error: libxl_bootloader.c:635:bootloader_finished: bootloader failed - 
consult logfile /var/log/xen/bootloader.1.log
libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [3802] 
exited with error status 1
libxl: error: libxl_create.c:1223:domcreate_rebuild_done: cannot (re-)build 
domain: -3
libxl: error: libxl.c:1575:libxl__destroy_domid: non-existant domain 1
libxl: error: libxl.c:1534:domain_destroy_callback: unable to destroy guest 
with domid 1
libxl: error: libxl.c:1463:domain_destroy_cb: destruction of domain 1 failed

*** The above referenced the log file.  Here it is:

# cat bootloader.1.log
Using <class 'grub.GrubConf.GrubConfigFile'> to parse /boot/grub/menu.lst
    pyGRUB  version 0.6
  pyGRUB  version 0.6
 │ Debian GNU/Linux 9                                                     │
 │ Debian GNU/Linux 9 (Single-User)                                       │
 │ Debian GNU/Linux 9 (Default Kernel)                                    │
 │ Debian GNU/Linux 9 (Default Kernel, Single-User)                       │
Use the ^ and ┴ keys to select which entry is highlighted.
Press enter to boot the selected OS, 'e' to edit the
commands before booting, 'a' to modify the kernel arguments
before booting, or 'c' for a command line.

     Will boot selected entry in  1 seconds

[Errno 2] No such file or directory
Error opening /boot/initrd.img- in guest

*** The above did not display on the desktop.  So here is the grub file extract:
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
dom0_max_vcpus=1 dom0_vcpus_pin=1
GRUB_SERIAL_COMMAND="serial --unit=0 --speed=19200 --word=8 --parity=no 
GRUB_TERMINAL="console serial"
GRUB_CMDLINE_XEN="com1=19200,8n1 console=com1,vga"
GRUB_CMDLINE_LINUX="console=tty0 console=hvc0"

***  From the above, I expected to see a console with progress.  A console did 
not come up.  

Should a console have come up?

How to I determine what the problem was?


Reply via email to