All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Andy Burns <xen.lists@burns.me.uk>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: Re: PCI passthrough stopped working, brainache!
Date: Thu, 13 Oct 2011 14:15:43 -0400	[thread overview]
Message-ID: <20111013181543.GF15499@phenom.oracle.com> (raw)
In-Reply-To: <CAE1-PRd9Kicm=dRtDmPKGXM8-fp62NyvDdpww38jA3Afwrt8+g@mail.gmail.com>

On Wed, Oct 12, 2011 at 10:36:12PM +0100, Andy Burns wrote:
> On 12 October 2011 09:01, Andy Burns <xen.lists@burns.me.uk> wrote:
> 
> > Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote:
> >
> >> So it works now right?
> >
> > No.

<Grumble>
> >
> > I think I remember what was the test I did before the boot that
> > started working again
> 
> I didn't get much time to test this today ... reverted to same Xen and
> kernel versions that worked briefly last night.
> 
> I discovered that (despite what I answered earlier) the PCI tuners
> don't work in dom0 under Xen, they only work if the dom0 is booted  as
> baremetal.
> 
> If I reboot from dom0 from baremetal with the PCI cards working into
> Xen without powering off, it doesn't "magically" leave the PCI cards
> in a state that allows them to work in the domU.
> 
> The thing which *seemed* to put it into a good mood last night was
> booting dom0 with serial console and the domU with the PIC cards but
> without the PCIe card, but that made no difference today.
> 
> I'm beginning to follow Konrad's thoughts that there is a specific
> sequence of events, that persists in hardware state across soft
> reboots, occasionally ending up with functioning PCI cards.
> 
> Is the fact that the PCI cards fail in dom0 under Xen a hint?  Any
> debugging I can do with the tuners from the dom0 rather than the domU
> with passthrough?

That is. That would imply it is not the PCI passthrough code (good!).
It is something related to the driver (as I presume your network card
works in that box). Perhaps it is the VM_IO bug that sometimes creeps
up.. Can you give me the lsmod output please? I want to see which
drivers are loaded for this TV card and I can dig a bit in the
driver to see if there is something fishy.

I saw something about I2C, is there a knob in the driver to _not_
use I2C?

  reply	other threads:[~2011-10-13 18:15 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-10 19:45 PCI passthrough stopped working, brainache! Andy Burns
2011-10-10 22:02 ` Andy Burns
2011-10-11  8:32   ` Ian Campbell
2011-10-11 15:54     ` Konrad Rzeszutek Wilk
2011-10-11 21:25 ` Andy Burns
2011-10-11 21:49   ` Andy Burns
2011-10-12  3:50     ` Konrad Rzeszutek Wilk
2011-10-12  8:01       ` Andy Burns
2011-10-12 21:36         ` Andy Burns
2011-10-13 18:15           ` Konrad Rzeszutek Wilk [this message]
2011-10-13 20:22             ` Andy Burns
2011-10-13 20:28             ` Andy Burns
2011-10-14 15:55               ` Konrad Rzeszutek Wilk
2011-10-14 16:38                 ` Andy Burns
2011-10-15 10:07             ` Andy Burns
2011-10-15 10:36               ` Ian Campbell
2011-10-15 10:54                 ` Andy Burns
2011-10-15 12:15                   ` Ian Campbell
2011-10-15 11:27                 ` Andy Burns
2011-10-15 12:17                   ` Ian Campbell
2011-10-15 15:37                   ` AW: " Carsten Schiers
2011-10-20  3:40                     ` Konrad Rzeszutek Wilk
2011-10-24 11:30                   ` Andy Burns
2011-10-26  8:04                     ` Ian Campbell
2011-12-05 16:10                       ` Taylor, Neal E
2011-12-05 21:09                         ` Konrad Rzeszutek Wilk
2011-12-06 23:49                           ` Taylor, Neal E

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=20111013181543.GF15499@phenom.oracle.com \
    --to=konrad.wilk@oracle.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=xen.lists@burns.me.uk \
    /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.