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/
Home Products Support Community News


[Xen-devel] Re: [ivtv-devel] Problems loading ivtv in Xen - DMA issues?

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] Re: [ivtv-devel] Problems loading ivtv in Xen - DMA issues?
From: David Muench <davemuench@xxxxxxxxx>
Date: Wed, 13 Jul 2005 15:51:10 -0400
Cc: xen-devel List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 13 Jul 2005 19:50:41 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=k8fSoMt0IgE4dS58wq2fEedgBC12+fS+4sMRYoCjAyc8a2B39Mpjzn16ACXUJ8vQgHbXYVCcKmnzoD9TOtU9xlBc7VzbsNb2TmlQp2DFy5cm51sWM9BrGns2E+EysxfWhbEd2HxxiBXix0ZgHJ88FEuhor5ihDJ6RFZJz7Raq6c=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <38a9ac6264e50346c160833d732fc567@xxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <bc0c36d305070607205e82ea14@xxxxxxxxxxxxxx> <1120750950.1556.24.camel@mud> <bc0c36d30507070907307b7a8e@xxxxxxxxxxxxxx> <5c8bdef6ff868881d1a1e3bc0a79a906@xxxxxxxxxxxx> <bc0c36d305070710343d90162@xxxxxxxxxxxxxx> <16670726ccb66463d6804f0dc87e3690@xxxxxxxxxxxx> <bc0c36d30507080838152a8618@xxxxxxxxxxxxxx> <38a9ac6264e50346c160833d732fc567@xxxxxxxxxxxx>
Reply-to: David Muench <davemuench@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 7/11/05, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote:
> One last thing you might want to try is to edit
> linux-2.6.11/arch/xen/i386/kernel/pci-dma.c. There you will see that
> there are four separate uses of memcpy(), each conditional on a test of
> the form 'if (direction != DMA_xxx)'. You *might* have more success if
> you remove the direction-conditional tests and always memcpy.
> Apart from that, this needs someone with hardware and expertise, and
> who cares about both ivtv and xen, to wade in. :-)

Well, life got in the way and I didn't try this fix until just now..
But it works! I'm going to get my mythtv setup moved into the domU so
I can test it completely, but it seems to work perfectly.

Thank you very, very much. Is removing the conditionals a permanent
solution that can be commited, or is there anything else you'd like me
to test?


David Muench - davemuench@xxxxxxxxx
Jabber ID: dave@xxxxxxxxxxxxxxxxxxxx

Xen-devel mailing list