From owner-freebsd-emulation@FreeBSD.ORG Mon Aug 1 03:30:54 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79E2B16A41F for ; Mon, 1 Aug 2005 03:30:54 +0000 (GMT) (envelope-from marsgmiro@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A04043D53 for ; Mon, 1 Aug 2005 03:30:52 +0000 (GMT) (envelope-from marsgmiro@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so730814nzo for ; Sun, 31 Jul 2005 20:30:52 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CNcQNNAjyvAN7wWcYGYYkJwCvQztjOPOYyFsRRL50SmbZ4NY/iZWdgrf6j7FTEkIFJbMOYDiQCmZCVD7xBWYYRi7ryfZQeyntbsRXOt/YzsREckn1kixCI64q1d+01S6DJRIJzTtc+KowN6wl/G9nXKG4d9QT25P2dhkrtzY7VQ= Received: by 10.36.141.13 with SMTP id o13mr4979408nzd; Sun, 31 Jul 2005 20:30:52 -0700 (PDT) Received: by 10.36.72.13 with HTTP; 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" To: Jung-uk Kim 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> Cc: freebsd-emulation@freebsd.org, Juergen Lock , qemu-devel@nongnu.org Subject: Re: ata devices on emulated amd64 on qemu X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Mars G. Miro" List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Aug 2005 03:30:54 -0000 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