I am also facing this problem. :-(

I used gdb to trace it down. In hw/cirrus_vga.c the exception is hit in
cirrus_do_copy:

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0xb7dbeb90 (LWP 31952)]
0x080aaa85 in cirrus_do_copy (s=0x87474d4, dst=480000, src=0, w=2, h=9)
    at 
/var/tmp/portage/app-emulation/qemu-kvm-0.12.1.2/work/qemu-kvm-0.12.1.2/hw/cirrus_vga.c:687
687         sx = (src % ABS(s->cirrus_blt_srcpitch)) / depth;
(gdb) print s->cirrus_blt_srcpitch
$1 = 0
(gdb) print s->vga.gr[0x26]
$16 = 0 '\000'
(gdb) print s->vga.gr[0x27]
$17 = 0 '\000'

Perhaps the registers are not properly initialized. I #defined
DEBUG_BITBLT and got the following output:

rop=0x0e mode=0x00 modeext=0x00 w=2 h=9 dpitch=1 spitch=0
daddr=0x00075300 saddr=0x00000000 writemask=0x00

There is only one line of output, so it seems to be the first BLITBLT
operation, that failes. This really could be a bad initial register
value. Unfortunately, I have no knowledge on the cirrus chip, so I
cannot fix this problem.

I hope, someone else can figure out a way to fix this.

73, Mario

-- 
floating point exception when Windows NT 4 guest uses its cirrus driver
https://bugs.launchpad.net/bugs/500009
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to