All of lore.kernel.org
 help / color / mirror / Atom feed
* FPU exception
@ 2008-03-04 12:10 Samuel Thibault
  2008-03-04 13:21 ` Keir Fraser
  0 siblings, 1 reply; 2+ messages in thread
From: Samuel Thibault @ 2008-03-04 12:10 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: FPU exception
  2008-03-04 12:10 FPU exception Samuel Thibault
@ 2008-03-04 13:21 ` Keir Fraser
  0 siblings, 0 replies; 2+ messages in thread
From: Keir Fraser @ 2008-03-04 13:21 UTC (permalink / raw)
  To: Samuel Thibault, xen-devel

On 4/3/08 12:10, "Samuel Thibault" <samuel.thibault@eu.citrix.com> wrote:

> 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?

Duh. Fair point.

 -- Keir

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-04 13:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-04 12:10 FPU exception Samuel Thibault
2008-03-04 13:21 ` Keir Fraser

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.