Re: Convenient way to enable IDE DMA

2002-08-27 Thread Chris Halls
On Mon, Aug 26, 2002 at 12:11:18PM -0700, Nate Eldredge wrote: The other question is how it should be enabled. One way is hdparm -d 1 /dev/hd? or moral equivalent in an init script. The hwtools package includes a script with a placeholder for such hdparm tuning in /etc/init.d/hwtools: #

Convenient way to enable IDE DMA

2002-08-26 Thread Nate Eldredge
I just noticed that IDE DMA is not enabled by default in woody, nor in the kernel-image package (at least for 2.4.18 and I assume for the others also). I can understand this, since there are some systems for which enabling IDE results in hideous corruption. But for others it gives you a a huge

Re: Convenient way to enable IDE DMA

2002-08-26 Thread Nate Eldredge
On Mon, 26 Aug 2002, Nate Eldredge wrote: The other question is how it should be enabled. One way is hdparm -d 1 /dev/hd? or moral equivalent in an init script. Another way appears to be hda=dma ... or ide0=dma ... on the kernel command line, though I haven't tested this yet. Apparently

Re: Convenient way to enable IDE DMA

2002-08-26 Thread Federico Di Gregorio
Il lun, 2002-08-26 alle 21:45, Nate Eldredge ha scritto: As for hdparm, this is complicated with ide-scsi. For ide-scsi to work you have to make the ide-cd module ignore the scsi-ified drive. In which case /dev/hdc or whatever it is won't work until you have loaded the ide-scsi module,

Re: Convenient way to enable IDE DMA

2002-08-26 Thread Nate Eldredge
On Mon, 26 Aug 2002, Nate Eldredge wrote: On Mon, 26 Aug 2002, Nate Eldredge wrote: The other question is how it should be enabled. One way is hdparm -d 1 /dev/hd? or moral equivalent in an init script. Another way appears to be hda=dma ... or ide0=dma ... on the kernel command line,

Re: Convenient way to enable IDE DMA

2002-08-26 Thread Nate Eldredge
On 26 Aug 2002, Federico Di Gregorio wrote: Il lun, 2002-08-26 alle 21:45, Nate Eldredge ha scritto: As for hdparm, this is complicated with ide-scsi. For ide-scsi to work you have to make the ide-cd module ignore the scsi-ified drive. In which case /dev/hdc or whatever it is won't work

Re: Convenient way to enable IDE DMA

2002-08-26 Thread tomas p
On Mon, 26 Aug 2002, Nate Eldredge wrote: Thoughts? Propose a patch against the hdparm package?

Re: Convenient way to enable IDE DMA

2002-08-26 Thread Joseph Carter
On Mon, Aug 26, 2002 at 12:45:54PM -0700, Nate Eldredge wrote: The other question is how it should be enabled. One way is hdparm -d 1 /dev/hd? or moral equivalent in an init script. Another way appears to be hda=dma ... or ide0=dma ... on the kernel command line, though I haven't tested

Re: Convenient way to enable IDE DMA

2002-08-26 Thread Ian Eure
On Monday 26 August 2002 12:45 pm, Nate Eldredge wrote: As for hdparm, this is complicated with ide-scsi. For ide-scsi to work you have to make the ide-cd module ignore the scsi-ified drive. In which case /dev/hdc or whatever it is won't work until you have loaded the ide-scsi module,