Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-amd64
On Tue, Jul 11, 2006 at 11:58:04AM +0100, Gavin Seddon wrote:
> Yes,
> I tried this and,
> ' hdparm -d1 -X /dev/hda
>
> /dev/hda:
> setting using_dma to 1 (on)
> HDIO_SET_DMA failed: Operation not permitted
> setting xfermode to 0 (default PIO mode)
> using_dma = 0 (off)
> linuxstation mbpssgms # whoami
> root'
That most likely means you are missing the proper IDE driver in your
kernel and the system has defaulted back to the "generic" IDE driver.
What you want to do is use "/usr/sbin/lspic" to determine which IDE
chipset you have in the system and make sure that you have the
correct driver compilied in the kernel.
As an example, I have an older Dell with the following IDE chipset
(output from lspci):
00:1f.1 IDE interface: Intel Corporation 82801AA IDE (rev 02)
So in the kernel config I have the following options:
Device Drivers --->
ATA/ATAPI/MFM/RLL support --->
<*> ATA/ATAPI/MFM/RLL support
<*> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
<*> Include IDE/ATA-2 DISK support
[*] Use multi-mode by default
<M> Include IDE/ATAPI CDROM support
[*] PCI IDE chipset support
[*] Sharing PCI IDE interrupts support
[*] Generic PCI bus-master DMA support
[*] Use PCI DMA by default when available
<*> Intel PIIXn chipsets support
The last three options are the most important for getting DMA to work on
the dirve, and the last option will vary based on the chipset in your
system.
Brett
--
gentoo-amd64@g.o mailing list
|
|