Linux ATA/IDE development
 help / color / mirror / Atom feed
* kernel 2.6.3 hdparm : HDIO_SET_DMA failed: Operation not permitted
@ 2004-03-05 17:00 François Chenais
  2004-03-05 17:26 ` Bartlomiej Zolnierkiewicz
  0 siblings, 1 reply; 3+ messages in thread
From: François Chenais @ 2004-03-05 17:00 UTC (permalink / raw)
  To: linux-ide; +Cc: linux-kernel

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-03-08 11:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-05 17:00 kernel 2.6.3 hdparm : HDIO_SET_DMA failed: Operation not permitted François Chenais
2004-03-05 17:26 ` Bartlomiej Zolnierkiewicz
2004-03-08 11:37   ` François Chenais

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox