All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Sander Eikelenboom <linux@eikelenboom.it>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: Re: pci passthrough xhci host controller
Date: Fri, 1 Oct 2010 16:54:17 -0400	[thread overview]
Message-ID: <20101001205417.GA18302@dumpdata.com> (raw)
In-Reply-To: <1115867214.20100930212448@eikelenboom.it>

On Thu, Sep 30, 2010 at 09:24:48PM +0200, Sander Eikelenboom wrote:
> Hello Konrad,
> 
> I have done some more tests, the results:
> 
> - boot xen with mem=4G, > 2 days uptime with passthrough and videograbbing
> - boot xen without mem=4G, < 1 day freeze with passthrough and videograbbing
> - on both no problems as long as you don't grab video (so the controller doesn't do much)
> - on both no problems when grabbing video with usb2, so it's xhci specific
> 
> I haven't changed anything else, same number of VM's running etc. etc., videograbbing is working on both (until the freeze or until i ended the test)
> I'm reading some messages about msi(-x) interrupt problems with xen on xen-devel, and suggestions to try noirqbalance with xen, so on both i use noirqbalance.
> 
> So it seems to be related to the amount of mem available.
> I do see one difference on the domU, with mem=4G i see some occasional warnings in syslog:
> Sep 28 17:55:02 security kernel: [81744.078288] xhci_hcd 0000:07:00.0: WARN: transfer error on endpoint
> Sep 28 17:55:02 security kernel: [81744.092653] xhci_hcd 0000:07:00.0: WARN: transfer error on endpoint
> Sep 28 17:55:02 security kernel: [81744.093647] xhci_hcd 0000:07:00.0: WARN: transfer error on endpoint
> Sep 28 17:55:02 security kernel: [81744.093647] xhci_hcd 0000:07:00.0: WARN: transfer error on endpoint
> Sep 28 17:55:02 security kernel: [81744.093647] xhci_hcd 0000:07:00.0: WARN: transfer error on endpoint
> 
> I don't see these warnings in the syslog when no mem=4G is used, so a hunch would be it goes wrong there while the xhci code tries to clean something up.
> It could do something "strange" that seems to work on bare metal and on xen with mem=4G, but freezes everything with mem > 4G and gives no time to write the warning to the syslog / disk in time.
> 
> in the syslog of dom0 i do see some occasional memleaks going by, but one set could be related:
> Sep 28 17:55:19 localhost kernel: [81962.053321] kmemleak: 22 new suspected memory leaks (see /sys/kernel/debug/kmemleak)
> 
> I will add a script that cat's the content of /sys/kernel/debug/kmemleak to syslog when kmemleak reports new suspected leaks.
> 
> Any suggestions to try to debug this further ?

<shakes his head>
Do you have the name of the grabber + USB3 device? If it is not too much I might
as well get it and see what happens on my boxes.

  reply	other threads:[~2010-10-01 20:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-15 21:09 pci passthrough xhci host controller Sander Eikelenboom
2010-09-20 20:33 ` Konrad Rzeszutek Wilk
2010-09-21 20:03   ` Sander Eikelenboom
2010-09-27 15:59     ` Konrad Rzeszutek Wilk
2010-09-27 20:35       ` Sander Eikelenboom
2010-09-30 19:24       ` Sander Eikelenboom
2010-10-01 20:54         ` Konrad Rzeszutek Wilk [this message]
2010-10-01 23:33           ` Sander Eikelenboom
2010-10-02 17:44             ` Sander Eikelenboom

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=20101001205417.GA18302@dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=jeremy@goop.org \
    --cc=linux@eikelenboom.it \
    --cc=xen-devel@lists.xensource.com \
    /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.