Subject: Re: SCSI disks don't spin up automatically after scsictl sdx stop
To: Jason Thorpe <thorpej@shagadelic.org>
From: Michael Lorenz <macallan@netbsd.org>
List: tech-kern
Date: 12/17/2005 16:51:02
--Signature_Sat__17_Dec_2005_16_51_02_-0500_dYybZzf3jlCoopz4
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Hello,
> > Found the problem. There's a typo in mesh.c, it would return status
> > info like SCSI_CHECK in xs->xs_status, but scsipi looks for it in
> > xs->status - with the result that no one ever requested sense data.
> > With this fixed both drives spin up automatically and I guess a =20
> > bunch of other weirdnesses ( like occasional bogus 'drive offline'
> > messages when probing ) will just disappear.
>=20
> Good find... please check it in!
Done. Suddenly the LONG delays when accessing a ZIP drive are gone.
have fun
Michael
--Signature_Sat__17_Dec_2005_16_51_02_-0500_dYybZzf3jlCoopz4
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)
iQEVAwUBQ6SIRspnzkX8Yg2nAQJ0CQf/WVG/hNXNjx3QpsE0hZu1Rb2fY6or+WKs
6BHOtp58HO0vbx7Sp66f6oXKKUN7CPmBjp7dbDK6qkkkFtAYKhwUp4yAaRkzZuDJ
+KwANbaX7FffUMYkWwKDcIddYZa0WW25w6+E1c6YEngZ8zX2HF6zI+isWjwovR4p
lnY3xRupj/t/ArMO5RVhuL91GjCdwXF5V9vCY4Jky1rhBG9p2v/jnx0ZfZkyt4jC
CXLaNU1q9M/sQhKuSpzgoy+kZ7BykE9NWguJHfd6wIbPSOBaT1YkQKAGV7x2/xrh
uFJCROTh8azoOOM5incITa2KXdFAFP1174l0L/UYHCEuRoUF5HcYNA==
=qflJ
-----END PGP SIGNATURE-----
--Signature_Sat__17_Dec_2005_16_51_02_-0500_dYybZzf3jlCoopz4--