Re: ide dma in latest cvs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux