[gentoo-user] hdparm error

2006-09-07 Thread Grant

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



RE: [gentoo-user] hdparm error

2006-09-07 Thread Fernando Ferrari
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:[EMAIL PROTECTED] 
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



Re: [gentoo-user] hdparm error

2006-09-07 Thread Grant

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



Re: [gentoo-user] hdparm error

2006-09-07 Thread Richard Fish

On 9/7/06, Grant [EMAIL PROTECTED] 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



Re: [gentoo-user] hdparm error

2006-09-07 Thread Grant

 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



Re: [gentoo-user] hdparm error

2006-09-07 Thread Richard Fish

On 9/7/06, Grant [EMAIL PROTECTED] 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



[gentoo-user] hdparm error

2005-10-05 Thread LostSon
 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


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] hdparm error

2005-10-05 Thread Pshem Kowalczyk
On 06/10/05, LostSon [EMAIL PROTECTED] 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



Re: [gentoo-user] hdparm error

2005-10-05 Thread LostSon
 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 [EMAIL PROTECTED] 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


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] hdparm error

2005-10-05 Thread Statux
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 [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part