WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Debian linux-image-2.6.32-4-xen-amd64 2.6.32-11 doesn't

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] Debian linux-image-2.6.32-4-xen-amd64 2.6.32-11 doesn't boot with > 4 GiB; resets immediatelly, no log messages
From: Thomas Goirand <thomas@xxxxxxxxxx>
Date: Wed, 14 Apr 2010 06:27:37 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 13 Apr 2010 15:27:11 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=goirand.fr; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=postfix; bh=Ljvn1eM2B o47qrmtxYbUDH32+Hc=; b=bjjfwpTjDKt9kRuPfrdz3z3RrnOrFsKzWF8GdayRv e9jUiIPYl4/2d3fUlrfXltVfkw3pxQEU1rR8sVZCWhZIV/cU3OiyNA/k9M0iSTFA TzT9Qy5RfBdJZ9KdyJK8eMnfV8Q/i3m7dlKXMJm+Zw/HFw6xFRcOTVoAXcAMHTdd b4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=goirand.fr; h=message-id:date :from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=postfix; b=qBi Mzxpw6D2EHPOpb+820bWvK5kfHTTEGGsTCqR38hmMlJHMjEn9q0+nxOPV8wLpk7p GMvwkkufCauNAqgaE3C5d4DZKIAWJE64wuFqAkttnBz7++sO2AKEvMEITjPDEbBb Gq2anIStJOVCTTWN+IcT6zunY6KFh+vMltzMoDfc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BC4CB1A.3000101@xxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Openpgp: id=98EF9A49
Organization: GPLHost
References: <20100408113422.GD4183@xxxxxxxxxxxxxxxxxxxxxxxxxx> <20100408133820.GA29832@xxxxxxxxxxxxxxxxxxx> <20100408221953.GG4183@xxxxxxxxxxxxxxxxxxxxxxxxxx> <4BBE5DF2.6040707@xxxxxxxx> <20100409180016.GA14029@xxxxxxxxxxxxxxxxxxxxxxxxxx> <4BBF7004.8000707@xxxxxxxx> <20100410221349.GM4183@xxxxxxxxxxxxxxxxxxxxxxxxxx> <4BC1013D.2020003@xxxxxxxx> <4BC19B2A.3040501@xxxxxxxxxx> <4BC375A9.1060904@xxxxxxxx> <4BC3C6E1.4010400@xxxxxxxxxx> <4BC4CB1A.3000101@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100329)
Jeremy Fitzhardinge wrote:
> On 04/12/2010 06:20 PM, Thomas Goirand wrote:
>> Then do you have an idea why "xm info" shows a bit more, 900 MB free /
>> 3990 MB total, while "xm list" shows only a 2048 dom0 running??? I'm not
>> talking about just few bytes here, but one third of my RAM gone ...
>> What's going on?
>>   
> 
> Is this immediately after boot, or have you started/shutdown some domains?
> 
> Also, can you include the xen console output from "xm debug-keys m" as well?
> 
>     J

Hi Jeremy,

Let me explain again.

After boot-up situation (running KDE 3.5 and typing this message), xm
info shows 3990 RAM (I believe the 4GB is 4096MB, unless Xen counts RAM
like HDD vendors...) and 645 MB free, and "xm list" shows that dom0 is
using 3286 MB. Already, things are weird because 645 free + 3286 for the
dom0 makes 3931 and not 3990, and I never asked that my dom0 takes
anything (at boot-up it should take all the available memory).

Then I do:

xm mem-set Domain-0 2048

and then I get:
xm list Domain-0: 2048
xm info Free RAM: 1627

That makes a total of 3675 MB, which is less than the total of what I
had at boot time without using xm mem-set. Ever more weirdness: the
amount of free RAM after a xm mem-set call does vary randomly each time
I boot my laptop (a one year old Lenovo T500).

Note that I tried upgrading to the very latest version of Xen and pv_ops
kernel from the pkg-xen team, so I tried both kernel 2.6.32-10 /
hypervisor 3.4.2-3 and kernel 2.6.32-11 / hypervisor 3.4.2-4. They both
had the issue. I'm using them in Lenny (I rebuilt the Debian package
from source to create my own backports, which I don't believe is an
issue as the same thing has been uploaded to backports.org).

"xm debug-keys m" shows nothing, when exactly should I type it (sorry,
I'm not familiar with Xen debugging...).

Thomas

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>