* 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* Re: kernel 2.6.3 hdparm : HDIO_SET_DMA failed: Operation not permitted
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
0 siblings, 1 reply; 3+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2004-03-05 17:26 UTC (permalink / raw)
To: François Chenais; +Cc: linux-ide, linux-kernel
On Friday 05 of March 2004 18:00, François Chenais wrote:
> Hello,
Hi,
> 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
CONFIG_BLK_DEV_PIIX is not set in your .config and due to the fact
that NEC VERSA L320 has Intel IDE chipset you need to set it to 'y'.
Regards,
Bartlomiej
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kernel 2.6.3 hdparm : HDIO_SET_DMA failed: Operation not permitted
2004-03-05 17:26 ` Bartlomiej Zolnierkiewicz
@ 2004-03-08 11:37 ` François Chenais
0 siblings, 0 replies; 3+ messages in thread
From: François Chenais @ 2004-03-08 11:37 UTC (permalink / raw)
To: Bartlomiej Zolnierkiewicz; +Cc: linux-ide, linux-kernel
Le ven 05/03/2004 à 18:26, Bartlomiej Zolnierkiewicz a écrit :
> CONFIG_BLK_DEV_PIIX is not set in your .config and due to the fact
> that NEC VERSA L320 has Intel IDE chipset you need to set it to 'y'.
It's better with this option, hdparm works now. Thanks a lot.
/dev/hda:
multcount = 16 (on)
IO_support = 3 (32-bit w/sync)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 58140/16/63, sectors = 58605120, start = 0
But I still have a problem of latency when the disk seems starting after
about 30 sec of inactivity. It's strange. I don't find any disk option
in the ACPI configuration entries. Or perhaps it's the
ACPI_SLEEP experimental option. I'll try without it.
François
--
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
^ 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