From: Andrew Cooper <andrew.cooper3@citrix.com>
To: "Zytaruk, Kelly" <Kelly.Zytaruk@amd.com>
Cc: Jan Beulich <JBeulich@suse.com>,
"Xen-devel@lists.xen.org" <Xen-devel@lists.xen.org>
Subject: Re: Failed to access register with invalid access size alignment
Date: Thu, 10 Apr 2014 15:14:42 +0100 [thread overview]
Message-ID: <5346A752.6020303@citrix.com> (raw)
In-Reply-To: <B756807489D6244883AC0B799A6EEC15F636F8@storexdag02.amd.com>
On 10/04/14 15:06, Zytaruk, Kelly wrote:
>
>> -----Original Message-----
>> From: Jan Beulich [mailto:JBeulich@suse.com]
>> Sent: Wednesday, April 09, 2014 11:40 AM
>> To: Zytaruk, Kelly
>> Cc: Xen-devel@lists.xen.org
>> Subject: RE: [Xen-devel] Failed to access register with invalid access size
>> alignment
>>
>>>>> On 09.04.14 at 17:32, <Kelly.Zytaruk@amd.com> wrote:
>>>>> Did you manage to find out where the bad request originates, and
>>>>> how it behaves when run on bare hardware?
>>> Using Xenctx (thanks Konrad ) I have managed to determine that the
>>> access is coming from a call to "hal!READ_PORT_ULONG" in the Win7
>>> guest. This is the guest OS that is making the request.
>> Which, I'm afraid, means that we'll have to allow the access in one way or
>> another (up to and including the current model, as I then would conclude this
>> isn't causing any actual problem - iirc you merely tried to understand whether it
>> would).
>>
> In this specific case it doesn't appear to be the root of my problem (back to the drawing board). I am passing through two PCI devices; a graphics adapter and a 1394 firewire adapter. It only does the mis-aligned access for the graphics adapter. The 1394 appears not to have any problem.
>
> This is happening long before the graphics driver is loaded in the guest. In this specific case it does not cause as issue (assuming that it is relying only the header type). For the case of the graphics adapter the header type is '0' which is the default that QEMU returns when it sees the invalid alignment access, so no problem here. If however the alignment problem occurred with a type 1 header then there would be a problem. But I really don't know what is causing Win7 to treat the graphics adapter differently so it is hard to say whether or not this would occur under different scenarios.
>
> Kelly
What is the class code of the graphics adapter, and which virtual
display is qemu creating for the domain?
We have seen issues with cards in the past where the class code was
"Other". Win7 saw an emulated cirrus display, decided it was the most
capable real display adapter, loaded its legacy graphics driver stack
and was unable to subsequently load the non-legacy driver for the
"Other" card.
~Andrew
next prev parent reply other threads:[~2014-04-10 14:14 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-02 19:28 Failed to access register with invalid access size alignment Zytaruk, Kelly
2014-04-03 8:40 ` Jan Beulich
2014-04-03 13:29 ` Zytaruk, Kelly
2014-04-09 15:32 ` Zytaruk, Kelly
2014-04-09 15:39 ` Jan Beulich
2014-04-10 14:06 ` Zytaruk, Kelly
2014-04-10 14:14 ` Andrew Cooper [this message]
2014-04-10 15:18 ` Zytaruk, Kelly
2014-09-23 15:16 ` Zytaruk, Kelly
2014-04-04 13:59 ` Konrad Rzeszutek Wilk
2014-04-04 14:33 ` Zytaruk, Kelly
2014-04-04 16:51 ` Konrad Rzeszutek Wilk
2014-04-21 6:16 ` Nick
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=5346A752.6020303@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=JBeulich@suse.com \
--cc=Kelly.Zytaruk@amd.com \
--cc=Xen-devel@lists.xen.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.