From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: [BUG] Xen vm kernel crash in get_free_entries. Date: Wed, 16 Oct 2013 14:29:07 +0100 Message-ID: <525E94A3.90706@citrix.com> References: <525E31F2.3020308@rat.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <525E31F2.3020308@rat.ru> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: astarta@rat.ru Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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? David