On Wednesday 22 October 2003 19:02, Matan Ziv-Av wrote:
> I know the feeling.

:-)

> The way to check (and set) IDE parameters is with hdparm:
>
> 18:58:09:~# hdparm -v /dev/hda
>
> /dev/hda:
>  multcount    = 16 (on)
>  IO_support   =  1 (32-bit)
>  unmaskirq    =  1 (on)
>  using_dma    =  1 (on)
>  keepsettings =  0 (off)
>  readonly     =  0 (off)
>  readahead    =  8 (on)
>  geometry     = 30515/255/63, sectors = 490234752, start = 0
>
>
> Note the using_dma is 1.

With more googling for "HDIO_SET_DMA failed: Operation not permitted"
(which is what I got from "hdparm -d1 /dev/hda") I found that my AMD chipset
support was in an unloaded module. Loading the module fixed this (and I
set this to be built-in for the next round of kernel compiling).

I also found a "Tuning Debian" document and ran
"hdparm -d1 -m16 -u1 -c3" from it, which seems to have
doubled the speed of buffered disk reads.

> Note the star (*) signaling the use of udma6 (this is ata133). ata100 is
> udma5, ata66 is udma4, ata33 is udma2.

Thanks, now my system reports udma5 (ata100), I suppose this is what
I should expect from this disk and motherboard (Gigabyte GA-7N400-L1)

Cheers,

--Amos

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to