From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DzR40-0001dE-1q for qemu-devel@nongnu.org; Sun, 31 Jul 2005 23:34:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DzR3y-0001bx-2U for qemu-devel@nongnu.org; Sun, 31 Jul 2005 23:34:02 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DzR3x-0001b5-68 for qemu-devel@nongnu.org; Sun, 31 Jul 2005 23:34:01 -0400 Received: from [64.233.162.204] (helo=zproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DzRCw-0005Me-6R for qemu-devel@nongnu.org; Sun, 31 Jul 2005 23:43:18 -0400 Received: by zproxy.gmail.com with SMTP id s18so801717nze for ; Sun, 31 Jul 2005 20:30:52 -0700 (PDT) Message-ID: <28edec3c050731203069f7c4a8@mail.gmail.com> Date: Mon, 1 Aug 2005 11:30:52 +0800 From: "Mars G. Miro" In-Reply-To: <28edec3c05073119576445ec92@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <28edec3c0507290000415a350d@mail.gmail.com> <200507291540.52889.jkim@niksun.com> <200507291647.49230.jkim@niksun.com> <200507292022.38135.jkim@FreeBSD.org> <28edec3c050730045765b5262b@mail.gmail.com> <28edec3c05073119576445ec92@mail.gmail.com> Subject: [Qemu-devel] Re: ata devices on emulated amd64 on qemu Reply-To: "Mars G. Miro" , qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jung-uk Kim Cc: freebsd-emulation@freebsd.org, Juergen Lock , qemu-devel@nongnu.org On 8/1/05, Mars G. Miro wrote: > On 7/30/05, Mars G. Miro wrote: > > On 7/30/05, Jung-uk Kim wrote: > > > Okay. I finally found a fix. It was actually quite simple. Newer= =20 > > > FreeBSD and Linux ATA drivers check whether the PCI ATA controller is= =20 > > > in legacy ATA mode (aka PATA mode). The test failed and it was=20 > > > treated like a SATA controller. Of course, IRQ failed to map. ;-) = =20 > > > Try the attached patch. Tested with FreeBSD/amd64 6.0-BETA1 guest on= =20 > > > FreeBSD/amd64 host. > > >=20 > >=20 > >=20 > > You rock dude! This patch fixes it. FreeBSD54/amd64 Guest on > > FreeBSD54/amd64 Host. > >=20 > > Any thoughts of including this patch in the ports? > >=20 > >=20 >=20 >=20 > Oops. I noticed only now that this time, it's the emulated NE2000 NIC > that's not detected. This is for a FreeBSD/amd64 guest on > FreeBSD/amd64 Host. >=20 Scratch that.=20 This is only because there's no ed in the GENERIC kernel for AMD64. Thanks. > Thanks. >=20 >=20 > > > Cheers, > > >=20 > > > Jung-uk Kim > > >=20 > > >=20 > >=20 > >=20 >=20 cheers mars