Arithmetic exception in qemu/hw/cirrus_vga.c:734 Built the kvm-84 locally on Ubuntu 8.04, 2.6.24-19-generic kernel. My kernel prints a lot of debug (WARN_ON(1)) messages on boot up. The arithmetic exception seems to occur when this output goes to the newly created pty. If I add "console=ttyS0" to the -append argument to kvm, the output goes to the "telnet" session and the system boots up fine. Pls let me know if you need more debug info; --- $ qemu-system-x86_64 --help | more QEMU PC emulator version 0.9.1 (kvm-84), Copyright (c) 2003-2008 Fabrice Bellard usage: qemu [options] [disk_image] $ sudo gdb qemu-system-x86_64 GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu"... (gdb) r -M pc -m 1024 -smp 8 -kernel /home/suka/virtmcs/kernels/vmlinuz-2.6.29-rc7 -initrd /home/suka/virtmcs/kernels/2.6.28.img -append "ro debug root=/dev/sda1 maxcpus=1" -hda /home/suka/virtmcs/guests/fc10.img -serial telnet::2009,server -redir tcp:2209::22 Starting program: /usr/local/bin/qemu-system-x86_64 -M pc -m 1024 -smp 8 -kernel /home/suka/virtmcs/kernels/vmlinuz-2.6.29-rc7 -initrd /home/suka/virtmcs/kernels/2.6.28.img -append "ro debug root=/dev/sda1 maxcpus=1" -hda /home/suka/virtmcs/guests/fc10.img -serial telnet::2009,server -redir tcp:2209::22 [Thread debugging using libthread_db enabled] [New Thread 0xb7ab06b0 (LWP 590)] QEMU waiting for connection on: telnet:0.0.0.0:2009,server [New Thread 0x7663ab90 (LWP 770)] [New Thread 0x75e35b90 (LWP 771)] [New Thread 0x75631b90 (LWP 772)] [New Thread 0x74e2db90 (LWP 773)] [New Thread 0x74629b90 (LWP 774)] [New Thread 0x73e25b90 (LWP 775)] [New Thread 0x73621b90 (LWP 776)] [New Thread 0x72e1db90 (LWP 777)] qemu: loading initrd (0x2ad443 bytes) at 0x000000003fd42000 [New Thread 0x7248bb90 (LWP 778)] Program received signal SIGFPE, Arithmetic exception. [Switching to Thread 0x7663ab90 (LWP 770)] 0x080a86a8 in cirrus_bitblt_start (s=0x87821e4) at /home/suka/src/kvm-84/qemu/hw/cirrus_vga.c:734 734 sx = (src % (width * depth)) / depth; (gdb) bt #0 0x080a86a8 in cirrus_bitblt_start (s=0x87821e4) at /home/suka/src/kvm-84/qemu/hw/cirrus_vga.c:734 #1 0x080a9265 in cirrus_hook_write_gr (s=0x87821e4, reg_index=0, reg_value=0) at /home/suka/src/kvm-84/qemu/hw/cirrus_vga.c:1080 #2 0x080aa00b in vga_ioport_write (opaque=0x87821e4, addr=975, val=2) at /home/suka/src/kvm-84/qemu/hw/cirrus_vga.c:2912 #3 0x0804cf64 in ioport_write (index=0, address=975, data=0) at /home/suka/src/kvm-84/qemu/vl.c:322 #4 0x0804cf64 in ioport_write (index=1, address=974, data=0) at /home/suka/src/kvm-84/qemu/vl.c:322 #5 0x08177462 in kvm_outw (opaque=0x0, addr=41120, data=0) at /home/suka/src/kvm-84/qemu/qemu-kvm.c:690 #6 0x081b0586 in handle_io (kvm=0x8408e70, run=0x75e36000, vcpu=0) at libkvm.c:726 #7 0x081b0df9 in kvm_run (kvm=0x8408e70, vcpu=0, env=0x842b8f0) at libkvm.c:951 #8 0x08177d34 in kvm_cpu_exec (env=0x842b8f0) at /home/suka/src/kvm-84/qemu/qemu-kvm.c:205 #9 0x08177fef in ap_main_loop (_env=0x842b8f0) at /home/suka/src/kvm-84/qemu/qemu-kvm.c:414 #10 0xb7e7a4fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #11 0xb7d2fe5e in clone () from /lib/tls/i686/cmov/libc.so.6 (gdb) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html