From: Joaquin Fernandez Piqueras Subject: Re: System reboots after "Scrubbing free RAM" Xen 4.0.1 linux 2.6.37-rc3, crash with less than 16 GB of dom0_mem Date: Thu, 25 Nov 2010 09:26:52 +0100 Message-ID: <4CEE1DCC.9020608@tsc.upc.edu> References: <4CEE18F3.3040403@tsc.upc.edu> <20101125081346.GF2754@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20101125081346.GF2754@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: xen-users@lists.xensource.com Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Al 25/11/10 09:13, En/na Pasi K=E4rkk=E4inen ha escrit: > On Thu, Nov 25, 2010 at 09:06:11AM +0100, Joaquin Fernandez Piqueras wr= ote: >> Al 25/11/10 00:16, En/na Marek Kaszycki ha escrit: >>> Hi Everyone >>> >>> I have sorted out the initial issues I've had and decided to give Xen >>> another go. >>> >>> I'm trying to run Xen using kernel 2.6.37-rc3 (previous attempt with >>> rc1 failed, and when I gave it a second go, rc3 was already out). >>> >>> As previously, 2.6.37-rc3 boots fine natively. 2.6.32 boots natively >>> and under Xen as dom0, but I have reservations against running 2.6.32= , >>> please bear with me. >>> Booting 2.6.37-rc3 under Xen (4.0.1-1, squeeze) causes a reboot right >>> after "Scrubbing free RAM" appears -- I believe some tables appear >>> just to blink on the screen right afterwards, but I am unable to >>> confirm just what exactly is there -- I don't have a serial console >>> attached -- so I am unable to capture the output from Xen or dom0. >>> >>> I am at a loss as to what causes this. I have compiled the kernel >>> myself, following the advice on >>> http://wiki.xen.org/xenwiki/XenParavirtOps >>> >>> Since there are additional lines after the error message, I believe >>> the hypervisor completes its init and the reboot happens just when th= e >>> hypervisor wants to boot dom0. >>> >>> I have checked the threads: >>> http://lists.xensource.com/archives/html/xen-users/2010-11/msg00420.h= tml >>> http://lists.xensource.com/archives/html/xen-devel/2010-04/msg01227.h= tml >>> My system has just 8 GB of RAM and just one CPU. Following the advice= , >>> I have added 'noreboot' to Xen entry in grub.cfg, but even though Xen >>> doesn't reboot the system now, it's worse because right after >>> "Scrubbing free RAM", the screen goes blank, no cursor or anything, >>> and just stays this way. >>> >>> I have uploaded the grub.cfg and kernel .config to the following >>> locations: >>> http://www.kaszycki.pl/xen/grub.cfg >>> http://www.kaszycki.pl/xen/kconfig >>> >>> Thanks in advance for all your help. >>> >> Hi, >> >> I have the same issue with a server with 32GB of RAM. In my case the >> system reboots after "Scrubbing free RAM" when the dom0_mem parameter = is >> 16GB or less. I don't know if my problem is related , but I >> workarrounded it setting dom0_mem=3D17GB and when the system boots I >> decrease this value to 2GB with the "xm mem-set" command. >> >> It's not the best solution, but really I don't know how to get the >> "dom0_mem=3D2GB" work. >> > This sounds like a bug. > What dom0 kernel version were you running? > Can you post the serial log about the crash? > > I added xen-devel as CC. > My dom0 kernel is 2.6.32 from debian squeeze amd64. I'm working to obtain the serial log. It's not an easy task ;) Quimi