All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Dodd <ted@cypress.com>
To: linux-kernel@vger.kernel.org,
	Hylke van der Schaaf <hylke@lx.student.wau.nl>
Subject: Re: DMA on a AMD7409 controller with kernel 2.4.2
Date: Fri, 02 Mar 2001 09:31:00 -0600	[thread overview]
Message-ID: <3A9FBCB4.3F3931F8@cypress.com> (raw)
In-Reply-To: <Pine.LNX.4.10.10103011556310.10136-100000@master.linux-ide.org>

> On Thu, 1 Mar 2001, Hylke van der Schaaf wrote:
> 
> > With kernet 2.2.18 DMA mode for my harddisks worked just fine,
> > getting IDE DMA working on an AMD7409 controller with kernel 2.4.2 is a problem.
> >
> > questions:
> > Why is DMA disabled on revision < C4?
> > How can I gat DMA working again?
> > in 2.2.18 I get:
> > hylke:/home/hylke# hdparm -tT /dev/hda
> >
> > /dev/hda:
> >  Timing buffer-cache reads:   128 MB in  0.89 seconds =143.82 MB/sec
> >  Timing buffered disk reads:  64 MB in  2.85 seconds = 22.46 MB/sec
> > ----------------------------
> >
> > All was fine.
> > I compiled 2.4.2, with:
> >       CONFIG_AMD7409_OVERRIDE=y

I'm not using this, since my drives are not UDMA66 or UDMA100

> > hylke:/home/hylke# hdparm -v /dev/hda
> >
> > /dev/hda:
> >  multcount    = 16 (on)
> >  I/O support  =  1 (32-bit)
> >  unmaskirq    =  1 (on)
> >  using_dma    =  0 (off)
> >  keepsettings =  0 (off)
> >  nowerr       =  0 (off)
> >  readonly     =  0 (off)
> >  readahead    =  8 (on)
> >  geometry     = 2495/255/63, sectors = 40088160, start = 0
> > hylke:/home/hylke# hdparm -tT /dev/hda
> >
> > /dev/hda:
> >  Timing buffer-cache reads:   128 MB in  0.90 seconds =142.22 MB/sec
> >  Timing buffered disk reads:  64 MB in 12.59 seconds =  5.08 MB/sec

I get 148.8 and 12 MB/sec on my IBM-DTTA-351010 drives.
I get the same message about no single word DMA due
to chip revision.
# hdparm -v /dev/hda

/dev/hda:
multcount    = 16 (on)
I/O support  =  3 (32-bit w/sync)
unmaskirq    =  0 (off)
using_dma    =  1 (on)
keepsettings =  0 (off)
nowerr       =  0 (off)
readonly     =  0 (off)
readahead    =  8 (on)
geometry     = 19650/16/63, sectors = 19807200, start = 0

What does /proc/ide/hda/settings show?
What about /proc/ide/amd74xx ?


	-Thomas

  reply	other threads:[~2001-03-02 15:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-01 13:01 DMA on a AMD7409 controller with kernel 2.4.2 Hylke van der Schaaf
2001-03-01 23:58 ` Andre Hedrick
2001-03-02 15:31   ` Thomas Dodd [this message]
2001-03-02 20:18     ` Andre Hedrick

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=3A9FBCB4.3F3931F8@cypress.com \
    --to=ted@cypress.com \
    --cc=hylke@lx.student.wau.nl \
    --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.