From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BFxTs-0005zE-1p for qemu-devel@nongnu.org; Tue, 20 Apr 2004 11:48:16 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BFxT8-0005Ss-Io for qemu-devel@nongnu.org; Tue, 20 Apr 2004 11:48:02 -0400 Received: from [141.85.0.67] (helo=p16.pub.ro) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BFxT4-0005MZ-SJ for qemu-devel@nongnu.org; Tue, 20 Apr 2004 11:47:27 -0400 Received: from bodi.p16.pub.ro (bodi.p16.pub.ro [10.16.200.240]) by p16.pub.ro (8.12.11/8.12.11) with ESMTP id i3KFlBY3009352 for ; Tue, 20 Apr 2004 18:47:12 +0300 Date: Tue, 20 Apr 2004 18:47:42 +0300 (EEST) From: Bogdan Harjoc Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [Qemu-devel] qemu-fast segfaulting in BIOS code (?) Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hello. I've managed to make qemu-fast (the cvs version, fwiw) segfault every time I'm running it, which would not be such a big deal, as I am NOT using a modified-for-qemu kernel as required. Except that the error happens in the code_gen_buffer space (according to gdb) and I haven't (yet) looked at the dynamic translation sources too close or even read the documentation enough to figure out where to start looking for the error. The one reason I'm posting this possible bug report is because qemu-fast even segfaults when booting from a floppy with "E8" (jmp $) as the first byte (I've tried the image with qemu-softmmu and it successfully does nothing). Shouldn't problems appear only when running linux kernel code ? Two questions I'd be happy to read answers to are: - is this normal ? (eg, I'm doing something wrong) - (or) is qemu-fast not yet stable enough to get past the BIOS code ? (running slackware 9.1 with kernel 2.6.5, and here's the gdb output) (gdb) run -fda fdimg Starting program: /.tmp/qemu-cvs/qemu/i386/qemu-fast -fda fdimg Connected to host network interface: tun0 Serial port redirected to /dev/pts/111 1.44 MB 3"1/2 floppy disk (2 h 80 t 18 s) rw No disk in drive QEMU 0.5.4 monitor - type 'help' for more information (qemu) Program received signal SIGSEGV, Segmentation fault. 0xa8db6bf4 in code_gen_buffer () (gdb) Regards, Bogdan