Gentoo Archives: gentoo-amd64

From: Gavin Seddon <gavin.m.seddon@×××××××××××××.uk>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] dma?
Date: Tue, 11 Jul 2006 12:55:54
Message-Id: 1152622278.793.3.camel@linuxstation.homenetwork
In Reply to: Re: [gentoo-amd64] dma? by Brett Johnson
1 Brett, Hi
2 Yes I did this and Hemmann suggested the alternative in the inst. doc.
3 Will reboot asap.
4 Thanks
5 Gaviin
6
7
8
9 On Tue, 2006-07-11 at 06:54 -0500, Brett Johnson wrote:
10 > On Tue, Jul 11, 2006 at 11:58:04AM +0100, Gavin Seddon wrote:
11 > > Yes,
12 > > I tried this and,
13 > > ' hdparm -d1 -X /dev/hda
14 > >
15 > > /dev/hda:
16 > > setting using_dma to 1 (on)
17 > > HDIO_SET_DMA failed: Operation not permitted
18 > > setting xfermode to 0 (default PIO mode)
19 > > using_dma = 0 (off)
20 > > linuxstation mbpssgms # whoami
21 > > root'
22 >
23 > That most likely means you are missing the proper IDE driver in your
24 > kernel and the system has defaulted back to the "generic" IDE driver.
25 > What you want to do is use "/usr/sbin/lspic" to determine which IDE
26 > chipset you have in the system and make sure that you have the
27 > correct driver compilied in the kernel.
28 >
29 > As an example, I have an older Dell with the following IDE chipset
30 > (output from lspci):
31 > 00:1f.1 IDE interface: Intel Corporation 82801AA IDE (rev 02)
32 >
33 > So in the kernel config I have the following options:
34 >
35 > Device Drivers --->
36 >
37 > ATA/ATAPI/MFM/RLL support --->
38 >
39 > <*> ATA/ATAPI/MFM/RLL support
40 > <*> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
41 > <*> Include IDE/ATA-2 DISK support
42 > [*] Use multi-mode by default
43 > <M> Include IDE/ATAPI CDROM support
44 > [*] PCI IDE chipset support
45 > [*] Sharing PCI IDE interrupts support
46 > [*] Generic PCI bus-master DMA support
47 > [*] Use PCI DMA by default when available
48 > <*> Intel PIIXn chipsets support
49 >
50 > The last three options are the most important for getting DMA to work on
51 > the dirve, and the last option will vary based on the chipset in your
52 > system.
53 >
54 > Brett
55 --
56 Dr Gavin Seddon
57 Pharmacy and Pharmaceutical Sciences
58 University of Manchester
59 Oxford Road
60 M13 9PL
61 UK
62
63
64
65
66 --
67 gentoo-amd64@g.o mailing list