output from hdparm

2002-11-07 Thread Meir Michanie
why if it shows that the drive has dma support I get permission deny
when setting it with -d1 ?



  # hdparm -I  /dev/cdrom 

/dev/cdrom:

ATAPI CD-ROM, with removable media
Model Number:   CREATIVEDVD6630E
Serial Number:  
Firmware Revision:  b13A
Standards:
Configuration:
DRQ response: 50us.
Packet size: 12 bytes
Capabilities:
LBA, IORDY(can be disabled)
DMA: sdma0 sdma1 sdma2 mdma0 mdma1 *mdma2 
 Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4 
 Cycle time: no flow control=120ns  IORDY flow control=120ns
-- 
QOTD:
I tried buying a goat instead of a lawn tractor; had to return
it though.  Couldn't figure out a way to connect the snow blower.


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




Re: output from hdparm

2002-11-07 Thread Hetz Ben Hamo
Add:

options ide-cd dma=1

to your /etc/modules.conf file

This should do the trick.

Hetz

On Thursday 07 November 2002 22:51, Meir Michanie wrote:
 why if it shows that the drive has dma support I get permission deny
 when setting it with -d1 ?



   # hdparm -I  /dev/cdrom

 /dev/cdrom:

 ATAPI CD-ROM, with removable media
   Model Number:   CREATIVEDVD6630E
   Serial Number:
   Firmware Revision:  b13A
 Standards:
 Configuration:
   DRQ response: 50us.
   Packet size: 12 bytes
 Capabilities:
   LBA, IORDY(can be disabled)
   DMA: sdma0 sdma1 sdma2 mdma0 mdma1 *mdma2
Cycle time: min=120ns recommended=120ns
   PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns  IORDY flow control=120ns


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




Re: output from hdparm

2002-11-07 Thread Meir Michanie
Good one! thanks,

also I forgot to write that I have a cdr-w on the same machine and dma
was always working for it.
so with your answer I recalled that in order to let the cdr-w work I had
to add hdd=ide-scsi to the kernel in grub.
that is why I could set up dma on my cdr-w and not in my dvd
so I added hdc=ide-scsi for my dvd and also worked.

thanks for the tip.



On Thu, 2002-11-07 at 23:41, Hetz Ben Hamo wrote:
 Add:
 
 options ide-cd dma=1
 
 to your /etc/modules.conf file
 
 This should do the trick.
 
 Hetz
 
 On Thursday 07 November 2002 22:51, Meir Michanie wrote:
  why if it shows that the drive has dma support I get permission deny
  when setting it with -d1 ?
 
 
 
# hdparm -I  /dev/cdrom
 
  /dev/cdrom:
 
  ATAPI CD-ROM, with removable media
  Model Number:   CREATIVEDVD6630E
  Serial Number:
  Firmware Revision:  b13A
  Standards:
  Configuration:
  DRQ response: 50us.
  Packet size: 12 bytes
  Capabilities:
  LBA, IORDY(can be disabled)
  DMA: sdma0 sdma1 sdma2 mdma0 mdma1 *mdma2
   Cycle time: min=120ns recommended=120ns
  PIO: pio0 pio1 pio2 pio3 pio4
   Cycle time: no flow control=120ns  IORDY flow control=120ns
 
 
-- 
QOTD:
I tried buying a goat instead of a lawn tractor; had to return
it though.  Couldn't figure out a way to connect the snow blower.


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




Re: hdparm

2001-06-23 Thread dgi_il

apperently it is a kernel compilation problem: I booted the kernel from
mandrake with the parameters you sayed and it worked. There is a 50%
improovment on benchmarks, but in real life not so much.
I looked at the docs and the kernel configuration and have not find what I
should set on. Can you help me?

  - diego

- Original Message -
From: Alon Altman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: Linux-IL [EMAIL PROTECTED]
Sent: Friday, June 22, 2001 10:46 PM
Subject: Re: hdparm


 On Sat, 23 Jun 2001 [EMAIL PROTECTED] wrote:

  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.

   In lilo.conf add append=ide0=dma to your main image options. Then run
 lilo, and reboot.

   Alon

 - if you cut here, you'll probably destroy your monitor --
 This message was sent by Alon Altman ([EMAIL PROTECTED]) ICQ:1366540
 The RIGHT way to contact me is by e-mail. I am otherwise nonexistent :)



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



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




Re: hdparm

2001-06-22 Thread Yosi

Hi,

I don't know what controller you have, but my hard drive (IBM) which
is also 7200rpm/ATA100 on an ATA66 controller does 33MB/s easily.

Yosi

From: Sagi Bashari [EMAIL PROTECTED]
To: Alon Altman [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: hdparm
Date: Thu, 21 Jun 2001 20:07:27 +0300

Actually, that's how I found out about the cdrom :)

I had a weird problem - my 7200rpm / ATA100 hdd couldn't read/write more 
than 2mb/s on Linux.

Now, after loading the VIA IDE module, and enabling DMA - It reads in 
22mb/s!


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


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




Re: hdparm

2001-06-22 Thread dgi_il

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 [EMAIL PROTECTED]
To: Sagi Bashari [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
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 ([EMAIL PROTECTED]) ICQ:1366540
 The RIGHT way to contact me is by e-mail. I am otherwise nonexistent :)



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



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




Re: hdparm

2001-06-22 Thread Alon Altman

On Sat, 23 Jun 2001 [EMAIL PROTECTED] wrote:

 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.

  In lilo.conf add append=ide0=dma to your main image options. Then run
lilo, and reboot.

  Alon

- if you cut here, you'll probably destroy your monitor --
This message was sent by Alon Altman ([EMAIL PROTECTED]) ICQ:1366540
The RIGHT way to contact me is by e-mail. I am otherwise nonexistent :)



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




cdrom speed / hdparm

2001-06-21 Thread Sagi Bashari

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 :)

Sagi

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




Re: hdparm

2001-06-21 Thread Alon Altman

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 ([EMAIL PROTECTED]) ICQ:1366540
The RIGHT way to contact me is by e-mail. I am otherwise nonexistent :)



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




Re: hdparm

2001-06-21 Thread Sagi Bashari

Actually, that's how I found out about the cdrom :)

I had a weird problem - my 7200rpm / ATA100 hdd couldn't read/write more than 2mb/s on 
Linux. 

Now, after loading the VIA IDE module, and enabling DMA - It reads in 22mb/s!

I wonder how many people have the same problem and they just don't know it. (I 
actually worked with it that way for months, using 10% of my hdd speed).

Sagi

On Thu, Jun 21, 2001 at 07:57:10PM +0300, Alon Altman wrote:
 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 ([EMAIL PROTECTED]) ICQ:1366540
 The RIGHT way to contact me is by e-mail. I am otherwise nonexistent :)
 
 

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