From owner-freebsd-emulation@FreeBSD.ORG Sat Jul 30 11:57:33 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 29E0716A41F for ; Sat, 30 Jul 2005 11:57:33 +0000 (GMT) (envelope-from marsgmiro@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 657BE43D45 for ; Sat, 30 Jul 2005 11:57:32 +0000 (GMT) (envelope-from marsgmiro@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so624886nzo for ; Sat, 30 Jul 2005 04:57:31 -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=Dh5qSaXB6QajRrtiruKfbFLhzCMLgiEVhP7PFu+BJSXioKS9YJnNGLEK0/gKkmr14gT6PQh4dSUftH5lV4UowFWjcJaN9At5sNfCphbCI09r4kmNHgpUAZni7oC42SbXhZaROvoQnQhNJYiafayPcJIYP5euy0CVnV4S8IekDdU= Received: by 10.36.8.10 with SMTP id 10mr3952414nzh; Sat, 30 Jul 2005 04:57:31 -0700 (PDT) Received: by 10.36.72.13 with HTTP; Sat, 30 Jul 2005 04:57:31 -0700 (PDT) Message-ID: <28edec3c050730045765b5262b@mail.gmail.com> Date: Sat, 30 Jul 2005 19:57:31 +0800 From: "Mars G. Miro" To: Jung-uk Kim In-Reply-To: <200507292022.38135.jkim@FreeBSD.org> 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> 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: Sat, 30 Jul 2005 11:57:33 -0000 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 You rock dude! This patch fixes it. FreeBSD54/amd64 Guest on FreeBSD54/amd64 Host. Any thoughts of including this patch in the ports? > Cheers, >=20 > Jung-uk Kim >=20 >=20 cheers mars