From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mukesh Rathor Subject: Re: [HYBRID]: XEN_EMULATE_PREFIX in user process Date: Fri, 29 Jun 2012 11:15:46 -0700 Message-ID: <20120629111546.50e36f52@mantra.us.oracle.com> References: <20120628180007.06bb3fd3@mantra.us.oracle.com> <20120629010903.GC4902@phenom.dumpdata.com> <20120628182602.6cc9b432@mantra.us.oracle.com> <1340957369.10942.74.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1340957369.10942.74.camel@zakaz.uk.xensource.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: Ian Campbell Cc: "Xen-devel@lists.xensource.com" , Stefano Stabellini , Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org On Fri, 29 Jun 2012 09:09:29 +0100 Ian Campbell wrote: > On Fri, 2012-06-29 at 02:26 +0100, Mukesh Rathor wrote: > > On Thu, 28 Jun 2012 21:09:03 -0400 > > CS 0x033 could still be kernel mode on regular PV 64 bit, but I > suppose not on hybrid? correct, not on hybrid, unless some bug! But then the RIP also appears user mode. > It's unlikely but not impossible for a userspace developer to have > done some "Xen magic" and used the prefix in userspace. > > What version of dm_mapper do you have? I checked the version in Debian > Sid and it doesn't do this (at least not directly). > > Are you able to run the dm_mapper process under gdb and inspect it to > find the prefix? Well, let me take that back. dm_mapper is the last printk, but it could be anything after that or that. Unfortunately, it's dom0 and during boot, so can't run gdb on it. I am hacking the kernel now to print every user process name in schedule. thanks, Mukesh