Q35 OS install status
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
Quoted 40 lines · Jason Baron
Hi,
Linux
-----
Fedora 17: installs and ran memory tests (requires ahci cdrom fixes I
posted to install)
Fedora 16: installs and ran memory testsWindows
-------
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.
Quoted 3 lines
Thanks,
-Jason
Good job Jason, nice to know you are making progress! Hope to see express patches soon, they have been long in coming.
Signature · 1 line
MST
Quoted 26 lines · On Wed, 15 Aug 2012 10:23:01 -0400 Jason Baron <[email protected]> wrote:
Hi,
Linux
-----
Fedora 17: installs and ran memory tests (requires ahci cdrom fixes I
posted to install)
Fedora 16: installs and ran memory testsWindows
-------
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.
Quoted 6 lines
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.
Quoted 33 lines · Luiz Capitulino
Quoted 30 lines · On Wed, 15 Aug 2012 10:23:01 -0400 Jason Baron <[email protected]> wrote:
Hi,
Linux
-----
Fedora 17: installs and ran memory tests (requires ahci cdrom fixes I
posted to install)
Fedora 16: installs and ran memory testsWindows
-------
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.
Quoted 8 lines
Quoted 2 lines
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
Quoted 7 lines · On Wed, 15 Aug 2012 17:05:44 +0200 Alexander Graf <[email protected]> wrote:
Quoted 7 lines
Quoted 6 lines
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.
Quoted 7 lines
Quoted 5 lines
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 dResults:
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 dResults:
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 dResults:
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)