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-next>] [day] [month] [year] [list]
Message-Id: <20070609131031.CBB5014A521@blake.inputplus.co.uk>
Date:	Sat, 09 Jun 2007 14:10:31 +0100
From:	Ralph Corderoy <ralph@...utplus.co.uk>
To:	linux-kernel@...r.kernel.org
Cc:	Ralph Corderoy <ralph@...utplus.co.uk>
subject: How to get an IDE Hard Reset, not a Soft Reset?


Hi,

As I understand it, an IDE hard drive can be reset in three ways.  A
power-on reset, a hard reset caused by pin 1 (RESET-) on the IDE
connector, and a soft reset (bit SRST in the device control register).
RESET- is held low on a power on, but can also be used later to do a
hard reset.

I can see there's an ioctl to do a soft reset, calling ide_do_reset(),
but how, from user space, can I do a hard reset?  If it isn't possible
from user space, is it possible in the kernel?  Pointers welcome.

Hard resets refreshes parts other soft resets cannot reach.  E.g. the
Expire flag (bit 4) of word 128 in the identify device info.

(Please keep me CC'd.)

Cheers,


Ralph.

-
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