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

[Xen-users] xen: failed to populate ram at



Hello everyone,

I am Mick.
I am not sure I should directly post here, if that's a mistake, just
let me know.

I am trying to find a way to migrate from Ubuntu 16.04.x to Ubuntu
18.04.x from quite a lot of months now, on the same hardware, without
succes.
Cause I have an issue using my Ubuntu 16.04.x .xl domain files under
Ubuntu 18.04.x.

Here is a sample of one that does not boot :

#!/usr/sbin/xl

name    = 'test1'
builder = 'hvm'
vcpus   = '12'
memory  = '11264'

on_poweroff = 'destroy'
on_reboot   = 'destroy'
on_watchdog = 'destroy'
on_crash    = 'destroy'

serial    = 'pty'

vnc = '1'
vncpasswd = 'vncpasswd'

nomigrate = '1'
e820_host = '1'

vif = [
 'mac=XX:XX:XX:XX:XX:XX,bridge=Xbridge,model=e1000'
,'mac=YY:YY:YY:YY:YY:YY,bridge=Ybridge,model=e1000'
,'mac=ZZ:ZZ:ZZ:ZZ:ZZ:ZZ,bridge=Zbridge,model=e1000'
]

disk = [
 'format=raw, vdev=hda, access=rw, target=image.raw'
,'format=raw, vdev=hdd, access=r,  devtype=cdrom'
]

usbdevice = [
 'mouse'
]

# Disabling Xen PCI platform.
xen_platform_pci = '0'

pci = [
 '0000:00:1f.2'
]

On the log I got :
qemu-system-x86_64: -device
e1000,id=nic2,netdev=net2,mac=ZZ:ZZ:ZZ:ZZ:ZZ:ZZ: xen: failed to
populate ram at 2c0110000

I tried to understand the issue by myself but I feel it will be too
much time consuming from an outsider like me :
-----------------> xen_ram_alloc :
...
    if (xc_domain_populate_physmap_exact(xen_xc, xen_domid, nr_pfn, 0,
0, pfn_list)) {
        error_setg(errp, "xen: failed to populate ram at " RAM_ADDR_FMT,
                   ram_addr);
    }
-----------------> xc_domain_populate_physmap_exact :
...
   err = xc_domain_populate_physmap(xch, domid, nr_extents,
                                     extent_order, mem_flags, extent_start);
-----------------> xc_domain_populate_physmap :
...
    err = do_memory_op(xch, XENMEM_populate_physmap, &reservation,
sizeof(reservation));
...

Same configuration work with one e1000 nic.
Any clue on how to investiguate would be very much apreciated.

Thanks in advance,
Have a nice day,
Mick.

Post-scriptum :
test@test1dom0:~$ lsb_release --all
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:    18.04
Codename:    bionic
test@test1dom0:~$ uname -a
Linux test1dom0 4.15.0-76.86-generic SMP Fri Feb 14 23:32:51 CET 2020
x86_64 x86_64 x86_64 GNU/Linux
test@test1dom0:~$ sudo xl info
host                   : test1dom0
release                : 4.15.0-76.86-generic
version                : SMP Fri Feb 14 23:32:51 CET 2020
machine                : x86_64
nr_cpus                : 12
max_cpu_id             : 15
nr_nodes               : 1
cores_per_socket       : 6
threads_per_core       : 2
cpu_mhz                : 3877
hw_caps                :
bfebfbff:029ae3bf:2c100800:00000001:00000000:00000000:00000000:00000100
virt_caps              : hvm hvm_directio
total_memory           : 24565
free_memory            : 18096
sharing_freed_memory   : 0
sharing_used_memory    : 0
outstanding_claims     : 0
free_cpus              : 0
xen_major              : 4
xen_minor              : 9
xen_extra              : .2
xen_version            : 4.9.2
xen_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
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          :
xen_commandline        : placeholder dom0_mem=max:6G
console_timestamps e820-verbose=true iommu=verbose
apic_verbosity=verbose loglvl=all guest_loglvl=all
cc_compiler            : gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
cc_compile_by          : test
cc_compile_domain      : test1dom0
cc_compile_date        : Mon Feb 17 00:43:33 CET 2020
build_id               : 6ba6b9b45627f0f882dc67a7e7e7e37ea2162703
xend_config_format     : 4

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users

 


Rackspace

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