Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jul 2005 15:40:49 -0400
From:      Jung-uk Kim <jkim@niksun.com>
To:        freebsd-emulation@freebsd.org
Cc:        Juergen Lock <nox@jelal.kn-bremen.de>, "Mars G. Miro" <marsgmiro@gmail.com>
Subject:   Re: ata devices on emulated amd64 on qemu
Message-ID:  <200507291540.52889.jkim@niksun.com>
In-Reply-To: <20050729192325.GA18456@saturn.kn-bremen.de>
References:  <28edec3c0507290000415a350d@mail.gmail.com> <20050729192325.GA18456@saturn.kn-bremen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <QEMU HARDDISK/0.7.0> [1015/16/63] at ata0-master
> > PIO2 acd0: CDROM <QEMU CD-ROM/0.7.0> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507291540.52889.jkim>