From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: pci adapter not working in dom0. works under plain Linux. Date: Mon, 9 Jun 2014 12:51:49 -0400 Message-ID: <20140609165149.GF2275@laptop.dumpdata.com> References: <95534be07bf54fca9c8b0dcc76f7d3aa@SIXPR04MB304.apcprd04.prod.outlook.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <95534be07bf54fca9c8b0dcc76f7d3aa@SIXPR04MB304.apcprd04.prod.outlook.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: James Harper Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Sun, Jun 08, 2014 at 11:01:25AM +0000, James Harper wrote: > I bought an unsupported DVB card (by mistake - I bought the v2 version instead of the supported v1 version), and I've just finished getting it working under Linux, but spent the last day or so trying to figure out why it keeps dropping buffers even though the reception is perfect. As soon as I noticed that the lost data is always in PAGE_SIZE multiples, I figured I'd better boot in plain Linux instead of Xen, and when I did that it worked perfectly. What happens if you boot dom0 with 'dom0_mem=max:1G' and limit the amount of memory Xen sees by using 'mem=4G' on the Xen command line? > > The card is based on the cx23885 chipset, which is already supported (my work is just porting a different tuner/demod), so I suspect it's actually a bug in the existing cx23885 driver. I'm hoping there is just a flag missing or something when the adapter allocates buffers for DMA. Can anyone offer any suggestions as to what I'm looking for before I dive in? > > Thanks > > James > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel