WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] xen-detect fail.

To: Qiang Fu <fu7iang@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xen-detect fail.
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 14 Apr 2010 15:55:30 +0100
Cc:
Delivery-date: Wed, 14 Apr 2010 07:56:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C7EB9398.FE1F%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acrb3SDDA6QHLTERRwuI1Ghg6Oo+cgAA/76BAABZtJc=
Thread-topic: [Xen-devel] xen-detect fail.
User-agent: Microsoft-Entourage/12.23.0.091001
Your output indicates that it is different rip values that cause the
exception on the two platforms. Did you rebuild xen-detect on each platform?
Otherwise it might indicate that some other instruction than UD2A is
faulting on the bad platform, and causing a general protection fault rather
than undefined opcode fault.

 -- Keir

On 14/04/2010 15:45, "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx> wrote:

> Hi,
> 
> Where the code calls signal(SIGILL, ...) can you try changing it to
> signal(SIGSEGV, ...) instead? Could be that some versions of Linux deliver
> invalid opcode exceptions as SIGSEGV rather than SIGILL. Would be weird, but
> we can handle it if that's what's happening.
> 
>  Thanks,
>  Keir
> 
> On 08/04/2010 06:56, "Qiang Fu" <fu7iang@xxxxxxxxx> wrote:
> 
>> Hi,
>> 
>> xen-detect may hang on some cases.
>> I hit this issue on one of my box. And I found that
>> it hang when executing "ud2a". Seems it not trap
>> and sig the user.
>> 
>> OS: RHEL 5.4       2.6.18-164.15.1.el5
>> glibc-2.5-42.el5_4.3.x86_64
>> 
>> /var/log/message
>> kernel: xen-detect general protection rip:400665 rsp:7fff3a922888 error:0
>> 
>> On platform it work correctly, the message is
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>