From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Teo En Ming (Zhang Enming)" Subject: Re: [Xen-users] Unable to start Windows 8 HVM guest with Xen VGA Passthrough with Xen 4.2.1-pre Date: Sun, 30 Sep 2012 00:49:20 +0800 Message-ID: <50672690.9070504@gmail.com> References: <5066F922.1090305@gmail.com> <50671D3D.1010304@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2508089987017332698==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Casey DeLorme Cc: "xen-users@lists.xen.org" , "Teo En Ming (Zhang Enming)" , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============2508089987017332698== Content-Type: multipart/alternative; boundary="------------070007050000080102040302" This is a multi-part message in MIME format. --------------070007050000080102040302 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Dear Casey, I had dom0_mem set to 1024 and 4096 as well, but it did not help. I am still getting the errors. I have 6 GB of memory installed. How much memory should I assign to dom0_mem? Thank you for your prompt reply. -- Yours sincerely, Mr. Teo En Ming (Zhang Enming) Singapore On 30/09/2012 00:22, Casey DeLorme wrote: > Hello Teo, > > That output is identical to the errors I had a few days ago, which was > related to available RAM. > > Ian helped me debug it, said xl was having a ballooning problem and > couldn't free up enough RAM in time to start my HVM. > > His suggested solution was to assign a fixed amount of RAM to Dom0 and > turn off ballooning. > > Prior to this I had been letting Dom0 take all the RAM, but this > problem was fixed by adding dom0_mem to grub.cfg and setting a fixed > value. > > Have you tried re-running the xl create command after the first error? > There are commands to move RAM around at run-time as well that you > could try. > > ~Casey > > On Sat, Sep 29, 2012 at 12:09 PM, Teo En Ming (Zhang Enming) > > wrote: > > On 29/09/2012 21:35, Teo En Ming (Zhang Enming) wrote: > > Hi, > > I have applied Xen VGA passthrough patches from David Techer's > personal website to Xen 4.2.1-pre source tree. Everything > compiled and > installed smoothly. But when I tried to start Windows 8 HVM > domU with > VGA passthrough, it gave me the following error: > > xc: error: unable to allocate memory to the HVM guest. (16: > device or > resource busy): Internal error. > > There are no issues with Xen 4.2-unstable changeset 25099 however. > > > Attached are screenshots of the errors for Xen 4.2.1-pre and Xen > configuration files. > > The following are links to screenshots of the errors for Xen > 4.2.1-pre. > > http://i45.tinypic.com/2j3s7pj.jpg > > http://i45.tinypic.com/95myc3.jpg > > > -- > Yours sincerely, > > Mr. Teo En Ming (Zhang Enming) > Singapore > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users > > --------------070007050000080102040302 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
Dear Casey,

I had dom0_mem set to 1024 and 4096 as well, but it did not help. I am still getting the errors.

I have 6 GB of memory installed. How much memory should I assign to dom0_mem?

Thank you for your prompt reply.

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore

On 30/09/2012 00:22, Casey DeLorme wrote:
Hello Teo,

That output is identical to the errors I had a few days ago, which was related to available RAM.

Ian helped me debug it, said xl was having a ballooning problem and couldn't free up enough RAM in time to start my HVM.

His suggested solution was to assign a fixed amount of RAM to Dom0 and turn off ballooning.

Prior to this I had been letting Dom0 take all the RAM, but this problem was fixed by adding dom0_mem to grub.cfg and setting a fixed value.

Have you tried re-running the xl create command after the first error? There are commands to move RAM around at run-time as well that you could try.

~Casey

On Sat, Sep 29, 2012 at 12:09 PM, Teo En Ming (Zhang Enming) <singapore.mr.teo.en.ming@gmail.com> wrote:
On 29/09/2012 21:35, Teo En Ming (Zhang Enming) wrote:
Hi,

I have applied Xen VGA passthrough patches from David Techer's
personal website to Xen 4.2.1-pre source tree. Everything compiled and
installed smoothly. But when I tried to start Windows 8 HVM domU with
VGA passthrough, it gave me the following error:

xc: error: unable to allocate memory to the HVM guest. (16: device or
resource busy): Internal error.

There are no issues with Xen 4.2-unstable changeset 25099 however.


Attached are screenshots of the errors for Xen 4.2.1-pre and Xen configuration files.

The following are links to screenshots of the errors for Xen 4.2.1-pre.

http://i45.tinypic.com/2j3s7pj.jpg

http://i45.tinypic.com/95myc3.jpg


--
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore



_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users




  


--------------070007050000080102040302--


--===============2508089987017332698==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============2508089987017332698==--