lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 20 Feb 2008 10:44:19 -0500
From:	Mark Lord <mlord@...ox.com>
To:	Greg Freemyer <greg.freemyer@...il.com>
Cc:	IDE/ATA development list <linux-ide@...r.kernel.org>,
	Linux Kernel <linux-kernel@...r.kernel.org>,
	ballen@...vity.phys.uwm.edu, Ric Wheeler <ric@....com>
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.
mlord@...ox.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