From: Ian Campbell Subject: Re: Crashing kernel with dom0/libxc gnttab/gntshr Date: Tue, 30 Jul 2013 11:59:04 +0100 Message-ID: <1375181944.11701.102.camel@kazak.uk.xensource.com> References: <51F79A58.5060004@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <51F79A58.5060004@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: Vincent Bernardoff Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, 2013-07-30 at 11:50 +0100, Vincent Bernardoff wrote: > Hi, > > The attached program makes my kernel (3.9.9-1-ARCH, stock Archlinux > kernel) crash with the attached dmesg output. The dmesg output seems to start halfway through a crash message, which means it is missing the PC etc and may not be the first crash in any case. Please could you configure a serial console and try and capture the first crash message in its entirety. Bonus points if you can avoid linewrapping the dmesg too ;-) > The program just shares a page from dom0 to dom0, Not just from dom0 to dom0 but actually within the same process. I'm not sure that matters but it is a bit unusual. Are you able to repro this with two separate processes acting as front vs. backend? The reason I ask is that it isn't clear if the crash is the process with its front or back "hat" on, separating the two out would be useful. > then map the page, > then unshare the page, and the unsharing makes the kernel crash. I ran > into this issue while implementing a native OCaml vchan driver. > > I'm very much interested in advices/help. > > Cheers, > > Vincent > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel