From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Nothdurft Subject: vfio-pci: dvb-s2 pcie card stopped working after a short time Date: Thu, 09 Apr 2015 15:13:41 +0200 Message-ID: <55267B05.3080703@linux-dude.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from mail.linux-dude.de ([213.179.141.24]:38224 "EHLO mail.linux-dude.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754192AbbDINqV (ORCPT ); Thu, 9 Apr 2015 09:46:21 -0400 Received: from home.linux-dude.de (ppp-188-174-24-235.dynamic.mnet-online.de [188.174.24.235]) (authenticated bits=0) by mail.linux-dude.de (8.14.9/8.14.9) with ESMTP id t39DDjP7015729 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Thu, 9 Apr 2015 15:13:46 +0200 Received: from [192.168.0.163] (support.linogate.de [213.179.141.14] (may be forged)) by home.linux-dude.de (8.14.4/8.14.4) with ESMTP id t39DDKqH015872 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 9 Apr 2015 15:13:21 +0200 Sender: kvm-owner@vger.kernel.org List-ID: Hi, I'm using kvm + libvirt + pci pass-through (vfio-pci) for virtualizing my mythtv server.
I had no problems with my previous dvb cards at least no big known problems. With my new dvb-s2 card (DVBSky S952 V3), the card stopped working after recording 1 or 2 hour. After than the dvbstream from the card is broken and I have to reload the driver. MythTV Log shows: Apr 7 19:19:10 mythtv mythlogserver: mythbackend[2087]: E DVBRead recorders/dtvrecorder.cpp:855 (FindH264Keyframes) DTVRec[1]: PES start code not found in TS packet with PUSI set Apr 7 19:19:12 mythtv mythlogserver: mythbackend[2087]: E DVBRead mpeg/mpegstreamdata.cpp:364 (AssemblePSIP) MPEGStream[1](0x7f9bd412b898): Error: offset>181, pes length & current cannot be queried On the kvm host the card works properly. With my old cards I got these problems sporadically, so this was not a big deal for me. But now it is unusable. /proc/interrupts and lspci -vv from the kvmhost: 29: 1061275 1065204 1060158 1066001 PCI-MSI-edge SMI_PCIE 01:00.0 Multimedia video controller: Spin Master Ltd. Device 3038 (rev 01) Subsystem: DVBSky Device 0552 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR-