[ltp] Re: enabling protect file for hdaps on t61
Rolf Kutz
linux-thinkpad@linux-thinkpad.org
Mon, 11 Feb 2008 01:00:24 +0100
--EuxKj2iCbKjpUGkD
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On 10/02/08 00:18 +0100, Elias Oltmanns wrote:
>
>Is this with libata (and ata_piix in particular)? Try the following
>experiment:
This is an SATA hdd, maybe that's the difference.
ata_piix is just for the DVD.:
# lsmod|grep ata
ata_piix 23236 0
libata 174960 2 ahci,ata_piix
scsi_mod 179192 4 sd_mod,sg,sr_mod,libata
>Switch to single user mode and remount the partitions read only. Perform
>the following commands:
>
># cat some-big-file > /dev/null &
># echo 1 > /sys/block/sda/queue/protect
>=20
>Repeat the second one several times while the read operation of the
>first one is in progress. Make sure that you actually hear the drive
>park heads and resume normal operation. My system freezes after the
>third park command at the latest.
Done that and it didn't freeze the system even
after ten times. That doesn't mean that there
isn't a bug. It just doesn't trigger on this
system.
regards, Rolf
--=20
I si para prop 10
--EuxKj2iCbKjpUGkD
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHr5AY+ZqCAlXyvMsRAj16AJ9IE9JUmkWU8jyqbnVf90+Ji8U/8QCfTInf
LXdK+21i0Q8mH+rEqNy7I58=
=J3r5
-----END PGP SIGNATURE-----
--EuxKj2iCbKjpUGkD--