I tried switching on DMA using hdparm -d1 /dev/hda but got the following error message:
HDIO_SET_DMA failed: Operation not permitted
I have an identical disk with Red Hat 8.0 (2.4.18-14 kernel) and DMA works without a problem
on this. Disk read speed as tested by hdparm is around 49MB/sec with DMA and 7MB/sec without.
Anyone know how I can enable DMA on the 3.0r0 system?
I've attached excerpts from /var/log/messages:
_________________________________________________________________
Find a cheaper internet access deal - choose one to suit you. http://www.msn.co.uk/internetaccess
Debian 3.0r0 (2.4.18-bf2.4) /var/log/messages (excerpt) _____________________________________________
Jul 18 11:53:21 localhost kernel: Uniform Multi-Platform E-IDE driver Revision: 6.31
Jul 17 23:48:07 localhost kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Jul 17 23:48:07 localhost kernel: VP_IDE: IDE controller on PCI bus 00 dev 89
Jul 17 23:48:07 localhost kernel: PCI: Hardcoded IRQ 14 for device 00:11.1
Jul 17 23:48:07 localhost kernel: VP_IDE: chipset revision 6
Jul 17 23:48:07 localhost kernel: VP_IDE: not 100%% native mode: will probe irqs later
Jul 17 23:48:07 localhost kernel: VP_IDE: Unknown VIA SouthBridge, contact Vojtech Pavlik <[EMAIL PROTECTED]>
Jul 17 23:48:07 localhost kernel: hda: Maxtor 6E030L0, ATA DISK drive
Jul 17 23:48:07 localhost kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Jul 17 23:48:07 localhost kernel: ide0: probed IRQ 14 failed, using default.
Jul 17 23:48:07 localhost kernel: hda: 60058656 sectors (30750 MB) w/2048KiB Cache, CHS=3738/255/63
Jul 17 23:48:07 localhost kernel: ide-floppy driver 0.97.sv
Jul 17 23:48:07 localhost kernel: Partition check:
Jul 17 23:48:07 localhost kernel: hda: hda1 hda2 < hda5 hda6 hda7 hda8 >
Red Hat 8.0 (2.4.18-14) /var/log/messages (excerpt) _________________________________________
Jul 18 11:19:58 localhost kernel: Uniform Multi-Platform E-IDE driver Revision: 6.31
Jul 18 11:19:58 localhost kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Jul 18 11:19:58 localhost random: Initializing random number generator: succeeded
Jul 18 11:19:58 localhost kernel: VP_IDE: IDE controller on PCI bus 00 dev 89
Jul 18 11:19:58 localhost kernel: PCI: Hardcoded IRQ 14 for device 00:11.1
Jul 18 11:19:58 localhost kernel: VP_IDE: chipset revision 6
Jul 18 11:19:58 localhost kernel: VP_IDE: not 100%% native mode: will probe irqs later
Jul 18 11:19:58 localhost kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Jul 18 11:19:58 localhost kernel: VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci00:11.1
Jul 18 11:19:58 localhost kernel: ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
Jul 18 11:19:58 localhost kernel: ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:pio
Jul 18 11:19:58 localhost kernel: hda: Maxtor 6E030L0, ATA DISK drive
Jul 18 11:19:58 localhost kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Jul 18 11:19:58 localhost kernel: hda: 60058656 sectors (30750 MB) w/2048KiB Cache, CHS=3738/255/63, UDMA(133)
Jul 18 11:19:58 localhost kernel: ide-floppy driver 0.99.newide
Jul 18 11:19:58 localhost kernel: Partition check:
Jul 18 11:19:58 localhost kernel: hda: hda1 hda2 < hda5 hda6 hda7 hda8 >
Debian 3.0r0 (2.4.18-bf2.4) hdparm -v /dev/hda ______________________________________________
hdparm-4.5-1.2
/dev/hda: multcount = 0 (off) I/O support = 1 (32-bit) unmaskirq = 1 (on) using_dma = 0 (off) keepsettings = 0 (off) nowerr = 0 (off) readonly = 0 (off) readahead = 8 (on) geometry = 3738/255/63, sectors = 60058656, start = 0 busstate = 1 (on)
Red Hat 8.0 (2.4.18-14) hdparm -v /dev/hda __________________________________________
hdparm-5.2-1
/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 = 3738/255/63, sectors = 60058656, start = 0