All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jun Sun <jsun@mvista.com>
To: Gerald Champagne <gerald.champagne@esstech.com>
Cc: linux-mips@oss.sgi.com
Subject: Re: ide dma in latest cvs
Date: Tue, 22 Jan 2002 11:00:42 -0800	[thread overview]
Message-ID: <3C4DB6DA.7F3E7386@mvista.com> (raw)
In-Reply-To: 3C4CA8C8.5010801@esstech.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

  parent reply	other threads:[~2002-01-22 20:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-21 23:48 ide dma in latest cvs Gerald Champagne
2002-01-22 11:33 ` Vivien Chappelier
2002-01-22 19:00 ` Jun Sun [this message]
2002-01-22 20:03   ` Gerald Champagne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C4DB6DA.7F3E7386@mvista.com \
    --to=jsun@mvista.com \
    --cc=gerald.champagne@esstech.com \
    --cc=linux-mips@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.