From: "NiX" <nix@myproxylists.com>
To: Ian Campbell <ian.campbell@citrix.com>
Cc: xen-devel@lists.xen.org
Subject: Re: XEN 4.3.0 WINDOWS HVM 3GB RAM ISSUE
Date: Sun, 3 Nov 2013 20:56:43 +0200 [thread overview]
Message-ID: <1f9eb6f0c7f5bb2f92a2e0a113532adb.squirrel@gameframe.net> (raw)
In-Reply-To: <1382479631.18283.55.camel@hastur.hellion.org.uk>
> On Tue, 2013-10-22 at 23:07 +0300, NiX wrote:
>> Hello list!
>>
>> ----------------------------------------------------------------------------------------------------
>> The problem
>> ----------------------------------------------------------------------------------------------------
>>
>> Windows 7 64bit nor Windows 2008 R2 Enterprise Server 64bit is not
>> starting with more than 3GB of RAM in HVM mode
>>
>> As a reference:
>>
>> Ubuntu 64-bit server is starting without any issue with 5GB of RAM on
>> this
>> server in HVM mode
>> And all PV guest can use as much RAM as available when using 64bit
>> linux.
>>
>> ----------------------------------------------------------------------------------------------------
>>
>> System:
>> > > CPU's: 2 x XEON X5450
>> > > Motherboard: Intel Server Board S5000PSLSASR
>> > > http://ark.intel.com/products/46544/Intel-Server-Board-S5000PSLSASR
>>
>> > > RAM: 16GB DDR2 ECC
>> > > Dom0 OS: Debian 7.0 64bit
>>
>> ----------------------------------------------------------------------------------------------------
>>
>> xl create 10.100.12.10.cfg
>
> Does "xl -vvv create <the rest>" produce anything extra?
>
>> ----------------------------------------------------------------------------------------------------
>> VM config
>> ----------------------------------------------------------------------------------------------------
> [...]
>> shadow_memory=8
>
> Is there a reason you are overriding this instead of accepting the
> default? I notice your xl dmesg has mention of running out of shadow
> RAM, which might be related.
I remember reading that should help you to get a larger resolution when
using VNC to access VPS console.
> [...]
>> (XEN) common.c:1598: d10 failed to allocate from shadow
>> pool<G><2>memory.c:132:d0 Could not allocate order=9 extent: id=10
>> memflags=0 (2 of 4)
>> (XEN) printk: 11634 messages suppressed.
>
>> (XEN) grant_table.c:350:d0 Bad flags (0) or dom (0). (expected dom 0)
>> (XEN) common.c:1598: d11 failed to allocate from shadow
>> pool<G><2>memory.c:132:d0 Could not allocate order=9 extent: id=11
>> memflags=0 (2 of 4)
>> (XEN) grant_table.c:350:d0 Bad flags (0) or dom (0). (expected dom 0)
>
> This looks like the root cause of the failure which xl reported. I
> wonder if this could be a dom0 kernel issue. What are you running there?
> Some sort of custom kernel with the grsec patches perhaps? Can you try
> without those to rule out an incompatiblity?
I run there custom kernel 3.2.51-grsec but that have got nothing to do
with the issue. I've tested it without custom kernel and/or grsec.
I just commented out #shadow_memory=8 and I can now start both Win7 and
R2/2008 server with more than 4GB of RAM. Thank you for catching this
'error'.
>
> I'm not at all sure why the type of guest would be related to anything
> of that type though. A failure during domain build time like you are
> seeing is too soon to even know what kind of guest it is going to be.
> Could there be any options which differ between the configuration files
> for your working and non-working guests?
>
> Ian.
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
>
next prev parent reply other threads:[~2013-11-03 18:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-22 20:07 XEN 4.3.0 WINDOWS HVM 3GB RAM ISSUE NiX
2013-10-22 22:07 ` Ian Campbell
2013-11-03 18:56 ` NiX [this message]
2013-11-04 10:49 ` Ian Campbell
2013-11-04 19:56 ` NiX
[not found] <5266973C0200002600036E8C@hibbing.edu>
2013-10-23 19:01 ` NiX
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1f9eb6f0c7f5bb2f92a2e0a113532adb.squirrel@gameframe.net \
--to=nix@myproxylists.com \
--cc=ian.campbell@citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).