All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir.fraser@eu.citrix.com>
To: Qiang Fu <fu7iang@gmail.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: xen-detect fail.
Date: Wed, 14 Apr 2010 15:55:30 +0100	[thread overview]
Message-ID: <C7EB95F2.FE2E%keir.fraser@eu.citrix.com> (raw)
In-Reply-To: <C7EB9398.FE1F%keir.fraser@eu.citrix.com>

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@eu.citrix.com> 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@gmail.com> 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@lists.xensource.com
> http://lists.xensource.com/xen-devel

      reply	other threads:[~2010-04-14 14:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-08  5:56 xen-detect fail Qiang Fu
2010-04-14 14:45 ` Keir Fraser
2010-04-14 14:55   ` Keir Fraser [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C7EB95F2.FE2E%keir.fraser@eu.citrix.com \
    --to=keir.fraser@eu.citrix.com \
    --cc=fu7iang@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.