qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Q35 OS install status
@ 2012-08-15 14:23 Jason Baron
  2012-08-15 14:29 ` Michael S. Tsirkin
  2012-08-15 15:04 ` Luiz Capitulino
  0 siblings, 2 replies; 5+ messages in thread
From: Jason Baron @ 2012-08-15 14:23 UTC (permalink / raw)
  To: anthony
  Cc: knoel, alex.williamson, mst, jan.kiszka, qemu-devel, agraf,
	yamahata, juzhang, lcapitulino

Hi,

Linux
-----
Fedora 17: installs and ran memory tests (requires ahci cdrom fixes I 
	   posted to install)
Fedora 16: installs and ran memory tests

Windows
-------
Windows 7: Wouldn't install due to this error:
        'A required cd/dvd device driver is missing. If you have a
	driver floppy disk, CD, DVD, or USB flash drive, please insert it now.'

	That said, I did a successfull install on q35 by using the piix4-ide
	controller for the cdrom and ide drive (passed on command line).
	Also, I can get windows 7 now to recognize the ahci drives after boot by
	going into the device manager and doing a rescan for new h/w. So
	this appears to be a problem in the boot path...

Windows xp:

	Same as windows 7, wouldn't install with ahci but will install using the
	piix4-ide controller passed on command line. Not even sure if
	windows xp has ahci support.

BSD
---
Luiz tested these for me.

OpenBSD 5.1, FreeBSD 9.0 and NetBSD all worked with the ide controller
passed on the command line. AHCI didn't work.


Recently, I have been working on trying to get ahci working on Windows 7,
but if we are willing to go with the piix4-ide controller as the default for now
until we shake out ahci issues that might allow us to make faster
progress. I still need to clean up the trees a bit and re-base on top of
the QOM pcihost patches, but it shouldn't be too bad.

Thanks,

-Jason

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] Q35 OS install status
  2012-08-15 14:23 [Qemu-devel] Q35 OS install status Jason Baron
@ 2012-08-15 14:29 ` Michael S. Tsirkin
  2012-08-15 15:04 ` Luiz Capitulino
  1 sibling, 0 replies; 5+ messages in thread
From: Michael S. Tsirkin @ 2012-08-15 14:29 UTC (permalink / raw)
  To: Jason Baron
  Cc: knoel, alex.williamson, jan.kiszka, qemu-devel, agraf, yamahata,
	juzhang, anthony, lcapitulino

On Wed, Aug 15, 2012 at 10:23:01AM -0400, Jason Baron wrote:
> Hi,
> 
> Linux
> -----
> Fedora 17: installs and ran memory tests (requires ahci cdrom fixes I 
> 	   posted to install)
> Fedora 16: installs and ran memory tests
> 
> Windows
> -------
> Windows 7: Wouldn't install due to this error:
>         'A required cd/dvd device driver is missing. If you have a
> 	driver floppy disk, CD, DVD, or USB flash drive, please insert it now.'
> 
> 	That said, I did a successfull install on q35 by using the piix4-ide
> 	controller for the cdrom and ide drive (passed on command line).
> 	Also, I can get windows 7 now to recognize the ahci drives after boot by
> 	going into the device manager and doing a rescan for new h/w. So
> 	this appears to be a problem in the boot path...
> 
> Windows xp:
> 
> 	Same as windows 7, wouldn't install with ahci but will install using the
> 	piix4-ide controller passed on command line. Not even sure if
> 	windows xp has ahci support.
> 
> BSD
> ---
> Luiz tested these for me.
> 
> OpenBSD 5.1, FreeBSD 9.0 and NetBSD all worked with the ide controller
> passed on the command line. AHCI didn't work.
> 
> 
> Recently, I have been working on trying to get ahci working on Windows 7,
> but if we are willing to go with the piix4-ide controller as the default for now
> until we shake out ahci issues that might allow us to make faster
> progress. I still need to clean up the trees a bit and re-base on top of
> the QOM pcihost patches, but it shouldn't be too bad.
> 
> Thanks,
> 
> -Jason


Good job Jason, nice to know you are making progress!
Hope to see express patches soon, they have been long
in coming.

