[ltp] hotswap dvd + battery

Stefan Schmidt linux-thinkpad@linux-thinkpad.org
Wed, 16 Nov 2005 10:50:37 +0100


--cz6wLo+OExbGG7q/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello.

On Wed, 2005-11-16 at 10:26, Arnd Hannemann wrote:

> DMA is disabled when I put it back in, but I can switch it on again with=
=20
> hdparm -d1 /dev/hdc with no problem.

That sounds goof for you, but not for me. :(
After i eject and insert the drive, i get the following:

fairlight:~# hdparm -d1 /dev/hdc

/dev/hdc:
 setting using_dma to 1 (on)
  HDIO_SET_DMA failed: Operation not permitted
   using_dma    =3D  0 (off)

Kernel 2.6.14=20
System T40p

Can you please post your kenrel version an idectl command to register
the drive.

regards
Stefan Schmidt

--cz6wLo+OExbGG7q/
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDewDtbNSsvd31FmURAgdnAJ9C0m8quO7GHDW5EwFHJnQVubvKxwCgtI1k
p4i5ObIkV5c+434TTtjdzYg=
=gYN1
-----END PGP SIGNATURE-----

--cz6wLo+OExbGG7q/--