Can't enable DMA when using IDE devices on SATA controllers
- From: "Marcelo Magno T. Sales" <marcelo.sales@xxxxxxxxxxxxxxx>
- Date: Wed, 31 May 2006 13:06:54 -0300
Hi,
I have several IBM desktops and some notebooks in which the IDE interface is a
SATA controller, most of them Intel. Here's lspci output:
-------------
[marcelo.sales@sf002698 ~]$ /sbin/lspci | grep IDE
00:1f.2 IDE interface: Intel Corporation 82801FB/FW (ICH6/ICH6W) SATA
Controller (rev 03)
-------------
On these machines, I can't enable DMA on IDE devices. hdparm shows:
-------------
[marcelo.sales@sf002698 ~]$ /sbin/hdparm /dev/hdc
/dev/hdc:
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Inappropriate ioctl for device
-------------
When I try to enable DMA, I get:
-------------
[marcelo.sales@sf002698 ~]$ su -c '/sbin/hdparm -d1 /dev/hdc'
/dev/hdc:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
-------------
I thought this was caused by lack of kernel support for the SATA controller,
but I've compiled the FC kernel and the vanilla kernel several times, with
different settings, and have got no luck on this. libata is built and loaded,
as shown by lsmod:
[marcelo.sales@sf002698 ~]$ /sbin/lsmod | grep libata
libata 58065 1 ata_piix
scsi_mod 129001 3 sg,libata,sd_mod
What needs to be done to enable DMA support? I'm using kernel
2.6.16-1.2122_FC5smp.
Thanks,
Marcelo
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- Follow-Ups:
- Re: Can't enable DMA when using IDE devices on SATA controllers
- From: Mikkel L. Ellertson
- Re: Can't enable DMA when using IDE devices on SATA controllers
- From: wwp
- Re: Can't enable DMA when using IDE devices on SATA controllers
- Prev by Date: Re: SELinux question
- Next by Date: Re: IPV6, Fedora and apps
- Previous by thread: slsnif (or alternative) for FC?
- Next by thread: Re: Can't enable DMA when using IDE devices on SATA controllers
- Index(es):
Relevant Pages
- Re: Cant enable DMA when using IDE devices on SATA controllers
... I have several IBM desktops and some notebooks in which the IDE interface ...
is a SATA controller, most of them Intel. ... I thought this was caused by lack of kernel
support for the SATA ... (Fedora) - how to build a working 2.6 kernel with SATA
... I am trying to build a bootable 2.6 kernel for a Dell 8300, ... which has both
the onboard ICH5 SATA controller and a PCI ... I have seen a variety of boot problems,
... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - Re: non-PCI based libata-SATA driver
... I have a SATA Controller that is attached to HSX bus on ARM based ... I've gone
through the SATA drivers in kernel ... 2.4.x is a lot of work to do non-PCI, largely because
you have to deal with the lack of a generic DMA interface. ... 2.4.x libata is hardcoded
to use PCI DMA mapping. ... (Linux-Kernel) - Fedora Core 3 crashes when installing on several (Dell) SATA machines
... Fedora Core 3 is systematically crashing when installing on various ...
the following SATA controller: ... The kernel gives a bunch of errors when loading
the sata driver. ... (Fedora) - Re: SATA and IDE drive identification
... I'd build the kernel with support for your ... >SATA controller as
a module. ... after the boot process has begun and ... That's probably how I'd build
the kernel anyway, ... (comp.os.linux.hardware)