[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hdparm



I tried it without sucsess:

 HDIO_SET_DMA failed: Operation not permitted

/dev/hda:
 setting 32-bit I/O support flag to 1
 setting multcount to 16
 setting using_dma to 1 (on)
 setting keep_settings to 1 (on)
 multcount    = 16 (on)
 I/O support  =  1 (32-bit)
 using_dma    =  0 (off)
 keepsettings =  1 (on)

Acording to documentation/ide.txt in kernel 2.4.4, I should insert the ide.o
module with "idex=dma",  how do I do when the module is built into the
kernel? Is it the what the first error line says? BTW: it's a mandrake 7.2
with official kernel builed by hand with gcc 2.95.

  - diego

----- Original Message -----
From: Alon Altman <alon@vipe.technion.ac.il>
To: Sagi Bashari <sagi@boom.org.il>
Cc: <linux-il@linux.org.il>
Sent: Thursday, June 21, 2001 4:57 PM
Subject: Re: hdparm


> On Thu, 21 Jun 2001, Sagi Bashari wrote:
>
> > Hi
> >
> > I remember some time ago someone asked how to change his cdrom speed.
> > Well, I noticed today that the current version of hdparm can do that!
> >
> > use: hdparm -E XX /dev/hdXX
> >
> > Very useful when using x56 cdrom :)
>
>   Speaking of hdparm, I just recently found out that in Linux, HDs have
DMA
> off by default. By using hdparm you can speed up your HD up to 10 times
the
> original speed, by issuing the following command each bootup (replace
> /dev/hda with your UDMA HD)...
>
>   hdparm -c1 -d1 -m16 -k1 /dev/hda
>
> Try it by first issuing:
>
>   hdparm -Tt /dev/hda
>
> for a benchmark and then repeat the benchamrk after turning DMA on.
>
>   Alon
>
> --------- if you cut here, you'll probably destroy your monitor ----------
> This message was sent by Alon Altman (Psycho99@bigfoot.com) ICQ:1366540
> The RIGHT way to contact me is by e-mail. I am otherwise nonexistent :)
>
>
>
> =================================================================
> To unsubscribe, send mail to linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
>


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il