From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 29 19:41:18 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 0C23E16A465 for ; Fri, 29 Jul 2005 19:41:18 +0000 (GMT) (envelope-from jkim@niksun.com) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72C2E43D45 for ; Fri, 29 Jul 2005 19:41:13 +0000 (GMT) (envelope-from jkim@niksun.com) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id j6TJhaOo053592; Fri, 29 Jul 2005 15:43:36 -0400 (EDT) (envelope-from jkim@niksun.com) From: Jung-uk Kim Organization: NIKSUN, Inc. To: freebsd-emulation@freebsd.org Date: Fri, 29 Jul 2005 15:40:49 -0400 User-Agent: KMail/1.6.2 References: <28edec3c0507290000415a350d@mail.gmail.com> <20050729192325.GA18456@saturn.kn-bremen.de> In-Reply-To: <20050729192325.GA18456@saturn.kn-bremen.de> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200507291540.52889.jkim@niksun.com> X-Virus-Scanned: ClamAV 0.85.1/997/Fri Jul 29 04:07:29 2005 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Juergen Lock , "Mars G. Miro" Subject: Re: ata devices on emulated amd64 on qemu X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2005 19:41:18 -0000 On Friday 29 July 2005 03:23 pm, Juergen Lock wrote: > On Fri, Jul 29, 2005 at 03:00:19PM +0800, Mars G. Miro wrote: > > Yo list! > > > > Under qemu, I seem to have a problem with teh amd64 emulator > > detecting emulated ata devices. This is my setup: > > > > Host: FreeBSD5.4/amd64 > > > > Guest: FreeBSD5.4/i386 --> works like a charm. I can emulate > > FreeBSD/i386 as well as (limited) networking (via -user-net), > > though there's a performance hit (of course). > > ata devices: > > ad0: 500MB [1015/16/63] at ata0-master > > PIO2 acd0: CDROM at ata1-master PIO3 > > qemu was invoked by doing a: > > % qemu -hda test -cdrom /path/to/5.4-RELEASE-i386-disc1.iso -pci > > -user-net -std-vga -boot d > > > > Guest: FreeBSD5.4/amd64-> can boot only up to sysinstall menu, > > but cannot detect emulated ata devices (qemu hd image as well as > > the cdrom are nowehere to be found) > > qemu was invoked by doing a: > > % qemu-system-x86_64 -hda test -cdrom > > /path/to/5.4-RELEASE-amd64-disc1.iso -pci -user-net -std-vga > > -boot d > > > > qemu image was created by doing a: > > % qemu-img create test 500M > > > > qemu was built from the ports and is most recent (at the time of > > this writing). > > > > So has anyone else seen this? > > Known problem. (It also happens with linux guests, but those are > able to use the disks regardless.) I think it is on Fabrice's > TODO list, tho i dont know the priority. Of course anyone is > invited to help... I briefly looked at the issue last night. It seems IRQ's are hardcoded for Intel PIIX3 PCI IDE emulation, which is wrong. You can boot without ISA support, I think. Try -isa. Jung-uk Kim > Juergen