All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: "Mr. Teo En Ming (Zhang Enming)" <space.time.universe@gmail.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>,
	xen-devel@lists.xensource.com, "Han,
	Weidong" <weidong.han@intel.com>
Subject: Re: Re: Fire-wire passthrough with Linux pv-ops (2.6.31.1)
Date: Mon, 2 Nov 2009 11:05:08 -0500	[thread overview]
Message-ID: <20091102160508.GB1199@phenom.dumpdata.com> (raw)
In-Reply-To: <f712b9cf0911020719r7ce3f4gd968a9850dae431e@mail.gmail.com>

> >Can you provide the lspci -vv output of the Dom0 and >DomU, please?

.. snip ..

>     Region 0: Memory at d3801000 (32-bit, non-prefetchable) [size=4K]
>     Region 1: Memory at d3800000 (32-bit, non-prefetchable) [size=256]

.. snip ..
>     Region 0: Memory at e3001000 (32-bit, non-prefetchable) [size=4K]
>     Region 1: Memory at e3002000 (32-bit, non-prefetchable) [size=4K]

That is weird. The second region is at the wrong location (unless
QEMU actually does some copying after each MMIO operation..).

I think what you saw before in the QEMU is a good hint. It could
be that the QEMU code assumes the BARs addresses have to be
in an increased order, whilst in this case it is the reverse.

>     Capabilities: [44] Power Management version 2
>         Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
>         Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
>     Kernel driver in use: ohci1394
>     Kernel modules: ohci1394
> 
> 
> > - cat /proc/interrupts (from Dom0) _before_ you launch >any guests or
> >  call bind any devices to the pcistub/pciback.

>  22:     387742          0  xen-pirq-ioapic-level  HDA Intel, firewire_ohci

All right. You probably need to unload your sound card first in the DomO
and pass it to the guest as well. But I vaguely remember you saying that
you do that already - so I think this is OK.

.. snip ..

>  36:          0          0   IO-APIC-fasteoi   ohci1394

That looks weird at first, but fasteoi == level, so that is OK.

I think the issue you pointed out earlier, where the error about
the BARs was printed, is the culprit. I am not going to get to this
until I am done with the pciback/pcifront work. But it could be
that somebody else will pick this bug up in the interim.

