All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@eu.citrix.com>
To: xen-devel@lists.xensource.com
Subject: FPU exception
Date: Tue, 4 Mar 2008 12:10:50 +0000	[thread overview]
Message-ID: <20080304121050.GA8880@implementation.uk.xensource.com> (raw)

Hello,

I was trying to boot w98 when I got a BUG:

(XEN) Xen BUG at traps.c:2640                                                   
(XEN) ----[ Xen-3.3-unstable  x86_64  debug=n  Not tainted ]----                
(XEN) CPU:    0                                                                 
(XEN) RIP:    e008:[<ffff828c8017e343>] do_device_not_available+0x44/0xbc       
(XEN) RFLAGS: 0000000000010246   CONTEXT: hypervisor                            
(XEN) rax: 0000000000000000   rbx: ffff83007d40e080   rcx: 0000000000001be0     
(XEN) rdx: ffff828c8028ff28   rsi: 000000000000000a   rdi: ffff828c8028e348     
(XEN) rbp: ffff828c8028e338   rsp: ffff828c8028e318   r8:  ffff828c8028fe28     
(XEN) r9:  ffff828c801c52fe   r10: 000000000fff00b0   r11: ffff828c801c54e6     
(XEN) r12: 0000000000000000   r13: 0000000000000000   r14: 0000000000000000     
(XEN) r15: 0000000000000000   cr0: 000000008005003b   cr4: 00000000000026b0     
(XEN) cr3: 0000000079183000   cr2: 0000000000000000                             
(XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: e010   cs: e008           
...
(XEN)    [<ffff828c8017e343>] do_device_not_available+0x44/0xbc                 
(XEN)    [<ffff828c801f95b5>] handle_exception_saved+0x2d/0x6b                  
(XEN)    [<ffff828c801c54e6>] realmode_emulate_cmpxchg+0x0/0x3b                 
(XEN)    [<ffff828c801c52fe>] realmode_emulate_insn_fetch+0x0/0xc3              
(XEN)    [<ffff828c8018ad77>] x86_emulate+0xa267/0x1348c                        

which is

    case 0x9b:  /* wait/fwait */
        __emulate_fpu_insn("fwait");
        break;

I guess we need to ensure that the FPU is setup before emulating FPU
instructions?

Samuel

             reply	other threads:[~2008-03-04 12:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-04 12:10 Samuel Thibault [this message]
2008-03-04 13:21 ` FPU exception Keir Fraser

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=20080304121050.GA8880@implementation.uk.xensource.com \
    --to=samuel.thibault@eu.citrix.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.