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:45:28 +0100
Cc:
Delivery-date: Wed, 14 Apr 2010 07:49:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <x2g7ca980ca1004072256i84934d7axf42657db1b8450ad@xxxxxxxxxxxxxx>
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/76B
Thread-topic: [Xen-devel] xen-detect fail.
User-agent: Microsoft-Entourage/12.23.0.091001
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

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