qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Luiz Capitulino <lcapitulino@redhat.com>
To: Alexander Graf <agraf@suse.de>
Cc: knoel@redhat.com, alex.williamson@redhat.com, mst@redhat.com,
	jan.kiszka@siemens.com, Jason Baron <jbaron@redhat.com>,
	qemu-devel@nongnu.org, yamahata@valinux.co.jp,
	juzhang@redhat.com, anthony@codemonkey.ws
Subject: Re: [Qemu-devel] Q35 OS install status
Date: Fri, 17 Aug 2012 14:40:29 -0300	[thread overview]
Message-ID: <20120817144029.0abdf0df@doriath.home> (raw)
In-Reply-To: <88A1D437-3151-41A2-B56E-9305D33D0D92@suse.de>

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)

      reply	other threads:[~2012-08-17 17:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120817144029.0abdf0df@doriath.home \
    --to=lcapitulino@redhat.com \
    --cc=agraf@suse.de \
    --cc=alex.williamson@redhat.com \
    --cc=anthony@codemonkey.ws \
    --cc=jan.kiszka@siemens.com \
    --cc=jbaron@redhat.com \
    --cc=juzhang@redhat.com \
    --cc=knoel@redhat.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=yamahata@valinux.co.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).