Can you open a bug on this (http://bugzilla.xensource.com/) and CC me on it?
Please include the qemu logs, the dmesg log, /proc/interrupts, lspci -vvv,
and anything else you can think off.  That way I won't forget about it.


.. snip ..
> I am running pv-ops dom0 kernel 2.6.31.5 now. There appears to be some
> sluggishness/unresponsiveness with this kernel after I have started a HVM
> guest.
> 
> By the way, can you also help me to solve this problem as well?
> 
> http://lists.xensource.com/archives/html/xen-devel/2009-11/msg00044.html

Uuhh.. What did 'info blocks' (or maybe it is 'info block') tell you? Did
you look up any guides on how to do this? How do you know the guest
did not detect the CD change? Did you try to do a read on it?
Like 'sg_readcap /dev/sr0' or 'dd if=/dev/sr0 of=/tmp/temp.iso' within the guest?

  reply	other threads:[~2009-11-02 16:05 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-10 12:28 Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine Mr. Teo En Ming (Zhang Enming)
2009-09-10 14:03 ` Pasi Kärkkäinen
2009-09-10 18:17   ` Jeremy Fitzhardinge
2009-09-11  0:19     ` Mr. Teo En Ming (Zhang Enming)
2009-09-11 15:37       ` Mr. Teo En Ming (Zhang Enming)
2009-09-11 16:03         ` Pasi Kärkkäinen
2009-09-12  2:52           ` Mr. Teo En Ming (Zhang Enming)
2009-09-12  8:44             ` Mr. Teo En Ming (Zhang Enming)
2009-09-12 10:11               ` Mr. Teo En Ming (Zhang Enming)
2009-09-12 12:23                 ` Mr. Teo En Ming (Zhang Enming)
2009-09-13  0:31                   ` Mr. Teo En Ming (Zhang Enming)
2009-09-13  9:12                     ` Pasi Kärkkäinen
2009-09-13 18:22                       ` Mr. Teo En Ming (Zhang Enming)
2009-09-13 18:28                         ` Mr. Teo En Ming (Zhang Enming)
2009-09-13 19:01                           ` Mr. Teo En Ming (Zhang Enming)
2009-09-13 19:26                         ` Pasi Kärkkäinen
2009-09-13 19:33                           ` Mr. Teo En Ming (Zhang Enming)
2009-09-13 19:45                             ` Pasi Kärkkäinen
2009-09-15 23:40             ` Jeremy Fitzhardinge
2009-09-19 16:44               ` Mr. Teo En Ming (Zhang Enming)
2009-09-19 17:03                 ` Mr. Teo En Ming (Zhang Enming)
2009-09-20  3:25                   ` Mr. Teo En Ming (Zhang Enming)
2009-09-20  3:36                     ` Mr. Teo En Ming (Zhang Enming)
2009-09-20  5:16                       ` Mr. Teo En Ming (Zhang Enming)
     [not found]                         ` <121797886.20090920160210@eikelenboom.it>
2009-09-21  0:33                           ` Re[2]: " Mr. Teo En Ming (Zhang Enming)
2009-09-21  7:28                             ` Re[4]: " Sander Eikelenboom
2009-10-08 13:36               ` Mr. Teo En Ming (Zhang Enming)
2009-10-08 13:48                 ` Mr. Teo En Ming (Zhang Enming)
2009-10-08 13:59                   ` Konrad Rzeszutek Wilk
2009-10-08 14:13                     ` Mr. Teo En Ming (Zhang Enming)
2009-10-08 14:22                       ` Konrad Rzeszutek Wilk
2009-10-08 14:44                         ` Mr. Teo En Ming (Zhang Enming)
2009-10-08 14:49                           ` Konrad Rzeszutek Wilk
2009-10-08 15:05                             ` Mr. Teo En Ming (Zhang Enming)
2009-10-09  0:54                               ` Mr. Teo En Ming (Zhang Enming)
2009-10-09  7:11                                 ` Pasi Kärkkäinen
2009-10-09  7:52                                   ` Mr. Teo En Ming (Zhang Enming)
2009-10-09 21:41                                     ` Jeremy Fitzhardinge
2009-10-11  7:22                                       ` Mr. Teo En Ming (Zhang Enming)
2009-10-12 18:10                                         ` Fire-wire passthrough with Linux pv-ops (2.6.31.1) Konrad Rzeszutek Wilk
2009-10-13  1:32                                           ` Mr. Teo En Ming (Zhang Enming)
2009-10-13  3:49                                             ` Mr. Teo En Ming (Zhang Enming)
2009-10-13 14:22                                             ` Konrad Rzeszutek Wilk
2009-10-13 14:39                                               ` Mr. Teo En Ming (Zhang Enming)
2009-10-13 17:04                                                 ` Konrad Rzeszutek Wilk
2009-10-23 17:47                                                   ` Mr. Teo En Ming (Zhang Enming)
2009-10-23 17:57                                                     ` Konrad Rzeszutek Wilk
2009-10-23 18:19                                                       ` Mr. Teo En Ming (Zhang Enming)
2009-11-01 14:07                                                         ` Mr. Teo En Ming (Zhang Enming)
2009-11-02 10:29                                                           ` [Xen-devel] " Mr. Teo En Ming (Zhang Enming)
2009-11-02 14:13                                                           ` Konrad Rzeszutek Wilk
2009-11-02 15:19                                                             ` Mr. Teo En Ming (Zhang Enming)
2009-11-02 16:05                                                               ` Konrad Rzeszutek Wilk [this message]
2009-11-10 22:46                                                                 ` Mr. Teo En Ming (Zhang Enming)
2009-11-03  1:47                                                           ` Han, Weidong
2009-11-03 12:27                                                             ` Mr. Teo En Ming (Zhang Enming)
2009-11-03 13:06                                                               ` [Xen-devel] " Mr. Teo En Ming (Zhang Enming)
2009-11-04  2:44                                                                 ` Han, Weidong
2009-10-13 14:48                                               ` Sander Eikelenboom
2009-10-13 15:24                                                 ` Mr. Teo En Ming (Zhang Enming)
2009-10-14 10:26                                         ` Video Presentation on PCI Express x16 VGA Pass Through to Xen-based Windows XP Home Edition HVM Virtual Machine Mr. Teo En Ming (Zhang Enming)
2009-10-08 14:06                   ` Mr. Teo En Ming (Zhang Enming)

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=20091102160508.GB1199@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=jeremy@goop.org \
    --cc=space.time.universe@gmail.com \
    --cc=weidong.han@intel.com \
    --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.