From: Hannes Reinecke <hare@suse.de>
To: John Snow <jsnow@redhat.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
Alexander Graf <agraf@suse.de>
Subject: [Qemu-devel] SATA CD-ROM booting failure with latest OVMF
Date: Fri, 03 Jul 2015 16:15:40 +0200 [thread overview]
Message-ID: <5596990C.5090204@suse.de> (raw)
Hi all,
I've updated OVMF to use the SATA controller, so that I could
finally use the Q35 machine specification with OVMF.
However, upon doing so I found that the (SATA) CD-ROM wouldn't work
anymore; directories on the CD-ROM can be read, but the file listing
contained only garbage.
After some _very_ tedious debugging I've found this to be an issue
with the ahci driver in qemu; ATAPI PIO transfers seem to be
slightly buggy. Enabling 'atapi_dma' transfers in atapi driver (even
for PIO mode) makes everything work again.
I still fail to see _why_ this is be the case; the logfiles
in both cases are pretty identical. Originally I thought that
somehow the big qemu lock plays a role here, but OVMF accesses
the ahci HBA only ever _after_ all transfers are complete.
And again, access patterns are identical in both cases.
So if anyone has another idea here ...
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)
next reply other threads:[~2015-07-03 14:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-03 14:15 Hannes Reinecke [this message]
2015-07-04 5:28 ` [Qemu-devel] SATA CD-ROM booting failure with latest OVMF John Snow
2015-07-08 22:53 ` John Snow
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=5596990C.5090204@suse.de \
--to=hare@suse.de \
--cc=agraf@suse.de \
--cc=jsnow@redhat.com \
--cc=qemu-devel@nongnu.org \
/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).