xl dump-core fails, j!=nr_pages
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_64nr_cpus : 4max_cpu_id : 15nr_nodes : 1cores_per_socket : 4threads_per_core : 1cpu_mhz : 2000hw_caps : b7ebfbff:009ce3bd:28100800:00000001:00000000:00000000:00000000:00000100virt_caps : hvmtotal_memory : 6135free_memory : 0sharing_freed_memory : 0sharing_used_memory : 0outstanding_claims : 0free_cpus : 0xen_major : 4xen_minor : 7xen_extra : .20160726T13082xen_version : 4.7.20160726T13082xen_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_64xen_scheduler : creditxen_pagesize : 4096platform_params : virt_start=0xffff800000000000xen_changeset : 2016-07-26 14:08:29 +0100 git:899495bxen_commandline : console=com1 com1=57600 loglvl=all guest_loglvl=allcc_compiler : gcc (SUSE Linux) 4.8.5cc_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
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=256memory=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
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
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