Hello.

Florian Ernst:

> hdparm -d doesn't toggle DMA, you have to set it explicitly, ie.
> hdparm -d1 /dev/hda

Sorry for jumping in mid-thread. I'm new to Debian and I wasn't aware
that the DMA isn't turned on by default. However, when I try to set it
up, I get



[EMAIL PROTECTED]:~$ sudo hdparm -d1 /dev/hda
/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma    =  0 (off)



Does it mean I have to upgrade the kernel (I'd rather wait with this
until 2.6)? The system is a testing/unstable mix installed from the
Woody mini-ISO. Some more info:



[EMAIL PROTECTED]:~$ lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
[...]
00:11.0 ISA bridge: VIA Technologies, Inc. VT8233A ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. 
VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE (rev 06)

[EMAIL PROTECTED]:~$ sudo hdparm -I /dev/hda
/dev/hda:
ATA device, with non-removable media
        Model Number:       ST3120026A
[...]
Capabilities:
[...]
        DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
             Cycle time: min=120ns recommended=120ns

[EMAIL PROTECTED]:~$ uname -rv
2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002

[EMAIL PROTECTED]:~$ grep -i dma /boot/config-2.4.18-bf2.4
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_BLK_DEV_ADMA=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_SCSI_EATA_DMA=m
CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1



Is there anything else I should know about tuning the hard disks on
a somewhat novice level? If there's any more info I can provide I'd
gladly do so, I'm just not sure where to find it in Debian yet.

Cheers,
-- Shot
-- 
.--- http://shot.pl/ --- http://shot.pl/hovercraft/ --- -- -
| Despite the tons of examples and docs, mod_rewrite
| is voodoo. Damned cool voodoo, but still voodoo.
| -- Brian Moore
`----- ---- --- -- -


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to