1 |
Hello |
2 |
|
3 |
The reason you had this: |
4 |
setting using_dma to 1 (on) |
5 |
HDIO_SET_DMA failed: Operation not permitted |
6 |
|
7 |
Was because it was not enabled in the kernel! That is all about. I had this problem before and tried to tweak the kernel and re-compiled it. That caused I mis-configured other things. It must be enabled in the kernel NOT as module. |
8 |
|
9 |
At last I solved the problem with re-installing Gentoo using genkernel! None document found on the Internet telling me this. How I found this out? When I boot with Gentoo universal CD, everything fine, booting was fast, DMA was set to ON, I got beautiful fonts, etc. |
10 |
|
11 |
Hope that help. |
12 |
|
13 |
Razali |
14 |
|
15 |
> -----Original Message----- |
16 |
> From: Gavin Seddon [mailto:gavin.m.seddon@×××××××××××××.uk] |
17 |
> Sent: Tuesday, July 11, 2006 8:51 PM |
18 |
> To: gentoo-amd64@l.g.o |
19 |
> Subject: Re: [gentoo-amd64] dma? |
20 |
> |
21 |
> Brett, Hi |
22 |
> Yes I did this and Hemmann suggested the alternative in the inst. doc. |
23 |
> Will reboot asap. |
24 |
> Thanks |
25 |
> Gaviin |
26 |
> |
27 |
> |
28 |
> |
29 |
> On Tue, 2006-07-11 at 06:54 -0500, Brett Johnson wrote: |
30 |
> > On Tue, Jul 11, 2006 at 11:58:04AM +0100, Gavin Seddon wrote: |
31 |
> > > Yes, |
32 |
> > > I tried this and, |
33 |
> > > ' hdparm -d1 -X /dev/hda |
34 |
> > > |
35 |
> > > /dev/hda: |
36 |
> > > setting using_dma to 1 (on) |
37 |
> > > HDIO_SET_DMA failed: Operation not permitted |
38 |
> > > setting xfermode to 0 (default PIO mode) |
39 |
> > > using_dma = 0 (off) |
40 |
> > > linuxstation mbpssgms # whoami |
41 |
> > > root' |
42 |
> > |
43 |
> > That most likely means you are missing the proper IDE driver in your |
44 |
> > kernel and the system has defaulted back to the "generic" IDE driver. |
45 |
> > What you want to do is use "/usr/sbin/lspic" to determine which IDE |
46 |
> > chipset you have in the system and make sure that you have the |
47 |
> > correct driver compilied in the kernel. |
48 |
> > |
49 |
> > As an example, I have an older Dell with the following IDE chipset |
50 |
> > (output from lspci): |
51 |
> > 00:1f.1 IDE interface: Intel Corporation 82801AA IDE (rev 02) |
52 |
> > |
53 |
> > So in the kernel config I have the following options: |
54 |
> > |
55 |
> > Device Drivers ---> |
56 |
> > |
57 |
> > ATA/ATAPI/MFM/RLL support ---> |
58 |
> > |
59 |
> > <*> ATA/ATAPI/MFM/RLL support |
60 |
> > <*> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support |
61 |
> > <*> Include IDE/ATA-2 DISK support |
62 |
> > [*] Use multi-mode by default |
63 |
> > <M> Include IDE/ATAPI CDROM support |
64 |
> > [*] PCI IDE chipset support |
65 |
> > [*] Sharing PCI IDE interrupts support |
66 |
> > [*] Generic PCI bus-master DMA support |
67 |
> > [*] Use PCI DMA by default when available |
68 |
> > <*> Intel PIIXn chipsets support |
69 |
> > |
70 |
> > The last three options are the most important for getting DMA to work on |
71 |
> > the dirve, and the last option will vary based on the chipset in your |
72 |
> > system. |
73 |
> > |
74 |
> > Brett |
75 |
> -- |
76 |
> Dr Gavin Seddon |
77 |
> Pharmacy and Pharmaceutical Sciences |
78 |
> University of Manchester |
79 |
> Oxford Road |
80 |
> M13 9PL |
81 |
> UK |
82 |
> |
83 |
> |
84 |
> |
85 |
> |
86 |
> -- |
87 |
> gentoo-amd64@g.o mailing list |
88 |
> |
89 |
> |
90 |
> -- |
91 |
> No virus found in this incoming message. |
92 |
> Checked by AVG Free Edition. |
93 |
> Version: 7.1.394 / Virus Database: 268.9.10/387 - Release Date: 12/07/2006 |
94 |
> |
95 |
|
96 |
-- |
97 |
No virus found in this outgoing message. |
98 |
Checked by AVG Free Edition. |
99 |
Version: 7.1.394 / Virus Database: 268.9.10/387 - Release Date: 12/07/2006 |
100 |
|
101 |
|
102 |
-- |
103 |
gentoo-amd64@g.o mailing list |