From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KzqSH-0008WU-O5 for qemu-devel@nongnu.org; Tue, 11 Nov 2008 05:26:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzqSF-0008VZ-Q2 for qemu-devel@nongnu.org; Tue, 11 Nov 2008 05:26:40 -0500 Received: from [199.232.76.173] (port=38910 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzqSF-0008VK-Bz for qemu-devel@nongnu.org; Tue, 11 Nov 2008 05:26:39 -0500 Received: from ug-out-1314.google.com ([66.249.92.174]:10680) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KzqSE-0000il-Qt for qemu-devel@nongnu.org; Tue, 11 Nov 2008 05:26:39 -0500 Received: by ug-out-1314.google.com with SMTP id 29so882289ugc.36 for ; Tue, 11 Nov 2008 02:26:36 -0800 (PST) Date: Tue, 11 Nov 2008 12:27:00 +0100 From: Kristoffer Ericson Message-Id: <20081111122700.79906a33.kristoffer.ericson@gmail.com> In-Reply-To: <20081111141335.3c869c26.yoshii.takashi@gmail.com> References: <20081110233926.3d8c7fd1.kristoffer.ericson@gmail.com> <20081111141335.3c869c26.yoshii.takashi@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Tue__11_Nov_2008_12_27_00_+0100_nIZAVZhAHwts_4x0" Subject: [Qemu-devel] Re: Qemu SH4 status #2 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: yoshii.takashi@gmail.com Cc: qemu-devel@nongnu.org, takasi-y@ops.dti.ne.jp, "linux-sh@vger.kernel.org" --Signature=_Tue__11_Nov_2008_12_27_00_+0100_nIZAVZhAHwts_4x0 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, 11 Nov 2008 14:13:35 +0900 yoshii.takashi@gmail.com wrote: > Hi, > > My best guess is that id for whatever reason is tooo > > high, but thats just my #1 attempt at qemu debugging. > Yes, but wrong code is in hw/r2d.c. I should not have called mmio_ide_ini= t() > if no HDD image given. I fixed it but haven't posted the new one yet. > My code is now like the following, > if ((i =3D drive_get_index(IF_IDE, 0, 0)) !=3D -1) > mmio_ide_init(0x14001000, 0x1400080c, irq[CF_IDE], 1, > drives_table[i].bdrv, NULL); > # I think these mails should go to qemu ML, though. > /yoshii I'm still getting segmentation fault at exact same location. Have you made additional patches? --=20 Kristoffer Ericson --Signature=_Tue__11_Nov_2008_12_27_00_+0100_nIZAVZhAHwts_4x0 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkkZbAQACgkQPQls10ERAGfhBgCgqLy+bk5s76xUvlZEmExVz+Ks iDMAoNKcEQ867v92hhUK6YRI9/HKlGCA =Bbgh -----END PGP SIGNATURE----- --Signature=_Tue__11_Nov_2008_12_27_00_+0100_nIZAVZhAHwts_4x0--