2008-02-19 00:25:55

by Mark Lord

[permalink] [raw]
Subject: hdparm-8.2 now available

hdparm for SATA/PATA has now been updated to version 8.2.

Upgrading is strongly recommended for all users.
This version fixes several bugs in earlier 7.x/8.x releases
that could cause issues when advanced features are attempted
on devices being driven by the old drivers/ide subsystem.

libata devices were unaffected, but drivers/ide devices could
misbehave or even be corrupted by some operations.

hdparm-8.2 is available at http://sourceforge.net/projects/hdparm/

Upgrading from any earlier 7.x or 8.x version
is strongly recommended for all users.

Cheers
--
Mark Lord
Real-Time Remedies Inc.
[email protected]


2008-02-20 15:36:56

by Greg Freemyer

[permalink] [raw]
Subject: Re: hdparm-8.2 now available

Mark,

What kernel level is needed to support the new -N arg?

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.

Thanks
Greg

On Mon, Feb 18, 2008 at 7:25 PM, Mark Lord <[email protected]> wrote:
> hdparm for SATA/PATA has now been updated to version 8.2.
>
> Upgrading is strongly recommended for all users.
> This version fixes several bugs in earlier 7.x/8.x releases
> that could cause issues when advanced features are attempted
> on devices being driven by the old drivers/ide subsystem.
>
> libata devices were unaffected, but drivers/ide devices could
> misbehave or even be corrupted by some operations.
>
> hdparm-8.2 is available at http://sourceforge.net/projects/hdparm/
>
> Upgrading from any earlier 7.x or 8.x version
> is strongly recommended for all users.
>
> Cheers
> --
> Mark Lord
> Real-Time Remedies Inc.
> [email protected]
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ide" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>



--
Greg Freemyer
Litigation Triage Solutions Specialist
http://www.linkedin.com/in/gregfreemyer
First 99 Days Litigation White Paper -
http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf

The Norcross Group
The Intersection of Evidence & Technology
http://www.norcrossgroup.com

2008-02-20 16:34:31

by Mark Lord

[permalink] [raw]
Subject: Re: hdparm-8.2 now available

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.
[email protected]