Gentoo Logo
Gentoo Spaceship




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
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-amd64@g.o
From: Brett Johnson <brett@...>
Subject: Re: dma?
Date: Tue, 11 Jul 2006 06:54:38 -0500
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


Replies:
Re: dma?
-- Gavin Seddon
References:
dma?
-- Gavin Seddon
Re: dma?
-- Hemmann, Volker Armin
Re: dma?
-- Gavin Seddon
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: dma?
Next by thread:
Re: dma?
Previous by date:
Re: dma?
Next by date:
Re: dma?


Updated Jun 17, 2009

Summary: Archive of the gentoo-amd64 mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.