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

Booting HVM domU through OVMF failed with assertion `rsdp_paddr != 0`



Hi all,

I'm trying out to boot domU through UEFI path but so far made very
little progress.
I'm currently on a self-built XEN 4.16.1 hypervisor version without
the --enable-ovmf configuration. I attempted a dirty build to generate
the ovmf.bin firmware. The build succeeds but chery-picking the
firmware does not give me a working UEFI domU. The VNC simply stays
blank forever. I could not collect any debug log from it.

I also tried the ovmf package coming with the Debian package but it's
even worse -- it prevents the domU creation if I point the firmware to
it.

The one that looks more promising is the one that I extract from a
Fedora edk2-ovmf-xen package. This one gives me an VNC screen saying
"Guest has not initialized the display". But luckily I finally got
something useful from the debug log.

As shown in the quoted log below, OVMF complains about the RSDP
address not available.
Any idea what is happening here?

Note that I'm with a self-built XEN binary without --enable-ovmf, plus
external built ovmf binary. I'm not sure if this combo is supposed to
work. I'm building a clean XEN 4.17.2 with --enable-ovmf now for a
comparison.

Thanks,
Rui

OVMF debug log:
...
Loading PEIM at 0x000008347C0 EntryPoint=0x00000836849 XenPlatformPei.efi
Platform PEIM Loaded
CMOS:
00: 33 00 30 00 23 00 05 10 11 23 26 02 00 80 00 00
10: 00 00 00 00 06 80 02 FF FF 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: FF FF 20 00 00 EF 00 20 00 00 00 00 00 04 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 0F 00 00 03
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
QemuFwCfgProbe: Supported 0, DMA 0
Detected Xen version 4.16
ASSERT 
/builddir/build/BUILD/edk2-819cfc6b42a6/OvmfPkg/XenPlatformPei/Xen.c(210):
HVMStartInfo->rsdp_paddr != 0

domU config:
name = 'newwin10'
type="hvm"
vcpus = '4'
cpus = "0-4"
memory = '4096'
boot = 'n'
firmware='/usr/lib/xen/boot/OVMF.fd'
device_model_args_hvm = [
  # Debug OVMF
  '-chardev', 'file,id=debugcon,path=/var/log/xen/ovmf.log,',
  '-device', 'isa-debugcon,iobase=0x402,chardev=debugcon',
]
vif = [ 'mac=00:18:3E:51:48:4C,bridge=xenbr0,model=e1000' ]
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'destroy'
xen_platform_pci='1'
viridian='defaults'
vga="stdvga"
localtime='1'
usbdevice='tablet'
vnc='1'
vnclisten = '0.0.0.0'
serial='pty'



 


Rackspace

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