From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Muench Subject: Re: Oops when modprobing ivtv outside of dom0 Date: Wed, 6 Jul 2005 11:20:51 -0400 Message-ID: References: Reply-To: David Muench Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 7/6/05, Keir Fraser 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. >=20 > 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 --=20 David Muench - davemuench@gmail.com Jabber ID: dave@jabber.wasteland.org