Linux ATA/IDE development
 help / color / mirror / Atom feed
From: "François Chenais" <francois@chenais.net>
To: linux-ide@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: kernel 2.6.3 hdparm : HDIO_SET_DMA failed: Operation not permitted
Date: Fri, 05 Mar 2004 18:00:08 +0100	[thread overview]
Message-ID: <1078506007.2210.84.camel@tanna> (raw)

[-- Attachment #1: Type: text/plain, Size: 3554 bytes --]

Hello, 

Since I use kernel 2.6.3, my disk has very low performance 
If I do nothing during about 30 sec, the system takes about 3 sec before
reaction because the disk seems awakened.

So I asked around me how to tune it using hdparm but 
i have the following errors when setting on dma (logs bellow). 

Some persons around me have the same feeling of lowest performances.


Perhaps my kernel .config has some bad values because I have no
experience in disk tuning (see attached file).

I use 
   - debian sid on a NEC VERSA L320 laptop with a 'home built' kernel. 
   - preemptive mode 
   - ACPI
   

	Thanks a lot in Advance if you can help me
	Hope that can help linux development.
	Sorry if I've done a mistake in my kernel conf 
        or if I've chosen the bad mailing list. 

		François


-----------------------------------------------------------------------
hdparm -d1 /dev/hda
-----------------------------------------------------------------------
/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma    =  0 (off)

-----------------------------------------------------------------------
   My Disk's informations
-----------------------------------------------------------------------
/dev/hda:

ATA device, with non-removable media
        Model Number:       TOSHIBA MK3017GAP                       
        Serial Number:      224A3455T           
        Firmware Revision:  A0.04 A 
Standards:
        Supported: 5 4 3 2 
        Likely used: 6
Configuration:
        Logical         max     current
        cylinders       16383   16383
        heads           16      16
        sectors/track   63      63
        --
        CHS current addressable sectors:   16514064
        LBA    user addressable sectors:   58605120
        device size with M = 1024*1024:       28615 MBytes
        device size with M = 1000*1000:       30005 MBytes (30 GB)
Capabilities:
        LBA, IORDY(can be disabled)
        bytes avail on r/w long: 46     Queue depth: 1
        Standby timer values: spec'd by Vendor, no device specific
minimum
        R/W multiple sector transfer: Max = 16  Current = 16
        Advanced power management level: unknown setting (0x0080)
        DMA: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3
*udma4 
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4 
             Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
        Enabled Supported:
           *    NOP cmd
           *    READ BUFFER cmd
           *    WRITE BUFFER cmd
           *    Host Protected Area feature set
           *    Look-ahead
                Write cache
           *    Power Management feature set
                Security Mode feature set
           *    SMART feature set
                SET MAX security extension
           *    Advanced Power Management feature set
Security: 
        Master password revision code = 65534
                supported
        not     enabled
        not     locked
        not     frozen
        not     expired: security count
        not     supported: enhanced erase
        36min for SECURITY ERASE UNIT. 
HW reset results:
        CBLID- above Vih
        Device num = 0 determined by the jumper
Checksum: correct
-----------------------------------------------------------------------







-- 
Debian SID
Linux tanna 2.6.3 #1 Tue Feb 24 03:06:51 CET 2004 i686 GNU/Linux
Linux Counter #59413
PGP fingerprint : 9AFA 15EC 96C9 F607 EBC1  DD41 70C5 F0E0 25A5 105B

[-- Attachment #2: config-2.6.3.gz --]
[-- Type: application/x-gzip, Size: 10055 bytes --]

             reply	other threads:[~2004-03-05 17:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-05 17:00 François Chenais [this message]
2004-03-05 17:26 ` kernel 2.6.3 hdparm : HDIO_SET_DMA failed: Operation not permitted Bartlomiej Zolnierkiewicz
2004-03-08 11:37   ` François Chenais

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=1078506007.2210.84.camel@tanna \
    --to=francois@chenais.net \
    --cc=linux-ide@vger.kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox