linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Lord <mlord@pobox.com>
To: Greg Freemyer <greg.freemyer@gmail.com>
Cc: IDE/ATA development list <linux-ide@vger.kernel.org>,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	ballen@gravity.phys.uwm.edu, Ric Wheeler <ric@emc.com>
Subject: Re: hdparm-8.2 now available
Date: Wed, 20 Feb 2008 10:44:19 -0500	[thread overview]
Message-ID: <47BC4AD3.6020802@pobox.com> (raw)
In-Reply-To: <87f94c370802200732g594a4f01jeba7d05579625ee2@mail.gmail.com>

Greg Freemyer wrote:
> Mark,
> 
> What kernel level is needed to support the new -N arg?
..

I believe it should work with 2.4.0 or newer.
But some kernels have a buggy implementation of it.
 
> Tried it on a Suse 2.6.22 kernel (possibly not patched with all the
> current security updates).
> 
> Failed with:
> 
> The Running Kernel Lack CONFIG_IDE_TASK_IOCTL Support.
..

That failure indicates that your drive is not using libata drivers.
USB/SD drives/drivers do not support this flag at all,
but drives using the ancient IDE drivers should work.

For drives using the ancient IDE drivers, you will need
to use a kernel configured with the CONFIG_IDE_TASK_IOCTL flag.
If you see the message above, then that means your kernel
was probably built without that configuration option selected.

Look in /proc/config.gz and see if the option shows up there,
or in "cat /boot/config-`uname -r`".  If you don't see it
in there, then the kernel would have to get rebuilt with
that config option to enable the feature.

Or just switch to the modern libata drivers for IDE/SATA drives.

Note also that hdparm has now been updated to version 8.4,
with some unrelated bug fixes.

Cheers
-- 
Mark Lord
Real-Time Remedies Inc.
mlord@pobox.com

      reply	other threads:[~2008-02-20 16:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-19  0:25 hdparm-8.2 now available Mark Lord
2008-02-20 15:32 ` Greg Freemyer
2008-02-20 15:44   ` Mark Lord [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=47BC4AD3.6020802@pobox.com \
    --to=mlord@pobox.com \
    --cc=ballen@gravity.phys.uwm.edu \
    --cc=greg.freemyer@gmail.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ric@emc.com \
    /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;
as well as URLs for NNTP newsgroup(s).