Skip to contentSkip to conversation

xl dump-core fails, j!=nr_pages

DISCUSSION Olaf Hering 2 participants 4 messages Aug 10, 2016

lore
Share & tools
lore
#0 lore raw

With staging-4.7 'xl dump-core hvm.cfg file' fails:

root@macintyre-old:~ # xl -vvvv create -cdVf hvm.cfg ... wait ...
root@macintyre-old:~ # xl dump-core x x.dump
xc: info: j (63635) != nr_pages (65709)

hvm.cfg:
name="x"
description="y" uuid="0529a09c-2430-48e5-8c09-085d4e2380a8"
memory=1024
memory=256
serial="pty"
builder="hvm"
boot="cd"
disk=[ 'file:/disk0.raw,hda,w', 'file:/Media1.iso,hdc:cdrom,r', ] vif=[ 'bridge=br0' ]
keymap="de"
vfb = [ 'type=vnc,vncunused=1,keymap=de' ]
usb=1
usbdevice='tablet'

root@macintyre-old:~ # xl info
host : macintyre-old
release : 3.12.59-60.45-xen
version : #1 SMP Sat Jun 25 06:19:03 UTC 2016 (396c69d)
machine : x86_64
nr_cpus : 4
max_cpu_id : 15
nr_nodes : 1
cores_per_socket : 4
threads_per_core : 1
cpu_mhz : 2000
hw_caps : b7ebfbff:009ce3bd:28100800:00000001:00000000:00000000:00000000:00000100
virt_caps : hvm
total_memory : 6135
free_memory : 0
sharing_freed_memory : 0
sharing_used_memory : 0
outstanding_claims : 0
free_cpus : 0
xen_major : 4
xen_minor : 7
xen_extra : .20160726T13082
xen_version : 4.7.20160726T13082
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 : 2016-07-26 14:08:29 +0100 git:899495b
xen_commandline : console=com1 com1=57600 loglvl=all guest_loglvl=all
cc_compiler : gcc (SUSE Linux) 4.8.5
cc_compile_by : abuild

cc_compile_domain      :
cc_compile_date        : Tue Jul 26 14:08:29 UTC 2016
build_id               : b8d2712feab8b81a845316485f986da952d44f73
xend_config_format     : 4

Olaf

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#1 lore raw

On Wed, Aug 10, Olaf Hering wrote:

This fails also with 4.4/4.5/4.6. Is 'xl dump-core' supposed to work with HVM guests? I think at some point 'xm dump-core' used to work, just crash(1) could not deal with the result.

Quoted 4 lines

xc: info: j (63635) != nr_pages (65709)
memory=256

memory=1024

xc: info: j (260243) != nr_pages (262309)

What are those missing 2066 pages?

Olaf

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#2 lore raw
Quoted 7 lines · Olaf Hering

On Wed, Aug 10, Olaf Hering wrote:

This fails also with 4.4/4.5/4.6. Is 'xl dump-core' supposed to work with HVM guests? I think at some point 'xm dump-core' used to work, just crash(1) could not deal with the result.

Quoted 1 line

xc: info: j (63635) != nr_pages (65709)

Does xl crash? I think this is only informational.

Quoted 8 lines
Quoted 3 lines

memory=256

memory=1024

xc: info: j (260243) != nr_pages (262309)

What are those missing 2066 pages?

Maybe the guest ballooned out some pages? I haven't really checked all the code though.

Wei.

Quoted 8 lines

Olaf

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#3 lore raw
Quoted 10 lines · Wei Liu
Quoted 7 lines · Olaf Hering

On Wed, Aug 10, Olaf Hering wrote:

This fails also with 4.4/4.5/4.6. Is 'xl dump-core' supposed to work with HVM guests? I think at some point 'xm dump-core' used to work, just crash(1) could not deal with the result.

Quoted 1 line

xc: info: j (63635) != nr_pages (65709)

Does xl crash? I think this is only informational.

I dont think it crashes. Will put this on my todo list, since its appearently broken since some time already.

Olaf

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel