linux-mips
[Top] [All Lists]

Re: ide dma in latest cvs

To: Gerald Champagne <gerald.champagne@esstech.com>
Subject: Re: ide dma in latest cvs
From: Jun Sun <jsun@mvista.com>
Date: Tue, 22 Jan 2002 11:00:42 -0800
Cc: linux-mips@oss.sgi.com
References: <3C4CA8C8.5010801@esstech.com>
Sender: owner-linux-mips@oss.sgi.com
Gerald Champagne wrote:
> 
> Does the latest CVS version work with an IDE controller in DMA mode?
> 
> I have an NEC VR5432 based system working with the IDE controller, but it
> crashes when used in dma mode.  I've tracked it down to the following code
> called from ide_build_sglist():
> 
> - blk_rq_map_sg() is called to build a list of blocks to be transferred.
>    It sets address = NULL for every entry (other fields like "page" are
>    set to valid values).
> 
> - dma_cache_wback_inv(addr, size) is called for each block entry.  This
>    routine crashes because the address parameter is always set to zero
>    when the routine is called.
> 

Did you check what the address is and why it is zero?  It seems to me this
might be key ...

Jun

<Prev in Thread] Current Thread [Next in Thread>