* [gentoo-user] hdparm error
@ 2005-10-05 23:23 LostSon
2005-10-05 23:23 ` Pshem Kowalczyk
2005-10-06 3:36 ` Statux
0 siblings, 2 replies; 10+ messages in thread
From: LostSon @ 2005-10-05 23:23 UTC (permalink / raw
To: Gentoo-user
[-- Attachment #1: Type: text/plain, Size: 622 bytes --]
Hello
I am trying to set hdparm on my laptop and keep getting this error
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
I have gone through my kernel configs looking for anything dma related
i may need but cant seem to find anything. Any ideas, thanks.
--
LostSon
http://www.lostsonsvault.org
/\
\ \ \__/ \__/
\ \ (oo) (oo)
\_\/~~\_/~~\_
_.-~===========~-._
(___________________)
\_______/
I Want To Believe
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] hdparm error
2005-10-05 23:23 [gentoo-user] hdparm error LostSon
@ 2005-10-05 23:23 ` Pshem Kowalczyk
2005-10-06 0:31 ` LostSon
2005-10-06 3:36 ` Statux
1 sibling, 1 reply; 10+ messages in thread
From: Pshem Kowalczyk @ 2005-10-05 23:23 UTC (permalink / raw
To: gentoo-user
On 06/10/05, LostSon <lostson@lostsonsvault.org> wrote:
> Hello
> I am trying to set hdparm on my laptop and keep getting this error
> setting using_dma to 1 (on)
> HDIO_SET_DMA failed: Operation not permitted
> using_dma = 0 (off)
>
> I have gone through my kernel configs looking for anything dma related
> i may need but cant seem to find anything. Any ideas, thanks.
Probably you didn't compile in the right chipset. Have a look in kernel config:
Device Drivers -> ATA/ATAPI/MFM/RLL support and make sure that you
have "Generic PCI bus-master DMA support" turned on together with the
right chipset.
regards
pshemko
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] hdparm error
2005-10-05 23:23 ` Pshem Kowalczyk
@ 2005-10-06 0:31 ` LostSon
0 siblings, 0 replies; 10+ messages in thread
From: LostSon @ 2005-10-06 0:31 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1166 bytes --]
Yes you were completely right i forgot to add the option for my
chipset, thanks for the info it is working now.
On Thu, 2005-10-06 at 12:23 +1300, Pshem Kowalczyk wrote:
> On 06/10/05, LostSon <lostson@lostsonsvault.org> wrote:
> > Hello
> > I am trying to set hdparm on my laptop and keep getting this error
> > setting using_dma to 1 (on)
> > HDIO_SET_DMA failed: Operation not permitted
> > using_dma = 0 (off)
> >
> > I have gone through my kernel configs looking for anything dma related
> > i may need but cant seem to find anything. Any ideas, thanks.
>
> Probably you didn't compile in the right chipset. Have a look in kernel config:
> Device Drivers -> ATA/ATAPI/MFM/RLL support and make sure that you
> have "Generic PCI bus-master DMA support" turned on together with the
> right chipset.
>
> regards
> pshemko
>
--
LostSon
http://www.lostsonsvault.org
/\
\ \ \__/ \__/
\ \ (oo) (oo)
\_\/~~\_/~~\_
_.-~===========~-._
(___________________)
\_______/
I Want To Believe
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] hdparm error
2005-10-05 23:23 [gentoo-user] hdparm error LostSon
2005-10-05 23:23 ` Pshem Kowalczyk
@ 2005-10-06 3:36 ` Statux
1 sibling, 0 replies; 10+ messages in thread
From: Statux @ 2005-10-06 3:36 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 548 bytes --]
I would guess that you're either not root when trying to change the
settings or you have an old disk that doesn't support DMA.
On Wed, 2005-10-05 at 18:23 -0500, LostSon wrote:
> Hello
> I am trying to set hdparm on my laptop and keep getting this error
> setting using_dma to 1 (on)
> HDIO_SET_DMA failed: Operation not permitted
> using_dma = 0 (off)
>
> I have gone through my kernel configs looking for anything dma related
> i may need but cant seem to find anything. Any ideas, thanks.
--
Statux <statux@optonline.net>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* [gentoo-user] hdparm error
@ 2006-09-07 17:14 Grant
2006-09-07 17:41 ` Fernando Ferrari
2006-09-07 18:14 ` Richard Fish
0 siblings, 2 replies; 10+ messages in thread
From: Grant @ 2006-09-07 17:14 UTC (permalink / raw
To: gentoo-user
When hdparm runs at boot, I see the following errors:
Running hdparm on /dev/hda ...
HDIO_SET_DMA failed: Operation not permitted
Running hdparm on /dev/hdc ...
HDIO_SET_DMA failed: Operation not permitted
Here's my /etc/conf.d/hdparm :
hda_args="-d 1 -A 1 -m 16 -u 1 -a 64"
hdc_args="-d 1"
Could this be because I have support for my motherboard chipset in the
kernel and it has control?
- Grant
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: [gentoo-user] hdparm error
2006-09-07 17:14 Grant
@ 2006-09-07 17:41 ` Fernando Ferrari
2006-09-07 17:44 ` Grant
2006-09-07 18:14 ` Richard Fish
1 sibling, 1 reply; 10+ messages in thread
From: Fernando Ferrari @ 2006-09-07 17:41 UTC (permalink / raw
To: gentoo-user
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="US-ASCII", Size: 1126 bytes --]
I Grant,
Look in:
Device Driver
> ATA/ATAPI/MFM/RLL Suport
> Generic/default IDE chipset support
Saludos
Fernando Ferrari
http://fernandorferrari.blogspot.com
-----Mensaje original-----
De: Grant [mailto:emailgrant@gmail.com]
Enviado el: Jueves, 07 de Septiembre de 2006 02:14 p.m.
Para: gentoo-user@lists.gentoo.org
Asunto: [gentoo-user] hdparm error
When hdparm runs at boot, I see the following errors:
Running hdparm on /dev/hda ...
HDIO_SET_DMA failed: Operation not permitted
Running hdparm on /dev/hdc ...
HDIO_SET_DMA failed: Operation not permitted
Here's my /etc/conf.d/hdparm :
hda_args="-d 1 -A 1 -m 16 -u 1 -a 64"
hdc_args="-d 1"
Could this be because I have support for my motherboard chipset in the
kernel and it has control?
- Grant
--
gentoo-user@gentoo.org mailing list
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] hdparm error
2006-09-07 17:41 ` Fernando Ferrari
@ 2006-09-07 17:44 ` Grant
0 siblings, 0 replies; 10+ messages in thread
From: Grant @ 2006-09-07 17:44 UTC (permalink / raw
To: gentoo-user
> Look in:
>
> Device Driver
> > ATA/ATAPI/MFM/RLL Suport
> > Generic/default IDE chipset support
I do have that option enabled.
- Grant
> Running hdparm on /dev/hda ...
> HDIO_SET_DMA failed: Operation not permitted
> Running hdparm on /dev/hdc ...
> HDIO_SET_DMA failed: Operation not permitted
>
> Here's my /etc/conf.d/hdparm :
>
> hda_args="-d 1 -A 1 -m 16 -u 1 -a 64"
> hdc_args="-d 1"
>
> Could this be because I have support for my motherboard chipset in the
> kernel and it has control?
>
> - Grant
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] hdparm error
2006-09-07 17:14 Grant
2006-09-07 17:41 ` Fernando Ferrari
@ 2006-09-07 18:14 ` Richard Fish
2006-09-07 18:34 ` Grant
1 sibling, 1 reply; 10+ messages in thread
From: Richard Fish @ 2006-09-07 18:14 UTC (permalink / raw
To: gentoo-user
On 9/7/06, Grant <emailgrant@gmail.com> wrote:
> Could this be because I have support for my motherboard chipset in the
> kernel and it has control?
Hmm, more likely you do *not* have the right chipset enabled.
What does lspci report?
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] hdparm error
2006-09-07 18:14 ` Richard Fish
@ 2006-09-07 18:34 ` Grant
2006-09-07 18:52 ` Richard Fish
0 siblings, 1 reply; 10+ messages in thread
From: Grant @ 2006-09-07 18:34 UTC (permalink / raw
To: gentoo-user
> > Could this be because I have support for my motherboard chipset in the
> > kernel and it has control?
>
> Hmm, more likely you do *not* have the right chipset enabled.
>
> What does lspci report?
It looks like I only have generic chipset support in the kernel and
nothing specific.
system1 ~ # lspci
00:00.0 Host bridge: Intel Corporation 82810E DC-133 GMCH [Graphics
Memory Controller Hub] (rev 03)
00:01.0 VGA compatible controller: Intel Corporation 82810E DC-133 CGC
[Chipset Graphics Controller] (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801AA PCI Bridge (rev 02)
00:1f.0 ISA bridge: Intel Corporation 82801AA ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801AA IDE (rev 02)
00:1f.2 USB Controller: Intel Corporation 82801AA USB (rev 02)
00:1f.3 SMBus: Intel Corporation 82801AA SMBus (rev 02)
01:09.0 Ethernet controller: Atheros Communications, Inc. AR5212
802.11abg NIC (rev 01)
01:0a.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
01:0b.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
01:0b.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07)
- Grant
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] hdparm error
2006-09-07 18:34 ` Grant
@ 2006-09-07 18:52 ` Richard Fish
0 siblings, 0 replies; 10+ messages in thread
From: Richard Fish @ 2006-09-07 18:52 UTC (permalink / raw
To: gentoo-user
On 9/7/06, Grant <emailgrant@gmail.com> wrote:
> > > Could this be because I have support for my motherboard chipset in the
> > > kernel and it has control?
> >
> > Hmm, more likely you do *not* have the right chipset enabled.
> >
> > What does lspci report?
>
> It looks like I only have generic chipset support in the kernel and
> nothing specific.
Ok, add:
ATA/ATAPI/MFM/RLL support
...
[*] PCI IDE chipset support
[*] Sharing PCI IDE interrupts support
...
<*> Generic PCI IDE Chipset Support
...
[*] Generic PCI bus-master DMA support
[ ] Force enable legacy 2.0.X HOSTS to use DMA
[*] Use PCI DMA by default when available
[ ] Enable DMA only for disks
...
<*> Intel PIIXn chipsets support
HTH,
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2006-09-07 19:03 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-05 23:23 [gentoo-user] hdparm error LostSon
2005-10-05 23:23 ` Pshem Kowalczyk
2005-10-06 0:31 ` LostSon
2005-10-06 3:36 ` Statux
-- strict thread matches above, loose matches on Subject: below --
2006-09-07 17:14 Grant
2006-09-07 17:41 ` Fernando Ferrari
2006-09-07 17:44 ` Grant
2006-09-07 18:14 ` Richard Fish
2006-09-07 18:34 ` Grant
2006-09-07 18:52 ` Richard Fish
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox