ata devices on emulated amd64 on qemu

Juergen Lock nox at jelal.kn-bremen.de
Fri Jul 29 19:27:23 GMT 2005


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...

	Juergen


More information about the freebsd-emulation mailing list