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

[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: Mon, 11 Jul 2005 09:08:14 -0400
Cc: xen-devel List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 11 Jul 2005 13:06:58 +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=XnQYLKZmY9X6RxdqYnkeaegRD8mc5HccwGCGYRKm4a6wJk/6l9Tflcp2ZQP9SmBKaaPDm/I5c2iUQiPz+QSrduCdU1mmx6jOiERG0sDhsXE2u//XPkUE9px8BAZ613K3b9y702l3DNXDReUMWKTps7pBMcLDqH4rUDkXsO+BPUM=
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. :-)

I'll give that a shot tonight, thanks for the suggestion. I really
appreciate your efforts and if that doesn't help, I'll see if anyone
on the ivtv-devel list is into Xen too. I wish I had the kernel
programming expertise myself. But at least the drivers work well in
dom0.

Stupid question, but is there any way to tell Xen to allocate a domU
contiguously? Or is that just not the Xen way, so to speak?

Dave

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

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