From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NqN7e-0004gn-HC for qemu-devel@nongnu.org; Sat, 13 Mar 2010 03:55:02 -0500 Received: from [199.232.76.173] (port=33021 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NqN7d-0004gb-Iq for qemu-devel@nongnu.org; Sat, 13 Mar 2010 03:55:01 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NqN7a-0006EH-EN for qemu-devel@nongnu.org; Sat, 13 Mar 2010 03:55:01 -0500 Received: from mail-pw0-f45.google.com ([209.85.160.45]:52587) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NqN7a-0006ED-47 for qemu-devel@nongnu.org; Sat, 13 Mar 2010 03:54:58 -0500 Received: by pwi9 with SMTP id 9so1121340pwi.4 for ; Sat, 13 Mar 2010 00:54:57 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <201003130151.36065.rob@landley.net> References: <201003130151.36065.rob@landley.net> From: Roy Tam Date: Sat, 13 Mar 2010 16:54:36 +0800 Message-ID: <473191351003130054o3dcc192dle9d54ddcd6de8b1c@mail.gmail.com> Subject: Re: [Qemu-devel] qemu-system-sh4 broken again. Content-Type: text/plain; charset=ISO-8859-1 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Rob Landley Cc: qemu-devel@nongnu.org 2010/3/13 Rob Landley : > Using qemu-system-sh4, this commit: > > e1c09175bc00dd8dfb2ad1b26e1858dcdc109b59 is first bad commit > commit e1c09175bc00dd8dfb2ad1b26e1858dcdc109b59 > Author: Gerd Hoffmann > Date: Tue Dec 8 13:11:44 2009 +0100 > > zap serial_monitor_mux > > The logic in this code obviously predates the multiple monitor > capability of qemu and looks increasingly silly these days. > > I think the intention of this piece of code is to get a reasonable > default for the -nographic case: have monitor and serial line muxed > on stdio. > > With the new default_serial and default_monitor variables we have now > doing just that became much easier ;) > > Signed-off-by: Gerd Hoffmann > Signed-off-by: Anthony Liguori > > Made "-serial stdio" now do: > > chardev: opening backend "stdio" failed > qemu: could not open serial device 'stdio': Inappropriate ioctl for device > > Am I using it wrong? > > If I don't override it, I instead get: > > long read to SH7750_WCR1_A7 (0x000000001f800008) ignored > long read to SH7750_WCR2_A7 (0x000000001f80000c) ignored > long read to SH7750_WCR3_A7 (0x000000001f800010) ignored > long read to SH7750_MCR_A7 (0x000000001f800014) ignored > long read to SH7750_MCR_A7 (0x000000001f800014) ignored > sh_serial: unsupported read from 0x10 > qemu-system-sh4: /home/landley/qemu/git/hw/sh_serial.c:285: > sh_serial_ioport_read: Assertion `0' failed. > > Is anybody out there actually using the sh4 emulator? I've gotten it to work > several times before on various random git snapshots, but never in a release > version... > > I'd point to the original message that told me to use -serial stdio for qemu- > system-sh4, but unfortunately your mailing list archive is on lists.gnu.org > and their robots.txt tells Google not to index them, so your mailing list > archives aren't googleable. In fact, there's exactly one hit on the whole of > lists.gnu.org for "qemu": > > http://www.google.com/#q=site%3Alists.gnu.org+qemu > instead of searching in list.gnu.org you can search in gmane: http://dir.gmane.org/gmane.comp.emulators.qemu or googling with other mail archives, for example: site:mail-archive.com site:marc.info