xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Wei Wang <wei.wang2@amd.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Sander Eikelenboom <linux@eikelenboom.it>,
	Keir Fraser <keir.xen@gmail.com>,
	Santosh Jodh <Santosh.Jodh@citrix.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: Using debug-key 'o:  Dump IOMMU p2m table, locks up machine
Date: Wed, 5 Sep 2012 16:15:41 +0200	[thread overview]
Message-ID: <50475E8D.2090709@amd.com> (raw)
In-Reply-To: <5047483F0200007800098C18@nat28.tlf.novell.com>

On 09/05/2012 12:40 PM, Jan Beulich wrote:
>>>> On 05.09.12 at 12:25, Sander Eikelenboom<linux@eikelenboom.it>  wrote:
>> Wednesday, September 5, 2012, 12:14:02 PM, you wrote:
>>>>>> On 04.09.12 at 18:43, Sander Eikelenboom<linux@eikelenboom.it>  wrote:
>>>> ...........................<0>AMD-Vi: IO_PAGE_FAULT: domain = 0, device id =
>>>> 0x0a06, fault address = 0xc2c2c2c0
>>
>>> Looks like use of uninitialized memory (assuming you're using a
>>> debug hypervisor, that's the pattern scrub_one_page() puts
>>> there). But it's unclear to me what device should be doing any
>>> I/O at that point (and even if one does, how it would get the
>>> bad address loaded). What is 0a:00.6?
>>
>> since 4.2-rc4 is still unstable it has debug=y for what i know, so yes.
>> This particular IO_PAGE_FAULT happened before the kernel loads, so the
>> kernel and pciback shouldn't be causing the issue one would say.
>> With pciback i'm hiding 03:06.0, 04:00.*, 05:00.0, 0a:00.* and 07:00.0 at
>> boot.
>>
>> Is there any code i could add to get more info where it comes from ?
>
> Hardly, since those accesses are asynchronous to what the CPUs
> do. But ...
>
>> 0a:00.6 USB controller: NetMos Technology MCS9990 PCIe to 4âPort USB 2.0 Host Controller
>
> ... are your keyboard/mouse perhaps connected to this one? In
> which case I'd suppose the 1:1 tables set up for Dom0 might not
> be complete. Wei?

I checked this on my machine using 'o' key and it has been mapped as a 
2MB frame see: gfn: 000c2c00  mfn: 000c2c00. But maybe I have no device 
access to this address... Another possibility is interrupt message. 4.1 
does not show IO_PAGE_FAULT for interrupts, but 4.2 does (changeset 
23199:dbd98ab2f87f). I will send a patch to dump flags from IO_PAGE_FAULT.

Thanks,
Wei

> Jan
>



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  parent reply	other threads:[~2012-09-05 14:15 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-31 21:45 Using debug-key 'o: Dump IOMMU p2m table, locks up machine Sander Eikelenboom
2012-08-31 22:24 ` Santosh Jodh
2012-08-31 22:42   ` Sander Eikelenboom
2012-08-31 22:57     ` Santosh Jodh
2012-08-31 23:16       ` Sander Eikelenboom
2012-08-31 23:58         ` Santosh Jodh
2012-09-01  0:42         ` Santosh Jodh
2012-09-03  8:14           ` Jan Beulich
2012-09-01  2:01         ` Keir Fraser
2012-09-01 17:03           ` Santosh Jodh
2012-09-01 19:13             ` Keir Fraser
2012-09-02  2:08               ` Santosh Jodh
2012-09-02  7:13                 ` Keir Fraser
2012-09-02  7:19                   ` Keir Fraser
2012-09-02  8:43               ` Sander Eikelenboom
2012-09-02 14:58                 ` Keir Fraser
2012-09-02 15:14                   ` Sander Eikelenboom
2012-09-03 15:20                     ` Wei Wang
2012-09-04  8:21                       ` Sander Eikelenboom
2012-09-04 16:43                       ` Sander Eikelenboom
2012-09-05 10:14                         ` Jan Beulich
2012-09-05 10:25                           ` Sander Eikelenboom
2012-09-05 10:40                             ` Jan Beulich
2012-09-05 10:48                               ` Sander Eikelenboom
2012-09-05 11:41                                 ` Jan Beulich
2012-09-05 12:11                                   ` Sander Eikelenboom
2012-09-05 14:15                               ` Wei Wang [this message]
2012-09-05 15:05                                 ` Jan Beulich
2012-09-05 12:48                             ` Wei Wang
2012-09-05 12:30                         ` Wei Wang
2012-09-03  8:21                 ` Jan Beulich
2012-09-03  8:33                   ` Sander Eikelenboom
2012-09-03  9:05                     ` Jan Beulich
2012-09-04  7:08                   ` Sander Eikelenboom
2012-09-04  7:46                     ` Jan Beulich
2012-09-04  8:13                       ` Sander Eikelenboom
2012-09-04  9:26                         ` Jan Beulich
2012-10-02 20:09                           ` Konrad Rzeszutek Wilk
2012-10-03 13:12                             ` Jan Beulich
2012-10-02 20:54                           ` Matt Wilson
2012-09-20  8:08                         ` Jan Beulich
2012-09-28 14:08                           ` Sander Eikelenboom
2012-09-28 21:26                           ` Jeremy Fitzhardinge
2012-10-02 20:08                             ` Konrad Rzeszutek Wilk
2012-09-02  7:42 ` Keir Fraser
2012-09-04  6:35   ` Jan Beulich
2012-09-04  6:52     ` Sander Eikelenboom
2012-09-04  7:01       ` Keir Fraser
2012-09-04  6:59     ` Keir Fraser
2012-09-04  7:55       ` Jan Beulich
2012-09-04  8:04         ` Keir Fraser
2012-09-04  8:11           ` Keir Fraser
2012-09-04  8:20             ` Sander Eikelenboom
2012-09-04  8:38             ` Jan Beulich
2012-09-04  8:54               ` Keir Fraser
2012-09-04  9:40                 ` Jan Beulich
2012-09-04 13:29                   ` Andrew Cooper

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=50475E8D.2090709@amd.com \
    --to=wei.wang2@amd.com \
    --cc=JBeulich@suse.com \
    --cc=Santosh.Jodh@citrix.com \
    --cc=keir.xen@gmail.com \
    --cc=linux@eikelenboom.it \
    --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 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).