Dave,
Your hdc and hdd are not harddrives, they're your CD drive and tape drive,
which have DMA turned off by default. The command you're looking for
hdparm -d1 /dev/hdc
hdparm -d1 /dev/hdd
Miark
On Thu, 03 Apr 2003 14:31:37 -0800
"David Guntner" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> When doing a dmesg command, I've noticed the following entries:
>
> hda: Maxtor 6Y060L0, ATA DISK drive
> hda: DMA disabled
> blk: queue c03cb420, I/O limit 4095Mb (mask 0xffffffff)
> hdc: FX4821T, ATAPI CD/DVD-ROM drive
> hdd: Seagate STT20000A, ATAPI TAPE drive
> hdc: DMA disabled
> hdd: DMA disabled
> hde: WDC AC310200R, ATA DISK drive
> hdf: QUANTUM FIREBALL ST6.4A, ATA DISK drive
> blk: queue c03cbcb8, I/O limit 4095Mb (mask 0xffffffff)
> blk: queue c03cbdf4, I/O limit 4095Mb (mask 0xffffffff)
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> ide2 at 0xbc00-0xbc07,0xb802 on irq 10
> hda: host protected area => 1
> hda: 120103200 sectors (61493 MB) w/2048KiB Cache, CHS=7476/255/63, UDMA(100)
> hde: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
> hde: task_no_data_intr: error=0x04 { DriveStatusError }
> hde: host protected area => 1
> hde: 20044080 sectors (10263 MB) w/512KiB Cache, CHS=19885/16/63, UDMA(33)
> hdf: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
> hdf: task_no_data_intr: error=0x04 { DriveStatusError }
> hdf: 12594960 sectors (6449 MB) w/81KiB Cache, CHS=13328/15/63, UDMA(33)
>
>
> The question is, why would DMA on the hard drives be (apparantly) turned
> off? I'm pretty sure that the drives in question support DMA (which would
> speed up access, right?).
>
> (On a side note, I'm pretty sure it's making a mistake WRT hde - that drive
> is UDMA 66, and upon boot, when the IDE controller (PCI board) that hde and
> hdf are connected to comes up, it says ATA/66 for the first drive (hde).
> Unless the kernel just goes with the slowest drive in the chain and assumes
> that speed for both drives...?)
>
> I seem to remember that there's a command you can stick in your rc.local to
> turn drive DMA on. Can anyone let me know what it is? And, of course, if
> there are any pitfalls I should be aware of regarding using it with any of
> the above three drives? Thanks for any info.
>
> --Dave
> --
> David Guntner GEnie: Just say NO!
> http://www.akaMail.com/pgpkey/davidg or key server
> for PGP Public key
>
>
>
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com