All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Hancock <hancockr@shaw.ca>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: DMA timeouts & errors when using Sandisk CF for root.
Date: Fri, 03 Jun 2005 21:47:33 -0600	[thread overview]
Message-ID: <42A12455.9050607@shaw.ca> (raw)
In-Reply-To: <4bufp-3G0-15@gated-at.bofh.it>

Ben Greear wrote:
> I have a small VIA based system with a 512MB CF disk for
> the 'hard drive'.  It seems to work OK, but I am getting some
> DMA timeouts and errors upon boot.
> 
> kernel is 2.6.11.  I saw the same problem with FC2's 2.6.5 default kernel.
> 
>  From dmesg:
> 
> hda: max request size: 128KiB
> hda: 1000944 sectors (512 MB) w/1KiB Cache, CHS=993/16/63, DMA
> hda: cache flushes not supported
>  hda:<4>hda: dma_timer_expiry: dma status == 0x21
> hda: DMA timeout error
> hda: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }

What kind of CF-IDE adapter are you using? This looks like a CF card 
which supports DMA in an adapter which doesn't hook up the DMA lines 
properly, therefore the DMA times out when the kernel tries to use it. 
You can use a "nodma" option on the kernel command line to disable DMA, 
I think..

I've seen some newer adapters that have jumper settings for "DMA" or 
"non-DMA" on them..

-- 
Robert Hancock      Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/

       reply	other threads:[~2005-06-04  3:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4bufp-3G0-15@gated-at.bofh.it>
2005-06-04  3:47 ` Robert Hancock [this message]
2005-06-03 23:49 DMA timeouts & errors when using Sandisk CF for root Ben Greear

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=42A12455.9050607@shaw.ca \
    --to=hancockr@shaw.ca \
    --cc=linux-kernel@vger.kernel.org \
    /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.