public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Florian Philipp <lists@f_philipp.fastmail.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] new kernel, hdparm not happy
Date: Mon, 06 Oct 2008 08:53:27 +0200	[thread overview]
Message-ID: <48E9B5E7.4040800@f_philipp.fastmail.net> (raw)
In-Reply-To: <20081005210933.7171b162@osage.osagesoftware.com>

[-- 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 --]

      parent reply	other threads:[~2008-10-06  6:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48E9B5E7.4040800@f_philipp.fastmail.net \
    --to=lists@f_philipp.fastmail.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox