Subject: Re: dev/scsipi/ch.c:chattach() fix ? (and approval for commit?)
To: Stoned Elipot <seb@ssr.univ-paris7.fr>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 06/16/2004 16:33:51
--OBd5C1Lgu00Gd/Tn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jun 17, 2004 at 01:10:57AM +0200, Stoned Elipot wrote:
> On Thu, Jun 17, 2004 at 12:07:38AM +0200, Manuel Bouyer wrote:
> > On Wed, Jun 16, 2004 at 11:20:36PM +0200, Manuel Bouyer wrote:
> > > Hum. Can you apply the attached patch and see if there's any message =
for ch0 ?
> > > This is to make sure that this changer doesn't return any sense at al=
l.
>=20
> Here is what it's saying:
>=20
> ch0 at scsibus1 target 4 lun 0: <QUALSTAR, RLS-4221, 0047> changer remova=
ble
> ch0(esiop1:0:4:0): requesting sense =20
> ch0(esiop1:0:4:0):  sense debug information:
>         code 0x70 valid 0x0
                          ^^^ Looks like that's the bug. The changer isn't
			      setting 'valid'
>         seg 0x0 key 0x6 ili 0x0 eom 0x0 fmark 0x0
>=20
> info: 0x0 0x0 0x0 0x0 followed by 10 extra bytes
>         extra: 0x0 0x0 0x0 0x0 0x29 0x0 0x0 0x0 0x0 0x0

Other than the lack of the "Valid" bit, it sure looks like the unit is=20
trying to send us a Unit Attention (key 6) with ASC 0x29, which is a=20
"Power On, Reset, or Bus Device Reset Occurred" UA. Rather reasonable=20
just-started-up UA.

Not sure what quirk would cover "Valid" not being set...

Take care,

Bill

--OBd5C1Lgu00Gd/Tn
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFA0NjfWz+3JHUci9cRAnR9AJ9zZxiciI4h2OxmtR7w8QEk/JJeCwCeJJKn
Atglib6CHYEFUGfoChugPOY=
=ALYd
-----END PGP SIGNATURE-----

--OBd5C1Lgu00Gd/Tn--