public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] new kernel, hdparm not happy
@ 2008-10-06  1:09 David Relson
  2008-10-06  6:46 ` Jil Larner
  2008-10-06  6:53 ` Florian Philipp
  0 siblings, 2 replies; 3+ messages in thread
From: David Relson @ 2008-10-06  1:09 UTC (permalink / raw
  To: gentoo-user

Greetings!

I've recently updated from kernel 2.6.20 to 2.6.24 a little used
machine.  The new kernel is working quite well.  However hdparm isn't
happy.  

Running either "hdparm -d0 /dev/hda" or "hdparm -d1 /dev/hda" gives a
"HDIO_SET_DMA failed: Operation not permitted" error.  Using the same
config for 2.6.25 gives the same result as 2.6.24.

Here are the DMA related options that are enabled:

OLD (2.6.20):

    CONFIG_BLK_DEV_IDEDMA=y
    CONFIG_BLK_DEV_IDEDMA_PCI=y
    CONFIG_GENERIC_ISA_DMA=y
    CONFIG_IDEDMA_AUTO=y
    CONFIG_IDEDMA_PCI_AUTO=y
    CONFIG_ISA_DMA_API=y


NEW (2.6.24 and 2.6.25):
    CONFIG_BLK_DEV_IDEDMA=y
    CONFIG_BLK_DEV_IDEDMA_PCI=y
    CONFIG_GENERIC_ISA_DMA=y
    CONFIG_HAS_DMA=y
    CONFIG_ISA_DMA_API=y
    CONFIG_SCSI_DMA=y
    CONFIG_ZONE_DMA=y
    CONFIG_ZONE_DMA_FLAG=1

Can anybody tell me what I've missed?

Thanks.

David



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] new kernel, hdparm not happy
  2008-10-06  1:09 [gentoo-user] new kernel, hdparm not happy David Relson
@ 2008-10-06  6:46 ` Jil Larner
  2008-10-06  6:53 ` Florian Philipp
  1 sibling, 0 replies; 3+ messages in thread
From: Jil Larner @ 2008-10-06  6:46 UTC (permalink / raw
  To: gentoo-user

Hi,

David Relson a écrit :
>     CONFIG_SCSI_DMA=y

Isn't that an option which considers all disks to be SATA ?

Not sure, but you might check that.

Sincerely,
Jil



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] new kernel, hdparm not happy
  2008-10-06  1:09 [gentoo-user] new kernel, hdparm not happy David Relson
  2008-10-06  6:46 ` Jil Larner
@ 2008-10-06  6:53 ` Florian Philipp
  1 sibling, 0 replies; 3+ messages in thread
From: Florian Philipp @ 2008-10-06  6:53 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1165 bytes --]

David Relson schrieb:
> Greetings!
> 
> I've recently updated from kernel 2.6.20 to 2.6.24 a little used
> machine.  The new kernel is working quite well.  However hdparm isn't
> happy.  
> 
> Running either "hdparm -d0 /dev/hda" or "hdparm -d1 /dev/hda" gives a
> "HDIO_SET_DMA failed: Operation not permitted" error.  Using the same
> config for 2.6.25 gives the same result as 2.6.24.
> 
> Here are the DMA related options that are enabled:
> 
> OLD (2.6.20):
> 
>     CONFIG_BLK_DEV_IDEDMA=y
>     CONFIG_BLK_DEV_IDEDMA_PCI=y
>     CONFIG_GENERIC_ISA_DMA=y
>     CONFIG_IDEDMA_AUTO=y
>     CONFIG_IDEDMA_PCI_AUTO=y
>     CONFIG_ISA_DMA_API=y
> 
> 
> NEW (2.6.24 and 2.6.25):
>     CONFIG_BLK_DEV_IDEDMA=y
>     CONFIG_BLK_DEV_IDEDMA_PCI=y
>     CONFIG_GENERIC_ISA_DMA=y
>     CONFIG_HAS_DMA=y
>     CONFIG_ISA_DMA_API=y
>     CONFIG_SCSI_DMA=y
>     CONFIG_ZONE_DMA=y
>     CONFIG_ZONE_DMA_FLAG=1
> 
> Can anybody tell me what I've missed?
> 
> Thanks.
> 
> David
> 

Are

CONFIG_ATA_GENERIC

and

CONFIG_IDE_GENERIC

enabled? If so, please try to deactivate them/compile them as modules
and don't load them.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-10-06  6:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-06  1:09 [gentoo-user] new kernel, hdparm not happy David Relson
2008-10-06  6:46 ` Jil Larner
2008-10-06  6:53 ` Florian Philipp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox