cant get DMA to work on my debian kernel:2.6.8

From: MortenK (mortek_at_gmail.com)
Date: 11/01/04


Date: 1 Nov 2004 02:20:50 -0800

Hi all.

i get the following msg, when i try to enable dms on my disk
 hdparm -d1 /dev/hda1

/dev/hda1:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Invalid argument
 using_dma = 0 (off).

lspci output:
lspci
0000:00:00.0 Host bridge: Intel Corp. 82865G/PE/P DRAM
Controller/Host-Hub Interface (rev 02)
0000:00:02.0 VGA compatible controller: Intel Corp. 82865G Integrated
Graphics Device (rev 02)
0000:00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB
UHCI #1 (rev 02)
0000:00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB
UHCI #2 (rev 02)
0000:00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB
UHCI #3 (rev 02)
0000:00:1d.3 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB
UHCI #4 (rev 02)
0000:00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2
EHCI Controller (rev 02)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev c2)
0000:00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC
Bridge (rev 02)
0000:00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra
ATA 100 Storage Controller (rev 02)
0000:00:1f.2 IDE interface: Intel Corp. 82801EB (ICH5) Serial ATA 150
Storage Controller (rev 02)
0000:00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus
Controller (rev 02)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)
0000:01:08.0 Ethernet controller: Intel Corp. 82562EZ 10/100 Ethernet
Controller (rev 01)

lsmod output:
lsmod
Module Size Used by
ipv6 252420 20
eepro100 28812 0
piix 13344 1
ehci_hcd 29700 0
uhci_hcd 31632 0
usbcore 114404 4 ehci_hcd,uhci_hcd
evdev 9856 0
e100 31360 0
mii 5376 2 eepro100,e100
ata_piix 8452 0
libata 41220 1 ata_piix
scsi_mod 82880 1 libata
ide_cd 42144 0
cdrom 40220 1 ide_cd
unix 27188 168

dmesg:
hda: max request size: 128KiB
hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=65535/16/63

so its an intel chipset, ive compiled the piix as a module, which
should be okay - what am i forgetting to check?
ive made the bios force udma5 on instead of AUTO (although it dected
the disks as UDMA5

Regards
Morten