xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* xl dump-core fails, j!=nr_pages
@ 2016-08-10  7:40 Olaf Hering
  2016-08-10  8:25 ` Olaf Hering
  0 siblings, 1 reply; 4+ messages in thread
From: Olaf Hering @ 2016-08-10  7:40 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1941 bytes --]

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

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 127 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: xl dump-core fails, j!=nr_pages
  2016-08-10  7:40 xl dump-core fails, j!=nr_pages Olaf Hering
@ 2016-08-10  8:25 ` Olaf Hering
  2016-08-10 11:21   ` Wei Liu
  0 siblings, 1 reply; 4+ messages in thread
From: Olaf Hering @ 2016-08-10  8:25 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 375 bytes --]

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.

> 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

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 127 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: xl dump-core fails, j!=nr_pages
  2016-08-10  8:25 ` Olaf Hering
@ 2016-08-10 11:21   ` Wei Liu
  2016-08-10 15:32     ` Olaf Hering
  0 siblings, 1 reply; 4+ messages in thread
From: Wei Liu @ 2016-08-10 11:21 UTC (permalink / raw)
  To: Olaf Hering; +Cc: Wei Liu, xen-devel

On Wed, Aug 10, 2016 at 10:25:30AM +0200, Olaf Hering wrote:
> 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.
> 
> > xc: info: j (63635) != nr_pages (65709)

Does xl crash?  I think this is only informational.

> > 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.

> Olaf



> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> https://lists.xen.org/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: xl dump-core fails, j!=nr_pages
  2016-08-10 11:21   ` Wei Liu
@ 2016-08-10 15:32     ` Olaf Hering
  0 siblings, 0 replies; 4+ messages in thread
From: Olaf Hering @ 2016-08-10 15:32 UTC (permalink / raw)
  To: Wei Liu; +Cc: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 576 bytes --]

On Wed, Aug 10, Wei Liu wrote:

> On Wed, Aug 10, 2016 at 10:25:30AM +0200, Olaf Hering wrote:
> > 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.
> > 
> > > 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

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 127 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-08-10 15:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-10  7:40 xl dump-core fails, j!=nr_pages Olaf Hering
2016-08-10  8:25 ` Olaf Hering
2016-08-10 11:21   ` Wei Liu
2016-08-10 15:32     ` Olaf Hering

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).