From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: [BUG] Xen vm kernel crash in get_free_entries. Date: Wed, 16 Oct 2013 17:17:39 +0300 Message-ID: <20131016141739.GK2924@reaktio.net> References: <525E31F2.3020308@rat.ru> <525E94A3.90706@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <525E94A3.90706@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: David Vrabel Cc: astarta@rat.ru, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, Oct 16, 2013 at 02:29:07PM +0100, David Vrabel wrote: > On 16/10/13 07:28, Astarta wrote: > > Hello, > > > > This is a some kind of a follow up to the > > http://lists.xen.org/archives/html/xen-devel/2013-09/msg03109.html ( > > Linux 3.11.1 HVM guest kernel crash when started with xl > > (get_free_entries)). > > > > Looks like we've here the similar issue. > > > > Xen VM with 3.8.13 kernel crashes in get_free_entries (kernel BUG at > > drivers/xen/grant-table.c:1181!), i.e in: > > BUG_ON(grefs_per_grant_frame == 0);. 3.11.5 kernel behaves in exactly > > the same way. > > > > Whole kernel log is attached. It does not contain any "Grant tables > > using version" message. > > > > Seems that gnttab_request_version() has was never executed, so > > grefs_per_grant_frame was never set. > > > > Could you please advice on this issue? > > I think you're missing the platform pci device required for PVHVM. > What's your VM's xl.cfg? > Yes, exactly, I had "xen_platform_pci=0" in my VM's xl.cfg, and I assume Astarta has aswell. That is because I wanted to test *without* PVHVM, and that is a valid configuration imho.. (and works OK with xm/xend). -- Pasi