WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: PCI passthrough stopped working, brainache!

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: PCI passthrough stopped working, brainache!
From: Andy Burns <xen.lists@xxxxxxxxxxx>
Date: Thu, 13 Oct 2011 21:22:38 +0100
Delivery-date: Thu, 13 Oct 2011 13:23:21 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=iwvqbOn2OCKFDYs1VDAfqso9AubVHcgNlOg7fttEMW4=; b=P2xeaI0IQOVlYkcc9YRQ5O1rCsbihb+v4OJAfi5Sm64U/zdsnJceKBJZ0QU8ACYqOz dQZOuWzKj7d7vfpElLTkjvpP1ao41xOb0oWFBENQxnJPhKYirsluWU8L/YjZ1piNJC0V KGOVTDoPxjKuNfIXbVVdvGDrM0JNi3WD3mmQw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20111013181543.GF15499@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <CAE1-PReH55X375oSb_gx4K_2iTTo67xpFfS8r7zv3KPtiOxj_A@xxxxxxxxxxxxxx> <CAE1-PRc9LqO07TjH3TnfSnEB8gLkBhw2211syeA04XPWts62Xg@xxxxxxxxxxxxxx> <CAE1-PRfg3fkMMSQyPO+y8dqxcE-KNJc--6bx84aouaQorOF27w@xxxxxxxxxxxxxx> <20111012035032.GB26092@xxxxxxxxxxxxxxxxx> <CAE1-PRfuo10T2iKJUNoY=Aj4S_TjUbiPT1jARv+iD7g+1qWuNg@xxxxxxxxxxxxxx> <CAE1-PRd9Kicm=dRtDmPKGXM8-fp62NyvDdpww38jA3Afwrt8+g@xxxxxxxxxxxxxx> <20111013181543.GF15499@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> wrote:

> Andy Burns wrote:
>
>> Is the fact that the PCI cards fail in dom0 under Xen a hint?
>
> 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).

Yes, two onboard sky2 gigabit ports and a supermicro 64bit PCI-X JBOD
card with 8 SATA disks

> 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.

Here is an lsmod (from within the domU, but the same modules get used
if it's in dom0 and same kernel 3.1.0-rc9 everywhere now.

Module                  Size  Used by
ds3000                 12827  2
dvb_usb_dw2102         41753  27
dvb_usb                14988  1 dvb_usb_dw2102
lockd                  70080  0
ip6t_REJECT             3992  2
nf_conntrack_ipv6       7730  2
nf_defrag_ipv6          9083  1 nf_conntrack_ipv6
xt_state                1306  2
nf_conntrack           67597  2 nf_conntrack_ipv6,xt_state
ip6table_filter         1655  1
ip6_tables             16792  1 ip6table_filter
tda1004x               14722  2
saa7134_dvb            27032  12
videobuf_dvb            5146  1 saa7134_dvb
dvb_core               87211  2 dvb_usb,videobuf_dvb
firewire_ohci          26101  0
ir_lirc_codec           4214  0
lirc_dev               12904  1 ir_lirc_codec
firewire_core          49303  1 firewire_ohci
ir_mce_kbd_decoder      4208  0
ir_sony_decoder         2109  0
ir_jvc_decoder          2218  0
ir_rc6_decoder          2682  0
ir_rc5_decoder          2138  0
rc_videomate_tv_pvr     1289  0
ir_nec_decoder          2570  0
saa7134               159679  1 saa7134_dvb
crc_itu_t               1547  1 firewire_core
rc_core                17136  12
dvb_usb,ir_lirc_codec,ir_mce_kbd_decoder,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_rc5_decoder,rc_videomate_tv_pvr,ir_nec_decoder,saa7134
videobuf_dma_sg         8462  2 saa7134_dvb,saa7134
videobuf_core          15780  3 videobuf_dvb,saa7134,videobuf_dma_sg
v4l2_common             6905  1 saa7134
videodev               78689  2 saa7134,v4l2_common
media                  11511  1 videodev
v4l2_compat_ioctl32     7665  1 videodev
tveeprom               13045  1 saa7134
i2c_core               25728  9
ds3000,dvb_usb_dw2102,dvb_usb,tda1004x,saa7134_dvb,saa7134,v4l2_common,videodev,tveeprom
sunrpc                200831  2 lockd
xen_pcifront           12182  0
xen_netfront           16358  0
xen_blkfront           12741  4

Specifically the tuner drivers are

ds3000  and  dvb_usb_dw2102  for the DVB-S2 PCIe that works

tveeprom,  saa7134,  saa7134_dvb   and  tda1004x  for the troublesome
DVB-T PCI cards

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

I can certainly live without all the LIRC stuff by blacklisting all
the ir_xxx_decoder stuff, I'll check modinfo of the drivers to see
what options exist.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>