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] Oops when modprobing ivtv outside of dom0

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Oops when modprobing ivtv outside of dom0
From: David Muench <davemuench@xxxxxxxxx>
Date: Wed, 6 Jul 2005 11:20:51 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 06 Jul 2005 15:19: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=KoqommTZ+kpB7J5O+TgrdbI9OQVPV6yRUrgcMOkYHfyrmNn2ZFVjlsncQIc0sJn2whiM8x9klHgqvuHMzm0tkMMCDJOH0tqlrvkkENOP4sRgA6CBMWvzWL+6cF2FW4RH1YSdD10dkZlpHfQpImmR3j2x67ZWR/AN+YeXCyNNdUI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <ba9154c10e3f046cc8bf5782bdf5908a@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: <bc0c36d305070414032a5c2ef5@xxxxxxxxxxxxxx> <E1DphCo-0003dJ-00@xxxxxxxxxxxxxxxxx> <bc0c36d3050705142867cd7951@xxxxxxxxxxxxxx> <ba9154c10e3f046cc8bf5782bdf5908a@xxxxxxxxxxxx>
Reply-to: David Muench <davemuench@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 7/6/05, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote:

> I think the ivtv driver is probably not calculating dma addresses in
> the way that xen requires. On native Linux, if you allocate a
> multi-page chunk of physical memory, you can pass the start address of
> that buffer to hardware and it can dma the entire buffer given just
> that address. In Xen, because we give guests 'pseudo-physical' memory,
> that physical buffer may not be really physically contiguous. So we
> need drivers to dma_alloc_coherent or pci_alloc_consistent the memory
> they will use for dma --- we modified those functions to ensure they
> return suitable contiguous physical memory.
> 
> Perhaps the developers may know where to look further.

Thanks very much for all your help Keir, I've posted to the IVTV-Devel
list and hopefully someone there can help me with the rest.

Dave

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

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