mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark Knecht <markknecht@gmail.com>
To: Satish Eerpini <eerpini@gmail.com>
Cc: Rik van Riel <riel@redhat.com>, Ray Lee <ray-lk@madrabbit.org>,
	Christoph Lameter <cl@linux-foundation.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: unresponsiveness on linux desktop during file copy
Date: Fri, 15 May 2009 20:37:29 -0700	[thread overview]
Message-ID: <5bdc1c8b0905152037r614eaf8ft222c7a6294f2e80f@mail.gmail.com> (raw)
In-Reply-To: <93655eb70905152012j2a40d2e0ta413a5e9dee34d46@mail.gmail.com>

On Fri, May 15, 2009 at 8:12 PM, Satish Eerpini <eerpini@gmail.com> wrote:
>> I googled on "82801GBM/GHM slow" and found a lot to read.
>
> will read through that ,...
>
>> Is DMA for this drive enabled? It seems that some others didn't have
>> it enabled by default, or maybe at all. I didn't real the threads very
>> far.
>
> the udma5 mode seems to be enabled , though I can't really make any
> sense out of it:
>
> hdparm -i /dev/sda
>
> /dev/sda:
>
>  Model=TOSHIBA MK1234GSX                       , FwRev=AH001H  ,
> SerialNo=           372HFDVGS
>  Config={ Fixed }
>  RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
>  BuffType=unknown, BuffSize=0kB, MaxMultSect=16, MultSect=?16?
>  CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=234441648
>  IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
>  PIO modes:  pio0 pio1 pio2 pio3 pio4
>  DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
>  UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
>  AdvancedPM=yes: unknown setting WriteCache=enabled
>  Drive conforms to: Unspecified:  ATA/ATAPI-3,4,5,6,7
>
>  * signifies the current active mode
>
>> hdparm -d1 /dev/sda
>
> got the following error when I tried setting the mode as above, I
> think along with -d1 we need to give some "X" argument( or so reads
> the man page)..
>
>  hdparm -d1 /dev/sda
>
> /dev/sda:
>  setting using_dma to 1 (on)
>  HDIO_SET_DMA failed: Inappropriate ioctl for device
>  HDIO_GET_DMA failed: Inappropriate ioctl for device
>
>> Clearly, since you see the same thing in a console with X never having
>> been started says it's not a GUI issue.
>
> yes I suppose, but any idea how I figure out what exactly is causing
> the IOWAIT, .. and if there are any patches, let me know, I can test
> them .
>
> Cheers
> Satish

OK, the solution for this is probably beyond my expertise but this
looks identical to when I got a Compaq laptop and the ATI chipset's
DMA driver wasn't working right. hdparm said I was using udma but I
got error messages like you are when I tried to enable DMA.

Do you believe this was working better on an earlier kernel? If so you
might drop back and see if these commands work better. If so that
would suggest a regression of some type.

Hopefully someone here can direct you to the right person that supports this.

- Mark

  reply	other threads:[~2009-05-16  3:37 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-15 17:07 Satish Eerpini
2009-05-15 17:12 ` Mark Knecht
     [not found]   ` <93655eb70905151024o634f8432j6c3db85df1f6ddfc@mail.gmail.com>
     [not found]     ` <5bdc1c8b0905151120p5aa58318t1765544fbbb695b2@mail.gmail.com>
2009-05-16  2:38       ` Satish Eerpini
2009-05-16  2:47         ` Mark Knecht
2009-05-16  3:12           ` Satish Eerpini
2009-05-16  3:37             ` Mark Knecht [this message]
2009-05-16  6:52               ` Satish Eerpini
2009-05-16 21:11                 ` Mark Knecht
2009-05-17  8:54                 ` Robert Hancock
2009-05-17  9:04                   ` Satish Eerpini
2009-05-17  8:52           ` Robert Hancock
2009-05-15 18:02 ` Ray Lee
2009-05-15 19:33   ` Christoph Lameter
2009-05-16 16:03     ` Ray Lee
2009-05-16 17:38       ` Rik van Riel
2009-05-17  1:19         ` Wu Fengguang
2009-05-17  1:27           ` Satish Eerpini
2009-05-17  2:08             ` Wu Fengguang
2009-05-17  4:30               ` Satish Eerpini
2009-05-17  4:57                 ` Arjan van de Ven
2009-05-17  4:58                 ` Wu Fengguang
2009-05-17  6:18                   ` Satish Eerpini
2009-05-17  9:30                     ` Wu Fengguang
2009-05-17 12:01                       ` Satish Eerpini
2009-05-17 12:17                         ` Wu Fengguang
2009-05-17 12:27                           ` Satish Eerpini
2009-05-17 12:39                             ` Wu Fengguang
2009-05-17 13:03                               ` Satish Eerpini
2009-05-17 13:11                                 ` Wu Fengguang
2009-05-17 13:43                                   ` Satish Eerpini
2009-05-17 13:14                   ` Michael S. Zick
2009-05-16  2:28   ` Satish Eerpini
2009-05-16 14:25   ` Satish Eerpini

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=5bdc1c8b0905152037r614eaf8ft222c7a6294f2e80f@mail.gmail.com \
    --to=markknecht@gmail.com \
    --cc=cl@linux-foundation.org \
    --cc=eerpini@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ray-lk@madrabbit.org \
    --cc=riel@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®