-- 
MST

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] Q35 OS install status
  2012-08-15 14:23 [Qemu-devel] Q35 OS install status Jason Baron
  2012-08-15 14:29 ` Michael S. Tsirkin
@ 2012-08-15 15:04 ` Luiz Capitulino
  2012-08-15 15:05   ` Alexander Graf
  1 sibling, 1 reply; 5+ messages in thread
From: Luiz Capitulino @ 2012-08-15 15:04 UTC (permalink / raw)
  To: Jason Baron
  Cc: knoel, alex.williamson, mst, jan.kiszka, agraf, qemu-devel,
	yamahata, juzhang, anthony

On Wed, 15 Aug 2012 10:23:01 -0400
Jason Baron <jbaron@redhat.com> wrote:

> Hi,
> 
> Linux
> -----
> Fedora 17: installs and ran memory tests (requires ahci cdrom fixes I 
> 	   posted to install)
> Fedora 16: installs and ran memory tests
> 
> Windows
> -------
> Windows 7: Wouldn't install due to this error:
>         'A required cd/dvd device driver is missing. If you have a
> 	driver floppy disk, CD, DVD, or USB flash drive, please insert it now.'
> 
> 	That said, I did a successfull install on q35 by using the piix4-ide
> 	controller for the cdrom and ide drive (passed on command line).
> 	Also, I can get windows 7 now to recognize the ahci drives after boot by
> 	going into the device manager and doing a rescan for new h/w. So
> 	this appears to be a problem in the boot path...
> 
> Windows xp:
> 
> 	Same as windows 7, wouldn't install with ahci but will install using the
> 	piix4-ide controller passed on command line. Not even sure if
> 	windows xp has ahci support.
> 
> BSD
> ---
> Luiz tested these for me.
> 
> OpenBSD 5.1, FreeBSD 9.0 and NetBSD all worked with the ide controller
> passed on the command line. AHCI didn't work.

Sorry if I wasn't clear in my report, I've only tried ahci with OpenBSD.
Will try it with the others shortly. But yeah, ide controller worked with
all of them.

Btw, I didn't try any fancy settings, only plain default install.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] Q35 OS install status
  2012-08-15 15:04 ` Luiz Capitulino
@ 2012-08-15 15:05   ` Alexander Graf
  2012-08-17 17:40     ` Luiz Capitulino
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Graf @ 2012-08-15 15:05 UTC (permalink / raw)
  To: Luiz Capitulino
  Cc: knoel, alex.williamson, mst, jan.kiszka, Jason Baron, qemu-devel,
	yamahata, juzhang, anthony


On 15.08.2012, at 17:04, Luiz Capitulino wrote:

> On Wed, 15 Aug 2012 10:23:01 -0400
> Jason Baron <jbaron@redhat.com> wrote:
> 
>> Hi,
>> 
>> Linux
>> -----
>> Fedora 17: installs and ran memory tests (requires ahci cdrom fixes I 
>> 	   posted to install)
>> Fedora 16: installs and ran memory tests
>> 
>> Windows
>> -------
>> Windows 7: Wouldn't install due to this error:
>>        'A required cd/dvd device driver is missing. If you have a
>> 	driver floppy disk, CD, DVD, or USB flash drive, please insert it now.'
>> 
>> 	That said, I did a successfull install on q35 by using the piix4-ide
>> 	controller for the cdrom and ide drive (passed on command line).
>> 	Also, I can get windows 7 now to recognize the ahci drives after boot by
>> 	going into the device manager and doing a rescan for new h/w. So
>> 	this appears to be a problem in the boot path...
>> 
>> Windows xp:
>> 
>> 	Same as windows 7, wouldn't install with ahci but will install using the
>> 	piix4-ide controller passed on command line. Not even sure if
>> 	windows xp has ahci support.
>> 
>> BSD
>> ---
>> Luiz tested these for me.
>> 
>> OpenBSD 5.1, FreeBSD 9.0 and NetBSD all worked with the ide controller
>> passed on the command line. AHCI didn't work.
> 
> Sorry if I wasn't clear in my report, I've only tried ahci with OpenBSD.
> Will try it with the others shortly. But yeah, ide controller worked with
> all of them.
> 
> Btw, I didn't try any fancy settings, only plain default install.

I do remember that with PIIX, one of the BSDs failed, while all the others worked just fine. I don't remember which one. Could have been OpenBSD. Skimming through the source, it looked as if it was searching for an IDE controller and only then activated AHCI on it - which totally contradicts the usual workflow of AHCI on ICH.


Alex

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] Q35 OS install status
  2012-08-15 15:05   ` Alexander Graf
@ 2012-08-17 17:40     ` Luiz Capitulino
  0 siblings, 0 replies; 5+ messages in thread
From: Luiz Capitulino @ 2012-08-17 17:40 UTC (permalink / raw)
  To: Alexander Graf
  Cc: knoel, alex.williamson, mst, jan.kiszka, Jason Baron, qemu-devel,
	yamahata, juzhang, anthony

On Wed, 15 Aug 2012 17:05:44 +0200
Alexander Graf <agraf@suse.de> wrote:

> >> BSD
> >> ---
> >> Luiz tested these for me.
> >> 
> >> OpenBSD 5.1, FreeBSD 9.0 and NetBSD all worked with the ide controller
> >> passed on the command line. AHCI didn't work.
> > 
> > Sorry if I wasn't clear in my report, I've only tried ahci with OpenBSD.
> > Will try it with the others shortly. But yeah, ide controller worked with
> > all of them.
> > 
> > Btw, I didn't try any fancy settings, only plain default install.
> 
> I do remember that with PIIX, one of the BSDs failed, while all the others worked just fine. I don't remember which one. Could have been OpenBSD. Skimming through the source, it looked as if it was searching for an IDE controller and only then activated AHCI on it - which totally contradicts the usual workflow of AHCI on ICH.

I was able to run a more complete set of tests today. I've tested all three
bsds on q35 and with ide and ahci on master (1.2.0-rc0).

Summary: FreeBSD 9.0 installed on the three cases. OpenBSD 5.1 and NetBSD 5.1,
installed with ide on master, but failed on q35 and with ahci on master.

Details
=======

On all tests the default installation was performed, always selecting
a minimum set of packages. Once installation was complete, I rebooted the OS
and checked dmesg.

master with ide
===============

Command-line example:

# ./qemu -hda disks/openbsd-test.img -enable-kvm -m 1G -monitor stdio \
         -cdrom /home/lcapitulino/isos/bsd/openbsd-amd64-install51.iso -boot d

Results:

 o FreeBSD 9.0: OK

 o OpenBSD 5.1: OK

 o NetBSD 5.1: OK

master with ahci
================

Command-line example:

# ./qemu -device ahci,id=ahci0 \
         -drive file=disks/freebsd-test.img,if=none,format=raw,id=drive-sata0-0-0 \
         -device ide-drive,bus=ahci0.0,drive=drive-sata0-0-0,id=sata0-0-0 \
         -enable-kvm -m 1G -monitor stdio \
         -cdrom /home/lcapitulino/isos/bsd/FreeBSD-9.0-RELEASE-amd64-disc1.iso -boot d

Results:

 o FreeBSD 9.0: OK

 o OpenBSD 5.1: FAILED

   Fails while partitioning the disk with the following error:

      fdisk: sd0: Device not configured

   And then the installation program keeps asking you to partition the disk
   again.

 o NetBSD 5.1: FAILED

   Fails during boot. A little bit after printing:

     ahcisata0 port 0: device present, speed: 1.5Gb/s
     ahcisata0 port 1: device present, speed: 1.5Gb/s

   The kernel "oopses":

     fatal integer divide fault in supervisor mode

q35
===

Command-line example:

# ./qemu -hda disks/netbsd-q35.img -enable-kvm -m 1G -monitor stdio \
         -M pc_q35 -bios /home/lcapitulino/work/src/q35-seabios/out/bios.bin \
         -acpitable file=/home/lcapitulino/work/src/q35-seabios/out/q35-acpi-dsdt.aml
         -cdrom /home/lcapitulino/isos/bsd/netbsd-amd64cd-5.1.iso -boot d

Results:

 o FreeBSD 9.0: OK

 o OpenBSD 5.1: FAILED (same error as with ahci on master)

 o NetBSD 5.1: FAILED (same error as with ahci on master)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-08-17 17:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-15 14:23 [Qemu-devel] Q35 OS install status Jason Baron
2012-08-15 14:29 ` Michael S. Tsirkin
2012-08-15 15:04 ` Luiz Capitulino
2012-08-15 15:05   ` Alexander Graf
2012-08-17 17:40     ` Luiz Capitulino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).